:root {
    --ink: #111820;
    --ink-soft: #53616a;
    --blue: #0877bd;
    --blue-bright: #39a9ed;
    --blue-dark: #061b2b;
    --graphite: #5e5e5e;
    --graphite-dark: #25282b;
    --ice: #eef8ff;
    --paper: #ffffff;
    --line: #dce8ee;
    --shadow: 0 28px 80px rgba(7, 28, 43, 0.18);
    --radius: 8px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

body.modal-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: -6rem;
    z-index: 1000;
    padding: 0.75rem 1rem;
    color: var(--paper);
    background: var(--ink);
    border-radius: var(--radius);
    transition: top 160ms ease;
}

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

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.1rem 1.65rem;
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1240px;
    min-height: 76px;
    margin-inline: auto;
    padding: 0.6rem 0.8rem 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    box-shadow: 0 18px 55px rgba(7, 28, 43, 0.14);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
}

.brand img {
    width: 236px;
    height: auto;
    max-height: 88px;
    object-fit: contain;
}

.brand--footer img {
    width: 224px;
    padding: 0.55rem 0.7rem;
    background: var(--paper);
    border-radius: var(--radius);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 900;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding-inline: 1rem;
    border-radius: var(--radius);
}

.site-nav a.is-active,
.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--paper);
    background: var(--blue);
}

.site-nav .nav-cta {
    margin-left: 0.45rem;
    color: var(--paper);
    background: var(--blue);
    box-shadow: 0 12px 26px rgba(8, 119, 189, 0.22);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
    color: var(--paper);
    background: var(--graphite-dark);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: var(--blue);
    border: 0;
    border-radius: var(--radius);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--paper);
    transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 1.25rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 950;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button--primary {
    color: var(--paper);
    background: var(--blue);
    box-shadow: 0 18px 35px rgba(8, 119, 189, 0.24);
}

.button--glow {
    position: relative;
    isolation: isolate;
    overflow: visible;
    color: var(--paper);
    background: linear-gradient(135deg, #0877bd, #16b8ff 58%, #0877bd);
    border-color: rgba(255, 255, 255, 0.75);
    box-shadow:
        0 0 0 5px rgba(57, 169, 237, 0.34),
        0 18px 35px rgba(8, 119, 189, 0.34),
        0 0 54px rgba(57, 169, 237, 0.82);
    animation: cta-glow 1.55s ease-in-out infinite;
}

.button--glow::before {
    position: absolute;
    inset: -0.55rem;
    z-index: -1;
    border: 2px solid rgba(57, 169, 237, 0.74);
    border-radius: 14px;
    animation: cta-ring 1.55s ease-out infinite;
    content: "";
    pointer-events: none;
}

.button--glow::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.58) 50%, transparent 68%);
    border-radius: inherit;
    transform: translateX(-38%);
    animation: cta-sheen 2.2s ease-in-out infinite;
    content: "";
    pointer-events: none;
}

@keyframes cta-glow {
    0%,
    100% {
        box-shadow:
            0 0 0 5px rgba(57, 169, 237, 0.3),
            0 18px 35px rgba(8, 119, 189, 0.34),
            0 0 44px rgba(57, 169, 237, 0.72);
    }

    50% {
        box-shadow:
            0 0 0 10px rgba(57, 169, 237, 0.42),
            0 22px 50px rgba(8, 119, 189, 0.45),
            0 0 78px rgba(57, 169, 237, 1);
    }
}

