
:root {
    --navy: #19263b;
    --green: #52b87e;
    --teal: #1d9bc1;
    --white: #ffffff;
    --light: #f5f8f7;
    --text: #354458;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

.container {
    width: min(1100px, 90%);
    margin: 0 auto;
}


.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    transition:
        background 0.3s ease,
        box-shadow 0.3s ease,
        backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 6px 30px rgba(21, 43, 59, 0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.navigation {
    width: min(1440px, 92%);
    min-height: 92px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0s linear 0.3s;
}

.site-header.show-brand .brand {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0s;
}

.brand img {
    display: block;
    width: 158px;
    height: auto;
}


.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(16px, 2.4vw, 38px);
    margin-left: auto;
}

.nav-links a {
    position: relative;
    padding: 8px 0;
    text-decoration: none;
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #259f9c;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
    color: #168f91;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
    transform: scaleX(1);
}

.nav-links a:focus-visible,
.header-cta:focus-visible,
.nav-toggle:focus-visible {
    outline: 2px solid #259f9c;
    outline-offset: 5px;
    border-radius: 3px;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-shrink: 0;
    padding: 12px 22px;
    border-radius: 30px;
    background: linear-gradient(100deg, #10253e, #229f8f);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(17, 73, 74, 0.25);
}

.nav-toggle {
    display: none;
    padding: 10px;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    border-radius: 2px;
    background: var(--navy);
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1050px) {
    .nav-links {
        gap: 17px;
    }

    .navigation {
        gap: 18px;
    }

    .header-cta {
        padding: 11px 15px;
    }
}


/* Hero styling is isolated in hero.css. */

.content-section {
    padding: 100px 0;
    scroll-margin-top: 20px;
}

.content-section h2 {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--navy);
}

.alternate {
    background: var(--light);
}

.site-footer {
    padding: 40px 5%;
    background: var(--navy);
    color: var(--white);
    text-align: center;
}


@media (max-width: 760px) {
    .navigation {
        min-height: 76px;
        gap: 16px;
    }

    .brand img {
        width: 130px;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        margin: 0;
        padding: 20px 5%;
        flex-direction: column;
        gap: 13px;
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 18px 30px rgba(21, 43, 59, 0.12);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        font-size: 14px;
    }

    .header-cta {
        display: none;
    }

    .content-section {
        padding: 65px 0;
    }
}


@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .nav-links a {
        transition: none;
    }
}


.footer-status {
    max-width: 690px;
    margin: 20px auto 0;
    color: #a8bec8;
    font-size: 11px;
    line-height: 1.8;
}
