*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #1a2c5b;
    --blue: #2a5bb5;
    --sky: #4a90d9;
    --accent: #f0a500;
    --light: #f4f7fc;
    --white: #ffffff;
    --gray: #6b7a99;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--navy);
    background: var(--white);
    overflow-x: hidden;   
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Map stays low */
#map {
    position: relative;
    z-index: 1;
}

/* Controls above map BUT below header */
.leaflet-control-container {
    z-index: 500 !important;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 35px;
    width: 100%;
    z-index: 100;
    background: var(--navy);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    height: 88px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0px;
    text-decoration: none;
}

.nav-logo-img {
    height: 80px;
    width: auto;
}

.nav-name {
    margin-left: 10px;
    font-family: 'Oswald', sans-serif;
    font-size: 30px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

    .nav-links a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        font-size: 18px;
        font-weight: 600;
        letter-spacing: .5px;
        text-transform: uppercase;
        transition: color .2s;
    }

        .nav-links a:hover {
            color: var(--accent);
        }

.nav-cta {
    background: var(--accent);
    color: var(--navy) !important;
    padding: 8px 20px;
    border-radius: 4px;
}

    .nav-cta:hover {
        background: #ffc233;
        color: var(--navy) !important;
    }

/* ── PAGE SYSTEM ── */
.page {
    display: none;
}

    .page.active {
        display: block;
    }

/* ── HERO ── */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 6% 60px;
    position: relative;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-carousel-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

    .hero-carousel-slide.active {
        opacity: 1;
    }

.hero-carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(25, 37, 70, 0.2) 0%, rgba(13, 30, 69, 0.25) 55%, rgba(22, 37, 80, 0.2) 100%);
    z-index: 1;
}

.hero-grid {
    position: relative;
    z-index: 2;
}

.carousel-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    transition: background .3s;
}

    .carousel-dot.active {
        background: var(--accent);
    }

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 80% 50%, rgba(74, 144, 217, 0.15) 0%, transparent 70%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-block;
    background: rgba(0, 6, 18, 0.5);
    border: 1px solid rgba(74, 144, 217, 0.5);
    color: var(--sky);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 2px;
    margin-bottom: 24px;
}

h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}

    h1 span {
        color: var(--accent);
    }

.hero-sub {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

.btn-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--navy);
    padding: 14px 32px;
    border-radius: 4px;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .2s, transform .15s;
    display: inline-block;
    background: linear-gradient(120deg, var(--accent), #ffc233);
    box-shadow: 0 4px 14px rgba(240, 165, 0, 0.4);
}

    .btn-primary:hover {
        background: #ffc233;
        transform: translateY(-2px);
    }

.btn-ghost {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 4px;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: border-color .2s, transform .15s;
    display: inline-block;
}

    .btn-ghost:hover {
        border-color: var(--sky);
        transform: translateY(-2px);
    }

/* hero visual */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.globe-ring {
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 2px solid rgba(74, 144, 217, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: spin 30s linear infinite;
}

    .globe-ring::before {
        content: '';
        position: absolute;
        inset: 20px;
        border-radius: 50%;
        border: 1px dashed rgba(74, 144, 217, 0.9);
    }

.globe-core {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(100, 106, 116, 0.5), inset 0 0 40px rgba(0, 0, 0, 0.3);
    animation: spin 30s linear infinite reverse;
    text-align: center;
    gap: 4px;
}

.globe-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.orbit-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

    .orbit-dot:nth-child(1) {
        top: 14px;
        left: 50%;
        transform: translateX(-50%);
    }

    .orbit-dot:nth-child(2) {
        bottom: 37px;
        right: 15%;
    }

    .orbit-dot:nth-child(3) {
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* stats bar */
.stats-bar {
    background: var(--accent);
    padding: 20px 6%;
}

.stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.stat {
    text-align: center;
}

.stat-num {
    font-family: 'Oswald', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--navy);
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(26, 44, 91, 0.75);
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ── SECTIONS ── */
section {
    padding: 90px 6%;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--sky);
    margin-bottom: 12px;
}

h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--gray);
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 52px;
}

/* ── WHY ── */
#why {
    background: var(--light);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.card {
    background: var(--white);
    border-radius: 8px;
    padding: 36px 30px;
    border-top: 4px solid var(--blue);
    box-shadow: 0 4px 24px rgba(26, 44, 91, 0.07);
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 36px rgba(26, 44, 91, 0.13);
    }

.card-icon {
    font-size: 32px;
    margin-bottom: 18px;
    font-size: 32px;
    transition: transform 0.3s, color 0.3s;
}

.card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--navy);
}

.card p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
}

.card-arrow {
    margin-top: auto;
    padding-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
}

/* ── HOW IT WORKS ── */
.steps {
    display: flex;
    gap: 0;
}

.step {
    flex: 1;
    padding: 36px 32px;
    position: relative;
    text-align: center;
}

    .step:not(:last-child)::after {
        content: '→';
        position: absolute;
        right: -14px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 24px;
        color: var(--sky);
        z-index: 1;
    }

.step-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.step h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.step p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.65;
}

/* ── SERVICE AREA ── */
#coverage {
    background: var(--navy);
    color: var(--white);
}

    #coverage .section-desc {
        color: rgba(255, 255, 255, 0.6);
    }

    #coverage h2 {
        color: var(--white);
    }