@keyframes cta-ring {
    0% {
        opacity: 0.95;
        transform: scale(0.96);
    }

    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

@keyframes cta-sheen {
    0%,
    45% {
        transform: translateX(-38%);
    }

    75%,
    100% {
        transform: translateX(38%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .button--glow,
    .button--glow::after {
        animation: none;
    }
}

.button--outline {
    color: var(--paper);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.72);
}

.button--ghost {
    color: var(--blue-dark);
    background: transparent;
    border-color: var(--line);
}

.button--small {
    min-height: 40px;
    padding-inline: 0.9rem;
    font-size: 0.92rem;
}

.button--full {
    width: 100%;
}

.hero {
    position: relative;
    min-height: 790px;
    overflow: hidden;
    color: var(--paper);
    background: var(--blue-dark);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: center;
    min-height: 790px;
    opacity: 0;
    background-position: center;
    background-size: cover;
    transition: opacity 700ms ease;
}

.hero-slide.is-active {
    position: relative;
    z-index: 1;
    opacity: 1;
}

.hero-content {
    width: min(100% - 3.6rem, var(--container));
    margin-inline: auto;
    padding-top: 6.5rem;
}

.eyebrow {
    margin: 0 0 0.85rem;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: var(--blue-bright);
}

.hero h1,
.section-intro h2,
.section-split h2,
.about-copy h2,
.proof-copy h2,
.accreditation-copy h2,
.testimonial-layout h2,
.contact-copy h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 900;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 790px;
    color: var(--paper);
    font-size: clamp(3.4rem, 7vw, 6.6rem);
    line-height: 0.96;
}

.hero-content > p:not(.eyebrow) {
    max-width: 730px;
    margin: 1.55rem 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.15rem, 2.2vw, 1.7rem);
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2.35rem;
}

.hero-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2.6rem;
}

.hero-chip-row span {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 1rem;
    color: var(--paper);
    background: rgba(0, 0, 0, 0.26);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: var(--radius);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
    font-weight: 900;
}

.hero-control-bar {
    position: absolute;
    left: 50%;
    bottom: 4.7rem;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100% - 3.6rem, var(--container));
    transform: translateX(-50%);
    pointer-events: none;
}

.hero-dots,
.hero-arrows,
.carousel-actions,
.testimonial-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.hero-dots button {
    width: 2.7rem;
    height: 0.45rem;
    padding: 0;
    background: rgba(255, 255, 255, 0.45);
    border: 0;
    border-radius: 999px;
    pointer-events: auto;
}

.hero-dots button.is-active {
    background: var(--blue-bright);
}

.hero-arrows button,
.carousel-actions button,
.testimonial-controls button {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: var(--paper);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 50%;
    font-size: 1.8rem;
    line-height: 1;
    pointer-events: auto;
}

.carousel-actions button,
.testimonial-controls button {
    color: var(--paper);
    background: var(--blue);
    border-color: var(--blue);
    box-shadow: 0 12px 25px rgba(7, 28, 43, 0.12);
}

.page-hero {
    position: relative;
    display: grid;
    align-items: end;
    min-height: 540px;
    padding-block: 10rem 4.8rem;
    overflow: hidden;
    color: var(--paper);
    background-color: var(--blue-dark);
    background-position: center;
    background-size: cover;
}

.page-hero::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--blue), var(--blue-bright), var(--graphite));
    content: "";
}

.page-hero__inner {
    position: relative;
    z-index: 1;
    width: min(100% - 3.6rem, var(--container));
    margin-inline: auto;
}

.page-hero .eyebrow {
    color: var(--blue-bright);
}

.page-hero h1 {
    max-width: 820px;
    margin: 0;
    color: var(--paper);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 6vw, 5.4rem);
    font-weight: 900;
    line-height: 0.98;
}

.page-hero p:not(.eyebrow) {
    max-width: 680px;
    margin: 1.25rem 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    line-height: 1.55;
}

.motion-strip {
    overflow: hidden;
    color: var(--paper);
    background: var(--graphite-dark);
    border-block: 1px solid rgba(255, 255, 255, 0.14);
}

.motion-strip__track {
    display: flex;
    width: max-content;
    animation: marquee 34s linear infinite;
}

.motion-strip span {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 70px;
    padding-inline: 2rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.14rem;
    font-weight: 900;
    white-space: nowrap;
}

