:root {
    --bg: #f5fbff;
    --surface: #ffffff;
    --ink: #0b1a2a;
    --muted: #4c6075;
    --brand: #005bbb;
    --brand-deep: #003a8c;
    --accent: #ff8a00;
    --mint: #19b89d;
    --line: #d9e4ef;
    --radius: 18px;
    --shadow-soft: 0 14px 34px rgba(7, 32, 71, 0.12);
    --shadow-hover: 0 20px 42px rgba(7, 32, 71, 0.18);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(120% 70% at 0% 0%, rgba(0, 91, 187, 0.08), transparent 65%),
        radial-gradient(90% 70% at 100% 0%, rgba(25, 184, 157, 0.09), transparent 64%),
        var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: #c5e6ff;
    color: #07203e;
}

h1,
h2,
h3,
h4 {
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

p {
    color: var(--muted);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #8cb7ff;
    outline-offset: 2px;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1160px, 92vw);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: #061e3f;
    color: #fff;
    padding: 0.7rem 1rem;
    z-index: 2000;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.utility-bar {
    background: linear-gradient(90deg, #032853, #005bbb, #0085c7);
}

.utility-inner {
    min-height: 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.utility-inner p {
    color: #e7f5ff;
    font-size: 0.83rem;
    font-weight: 600;
}

.utility-inner a {
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    padding: 0.24rem 0.8rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: rgba(248, 252, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.nav-wrap {
    min-height: 76px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.brand img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 12px;
}

.brand-name {
    color: #062d5a;
    font-weight: 800;
    letter-spacing: 0.04em;
    font-size: 0.92rem;
}

.brand-sub {
    color: var(--brand);
    font-weight: 700;
    font-size: 0.83rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.68rem;
    flex-wrap: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: #13263d;
    font-weight: 700;
    font-size: 0.82rem;
    position: relative;
    white-space: nowrap;
}

.nav-links a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.22rem;
    width: 0;
    height: 2px;
    background: var(--brand);
    transition: width 0.22s ease;
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a.active:not(.nav-cta)::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--brand);
}

.nav-cta {
    background: linear-gradient(120deg, var(--accent), #ffb02e);
    color: #1e1402 !important;
    border-radius: 999px;
    padding: 0.52rem 1rem;
    font-weight: 800;
}

.menu-btn {
    display: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 0.35rem 0.8rem;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
}

main {
    min-height: 60vh;
}

.hero {
    position: relative;
    padding: 3.3rem 0 3rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.2rem;
}

.hero-carousel {
    position: relative;
    min-height: 520px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid #c7d8ea;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
    background:
        linear-gradient(180deg, rgba(6, 25, 48, 0.15), rgba(6, 25, 48, 0.8)),
        var(--slide-bg) center/cover no-repeat;
    display: flex;
    align-items: flex-end;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-copy {
    width: min(620px, 92%);
    margin: 0 auto 1.1rem;
}

.hero-kicker {
    color: #cbf4ff;
    text-transform: uppercase;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.hero-slide h1 {
    margin-top: 0.55rem;
    color: #f7fbff;
    font-size: clamp(1.8rem, 4vw, 3rem);
    max-width: 17ch;
    line-height: 1.12;
}

.hero-text {
    margin-top: 0.85rem;
    color: #d8e5f5;
    max-width: 45ch;
}

.hero-actions {
    margin-top: 1.25rem;
    display: flex;
    gap: 0.7rem;
}

.carousel-controls {
    position: absolute;
    right: 0.9rem;
    top: 0.9rem;
    display: flex;
    gap: 0.42rem;
}

.carousel-btn {
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    background: rgba(5, 20, 38, 0.5);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 0.72rem;
    cursor: pointer;
}

.carousel-dots {
    position: absolute;
    bottom: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.45rem;
}

.carousel-dot {
    width: 0.64rem;
    height: 0.64rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.carousel-dot.is-active {
    background: #fff;
}

.hero-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1.2rem;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 0.95rem;
}

.panel-badge {
    width: fit-content;
    background: #eaf3ff;
    border: 1px solid #c9ddfa;
    border-radius: 999px;
    padding: 0.2rem 0.68rem;
    font-size: 0.76rem;
    color: #0b4fa1;
    font-weight: 800;
}

.hero-panel h2 {
    font-size: 1.55rem;
}

.hero-panel ul {
    list-style: none;
}

.hero-panel li {
    position: relative;
    padding-left: 1rem;
    margin-top: 0.34rem;
    color: #384c62;
}

.hero-panel li::before {
    content: "";
    position: absolute;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--mint);
    left: 0;
    top: 0.62rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.hero-metrics article {
    background: #f4f8ff;
    border: 1px solid #d4e2f4;
    border-radius: 12px;
    padding: 0.75rem;
}

.hero-metrics h3 {
    color: var(--brand);
    font-size: 1.2rem;
}

.hero-metrics p {
    font-size: 0.83rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 0.68rem 1.05rem;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(120deg, var(--brand), #0070df);
    box-shadow: 0 10px 20px rgba(0, 91, 187, 0.28);
}

.btn-primary:hover {
    transform: translateY(-1px);
}

.btn-ghost {
    border-color: #d9e4f0;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.btn-light {
    border-color: #cdd9e8;
    background: #fff;
    color: #113257;
}

.trust-strip {
    border-block: 1px solid var(--line);
    background: #f9fcff;
}

.trust-grid {
    min-height: 66px;
    display: grid;
    grid-template-columns: 1.15fr 2fr;
    align-items: center;
    gap: 1rem;
}

.trust-grid p {
    color: #1d3d63;
    font-weight: 700;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chip {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
    font-size: 0.8rem;
    color: #264668;
    font-weight: 700;
}

.section {
    padding: 4.4rem 0;
}

.stat-grid {
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.stat-box {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.95rem;
    box-shadow: var(--shadow-soft);
}

.stat-box h3 {
    color: var(--brand);
    font-size: 1.55rem;
}

.steps {
    margin-top: 1.1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.step-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.95rem;
}

.step-item span {
    display: inline-flex;
    width: 1.6rem;
    height: 1.6rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dcedff;
    color: #0b4fa1;
    font-size: 0.8rem;
    font-weight: 800;
}

.news-list {
    margin-top: 1.2rem;
    display: grid;
    gap: 0.8rem;
}

.news-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.9rem;
}

.program-link {
    margin-top: 0.55rem;
    display: inline-block;
    color: #145399;
    font-weight: 800;
    text-decoration: none;
    font-size: 0.85rem;
}

.program-link:hover {
    text-decoration: underline;
}

.section-head {
    max-width: 760px;
}

.section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.76rem;
    color: var(--brand);
    font-weight: 800;
}

.section-head h2 {
    margin-top: 0.34rem;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.section-head p {
    margin-top: 0.5rem;
}

.grid-4 {
    margin-top: 1.3rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.grid-3 {
    margin-top: 1.3rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card h3 {
    font-size: 1.07rem;
    color: #113257;
}

.card p {
    margin-top: 0.35rem;
}

.card-img {
    border-radius: 12px;
    width: 100%;
    height: 170px;
    object-fit: cover;
    margin-bottom: 0.7rem;
}

.feature-band {
    background: linear-gradient(120deg, #062d5a, #005bbb, #0085c7);
    border-radius: 24px;
    padding: 1.5rem;
    margin-top: 1.4rem;
}

.feature-band p,
.feature-band h3 {
    color: #e6f3ff;
}

.feature-band .grid-3 {
    margin-top: 0.9rem;
}

.feature-band .card {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: none;
}

.feature-band .card h3 {
    color: #fff;
}

.split {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    gap: 1.2rem;
    align-items: center;
}

.split img {
    border-radius: 20px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.quote-box {
    margin-top: 1rem;
    background: #0a2e58;
    border-radius: 16px;
    padding: 1rem;
}

.quote-box p {
    color: #d7e7f9;
}

.quote-box strong {
    color: #fff;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 3.4rem 0;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(140deg, rgba(0, 91, 187, 0.08), rgba(25, 184, 157, 0.08)),
        var(--bg);
}

.breadcrumb {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
    color: #2665a8;
    font-weight: 800;
}

.page-hero h1 {
    margin-top: 0.5rem;
    font-size: clamp(1.9rem, 4vw, 3.1rem);
    max-width: 18ch;
}

.page-hero p {
    margin-top: 0.65rem;
    max-width: 62ch;
}

.hero-photo-right {
    position: absolute;
    right: 2vw;
    top: 0.8rem;
    width: min(34vw, 410px);
    height: calc(100% - 1.6rem);
    border-radius: 18px;
    object-fit: cover;
    border: 1px solid var(--line);
}

.list-check {
    list-style: none;
    margin-top: 0.9rem;
}

.list-check li {
    position: relative;
    padding-left: 1.1rem;
    margin-top: 0.4rem;
    color: #2f4862;
}

.list-check li::before {
    content: "";
    width: 0.46rem;
    height: 0.46rem;
    border-radius: 50%;
    background: var(--accent);
    position: absolute;
    left: 0;
    top: 0.6rem;
}

.timeline {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.timeline-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.9rem;
    box-shadow: var(--shadow-soft);
}

.timeline-item span {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: #dbe9fb;
    color: #0a4b98;
    font-size: 0.78rem;
    font-weight: 800;
}

.timeline-item h3 {
    margin-top: 0.45rem;
    font-size: 1rem;
}

.two-col-cards {
    margin-top: 1.3rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.2rem;
}

.form-card,
.info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: var(--shadow-soft);
}

.info-card h3,
.form-card h3 {
    color: #113257;
}

.form-grid {
    margin-top: 0.8rem;
    display: grid;
    gap: 0.75rem;
}

.form-row {
    display: grid;
    gap: 0.26rem;
}

.form-row label {
    font-size: 0.86rem;
    color: #324d68;
    font-weight: 700;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    border: 1px solid #cbd9e8;
    border-radius: 10px;
    padding: 0.65rem 0.7rem;
    font: inherit;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.form-row textarea {
    min-height: 110px;
    resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: #7caef4;
    box-shadow: 0 0 0 3px rgba(124, 174, 244, 0.25);
    outline: none;
}

.cta-band {
    margin-top: 1.4rem;
    background: linear-gradient(120deg, #ff8a00, #ffc14d);
    border-radius: 22px;
    padding: 1.6rem;
    text-align: center;
}

.cta-band h2,
.cta-band p {
    color: #2f1d00;
}

.site-footer {
    margin-top: 3rem;
    border-top: 1px solid var(--line);
    background: linear-gradient(165deg, #e8f2fb, #e6f4f2);
}

.footer-grid {
    padding: 2.3rem 0 1.3rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 1.1rem;
}

.site-footer h3,
.site-footer h4 {
    color: #14365c;
}

.site-footer p {
    margin-top: 0.26rem;
}

.site-footer a {
    color: #1c4f85;
    text-decoration: none;
    font-weight: 700;
}

.site-footer a:hover {
    text-decoration: underline;
}

.footer-tag {
    margin-top: 0.56rem;
    display: inline-flex;
    background: #fff;
    border: 1px solid #c7d8eb;
    border-radius: 999px;
    padding: 0.18rem 0.64rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: #145399;
}

.footer-bottom {
    border-top: 1px solid #cfdeec;
    min-height: 52px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
}

.copyright {
    color: #4f667f;
    font-size: 0.85rem;
}

.footer-legal {
    color: #4f667f;
    font-size: 0.82rem;
}

.back-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1200;
    border-radius: 999px;
    border: 1px solid #bdd0e4;
    background: #fff;
    color: #1c3f68;
    font-weight: 800;
    padding: 0.42rem 0.78rem;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.reveal {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1040px) {
    .hero-grid,
    .split,
    .contact-wrap {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        order: 2;
    }

    .hero-photo-right {
        display: none;
    }

    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-3,
    .timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .utility-inner {
        min-height: 52px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 0.28rem 0;
    }

    .nav-links {
        position: absolute;
        right: 4vw;
        top: 76px;
        width: min(340px, 92vw);
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 14px;
        padding: 0.9rem;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        box-shadow: var(--shadow-soft);
        max-height: 78vh;
        overflow-y: auto;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 0.22rem 0;
    }

    .nav-links.open {
        display: flex;
    }

    .menu-btn {
        display: inline-block;
    }

    .hero {
        padding-top: 2.4rem;
    }

    .hero-carousel {
        min-height: 500px;
    }

    .hero-slide h1 {
        font-size: clamp(1.45rem, 7vw, 2rem);
        max-width: 20ch;
    }

    .hero-text {
        font-size: 0.94rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .trust-grid,
    .grid-4,
    .grid-3,
    .steps,
    .stat-grid,
    .timeline,
    .two-col-cards,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.8rem 0;
    }

    .card-img {
        height: 180px;
    }

    .cta-band {
        padding: 1.15rem;
    }

    .news-item h3 {
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