.coverage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.pa-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(74, 144, 217, 0.3);
    border-radius: 10px;
    padding: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .pa-box::before {
        content: 'PA';
        position: absolute;
        inset: 0;
        font-family: 'Oswald', sans-serif;
        font-size: 220px;
        font-weight: 700;
        color: rgba(74, 144, 217, 0.06);
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
    }

.pa-label {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--sky);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.pa-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.coverage-points {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cov-point {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cov-icon {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    background: rgba(74, 144, 217, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.cov-point h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.cov-point p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

.heading-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.testimonial-btn {
    /* Critical additions for <a> tags */
    display: inline-block;
    text-decoration: none;
    text-align: center;
    /* Your existing styles */
    margin-right: 130px;
    background: var(--blue);
    color: var(--white);
    border: none;
    padding: 12px 28px;
    border-radius: 4px;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s, transform .15s;
}

    /* Optional: Add a hover state since it's a link */
    .testimonial-btn:hover {
        filter: brightness(1.1);
        transform: translateY(-1px);
    }

    .testimonial-btn:hover {
        background: var(--navy);
        transform: translateY(-2px);
    }

/* ── CONTACT ── */
#contact .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 14px;
}

.contact-info p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 32px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.info-item {
    display: flex;
    gap: 14px;
    align-items: center;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: var(--blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.info-item span {
    font-size: 15px;
    color: var(--navy);
    font-weight: 500;
}

/* form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #d0d9ec;
    border-radius: 6px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 15px;
    color: var(--navy);
    background: var(--white);
    transition: border-color .2s;
    outline: none;
}

    .contact-form input:focus,
    .contact-form select:focus,
    .contact-form textarea:focus {
        border-color: var(--blue);
    }

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form button {
    width: 100%;
    padding: 16px;
    background: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background .2s, transform .15s;
}

    .contact-form button:hover {
        background: var(--navy);
        transform: translateY(-2px);
    }

.form-success {
    display: none;
    text-align: center;
    padding: 24px;
    background: #e8f5e9;
    border-radius: 8px;
    color: #2e7d32;
    font-weight: 600;
    font-size: 16px;
}

/* ── SUBPAGES ── */
.subpage-hero {
    min-height: 38vh;
    background: linear-gradient(160deg, var(--navy) 0%, #0d1e45 100%);
    display: flex;
    align-items: center;
    padding: 100px 6% 60px;
}

.subpage-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.subpage-hero h1 {
    font-size: clamp(34px, 4vw, 52px);
}

.subpage-content {
    padding: 70px 6%;
    max-width: 860px;
    margin: 0 auto;
}

.placeholder-box {
    background: var(--light);
    border-radius: 10px;
    padding: 60px 40px;
    text-align: center;
    border: 2px dashed #c0cde8;
}

    .placeholder-box h2 {
        font-family: 'Oswald', sans-serif;
        font-size: 26px;
        color: var(--navy);
        margin-bottom: 14px;
    }

    .placeholder-box p {
        font-size: 16px;
        color: var(--gray);
        line-height: 1.7;
    }

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    background: var(--blue);
    color: var(--white);
    padding: 13px 28px;
    border-radius: 4px;
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: background .2s;
}

    .back-btn:hover {
        background: var(--navy);
    }

/* ── FOOTER ── */
footer {
    background: #0d1e45;
    color: rgba(255, 255, 255, 0.5);
    padding: 32px 6%;
    text-align: center;
    font-size: 14px;
}

    footer span {
        color: rgba(255, 255, 255, 0.8);
        font-weight: 600;
    }

.social-icon {
    width: 15px;
    height: 15px;
    fill: #ccc;
    float: left; /* pushes icon to left */
    margin-left: 12px; /* space from text */
}

.social-icons a:hover .social-icon {
    fill: #0A66C2; /* LinkedIn blue */
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {

    .hero-grid,
    .coverage-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .cards {
        grid-template-columns: 1fr 1fr;
    }

    .steps {
        flex-direction: column;
    }

    .step:not(:last-child)::after {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 600px) {
    .cards {
        grid-template-columns: 1fr;
    }
}

/* ── VALIDATION ── */
.error-msg {
    display: none;
    color: #e53e3e;
    font-size: 0.8rem;
    margin-top: 4px;
}

.field-group {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    border-radius: 8px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}

.privacy-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left;
}

    .privacy-container h2 {
        color: #004a99; 
        font-size: 2rem;
        margin-bottom: 5px;
    }

    .privacy-container h3 {
        color: #666;
        font-size: 0.9rem;
        font-weight: normal;
        margin-bottom: 30px;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
    }

.privacy-section-title {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: #111;
    margin-top: 30px;
    margin-bottom: 15px;
    text-decoration: none;
    border-left: 4px solid #004a99;
    padding-left: 15px;
}

.privacy-container p {
    margin-bottom: 15px;
}

.privacy-container b {
    color: #000;
    display: block;
    margin-top: 20px;
    margin-bottom: 5px;
}

.privacy-container ul, .privacy-container ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.privacy-container li {
    margin-bottom: 8px;
}

.bullet-list {
    list-style-type: disc;
}

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 10px 15px;
    font-size: 18px;
    border: none;
    border-radius: 50%;
    background-color: #1a2a44;
    color: white;
    cursor: pointer;
    display: none;
    transition: opacity 0.3s, transform 0.2s;
}

    #backToTop:hover {
        transform: translateY(-3px);
    }