.motion-strip span::before {
    width: 0.62rem;
    height: 0.62rem;
    margin-right: 1.25rem;
    background: var(--blue-bright);
    border-radius: 50%;
    content: "";
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.stats-band {
    background: var(--paper);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-inline: 1px solid var(--line);
}

.stats-grid div {
    min-height: 120px;
    padding: 1.25rem;
    border-right: 1px solid var(--line);
}

.stats-grid div:last-child {
    border-right: 0;
}

.stats-grid strong,
.stats-grid span {
    display: block;
}

.stats-grid strong {
    color: var(--blue);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.25rem;
    line-height: 1;
}

.stats-grid span {
    max-width: 180px;
    margin-top: 0.4rem;
    color: var(--ink-soft);
    font-weight: 800;
}

.section {
    padding-block: 6.5rem;
}

.section-intro,
.section-split {
    margin-bottom: 2.4rem;
}

.section-intro {
    max-width: 720px;
}

.section-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.5fr);
    gap: 2.5rem;
    align-items: end;
}

.section-intro h2,
.section-split h2,
.about-copy h2,
.proof-copy h2,
.accreditation-copy h2,
.testimonial-layout h2,
.contact-copy h2 {
    font-size: clamp(2.3rem, 4vw, 4.1rem);
    line-height: 1;
}

.section-intro p,
.section-split p,
.about-copy p,
.proof-copy p,
.accreditation-copy p,
.contact-copy p {
    color: var(--ink-soft);
}

.service-section,
.about-section,
.testimonial-section {
    background: var(--paper);
}

.proof-section {
    background:
        linear-gradient(180deg, rgba(238, 248, 255, 0.86), rgba(255, 255, 255, 0.96)),
        var(--ice);
}

.proof-layout,
.accreditation-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(340px, 0.68fr);
    gap: 3rem;
    align-items: center;
}

.proof-copy > p,
.accreditation-copy > p {
    margin-top: 1rem;
}

.proof-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.8rem;
}

.proof-points span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 0.85rem;
    color: var(--blue-dark);
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 4px solid var(--blue);
    border-radius: var(--radius);
    font-weight: 900;
}

.proof-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(160px, 0.48fr);
    gap: 1rem;
    align-items: end;
}

.proof-photo,
.proof-certificate,
.certificate-card {
    box-shadow: var(--shadow);
}

.proof-photo,
.proof-certificate,
.certificate-card img {
    width: 100%;
    border-radius: var(--radius);
}

.proof-photo {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.proof-certificate {
    aspect-ratio: 0.68 / 1;
    object-fit: cover;
    object-position: top;
    background: var(--paper);
    border: 8px solid var(--paper);
}

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

.service-card {
    overflow: hidden;
    min-height: 430px;
    color: var(--paper);
    background: var(--blue-dark);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.service-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.service-card div {
    padding: 1.3rem;
}

.service-card h3 {
    margin: 0;
    color: var(--blue-bright);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
    line-height: 1.05;
}

.service-card p {
    margin: 0.8rem 0 0;
    color: rgba(255, 255, 255, 0.84);
}

.course-section,
.venue-section {
    background: var(--ice);
}

.accreditation-section {
    background: var(--ice);
}

.certificate-card {
    margin: 0;
    padding: 0.85rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.certificate-card img {
    max-height: 620px;
    object-fit: contain;
    object-position: top;
    background: #f5fbf1;
}

.certificate-card figcaption {
    margin-top: 0.75rem;
    color: var(--blue-dark);
    font-size: 0.9rem;
    font-weight: 950;
    text-align: center;
}

.home-cta-section {
    color: var(--paper);
    background:
        linear-gradient(120deg, rgba(6, 27, 43, 0.94), rgba(37, 40, 43, 0.86)),
        url("https://images.pexels.com/photos/6129242/pexels-photo-6129242.jpeg?auto=compress&cs=tinysrgb&w=1600") center / cover;
}

.home-cta {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) auto;
    gap: 2rem;
    align-items: center;
}

.home-cta .eyebrow {
    color: var(--blue-bright);
}

.home-cta h2 {
    max-width: 760px;
    margin: 0;
    color: var(--paper);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1;
}

.home-cta p:not(.eyebrow) {
    max-width: 620px;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.82);
}

.course-panel {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 22px 65px rgba(7, 28, 43, 0.09);
}

.course-tools {
    display: grid;
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: 1rem;
    align-items: end;
}

.search-field label,
.form-field label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--ink-soft);
    font-size: 0.88rem;
    font-weight: 900;
}

