:root {
    --blue: #1d4790;
    --cyan: #1d98af;
    --ink: #1d2933;
    --muted: #5d6b75;
    --white: #ffffff;
    --soft: #f7f8fa;
    --line: rgba(29, 71, 144, 0.16);
    --shadow: 0 22px 60px rgba(18, 42, 72, 0.14);
    color-scheme: light;
    font-family: Merriweather, Georgia, serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    line-height: 1.65;
}

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

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 44px));
    margin: 0 auto;
}

.container.narrow {
    width: min(780px, calc(100% - 44px));
    text-align: center;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 74px;
    padding: 10px 5%;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(29, 71, 144, 0.11);
    box-shadow: 0 8px 28px rgba(18, 42, 72, 0.08);
    backdrop-filter: blur(16px);
}

.site-logo {
    width: min(250px, 42vw);
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a {
    padding: 0.56rem 0.9rem;
    border-radius: 999px;
    color: #333;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 0.96rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
    background: rgba(29, 152, 175, 0.1);
    color: var(--cyan);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 9px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 6px 0;
    background: #222;
}

.hero,
.image-text-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--white);
}

.hero {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 120px 22px 76px;
    text-align: center;
}

.compact-hero {
    min-height: 78vh;
}

.cover-image,
.dark-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.cover-image {
    z-index: -2;
    object-fit: cover;
}

.dark-overlay {
    z-index: -1;
    background:
        radial-gradient(circle at center, rgba(29, 152, 175, 0.12), transparent 38%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0.62));
}

.hero-inner {
    width: min(820px, 100%);
}

.keep-together {
    white-space: nowrap;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 16px;
    color: inherit;
    font-size: clamp(3.2rem, 6.8vw, 6.6rem);
    line-height: 1.04;
    font-weight: 700;
    letter-spacing: 0;
    text-shadow: 0 10px 34px rgba(0, 0, 0, 0.26);
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 3.4vw, 3.4rem);
    line-height: 1.16;
    font-weight: 700;
}

