/* =========================================================
   MOLAS PHYSICAL CLASSES
   COMPLETE PAGE CSS
   APPLE-INSPIRED • EDITORIAL • RESPONSIVE
========================================================= */
/* =========================================================
   ROOT
========================================================= */
:root {
    --cream: #f3efe7;
    --cream-deep: #ebe5d9;
    --surface: #faf8f3;
    --white: #ffffff;
    --text: #171717;
    --muted: #756f67;
    --green: #596b50;
    --green-dark: #43533c;
    --green-soft: #e3ece2;
    --brown: #5a4638;
    --border: #e3ddd1;
    --radius-large: 28px;
    --radius-medium: 20px;
    --radius-small: 14px;
    --container: 1180px;
}
/* =========================================================
   RESET
========================================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Display",
        "SF Pro Text",
        Inter,
        "Segoe UI",
        sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img {
    display: block;
    max-width: 100%;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
select,
textarea {
    font: inherit;
}
/* =========================================================
   GLOBAL CONTAINER
========================================================= */
.section-container,
.header-inner,
.footer-container {
    width: min(
        calc(100% - 48px),
        var(--container)
    );
    margin-inline: auto;
}
/* =========================================================
   HEADER
========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(243, 239, 231, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(90, 70, 56, 0.08);
}
.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.brand {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text);
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}
.main-nav a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted);
    transition:
        color 0.25s ease;
}
.main-nav a:hover {
    color: var(--text);
}
.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
}
/* =========================================================
   TYPOGRAPHY
========================================================= */
.section-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    color: var(--green);
}
h1,
h2,
h3 {
    letter-spacing: -0.045em;
}
h1 {
    font-size: clamp(
        3.3rem,
        7vw,
        6.6rem
    );
    line-height: 0.95;
}
h2 {
    font-size: clamp(
        2.2rem,
        4.5vw,
        4.3rem
    );
    line-height: 1.02;
}
h3 {
    line-height: 1.15;
}
/* =========================================================
   BUTTONS
========================================================= */
.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--green);
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}
.primary-btn:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow:
        0 10px 25px rgba(67, 83, 60, 0.18);
}
.primary-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.text-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    border-bottom: 1px solid var(--text);
    padding-bottom: 3px;
    transition:
        opacity 0.25s ease;
}
.text-link:hover {
    opacity: 0.6;
}
/* =========================================================
   HERO
========================================================= */
.physical-hero {
    padding: 90px 0 70px;
}
.hero-container {
    min-height: 610px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 60px;
}
.hero-content {
    max-width: 560px;
}
.hero-content p {
    max-width: 480px;
    margin-top: 28px;
    color: var(--muted);
    font-size: 1rem;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 34px;
}
.hero-image-wrap {
    min-height: 540px;
    border-radius: var(--radius-large);
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            var(--green-soft),
            var(--cream-deep)
        );
}
.hero-centre-image {
    width: 100%;
    height: 100%;
    min-height: 540px;
    object-fit: cover;
}
/* =========================================================
   INTRO
========================================================= */
.intro-section {
    padding: 85px 0;
}
.intro-container {
    max-width: 900px;
}
.intro-container h2 {
    max-width: 850px;
}
.intro-container p {
    max-width: 720px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.8;
}
/* =========================================================
   STORY SECTIONS
========================================================= */
.story-section {
    width: min(
        calc(100% - 48px),
        var(--container)
    );
    margin: 0 auto;
    min-height: 480px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
    padding: 65px 0;
}
.story-image {
    width: 100%;
    height: 470px;
    border-radius: var(--radius-large);
    overflow: hidden;
}
.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.story-content {
    max-width: 520px;
}
.story-number {
    display: block;
    margin-bottom: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--green);
}
.story-label {
    display: block;
    margin-bottom: 18px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--muted);
}
.story-content p {
    margin-top: 24px;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.8;
}
.story-section-two {
    background: var(--surface);
    width: 100%;
    padding-left: max(
        24px,
        calc((100vw - var(--container)) / 2)
    );
    padding-right: max(
        24px,
        calc((100vw - var(--container)) / 2)
    );
}
/* =========================================================
   EXPERIENCE
========================================================= */
.experience-section {
    padding: 90px 0 75px;
}
.experience-copy {
    max-width: 760px;
    margin: 0 auto;
}
.experience-copy h2 {
    margin-bottom: 28px;
}
.experience-copy p {
    max-width: 680px;
    color: #171717 !important;
    font-size: 0.95rem;
    line-height: 1.75;
}
/* =========================================================
   LEARNING CENTRE
========================================================= */
.centre-section {
    padding: 85px 0;
}
.section-heading {
    max-width: 720px;
    margin-bottom: 42px;
}
.section-heading p {
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.95rem;
}
/* =========================================================
   GALLERY
========================================================= */
.centre-gallery {
    display: grid;
    grid-template-columns:
        repeat(12, 1fr);
    gap: 16px;
}
/* FIRST PHOTO */
.gallery-card:nth-child(1) {
    grid-column: span 7;
    height: 430px;
}
/* SECOND PHOTO */
.gallery-card:nth-child(2) {
    grid-column: span 5;
    height: 430px;
}
/* THIRD PHOTO */
.gallery-card:nth-child(3) {
    grid-column: span 5;
    height: 330px;
}
/* FOURTH + REMAINING PHOTOS
   Hidden from the page.
   They remain in the DOM so the
   upgraded gallery modal can use them.
*/
.gallery-card:nth-child(n + 4) {
    display: none;
}
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-large);
    cursor: pointer;
    background: var(--cream-deep);
}
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.6s ease;
}
.gallery-card:hover img {
    transform: scale(1.035);
}
.gallery-card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 26px;
    color: var(--white);
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.6),
            transparent
        );
}
.gallery-card-content h3 {
    font-size: 1.1rem;
}
.gallery-card-content p {
    margin-top: 4px;
    font-size: 0.8rem;
    opacity: 0.85;
}
.gallery-loading {
    grid-column: 1 / -1;
    padding: 40px 0;
    color: var(--muted);
    font-size: 0.9rem;
}
 /* =========================================================
    GALLERY MODAL
 ========================================================= */

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 16px;

    background: rgba(20, 20, 18, 0.94);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;

    touch-action: none;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-content {
    position: relative;

    width: min(
        100%,
        1100px
    );

    height: min(
        92vh,
        820px
    );

    display: flex;
    align-items: center;
    justify-content: center;

    touch-action: none;
}