.search-field input,
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 50px;
    padding: 0.8rem 0.95rem;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    outline: none;
}

.form-field textarea {
    min-height: 126px;
    resize: vertical;
}

.search-field input:focus,
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(8, 119, 189, 0.13);
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.filter-pill {
    min-height: 42px;
    padding: 0 0.9rem;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 900;
}

.filter-pill.is-active {
    color: var(--paper);
    background: var(--blue);
    border-color: var(--blue);
}

.carousel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-block: 1.15rem 0.9rem;
}

.carousel-heading h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
}

.course-track,
.venue-track {
    display: grid;
    grid-auto-flow: column;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.course-track {
    grid-auto-columns: minmax(315px, 31%);
    padding: 0.2rem 0.1rem 0.6rem;
}

.venue-track {
    grid-auto-columns: minmax(280px, 32%);
    padding-bottom: 0.7rem;
}

.course-card,
.venue-card,
.testimonial-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.course-card {
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    overflow: hidden;
    min-height: 100%;
    scroll-snap-align: start;
    box-shadow: 0 16px 38px rgba(7, 28, 43, 0.08);
}

.course-card.is-hidden {
    display: none;
}

.course-card__image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--blue-dark);
}

.course-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.course-card:hover .course-card__image img {
    transform: scale(1.04);
}

.course-card__image span {
    position: absolute;
    left: 0.8rem;
    bottom: 0.8rem;
    padding: 0.35rem 0.65rem;
    color: var(--paper);
    background: var(--blue);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 950;
}

.course-card__body {
    padding: 1rem;
}

.course-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.course-card__meta strong {
    color: var(--blue);
    white-space: nowrap;
}

.course-card h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    line-height: 1.18;
}

.course-card p {
    margin: 0.7rem 0 0;
    color: var(--ink-soft);
}

.course-card__actions {
    display: flex;
    gap: 0.6rem;
    padding: 0 1rem 1rem;
}

.course-card__detail {
    padding: 0 1rem 1rem;
    color: var(--ink-soft);
}

.course-card__detail ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.8rem 0 0;
    padding: 0;
    list-style: none;
}

.course-card__detail li {
    padding: 0.3rem 0.5rem;
    color: var(--blue-dark);
    background: var(--ice);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 850;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.72fr) minmax(0, 0.92fr);
    gap: 4rem;
    align-items: center;
}

.about-media {
    position: relative;
}

.about-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-badge {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 1rem;
    color: var(--paper);
    background: rgba(7, 28, 43, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
}

.about-badge strong,
.about-badge span {
    display: block;
}

.about-copy > p {
    margin-top: 1rem;
}

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

.mission-grid article {
    padding: 1rem;
    background: var(--ice);
    border: 1px solid var(--line);
    border-left: 5px solid var(--blue);
    border-radius: var(--radius);
}

.mission-grid h3,
.mission-grid p {
    margin: 0;
}

.mission-grid p {
    margin-top: 0.45rem;
}

.venue-card {
    min-height: 260px;
    padding: 1.25rem;
    scroll-snap-align: start;
    box-shadow: 0 16px 36px rgba(7, 28, 43, 0.08);
}

.venue-card span {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--paper);
    background: var(--blue);
    border-radius: 50%;
    font-weight: 950;
}

