/* ============================================================
   SWISS TECHNOLOGY CORP – Global / Shared Styles (main-style.css)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS VARIABLES ── */
:root {
    --primary: #0a1f72;
    --primary-dark: #061450;
    --primary-light: #1a3a9e;
    --accent: #d90000;
    --accent-light: #ff4444;
    --white: #ffffff;
    --light-bg: #f4f6fb;
    --text-dark: #1a1a2e;
    --text-muted: #5a6072;
    --border: #dde3f0;
    --shadow-sm: 0 2px 12px rgba(10, 31, 114, .08);
    --shadow-md: 0 8px 32px rgba(10, 31, 114, .15);
    --shadow-lg: 0 20px 60px rgba(10, 31, 114, .2);
    --radius: 14px;
    --radius-sm: 8px;
    --transition: all .3s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: var(--light-bg);
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
}

/* ══════════════════════════════════
   NAVBAR – white bg, left logo only, original colours
   ══════════════════════════════════ */
.navbar {
    background: var(--white);
    padding: 0;
    box-shadow: 0 1px 0 var(--border), 0 2px 16px rgba(10, 31, 114, .07);
    position: sticky;
    top: 0;
    z-index: 1050;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 6px 0;
}

/* ✅ .nav-logo — large, perfectly sized navbar logo */
.nav-logo {
    height: 68px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
    display: block;
}

/* Hamburger icon — dark for white bg */
.navbar-toggler {
    border: 1px solid var(--border);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2810,31,114,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
    color: var(--text-muted) !important;
    font-weight: 600;
    font-size: .88rem;
    padding: 1.4rem .95rem !important;
    position: relative;
    transition: var(--transition);
    letter-spacing: .25px;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent);
    border-radius: 3px 3px 0 0;
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary) !important;
    font-weight: 700;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}

/* Contact Us → red pill button */
.nav-cta .nav-link {
    background: var(--accent) !important;
    color: #fff !important;
    border-radius: 8px;
    padding: 0.52rem 1.2rem !important;
    margin-left: 8px;
    margin-top: .72rem;
    margin-bottom: .72rem;
    font-weight: 700 !important;
}

.nav-cta .nav-link::after {
    display: none !important;
}

.nav-cta .nav-link:hover {
    background: var(--primary) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(217, 0, 0, .35);
}

/* ══════════════════════════════════
   PAGE HERO (shared banner)
   ══════════════════════════════════ */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    padding: 72px 0 54px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(217, 0, 0, .12);
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -40px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
}

.page-hero .badge-pill {
    display: inline-block;
    background: rgba(217, 0, 0, .15);
    color: #ff8080;
    border: 1px solid rgba(217, 0, 0, .3);
    border-radius: 50px;
    padding: 5px 18px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.page-hero h1 span {
    color: var(--accent);
}

.page-hero p {
    color: rgba(255, 255, 255, .72);
    font-size: 1rem;
    max-width: 560px;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    font-size: .85rem;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .35);
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, .88);
    font-size: .85rem;
}

/* ══════════════════════════════════
   SECTION HELPERS
   ══════════════════════════════════ */
.section-pad {
    padding: 70px 0;
}

.section-pad-lg {
    padding: 90px 0;
}

.section-label {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title span {
    color: var(--accent);
}

.section-desc {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 40px;
}

.divider-bar {
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    border-radius: 4px;
    margin: 0 auto 30px;
}

/* ══════════════════════════════════
   CARDS – Generic
   ══════════════════════════════════ */
.card-glass {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 26px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.card-glass:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.icon-box {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(10, 31, 114, .28);
    transition: var(--transition);
}

.icon-box i {
    color: #fff;
    font-size: 1.4rem;
}

.card-glass:hover .icon-box {
    background: linear-gradient(135deg, var(--accent), #a80000);
}

/* ══════════════════════════════════
   BUTTONS
   ══════════════════════════════════ */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 13px 34px;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .3px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--accent), #a80000);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(217, 0, 0, .35);
    color: #fff;
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 11px 30px;
    font-size: .95rem;
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-white-custom {
    background: #fff;
    color: var(--primary);
    border: none;
    border-radius: var(--radius-sm);
    padding: 13px 34px;
    font-size: .95rem;
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-white-custom:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

.btn-accent-custom {
    background: linear-gradient(135deg, var(--accent), #a80000);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 13px 34px;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .3px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-accent-custom:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 31, 114, .35);
    color: #fff;
}

/* ══════════════════════════════════
   STATS ROW
   ══════════════════════════════════ */
.stat-box {
    text-align: center;
    padding: 28px 16px;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.1;
}

.stat-number span {
    color: var(--accent);
}

.stat-label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-top: 4px;
}

/* ══════════════════════════════════
   FOOTER – rich multi-column
   ══════════════════════════════════ */
footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, .6);
    font-size: .83rem;
}

footer .footer-main {
    padding: 50px 0 32px;
}

/* footer logo is inverted to white (dark background) */
footer .footer-logo-img {
    height: 50px;
    filter: brightness(0) invert(1);
    margin-bottom: 14px;
}

footer .footer-tagline {
    color: rgba(255, 255, 255, .45);
    font-size: .79rem;
}

footer .footer-heading {
    color: #fff;
    font-size: .79rem;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

footer .footer-links {
    list-style: none;
    padding: 0;
}

footer .footer-links li {
    margin-bottom: 9px;
}

footer .footer-links li a {
    color: rgba(255, 255, 255, .55);
    text-decoration: none;
    font-size: .85rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

footer .footer-links li a:hover {
    color: var(--accent);
    padding-left: 4px;
}

footer .footer-address {
    color: rgba(255, 255, 255, .55);
    font-size: .85rem;
    line-height: 1.8;
    margin-top: 10px;
}

footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 18px 0;
    text-align: center;
}

footer span {
    color: var(--accent);
}

footer a {
    color: rgba(255, 255, 255, .55);
    text-decoration: none;
}

footer a:hover {
    color: var(--accent);
}

/* ══════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════ */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: .7rem 1rem !important;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .nav-cta .nav-link {
        margin: 4px 12px !important;
        display: inline-block;
    }

    .page-hero {
        padding: 50px 0 38px;
    }

    .section-pad {
        padding: 50px 0;
    }
}

@media (max-width: 575.98px) {
    .section-pad {
        padding: 40px 0;
    }

    .stat-number {
        font-size: 2rem;
    }

    .nav-logo {
        height: 54px;
        max-width: 220px;
    }
}