.gallery-modal-image-wrap {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.gallery-modal-content img {
    display: block;

    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;

    border-radius: 18px;

    user-select: none;
    -webkit-user-select: none;

    -webkit-user-drag: none;
}

.gallery-modal-close {
    position: absolute;

    top: -12px;
    right: -12px;

    z-index: 10;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: var(--white);
    color: var(--text);

    font-size: 1.7rem;
    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.18);
}

.gallery-modal-prev,
.gallery-modal-next {
    position: absolute;

    top: 50%;

    z-index: 10;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.94);
    color: var(--text);

    font-size: 2rem;
    line-height: 1;

    cursor: pointer;

    transform: translateY(-50%);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.18);
}

.gallery-modal-prev {
    left: -24px;
}

.gallery-modal-next {
    right: -24px;
}

.gallery-modal-info {
    position: absolute;

    left: 20px;
    right: 20px;
    bottom: 20px;

    z-index: 5;

    padding: 18px 20px;

    border-radius: 18px;

    background: rgba(0, 0, 0, 0.62);

    color: var(--white);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.gallery-modal-counter {
    margin-bottom: 5px;

    font-size: 0.72rem;
    font-weight: 700;

    opacity: 0.7;
}

.gallery-modal-title {
    font-size: 1.1rem;

    line-height: 1.2;
}

.gallery-modal-description {
    margin-top: 5px;

    font-size: 0.82rem;
    line-height: 1.5;

    opacity: 0.85;
}


/* =========================================================
   MODAL — MOBILE
 ========================================================= */

@media (max-width: 680px) {

    .gallery-modal {
        padding: 0;
    }

    .gallery-modal-content {
        width: 100vw;
        height: 100vh;

        max-width: none;
        max-height: none;
    }

    .gallery-modal-image-wrap {
        width: 100vw;
        height: 100vh;

        padding: 12px;
    }

    .gallery-modal-content img {
        width: auto;
        height: auto;

        max-width: 100vw;
        max-height: 100vh;

        border-radius: 0;
    }

    .gallery-modal-close {
        top: 16px;
        right: 16px;

        width: 44px;
        height: 44px;
    }

    .gallery-modal-prev,
    .gallery-modal-next {
        width: 42px;
        height: 42px;

        font-size: 1.7rem;
    }

    .gallery-modal-prev {
        left: 12px;
    }

    .gallery-modal-next {
        right: 12px;
    }

    .gallery-modal-info {
        left: 12px;
        right: 12px;
        bottom: 12px;

        padding: 15px 16px;

        border-radius: 16px;
    }

    .gallery-modal-title {
        font-size: 1rem;
    }

    .gallery-modal-description {
        font-size: 0.78rem;
    }
}


/* =========================================================
   MODAL — SMALL PHONES
 ========================================================= */

@media (max-width: 390px) {

    .gallery-modal-image-wrap {
        padding: 8px;
    }

    .gallery-modal-info {
        left: 8px;
        right: 8px;
        bottom: 8px;
    }

    .gallery-modal-prev,
    .gallery-modal-next {
        width: 38px;
        height: 38px;
    }
}
  



/* =========================================================
   PROGRAMMES
========================================================= */
.programmes-section {
    padding: 90px 0;
}
.programme-scroll {
    overflow: visible;
}
.programme-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 50px;
}
/* No outer card */
.programme-card {
    min-width: 0;
    background: transparent;
    border: 0;
}
/* Only image gets visual treatment */
.programme-card-image {
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: var(--radius-large);
    box-shadow:
        0 15px 35px rgba(50, 40, 30, 0.08);
}
.programme-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.5s ease;
}
.programme-card:hover
.programme-card-image img {
    transform: scale(1.035);
}
.programme-card-body {
    padding-top: 24px;
}
.programme-card-category {
    margin-bottom: 10px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
}
.programme-card-body h3 {
    font-size: 1.5rem;
}
.programme-card-body p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
}
.programme-card-schedule {
    margin-top: 14px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brown);
}
.programme-card .primary-btn {
    margin-top: 20px;
}
.programme-loading {
    color: var(--muted);
    font-size: 0.9rem;
}
/* =========================================================
   LOCATION
========================================================= */
.location-section {
    padding: 90px 0;
}
.location-grid {
    display: grid;
    grid-template-columns:
        0.8fr 1.2fr;
    gap: 70px;
    align-items: center;
}
.location-content h2 {
    max-width: 500px;
}
.centre-address {
    max-width: 450px;
    margin-top: 22px;
    color: var(--muted);
    line-height: 1.7;
}
.location-content .text-link {
    margin-top: 22px;
}
.map-wrap {
    min-height: 420px;
}
.molas-map {
    width: 100%;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-large);
    background:
        linear-gradient(
            135deg,
            var(--cream-deep),
            var(--green-soft)
        );
    color: var(--brown);
    font-weight: 700;
}
/* =========================================================
   REGISTRATION
========================================================= */
.registration-section {
    padding: 90px 0;
}
.registration-grid {
    display: grid;
    grid-template-columns:
        0.8fr 1.2fr;
    gap: 80px;
    align-items: start;
}
.registration-intro {
    position: sticky;
    top: 120px;
}
.registration-intro h2 {
    margin-bottom: 20px;
}
.registration-intro p {
    max-width: 400px;
    color: var(--muted);
    line-height: 1.8;
}
.registration-form {
    width: 100%;
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}
.form-field label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
}
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    padding: 14px 15px;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--green);
    box-shadow:
        0 0 0 3px rgba(89, 107, 80, 0.1);
}
.form-field textarea {
    resize: vertical;
}
.form-row {
    display: grid;
    grid-template-columns:
        1fr 1fr;
    gap: 16px;
}
.form-submit {
    margin-top: 8px;
}
.form-message {
    min-height: 24px;
    margin-top: 14px;
    font-size: 0.85rem;
}
.form-message.success {
    color: var(--green-dark);
}
.form-message.error {
    color: #8b3e3e;
}
/* =========================================================
   FINAL CTA
========================================================= */
.final-cta {
    padding: 90px 0;
    background: var(--green);
    color: var(--white);
    text-align: center;
}
.final-cta .section-eyebrow {
    color: rgba(255, 255, 255, 0.7);
}
.final-cta h2 {
    max-width: 750px;
    margin: 0 auto 30px;
}
.final-cta .primary-btn {
    background: var(--white);
    color: var(--green-dark);
}
/* =========================================================
   FOOTER
========================================================= */
.site-footer {
    background: #171717;
    color: var(--white);
    padding: 65px 0 25px;
}
.footer-brand strong {
    display: block;
    font-size: 1.5rem;
    letter-spacing: -0.04em;
}
.footer-brand span {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.78rem;
}
.footer-brand p {
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}
.footer-columns {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
    padding-bottom: 45px;
    border-bottom:
        1px solid rgba(255, 255, 255, 0.1);
}
.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-column h3 {
    margin-bottom: 8px;
    font-size: 0.82rem;
}
.footer-column a {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.82rem;
    transition:
        color 0.2s ease;
}
.footer-column a:hover {
    color: var(--white);
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.72rem;
}
.footer-bottom div {
    display: flex;
    gap: 18px;
}
/* =========================================================
   EMPTY IMAGE SAFETY
========================================================= */
.hero-image-wrap:has(img[src=""]),
.experience-image-wrap:has(img[src=""]),
.story-image:has(img[src=""]) {
    display: none;
}
/* =========================================================
   TABLET
========================================================= */
@media (max-width: 900px) {
    .main-nav {
        gap: 18px;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-image-wrap {
        min-height: 480px;
    }
    .hero-centre-image {
        min-height: 480px;
    }
    .story-section {
        gap: 45px;
    }
    .programme-grid {
        grid-template-columns:
            repeat(2, 1fr);
        gap: 35px;
    }
    .location-grid,
    .registration-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .registration-intro {
        position: static;
    }
}
/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 680px) {
    .section-container,
    .header-inner,
    .footer-container {
        width: min(
            calc(100% - 32px),
            var(--container)
        );
    }
    /* HEADER */
    .header-inner {
        min-height: 68px;
    }
    .main-nav {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
    /* HERO */
    .physical-hero {
        padding: 55px 0 45px;
    }
    .hero-container {
        min-height: auto;
        gap: 35px;
    }
    h1 {
        font-size: clamp(
            3rem,
            16vw,
            4.5rem
        );
    }
    .hero-content p {
        margin-top: 22px;
    }
    .hero-actions {
        margin-top: 28px;
        gap: 18px;
    }
    .hero-image-wrap {
        min-height: 390px;
        border-radius: 22px;
    }
    .hero-centre-image {
        min-height: 390px;
    }
    /* INTRO */
    .intro-section {
        padding: 65px 0;
    }
    .intro-container p {
        margin-top: 20px;
    }
    /* STORIES */
    .story-section {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 65px 16px;
    }
    .story-section-one,
    .story-section-three {
        flex-direction: column;
    }
    .story-section-two {
        padding-left: 16px;
        padding-right: 16px;
    }
    .story-image {
        width: 100%;
        height: 340px;
        border-radius: 22px;
    }
    .story-content {
        width: 100%;
    }
    /* EXPERIENCE */
    .experience-section {
        padding: 65px 0;
    }
    .experience-copy {
        width: 100%;
    }
    /* CENTRE */
    .centre-section {
        padding: 65px 0;
    }
    .section-heading {
        margin-bottom: 30px;
    }
    /* GALLERY */
    .centre-gallery {
        display: grid;
        grid-template-columns:
            1fr 1fr;
        gap: 10px;
    }
    /* First photo full width */
    .gallery-card:nth-child(1) {
        grid-column: 1 / -1;
        height: 330px;
    }
    /* Second and third side by side */
    .gallery-card:nth-child(2),
    .gallery-card:nth-child(3) {
        grid-column: span 1;
        height: 220px;
    }
    /* Hide every other Supabase photo */
    .gallery-card:nth-child(n + 4) {
        display: none;
    }
    .gallery-card {
        border-radius: 18px;
    }
    .gallery-card-content {
        padding: 18px;
    }
    .gallery-card-content h3 {
        font-size: 0.9rem;
    }
    .gallery-card-content p {
        display: none;
    }
    /* MODAL */
    .gallery-modal {
        padding: 14px;
    }
    .gallery-modal-content {
        height: 80vh;
    }
    .gallery-modal-content img {
        border-radius: 12px;
    }
    .gallery-modal-close {
        top: -5px;
        right: -5px;
    }
    /* PROGRAMMES */
    .programmes-section {
        padding: 65px 0;
    }
    .programme-scroll {
        overflow-x: auto;
        margin-right: -16px;
        padding-right: 16px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .programme-scroll::-webkit-scrollbar {
        display: none;
    }
    .programme-grid {
        display: flex;
        gap: 24px;
        width: max-content;
    }
    .programme-card {
        width: 78vw;
        max-width: 330px;
    }
    .programme-card-image {
        height: 220px;
        border-radius: 20px;
    }
    /* LOCATION */
    .location-section {
        padding: 65px 0;
    }
    .map-wrap,
    .molas-map {
        min-height: 320px;
        height: 320px;
    }
    /* REGISTRATION */
    .registration-section {
        padding: 65px 0;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    /* CTA */
    .final-cta {
        padding: 70px 0;
    }
    /* FOOTER */
    .site-footer {
        padding: 50px 0 22px;
    }
    .footer-columns {
        grid-template-columns:
            1fr 1fr;
        gap: 35px;
        margin-top: 40px;
        padding-bottom: 35px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}
/* =========================================================
   SMALL MOBILE
========================================================= */
@media (max-width: 390px) {
    .gallery-card:nth-child(1) {
        height: 290px;
    }
    .gallery-card:nth-child(2),
    .gallery-card:nth-child(3) {
        height: 190px;
    }
    .programme-card {
        width: 82vw;
    }
}


.header-inner {
    width: 100%;
    padding: 0 28px 0 0;
}

.brand {
    display: flex;
    align-items: center;
    height: 76px;
}

.brand img {
    display: block;
    height: 58px;
    width: auto;
    object-fit: contain;
}

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


.hero-content .section-eyebrow {
    letter-spacing: 0.08em;
    font-size: 0.65rem;
    margin-bottom: 6px;
}


/* =========================================================
   HERO ANIMATION
========================================================= */

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

.hero-content .section-eyebrow {
    opacity: 0;
    animation: heroFadeUp 0.7s ease forwards;
    animation-delay: 0.1s;
}

.hero-content h1 {
    opacity: 0;
    animation: heroFadeUp 0.8s ease forwards;
    animation-delay: 0.25s;
}

.hero-content>p {
    opacity: 0;
    animation: heroFadeUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero-actions {
    opacity: 0;
    animation: heroFadeUp 0.8s ease forwards;
    animation-delay: 0.55s;
}


/* =========================================================
   MOLAS PAGE ANIMATIONS
   HERO LEFT UNTOUCHED
========================================================= */

/* =========================================================
   SECTION REVEAL
========================================================= */

.intro-section,
.story-section,
.experience-section,
.centre-section,
.programmes-section,
.location-section,
.registration-section,
.final-cta {
    animation: sectionReveal 0.8s ease both;
}

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


/* =========================================================
   GALLERY CARDS
========================================================= */

.gallery-card {
    animation: cardReveal 0.7s ease both;
}

.gallery-card:nth-child(1) {
    animation-delay: 0.05s;
}

.gallery-card:nth-child(2) {
    animation-delay: 0.15s;
}

.gallery-card:nth-child(3) {
    animation-delay: 0.25s;
}

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* =========================================================
   GALLERY IMAGE HOVER
========================================================= */

.gallery-card img {
    transition:
        transform 0.7s ease;
}

.gallery-card:hover img {
    transform: scale(1.045);
}


/* =========================================================
   PROGRAMME CARDS
========================================================= */

.programme-card {
    animation: programmeReveal 0.7s ease both;
}

.programme-card:nth-child(1) {
    animation-delay: 0.05s;
}

.programme-card:nth-child(2) {
    animation-delay: 0.15s;
}

.programme-card:nth-child(3) {
    animation-delay: 0.25s;
}

.programme-card:nth-child(4) {
    animation-delay: 0.35s;
}

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


/* =========================================================
   PROGRAMME CARD HOVER
========================================================= */

.programme-card {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.programme-card:hover {
    transform: translateY(-5px);
}


/* =========================================================
   BUTTON ANIMATION
========================================================= */

.primary-btn {
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

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


/* =========================================================
   FINAL CTA
========================================================= */

.final-cta {
    animation-delay: 0.1s;
}


/* =========================================================
   REDUCE MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
    
}


@media (max-width: 680px) {
    
    .registration-form input,
    .registration-form select,
    .registration-form textarea {
        font-size: 16px;
    }
    
}


/* =========================================================
   MOLAS VISION, MISSION & CORE VALUES
========================================================= */

.molas-values-section {
    padding: 100px 0;
    background: var(--surface);
}

.molas-values-section .section-heading {
    max-width: 760px;
    margin-bottom: 55px;
}

/* =========================================================
   VISION & MISSION
========================================================= */

.molas-values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.molas-value-card {
    padding: 42px;
    border-radius: var(--radius-large);
    background: var(--cream);
    border: 1px solid var(--border);
    
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* VISION */

.molas-value-card.molas-vision {
    background: var(--cream);
    color: var(--text);
}

/* MISSION */

.molas-value-card.molas-mission {
    background: var(--cream);
    color: var(--text);
    border-color: var(--border);
}

/* NUMBER */

.value-number {
    display: block;
    margin-bottom: 30px;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--green);
    letter-spacing: 0.1em;
}

/* LABEL */

.value-label {
    display: block;
    margin-bottom: 14px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    color: var(--green);
}

/* MAIN STATEMENT */

.molas-value-card h3 {
    max-width: 500px;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.15;
    color: #762944;
    font-style: italic;
    letter-spacing: -0.02em;
}

/* DESCRIPTION / STATEMENT */

.molas-value-card p {
    max-width: 600px;
    margin-top: 22px;
    
    color: #762944;
    font-size: 0.92rem;
    line-height: 1.8;
    font-style: italic;
}

/* =========================================================
   CORE VALUES
========================================================= */

.core-values {
    margin-top: 80px;
}

.core-values-heading {
    margin-bottom: 35px;
}

.core-values-heading .value-label {
    margin-bottom: 8px;
}

.core-values-heading h3 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.core-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    background: var(--border);
}

.core-value {
    min-height: 210px;
    padding: 30px;
    background: var(--cream);
}

.core-value>span {
    display: block;
    margin-bottom: 22px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--green);
}

.core-value h4 {
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    color: #762944;
}

.core-value p {
    max-width: 320px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.7;
}

/* =========================================================
   HOVER
========================================================= */

.molas-value-card:hover {
    transform: translateY(-4px);
    
    box-shadow:
        0 18px 40px rgba(50, 40, 30, 0.08);
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 680px) {
    
    .molas-values-section {
        padding: 65px 0;
    }
    
    .molas-values-section .section-heading {
        margin-bottom: 35px;
    }
    
    .molas-values-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .molas-value-card {
        padding: 30px 24px;
        border-radius: 22px;
    }
    
    .value-number {
        margin-bottom: 24px;
    }
    
    .molas-value-card h3 {
        font-size: 1.65rem;
    }
    
    .molas-value-card p {
        margin-top: 18px;
        font-size: 0.88rem;
    }
    
    .core-values {
        margin-top: 55px;
    }
    
    .core-values-grid {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }
    
    .core-value {
        min-height: auto;
        padding: 26px 24px;
    }
}

/* =====================================================
   TUTORIAL CLASSES ANNOUNCEMENT
===================================================== */

.physical-lesson-announcement {
    padding: 18px 0;
    background: #F3FAFD;
}

.physical-lesson-announcement .section-container {
    max-width: 1180px;
    margin: 0 auto;
}

.physical-lesson-announcement-link {
    display: flex;
    align-items: center;

    gap: 14px;

    padding: 15px 18px;

    background: #ffffff;

    border: 1px solid rgba(16, 27, 77, 0.08);

    border-radius: 18px;

    text-decoration: none;

    box-shadow:
        0 8px 24px rgba(16, 27, 77, 0.06);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.physical-lesson-announcement-link:hover {
    transform: translateY(-1px);

    box-shadow:
        0 12px 30px rgba(16, 27, 77, 0.09);
}


/* ICON */

.physical-lesson-icon {
    flex: 0 0 auto;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #E6F8FF;

    font-size: 20px;
}


/* TEXT */

.physical-lesson-text {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 2px;
}

.physical-lesson-text strong {
    color: #101B4D;

    font-size: 14px;
    font-weight: 800;

    line-height: 1.3;
}

.physical-lesson-text span {
    color: #526071;

    font-size: 12px;

    line-height: 1.4;
}


/* ARROW */

.physical-lesson-arrow {
    margin-left: auto;

    flex: 0 0 auto;

    color: #0796CC;

    font-size: 18px;
    font-weight: 800;

    transition: transform 0.2s ease;
}

.physical-lesson-announcement-link:hover
.physical-lesson-arrow {
    transform: translateX(3px);
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .physical-lesson-announcement {
        padding: 12px 0;
    }

    .physical-lesson-announcement-link {
        padding: 13px 14px;

        gap: 10px;

        border-radius: 16px;
    }

    .physical-lesson-icon {
        width: 34px;
        height: 34px;

        border-radius: 10px;

        font-size: 18px;
    }

    .physical-lesson-text strong {
        font-size: 12px;
    }

    .physical-lesson-text span {
        font-size: 11px;
    }

    .physical-lesson-arrow {
        font-size: 16px;
    }

}