.venue-card h3 {
    margin: 1.1rem 0 0.2rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
}

.venue-card strong {
    display: block;
    color: var(--blue);
}

.venue-card p {
    margin: 0.6rem 0 0;
    color: var(--ink-soft);
}

.testimonial-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.75fr);
    gap: 3rem;
    align-items: center;
}

.testimonial-slider {
    position: relative;
    min-height: 350px;
}

.testimonial-card {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: center;
    margin: 0;
    padding: 2rem;
    opacity: 0;
    transform: translateX(22px);
    box-shadow: var(--shadow);
    transition: opacity 260ms ease, transform 260ms ease;
}

.testimonial-card.is-active {
    z-index: 1;
    opacity: 1;
    transform: translateX(0);
}

.testimonial-card blockquote {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    line-height: 1.45;
}

.testimonial-card figcaption {
    margin-top: 1.4rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.testimonial-card strong,
.testimonial-card span {
    display: block;
}

.testimonial-card span {
    color: var(--blue);
    font-weight: 850;
}

.testimonial-controls {
    position: absolute;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 2;
}

.contact-section {
    color: var(--paper);
    background: var(--blue-dark);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(340px, 0.7fr);
    gap: 3rem;
    align-items: start;
}

.contact-copy .eyebrow {
    color: var(--blue-bright);
}

.contact-copy h2,
.contact-copy p {
    color: var(--paper);
}

.contact-copy > p {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.82);
}

.contact-list {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.6rem;
}

.contact-list a,
.contact-list span {
    padding-bottom: 0.8rem;
    color: var(--paper);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.enquiry-form {
    padding: 1.25rem;
    color: var(--ink);
    background: var(--paper);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.enquiry-form h3 {
    margin: 0 0 1rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.form-field {
    margin-bottom: 0.9rem;
}

.form-status {
    margin-bottom: 1rem;
    padding: 0.8rem;
    color: var(--blue-dark);
    background: #eef9ff;
    border-radius: var(--radius);
    font-weight: 900;
}

.form-error {
    display: block;
    margin-top: 0.35rem;
    color: #b42318;
    font-size: 0.86rem;
    font-weight: 800;
}

.booking-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: grid;
    place-items: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

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

.booking-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 27, 43, 0.72);
    backdrop-filter: blur(10px);
}

.booking-modal__panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(250px, 0.62fr) minmax(320px, 0.88fr);
    gap: 1rem;
    width: min(100%, 980px);
    max-height: min(92vh, 760px);
    overflow-y: auto;
    padding: 1rem;
    background: var(--paper);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    box-shadow: var(--shadow);
    transform: translateY(16px) scale(0.98);
    transition: transform 180ms ease;
}

.booking-modal.is-open .booking-modal__panel {
    transform: translateY(0) scale(1);
}

.booking-modal__close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 2;
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--paper);
    background: var(--blue);
    border: 0;
    border-radius: 50%;
    font-size: 1.55rem;
    line-height: 1;
}

.booking-modal__intro {
    display: grid;
    align-content: end;
    min-height: 100%;
    padding: 2rem;
    color: var(--paper);
    background:
        linear-gradient(180deg, rgba(6, 27, 43, 0.18), rgba(6, 27, 43, 0.94)),
        url("https://images.pexels.com/photos/6303655/pexels-photo-6303655.jpeg?auto=compress&cs=tinysrgb&w=900") center / cover;
    border-radius: var(--radius);
}

.booking-modal__intro .eyebrow {
    color: var(--blue-bright);
}

.booking-modal__intro h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 0.98;
}

.booking-modal__intro p:not(.eyebrow) {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
}

.booking-modal__form {
    box-shadow: none;
}

.site-footer {
    padding-block: 3rem 1rem;
    color: rgba(255, 255, 255, 0.78);
    background: #070a0c;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 0.5fr 0.5fr;
    gap: 2rem;
}

.site-footer p {
    max-width: 390px;
}