h3 {
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.hero p {
    margin-bottom: 26px;
    color: #fff;
    font-size: 1.14rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: "Segoe UI", Arial, sans-serif;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease, color 0.35s ease;
}

.button-blue {
    background: linear-gradient(135deg, var(--blue), #245aa8);
    color: var(--white);
}

.button-blue:hover,
.button-blue:focus-visible {
    background: linear-gradient(135deg, var(--cyan), #22aec6);
    box-shadow: 0 12px 28px rgba(29, 71, 144, 0.28);
    transform: translateY(-2px);
}

.button-white {
    background: var(--white);
    color: var(--blue);
}

.button-white:hover,
.button-white:focus-visible {
    background: var(--cyan);
    color: var(--white);
    transform: translateY(-2px);
}

.button-white-outline {
    border-color: var(--blue);
    background: var(--white);
    color: var(--blue);
}

.button-white-outline:hover,
.button-white-outline:focus-visible {
    background: var(--cyan);
    border-color: var(--cyan);
    color: var(--white);
    transform: translateY(-2px);
}

.card-section,
.contact-strip,
.policy-section {
    padding: clamp(84px, 10vw, 132px) 0;
    background: linear-gradient(180deg, var(--white), #f8fbfd);
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 70px);
    align-items: center;
}

.copy-card,
.embed-like-card,
.contact-card {
    display: grid;
    gap: 18px;
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid rgba(29, 71, 144, 0.08);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.copy-card p,
.embed-like-card p,
.contact-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1.05rem;
}

.image-card {
    overflow: hidden;
    min-height: 380px;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.blue-section .image-card {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.34);
}

.image-card img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
}

.image-text-section {
    padding: clamp(92px, 12vw, 150px) 0;
}

.text-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(28px, 6vw, 84px);
    align-items: start;
}

.text-grid p {
    margin-bottom: 0;
    color: #fff;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1.08rem;
}

.blue-section {
    padding: clamp(84px, 10vw, 132px) 0;
    background:
        linear-gradient(180deg, #214f98 0%, #244f91 62%, #dbe4f0 100%);
    color: var(--white);
}

.first-section {
    padding-top: calc(74px + clamp(70px, 9vw, 120px));
}

.blue-copy {
    display: grid;
    gap: 16px;
    align-content: center;
    padding: clamp(8px, 2vw, 24px) 0;
}

.blue-copy h2 {
    margin-bottom: 4px;
    color: var(--white);
    font-size: clamp(2rem, 3vw, 3.05rem);
}

.blue-copy p {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
}

.check-list {
    display: grid;
    gap: 8px;
    margin: 2px 0 0;
    padding-left: 1.2rem;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
}

.check-list li {
    padding-left: 0.15rem;
}

.contact-strip .two-column {
    grid-template-columns: 1.05fr 0.95fr;
}

.subpage-heading {
    padding: calc(74px + clamp(70px, 9vw, 120px)) 0 clamp(60px, 8vw, 96px);
    color: #fff;
}

.blue-gradient {
    background: linear-gradient(180deg, #183f83 0%, var(--blue) 70%, #fff 70%, #fff 100%);
}

.subpage-heading h1 {
    margin-bottom: 14px;
}

.subpage-heading p {
    margin-bottom: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1.1rem;
}

.gallery-section {
    padding: 0 0 clamp(84px, 10vw, 132px);
    background: var(--white);
}

.certificate-section {
    padding: 0 0 clamp(84px, 10vw, 132px);
    background: var(--white);
}

.certificate-empty,
.certificate-card {
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid rgba(29, 71, 144, 0.08);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
    text-align: center;
}

.certificate-empty {
    width: min(760px, 100%);
    margin: 0 auto;
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.certificate-empty p,
.certificate-card p {
    color: var(--muted);
    font-family: "Segoe UI", Arial, sans-serif;
}

.certificate-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.gallery-item {
    overflow: hidden;
    min-height: 280px;
    border-radius: 14px;
    background: #e9eef2;
    box-shadow: 0 14px 38px rgba(18, 42, 72, 0.13);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
    transform: scale(1.06);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: clamp(12px, 2vw, 28px);
    background: rgba(8, 18, 32, 0.86);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-image {
    max-width: 98vw;
    max-height: 94vh;
    border-radius: 14px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
    object-fit: contain;
    cursor: zoom-out;
}

.lightbox-close {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 101;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
    background: rgba(255, 255, 255, 0.24);
    transform: translateY(-1px);
}

body.lightbox-open {
    overflow: hidden;
}

.contact-landing .two-column {
    align-items: stretch;
}

.contact-card {
    color: var(--ink);
}

.contact-card h1 {
    margin-bottom: 0;
    color: var(--ink);
    font-size: clamp(2.8rem, 5.5vw, 5rem);
}

.contact-card a {
    color: var(--blue);
    font-weight: 700;
}

.contact-form {
    display: grid;
    gap: 14px;
    margin-top: 6px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: #344b5b;
    font-family: "Segoe UI", Arial, sans-serif;
    font-weight: 700;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid rgba(29, 71, 144, 0.18);
    border-radius: 10px;
    background: #f8fafc;
    color: var(--ink);
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(29, 152, 175, 0.14);
    outline: 0;
}

.team-section {
    padding: clamp(82px, 10vw, 128px) 0;
    background: linear-gradient(180deg, #183f83, var(--blue));
    color: var(--white);
}

.section-title {
    margin-bottom: 40px;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 235px));
    justify-content: center;
    gap: clamp(34px, 5vw, 64px);
}

.team-card {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 10px;
    min-height: 270px;
    padding: 28px 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: linear-gradient(180deg, #24a6bd, var(--cyan));
    color: var(--white);
    text-align: center;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.13);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.team-card h3,
.team-card p {
    margin-bottom: 0;
}

.team-card h3 {
    font-size: 1.35rem;
}

.team-card p,
.team-card a {
    font-family: "Segoe UI", Arial, sans-serif;
}

.team-card a {
    color: var(--white);
    overflow-wrap: anywhere;
    text-decoration-color: rgba(255, 255, 255, 0.5);
    text-underline-offset: 4px;
}

.job-card {
    width: min(760px, 100%);
    margin: clamp(54px, 8vw, 86px) auto 0;
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    text-align: center;
}

.job-card p {
    font-family: "Segoe UI", Arial, sans-serif;
}

.site-footer {
    padding: clamp(52px, 7vw, 82px) 0 28px;
    background: var(--white);
    color: var(--ink);
}

.footer-grid {
    display: grid;
    place-items: center;
    gap: 26px;
    text-align: center;
}

.footer-logo {
    width: 194px;
    height: auto;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
}

.site-footer a {
    color: #333;
    font-family: "Segoe UI", Arial, sans-serif;
    font-weight: 600;
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--cyan);
}

.site-footer p {
    margin: 0;
    color: #667;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 0.92rem;
}

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

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero .reveal {
    opacity: 1;
    transform: none;
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

@media (max-width: 1020px) {
    .site-header {
        align-items: flex-start;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 5% 18px;
        background: rgba(255, 255, 255, 0.97);
        border-bottom: 1px solid rgba(0, 0, 0, 0.14);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 0.8rem 0;
    }

    .two-column,
    .text-grid,
    .contact-strip .two-column {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, minmax(220px, 235px));
    }

    .reverse-mobile .image-card {
        order: 2;
    }

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

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

@media (max-width: 640px) {
    .container,
    .container.narrow {
        width: min(100% - 32px, 1180px);
    }

    .site-header {
        min-height: 68px;
        padding: 9px 16px;
    }

    .site-logo {
        width: min(210px, 62vw);
    }

    .hero {
        min-height: 86vh;
        padding: 104px 16px 58px;
    }

    .compact-hero {
        min-height: 70vh;
    }

    h1 {
        font-size: clamp(2.55rem, 12.5vw, 4.35rem);
    }

    .hero p {
        font-size: 1.02rem;
    }

    .button {
        width: 100%;
    }

    .card-section,
    .contact-strip,
    .policy-section,
    .blue-section,
    .team-section {
        padding: 64px 0;
    }

    .first-section,
    .subpage-heading {
        padding-top: 116px;
    }

    .image-text-section {
        padding: 76px 0;
    }

    .copy-card,
    .embed-like-card,
    .contact-card {
        padding: 24px;
    }

    .image-card,
    .image-card img {
        min-height: 300px;
    }

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

    .team-grid {
        grid-template-columns: minmax(220px, 245px);
        gap: 28px;
    }

    .gallery-item,
    .gallery-item img {
        min-height: 245px;
    }

    .site-footer nav {
        flex-direction: column;
        gap: 12px;
    }
}
