/* ─── RESET & BASE ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box }
html { scroll-behavior: smooth }
body { font-family: 'Inter', sans-serif; font-size: 17px; line-height: 1.7; color: #1a2332; background: #F1F3F6; overflow-x: hidden }
img { max-width: 100%; display: block }
a { text-decoration: none; color: inherit }
.container { width: 100%; margin: 0 auto; padding: 0 48px; max-width: 96rem }

/* ─── SKIP LINK ─── */
.skip-link { position: fixed; top: 0; left: 0; transform: translateY(-100%); background: #00467E; color: #fff; padding: 14px 24px; font-weight: 600; font-size: 15px; z-index: 2000; border-radius: 0 0 8px 0; transition: transform .15s ease }
.skip-link:focus { transform: translateY(0) }

/* ─── NAV ─── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: #F1F3F6; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0,0,0,.04); transition: all .3s }
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.06) }
.nav-inner { margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 72px }
.nav-logo img { height: 40px }
.nav-links { display: flex; align-items: center; gap: 36px }
.nav-links a { font-size: 15px; font-weight: 500; color: #4a5568; transition: color .2s; letter-spacing: .01em }
.nav-links a:hover, .nav-links a.active { color: #1282C5 }
.nav-cta { background: #e05a1e !important; color: #fff !important; padding: 10px 24px; border-radius: 8px; font-weight: 600 !important; transition: background .2s, transform .2s !important }
.nav-cta:hover { background: #e05a1e !important; transform: translateY(-1px) }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: #1a2332; margin: 5px 0; transition: .3s }

/* ─── MEGA MENU ─── */
.nav-item-dropdown { position: static; display: flex; align-items: center }
.nav-trigger { background: none; border: none; cursor: pointer; font-family: inherit; font-size: 15px; font-weight: 500; letter-spacing: .01em; color: #4a5568; padding: 0; display: inline-flex; align-items: center; gap: 6px; transition: color .2s }
.nav-trigger:hover, .nav-trigger[aria-expanded="true"], .nav-trigger.active { color: #1282C5 }
.nav-caret { transition: transform .25s ease; flex-shrink: 0 }
.nav-trigger[aria-expanded="true"] .nav-caret { transform: rotate(180deg) }
.nav-trigger:focus-visible, .mega-link:focus-visible, .mega-heading:focus-visible { outline: 2px solid #1282C5; outline-offset: 4px; border-radius: 2px }
.mega-menu { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid rgba(0,0,0,.06); box-shadow: 0 16px 32px rgba(0,0,0,.08); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease, visibility .25s ease; z-index: 999 }
.mega-menu.open { opacity: 1; visibility: visible; transform: translateY(0) }
.mega-menu-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px; padding-top: 48px; padding-bottom: 48px }
.mega-col { display: flex; flex-direction: column }
a.mega-heading { font-size: 16px; font-weight: 700; color: #00467E !important; padding-bottom: 14px; border-bottom: 1px solid #e2e6eb; margin-bottom: 14px; transition: color .2s; letter-spacing: -.005em }
a.mega-heading:hover { color: #1282C5 !important }
.mega-link { font-size: 14px; font-weight: 500; color: #4a5568 !important; padding: 8px 0; transition: color .2s; display: inline-block; width: fit-content }
.mega-link:hover { color: #1282C5 !important }
.mega-menu-scrim { position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: rgba(26,35,50,.15); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; z-index: 998; pointer-events: none }
.mega-menu-scrim.open { opacity: 1; visibility: visible }

/* ─── BUTTONS ─── */
.btn-primary { display: inline-block; background: #e05a1e; border: 2px solid #e05a1e; color: #fff; padding: 14px 32px; border-radius: 8px; font-weight: 600; font-size: 16px; cursor: pointer; transition: background-color .35s ease, border-color .35s ease; letter-spacing: .025em }
.btn-primary:hover { background: #00467E; border-color: #00467E }
.btn-primary--light { background: #fff; border-color: #fff; color: #1282C5 }
.btn-primary--light:hover { background: #F1F3F6; border-color: #F1F3F6; color: #00467E }
.btn-ghost-border { display: inline-block; background: transparent; color: #00467E; padding: 14px 32px; border-radius: 8px; font-weight: 600; font-size: 16px; border: 2px solid #c8d4e0; cursor: pointer; transition: border-color .35s ease, color .35s ease; letter-spacing: .01em }
.btn-ghost-border:hover { border-color: #1282C5; color: #1282C5 }
.btn-ghost { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: #1a2332; padding: 14px 8px; border-radius: 8px; font-weight: 500; font-size: 16px; border: none; cursor: pointer; transition: color .2s, transform .2s }
.btn-ghost:hover { color: #1282C5; transform: translateX(3px) }

/* ─── LABELS & TITLES ─── */
.section-label { font-size: 24px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #e05a1e; margin-bottom: 12px; display: block }
.section-title { font-size:40px; font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin-bottom:16px; color: #00467E }
.section-title-light { font-weight: 300; letter-spacing: -.02em; color: #1a2332 }
.section-desc { font-size: 18px; line-height: 1.65; margin-bottom: 48px; max-width: 660px; color: #5a6a7a; }

/* ─── BREADCRUMB ─── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #8a96a5; margin-bottom: 28px; flex-wrap: wrap }
.breadcrumb a { color: #6b7a8d; transition: color .2s }
.breadcrumb a:hover { color: #1282C5 }
.breadcrumb-sep { color: #c8d4e0 }

/* ─── HERO TRUST STRIP ─── */
.hero-trust { display: flex; align-items: center; gap: 16px; margin-top: 28px; flex-wrap: wrap }
.hero-trust-badge { height: 28px; opacity: .7; filter: grayscale(15%) }
.hero-trust-sep { width: 1px; height: 14px; background: #c8d4e0; flex-shrink: 0 }
.hero-trust-stat { font-size: 14px; color: #5a6a7a; }

/* ─── CLIENT BAR ─── */
.client-bar { background: #fff; padding: 40px 0; border-bottom: 1px solid #e2e8f0 }
.client-bar-label { font-size: 16px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #5a6a7a; text-align: center; margin-bottom: 28px }
.client-logos { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 32px 48px }
.client-logos img { height: 34px; width: auto; filter: grayscale(100%) opacity(.5); transition: filter .35s ease, opacity .35s ease }
.client-logos img:hover { filter: grayscale(0%) opacity(1) }

/* ─── FOOTER ─── */
.footer-light { background: #F1F3F6; padding: 64px 0 28px; border-top: 1px solid #e2e6eb }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 32px; align-items: start }
.footer-brand-col img { height: 32px; margin-bottom: 14px }
.footer-brand-col p { font-size: 14px; line-height: 1.65; color: #5a6a7a }
.footer-badges { display: flex; gap: 32px; align-items: center; justify-content: center; padding: 32px 0; border-top: 1px solid #d0d7e0; margin-bottom: 0 }
.footer-badges img { height: 100px }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #5a6a7a; margin-bottom: 16px }
.footer-col a { display: block; font-size: 14px; color: #4a5568; margin-bottom: 10px; transition: color .2s }
.footer-col a:hover { color: #1282C5 }
.footer-bottom { border-top: 1px solid #d0d7e0; padding-top: 20px; display: flex; justify-content: space-between; font-size: 13px; color: #5a6a7a }

/* ─── SHARED ANIMATIONS ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease }
.reveal.visible { opacity: 1; transform: translateY(0) }
.reveal-delay-1 { transition-delay: .1s }
.reveal-delay-2 { transition-delay: .22s }
.reveal-delay-3 { transition-delay: .34s }
.reveal-delay-4 { transition-delay: .46s }

/* ─── RESPONSIVE (nav) ─── */
/* The full nav-links row (6 links + CTA) gets too crowded well before the
   768px content breakpoint below, so the nav switches to the hamburger
   menu earlier, at 1000px, independent of everything else on the page. */
@media(max-width: 1000px) {
    .nav-links { display: none }
    .mobile-toggle { display: block }
    .nav-links.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 72px; left: 0; right: 0; background: #F1F3F6; padding: 16px 24px 24px; gap: 4px; border-bottom: 1px solid #e8ecf0; box-shadow: 0 8px 24px rgba(0,0,0,.06); max-height: calc(100vh - 72px); overflow-y: auto }
    .nav-links.open a { padding: 12px 0 }
    .nav-links.open .nav-cta { margin-top: 8px; text-align: center }
    .nav-item-dropdown { display: block; width: 100% }
    .nav-trigger { width: 100%; justify-content: space-between; padding: 12px 0; font-size: 15px }
    .mega-menu { position: static; box-shadow: none; border: none; opacity: 1; visibility: visible; transform: none; max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0; background: transparent }
    .mega-menu.open { max-height: 1200px }
    .mega-menu-inner { grid-template-columns: 1fr; gap: 20px; padding: 4px 0 12px }
    .mega-col { gap: 2px }
    .mega-heading { font-size: 14px; padding-bottom: 8px; margin-bottom: 4px }
    .mega-link { padding: 8px 0 8px 12px; font-size: 14px }
    .mega-link:hover { transform: none }
    .mega-menu-scrim { display: none }
}

/* ─── RESPONSIVE (footer) ─── */
@media(max-width: 768px) {
    .container { padding: 0 24px }
    .footer-top { grid-template-columns: repeat(2, 1fr) }
    .footer-badges { flex-direction: column; gap: 24px }
}
@media(max-width: 480px) {
    .footer-top { grid-template-columns: 1fr }
    .footer-bottom { flex-direction: column; gap: 8px }
}

/* ─── CONTACT (shared: homepage #contact section + standalone /contact/ page) ─── */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #00467E 0%, #001e3c 100%);
    position: relative;
    overflow: hidden
}
.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(18, 130, 197, .12) 0%, transparent 60%)
}
.contact-wrapper {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center
}
.contact-wrapper h1, .contact-wrapper h2 {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}
.contact-wrapper .contact-sub {
    font-size: 17px;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 40px
}
.contact-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 44px 40px;
    box-shadow: 0 16px 56px rgba(0, 0, 0, .2);
    text-align: left
}
.contact-form-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #00467E;
    margin-bottom: 24px;
    text-align: center;
}
.form-group {
    margin-bottom: 16px
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #5a6a7a;
    margin-bottom: 6px;
}
.required-mark { color: #e05a1e }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d0d7e0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #1a2332;
    background: #fff;
    transition: border-color .2s;
    outline: none
}
.form-group textarea {
    resize: vertical
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1282C5;
    box-shadow: 0 0 0 3px rgba(18, 130, 197, .1)
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0aab4;
}
.form-submit {
    width: 100%;
    padding: 14px 32px;
    background: #e05a1e;
    color: #fff;
    border: 2px solid #e05a1e;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.35s ease, border-color 0.35s ease;
    letter-spacing: .025em
}
.form-submit:hover {
    background: #e05a1e;
    border-color: #e05a1e
}
.form-trust {
    font-size: 12px;
    color: #8a96a5;
    margin-top: 12px;
    text-align: center;
    line-height: 1.5
}
.form-trust svg {
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px
}
@media(max-width: 768px) {
    .contact-form-card { padding: 28px 20px }
    .contact-wrapper h1, .contact-wrapper h2 { font-size: 30px }
}