.site-footer h2 {
    margin: 0 0 0.7rem;
    color: var(--paper);
    font-size: 1rem;
}

.site-footer a {
    display: block;
    margin-top: 0.45rem;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

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

    .service-card {
        display: grid;
        grid-template-columns: minmax(260px, 0.45fr) 1fr;
        min-height: 260px;
    }

    .service-card img {
        height: 100%;
    }

    .about-layout,
    .proof-layout,
    .accreditation-layout,
    .testimonial-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .about-media img {
        aspect-ratio: 16 / 9;
    }

    .course-track,
    .venue-track {
        grid-auto-columns: minmax(300px, 45%);
    }

    .proof-gallery {
        grid-template-columns: minmax(0, 0.72fr) minmax(180px, 0.42fr);
    }
}

@media (max-width: 900px) {
    .site-header {
        padding: 0.75rem;
    }

    .nav-shell {
        min-height: 68px;
        border-radius: 14px;
    }

    .brand img {
        width: 190px;
        max-height: 70px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        left: 0.75rem;
        right: 0.75rem;
        top: 5.35rem;
        display: grid;
        gap: 0.35rem;
        max-height: calc(100dvh - 6.2rem);
        overflow-y: auto;
        padding: 0.7rem;
        background: var(--paper);
        border-radius: 16px;
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: none;
        transition: opacity 180ms ease, visibility 180ms ease;
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .site-nav a,
    .site-nav .nav-cta {
        justify-content: center;
        margin-left: 0;
    }

    .hero,
    .hero-slide {
        min-height: 700px;
    }

    .hero-content {
        width: min(100% - 1.5rem, var(--container));
    }

    .hero-control-bar {
        width: min(100% - 1.5rem, var(--container));
    }

    .stats-grid,
    .home-cta,
    .section-split,
    .course-tools,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .section {
        padding-block: 4.8rem;
    }

    .page-hero {
        min-height: 470px;
        padding-block: 8.2rem 3.6rem;
    }

    .page-hero__inner {
        width: min(100% - 1.5rem, var(--container));
    }
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
        line-height: 1.58;
    }

    .container {
        width: min(100% - 1rem, var(--container));
    }

    .site-header {
        padding: 0.5rem;
    }

    .nav-shell {
        min-height: 64px;
        padding: 0.35rem 0.45rem 0.35rem 0.6rem;
    }

    .hero,
    .hero-slide {
        min-height: 620px;
    }

    .hero-content {
        padding-top: 4.8rem;
    }

    .hero h1 {
        font-size: clamp(2.55rem, 12vw, 3.15rem);
        line-height: 1.02;
    }

    .hero-content > p:not(.eyebrow) {
        margin-top: 1rem;
        font-size: 1.02rem;
    }

    .section-intro h2,
    .section-split h2,
    .about-copy h2,
    .proof-copy h2,
    .accreditation-copy h2,
    .testimonial-layout h2,
    .contact-copy h2 {
        font-size: clamp(2rem, 10vw, 2.55rem);
        line-height: 1.04;
    }

    .section {
        padding-block: 3.6rem;
    }

    .hero-actions,
    .course-card__actions,
    .form-row,
    .mission-grid,
    .proof-gallery,
    .service-card {
        display: grid;
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }

    .hero-chip-row {
        gap: 0.55rem;
        margin-top: 1.35rem;
    }

    .hero-chip-row span {
        min-height: 38px;
        padding-inline: 0.8rem;
        font-size: 0.9rem;
    }

    .hero-control-bar {
        align-items: flex-end;
        bottom: 2.25rem;
    }

    .brand img {
        width: 154px;
        max-height: 58px;
    }

    .site-nav {
        left: 0.5rem;
        right: 0.5rem;
        top: 4.85rem;
        padding: 0.55rem;
        border-radius: 12px;
    }

    .site-nav a {
        min-height: 44px;
        padding-inline: 0.8rem;
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .page-hero {
        min-height: 390px;
        padding-block: 6.85rem 2.45rem;
    }

    .page-hero h1 {
        font-size: clamp(2.25rem, 10.5vw, 2.8rem);
        line-height: 1.03;
    }

    .page-hero p:not(.eyebrow) {
        margin-top: 0.95rem;
        font-size: 1rem;
    }

    .hero-dots button {
        width: 1.65rem;
        height: 0.4rem;
    }

    .hero-arrows button,
    .carousel-actions button,
    .testimonial-controls button {
        width: 40px;
        height: 40px;
        font-size: 1.55rem;
    }

    .motion-strip span {
        min-height: 54px;
        padding-inline: 1.15rem;
        font-size: 0.96rem;
    }

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

    .stats-grid div {
        min-height: 104px;
        padding: 1rem;
        border-bottom: 1px solid var(--line);
    }

    .stats-grid div:nth-child(odd) {
        border-right: 1px solid var(--line);
    }

    .stats-grid div:nth-child(even) {
        border-right: 0;
    }

    .stats-grid div:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .stats-grid strong {
        font-size: 1.8rem;
    }

    .stats-grid span {
        font-size: 0.86rem;
    }

    .filter-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.35rem;
        scrollbar-width: thin;
    }

    .filter-pill {
        flex: 0 0 auto;
    }

    .course-track,
    .venue-track {
        grid-auto-columns: minmax(276px, 84%);
    }

    .course-panel {
        padding: 0.7rem;
    }

    .carousel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .service-card img {
        height: 210px;
    }

    .proof-gallery {
        gap: 0.8rem;
    }

    .proof-photo {
        aspect-ratio: 16 / 10;
    }

    .proof-certificate {
        width: min(100%, 300px);
        max-height: 420px;
        justify-self: center;
        aspect-ratio: auto;
        object-fit: contain;
    }

    .certificate-card {
        padding: 0.55rem;
    }

    .certificate-card img {
        max-height: 440px;
    }

    .certificate-card figcaption {
        font-size: 0.84rem;
    }

    .about-badge {
        position: static;
        margin-top: 0.8rem;
    }

    .testimonial-slider {
        min-height: 420px;
    }

    .testimonial-card {
        padding: 1.25rem;
    }

    .testimonial-card blockquote {
        font-size: 1.12rem;
    }

    .booking-modal__panel {
        grid-template-columns: 1fr;
        width: min(100%, 370px);
        max-height: 92dvh;
        padding: 0.55rem;
        border-radius: 12px;
    }

    .booking-modal__intro {
        min-height: 170px;
        padding: 1rem;
    }

    .booking-modal__intro h2 {
        font-size: 1.85rem;
    }

    .booking-modal__intro p:not(.eyebrow) {
        margin-top: 0.7rem;
        font-size: 0.92rem;
    }

    .booking-modal__close {
        top: 0.55rem;
        right: 0.55rem;
        width: 38px;
        height: 38px;
    }

    .enquiry-form {
        padding: 1rem;
    }

    .form-field {
        margin-bottom: 0.75rem;
    }

    .search-field input,
    .form-field input,
    .form-field select,
    .form-field textarea {
        min-height: 46px;
    }
}

@media (max-width: 420px) {
    .hero,
    .hero-slide {
        min-height: 600px;
    }

    .hero h1 {
        font-size: clamp(2.35rem, 11.2vw, 2.8rem);
    }

    .hero-actions {
        margin-top: 1.45rem;
    }

    .hero-chip-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-chip-row span {
        justify-content: center;
        text-align: center;
    }

    .page-hero {
        min-height: 360px;
    }

    .page-hero h1 {
        font-size: clamp(2.05rem, 10vw, 2.45rem);
    }

    .course-track,
    .venue-track {
        grid-auto-columns: minmax(268px, 82%);
    }

    .proof-certificate,
    .certificate-card img {
        max-height: 380px;
    }
}
