/*
 * ╔══════════════════════════════════════════════════════╗
 * ║  GOLDEN SCHOOL — CHILD-FRIENDLY THEME LAYER          ║
 * ║  Bright colours · Cartoon animations · Smooth FX     ║
 * ╚══════════════════════════════════════════════════════╝
 */

/* ─────────────────────────────────────────────
   CHILD THEME COLOUR TOKENS  (overrides root)
   ───────────────────────────────────────────── */
:root {
    --ct-sky: #4fc3f7;
    /* sky blue       */
    --ct-sun: #ffd54f;
    /* sunshine gold  */
    --ct-grass: #66bb6a;
    /* grass green    */
    --ct-coral: #ff6f61;
    /* coral / red    */
    --ct-violet: #ab47bc;
    /* purple         */
    --ct-mint: #26c6da;
    /* teal           */
    --ct-peach: #ff8a65;
    /* peach          */
    --ct-lemon: #fff176;
    /* lemon yellow   */
    --ct-cloud: #f0faff;
    /* cloud white    */

    /* Override base palette */
    --gold-main: var(--ct-sun);
    --gold-light: #ffe57f;
    --gold-dim: #f9a825;
    --gold-glow: rgba(255, 213, 79, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.88);
    --glass-border: rgba(79, 195, 247, 0.35);
    --glass-border-hover: rgba(255, 213, 79, 0.7);

    /* Child typography */
    --font-heading: 'Fredoka One', 'Nunito', cursive;
    --font-body: 'Nunito', 'Poppins', sans-serif;

    --transition-fast: 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-smooth: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─────────────────────────────────────────────
   PAGE LOAD FADE-IN
   ───────────────────────────────────────────── */
@keyframes pageReveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    animation: pageReveal 0.8s ease both;
    background: linear-gradient(160deg,
            #2e1065 0%,
            #3d1480 35%,
            #3b1278 65%,
            #2e1065 100%) !important;
    background-attachment: fixed !important;
    font-family: var(--font-body);
    font-weight: 500;
}

/* Remove the noise overlay since we use vivid bg */
body::before {
    display: none;
}

/* ─────────────────────────────────────────────
   SCROLLBAR  (rainbow-ish)
   ───────────────────────────────────────────── */
::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--ct-sky), var(--ct-coral));
    border-radius: 6px;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f0faff;
}

/* ─────────────────────────────────────────────
   TYPOGRAPHY OVERRIDES
   ───────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading) !important;
    letter-spacing: 0.5px;
}

h2 {
    color: #2d3a4a;
}

h3 {
    color: var(--ct-coral);
}

p {
    font-family: var(--font-body);
    font-size: 1rem;
}

.text-gold {
    color: var(--ct-sun) !important;
}

/* ─────────────────────────────────────────────
   NAVBAR  (sky blue gradient + bouncy logo)
   ───────────────────────────────────────────── */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 3px solid var(--ct-sky) !important;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.99) !important;
    box-shadow: 0 4px 24px rgba(79, 195, 247, 0.2) !important;
}

/* Force correct navbar layout regardless of CSS nesting support */
.nav-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 1rem;
    width: 100%;
}

.nav-logo {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
    flex-shrink: 0;
    margin-right: auto;
}

.nav-links {
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem !important;
    flex: 1;
    justify-content: center;
}

.nav-cta {
    flex-shrink: 0;
    margin-left: auto;
}

@keyframes logoBounce {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    30% {
        transform: translateY(-5px) rotate(-5deg);
    }

    60% {
        transform: translateY(-2px) rotate(3deg);
    }
}

.logo-icon svg {
    color: var(--ct-sky) !important;
}

.logo-name {
    color: var(--ct-coral) !important;
    letter-spacing: 3px;
}

.logo-sub {
    color: var(--ct-grass) !important;
}

.nav-link::after {
    background: var(--ct-sky) !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--ct-coral) !important;
}

/* ─────────────────────────────────────────────
   BUTTONS  (pill-shaped, vivid, bouncy)
   ───────────────────────────────────────────── */
.btn-primary {
    background: linear-gradient(135deg, var(--ct-sky), var(--ct-coral)) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    font-family: var(--font-heading) !important;
    font-size: 1rem !important;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(79, 195, 247, 0.4) !important;
    transition: all var(--transition-spring) !important;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 8px 28px rgba(255, 111, 97, 0.45) !important;
    background: linear-gradient(135deg, var(--ct-coral), var(--ct-violet)) !important;
}

@keyframes btnWiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-3deg);
    }

    75% {
        transform: rotate(3deg);
    }
}

.btn-primary:active {
    animation: btnWiggle 0.3s ease;
}

.btn-outline {
    border: 2px solid var(--ct-sky) !important;
    color: var(--ct-sky) !important;
    border-radius: 50px !important;
    font-family: var(--font-heading) !important;
    font-size: 1rem !important;
}

.btn-outline:hover {
    background: var(--ct-sky) !important;
    color: #fff !important;
    transform: translateY(-3px) scale(1.04) !important;
}

/* ─────────────────────────────────────────────
   HERO SECTION  (sky gradient + cartoon decorations)
   ───────────────────────────────────────────── */
.hero {
    background: linear-gradient(160deg,
            #2e1065 0%,
            #4a1090 40%,
            #3b1278 70%,
            #2e1065 100%) !important;
    overflow: hidden !important;
}

.hero-bg {
    background: transparent !important;
}

/* Replace boring floating shapes with clouds, stars, etc. */
.floating-shape {
    display: none;
}

/* Decorative cartoon elements injected via CSS – pure CSS shapes (no emoji) */
.hero::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 70px;
    background: rgba(192, 132, 252, 0.18);
    border-radius: 60px;
    top: 14%;
    left: 4%;
    animation: cloudDrift 16s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
    z-index: -1;
    /* BEHIND text */
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 44px;
    height: 44px;
    top: 22%;
    right: 5%;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    background: rgba(255, 213, 79, 0.55);
    animation: starSpin 8s linear infinite;
    will-change: transform;
    transform: translateZ(0);
    z-index: -1;
    /* BEHIND text */
    pointer-events: none;
}

/* On mobile keep them subtle and centered */
@media (max-width: 767px) {
    .hero::before {
        left: 6%;
        top: 10%;
        width: 90px;
        height: 45px;
    }

    .hero::after {
        right: 8%;
        top: 8%;
        width: 32px;
        height: 32px;
    }
}

@keyframes cloudDrift {

    0%,
    100% {
        transform: translateX(0) translateY(0) translateZ(0);
    }

    50% {
        transform: translateX(24px) translateY(-12px) translateZ(0);
    }
}

@keyframes starSpin {
    0% {
        transform: rotate(0deg) translateZ(0);
    }

    100% {
        transform: rotate(360deg) translateZ(0);
    }
}

.hero-subtitle {
    color: #ffe57f !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 228, 127, 0.15);
    border-radius: 50px;
    padding: 6px 16px;
}

.hero-title {
    font-family: var(--font-heading) !important;
    font-size: clamp(2.4rem, 5vw, 4.5rem) !important;
    line-height: 1.15 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-title .text-gold {
    background: linear-gradient(90deg, #ffd54f, #ff8a65, #ff6f61, #ffd54f);
    background-size: 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbowFlow 6s linear infinite;
}

.hero-desc {
    color: rgba(255, 255, 255, 0.85) !important;
}

.hero-cta .btn-outline {
    color: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* ── Desktop hero: ensure content has room to breathe ── */
@media (min-width: 1024px) {
    .hero-content {
        max-width: 680px;
    }

    .hero-title {
        font-size: clamp(3rem, 4.5vw, 4.5rem) !important;
    }
}

/* ─────────────────────────────────────────────
   HERO KIDS SVG ICON ROW
   ───────────────────────────────────────────── */
.hero-kids-row {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    align-items: flex-end;
    margin-top: 2.5rem;
}

.kid-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.kid-pencil {
    animation: balloonRise 4s ease-in-out infinite;
}

.kid-star {
    animation: starSpin 5s linear infinite;
}

.kid-book {
    animation: balloonRise 6s ease-in-out infinite 0.5s;
}

.kid-balloon {
    animation: balloonRise 5s ease-in-out infinite 1s;
}

.kid-apple {
    animation: decoStarPulse 4s ease-in-out infinite;
}

.kid-rainbow {
    animation: decoStarPulse 6s ease-in-out infinite 0.8s;
}

.kid-hat {
    animation: balloonRise 3.5s ease-in-out infinite 0.3s;
}

@media (max-width: 600px) {
    .hero-kids-row {
        gap: 0.8rem;
    }

    .kid-icon {
        width: 40px;
        height: 40px;
    }
}

/* ─────────────────────────────────────────────
   FLOATING CARTOON CHARACTERS  (pure CSS SVG)
   ───────────────────────────────────────────── */

/* Pencil decoration – pure CSS */
.hero-cartoon-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Balloons – created via JS but styled here */
.balloon {
    position: absolute;
    width: 60px;
    height: 75px;
    border-radius: 50% 50% 45% 45%;
    animation: balloonRise 8s ease-in-out infinite;
}

.balloon::after {
    content: '';
    display: block;
    width: 2px;
    height: 60px;
    background: rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    border-radius: 2px;
}

/* ─────────────────────────────────────────────
   HERO ALPHABET FLOATERS
   ───────────────────────────────────────────── */
.alphabet-row {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
}

.float-letter {
    position: absolute;
    font-family: 'Fredoka One', 'Comic Sans MS', cursive, sans-serif;
    font-size: clamp(4rem, 7vw, 9rem);
    font-weight: 900;
    line-height: 1;
    color: var(--c);
    transform-origin: center;
    animation: letterFloat 4s ease-in-out infinite alternate;
    animation-delay: var(--d);
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
    opacity: 0.38;
}

/* ── Mobile positions (default: compact viewport) ── */
.letter-A {
    top: 8%;
    left: 2%;
}

.letter-B {
    top: 55%;
    left: 80%;
}

.letter-C {
    top: 70%;
    left: 10%;
}

.letter-D {
    top: 30%;
    left: 88%;
}

.letter-E {
    top: 80%;
    left: 45%;
}

.letter-F {
    top: 20%;
    left: 55%;
}

.letter-1 {
    top: 12%;
    left: 75%;
}

.letter-2 {
    top: 42%;
    left: 2%;
}

.letter-3 {
    top: 75%;
    left: 60%;
}

.letter-4 {
    top: 60%;
    left: 30%;
}

.letter-5 {
    top: 15%;
    left: 38%;
}

.letter-6 {
    top: 85%;
    left: 75%;
}

/* Tamil letters */
.letter-ta1 {
    top: 5%;
    left: 65%;
}

.letter-ta2 {
    top: 48%;
    left: 50%;
}

.letter-ta3 {
    top: 25%;
    left: 20%;
}

.letter-ta4 {
    top: 65%;
    left: 70%;
}

.letter-ta5 {
    top: 35%;
    left: 72%;
}

.letter-ta6 {
    top: 90%;
    left: 20%;
}

.letter-ta7 {
    top: 78%;
    left: 88%;
}

.letter-ta8 {
    top: 50%;
    left: 18%;
}

/* ── Desktop: spread letters across the FULL width ── */
@media (min-width: 1024px) {
    .float-letter {
        font-size: clamp(8rem, 9vw, 12rem);
    }

    .letter-A {
        top: 10%;
        left: 4%;
    }

    .letter-B {
        top: 55%;
        left: 88%;
    }

    .letter-C {
        top: 72%;
        left: 8%;
    }

    .letter-1 {
        top: 8%;
        left: 82%;
    }

    .letter-2 {
        top: 42%;
        left: 2%;
    }

    .letter-3 {
        top: 75%;
        left: 70%;
    }
}

@keyframes letterFloat {
    0% {
        transform: translateY(0) rotate(calc(var(--r) * -1)) scale(0.95) translateZ(0);
    }

    100% {
        transform: translateY(-30px) rotate(var(--r)) scale(1.05) translateZ(0);
    }
}

/* Stars scattered */
.deco-star {
    position: absolute;
    pointer-events: none;
    animation: decoStarPulse 2s ease-in-out infinite;
}

@keyframes decoStarPulse {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.4) rotate(20deg);
        opacity: 1;
    }
}

/* ─────────────────────────────────────────────
   SECTION BACKGROUNDS  (unified professional kids palette)
   ─────────────────────────────────────────────
   Strategy: Clean white base with one subtle tint per section.
   Alternates warm↔cool so the eye gets gentle variety without
   the jarring colour-clash of heavy pastels.
   ───────────────────────────────────────────── */
.stats-section {
    background: #fff8f0;
}

.about-section {
    background: #f0faff;
}

.academics-section {
    background: #f5fff8;
}

.admissions-section {
    background: #fff8f0;
}

.testimonials-section {
    background: #f0f4ff;
}

.events-section {
    background: #fff0f5;
}

.gallery-section {
    background: #f5fff8;
}

.faq-section {
    background: #fff8f0;
}

.contact-section {
    background: #f0faff;
}

.cta-section {
    background: transparent !important;
    border: none !important;
    position: relative;
    overflow: hidden;
    padding: 5rem 0 4rem;
}

/* Animated rainbow background */
.cta-rainbow-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(270deg,
            #ff6f61, #ff8a65, #ffd54f, #66bb6a, #4fc3f7, #ab47bc, #ff6f61);
    background-size: 200% 200%;
    animation: rainbowShift 20s ease infinite;
    z-index: 0;
}

@keyframes rainbowShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-section h2,
.cta-section .section-desc {
    color: #fff !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.cta-highlight {
    color: #fff176 !important;
    text-shadow: 0 0 20px rgba(255, 241, 118, 0.7);
}

/* CTA spinning star */
.cta-icon-row {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.cta-spin-star {
    width: 56px;
    height: 56px;
    animation: starSpin 4s linear infinite;
}

/* CTA animated kids scene */
.cta-kids-scene {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 110px;
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    overflow: hidden;
}

.cta-kid {
    width: 70px;
    animation: kidBounce 3s ease-in-out infinite;
    flex-shrink: 0;
}

.cta-kid-1 {
    animation-delay: 0s;
    width: 60px;
}

.cta-kid-2 {
    animation-delay: 0.5s;
    width: 65px;
}

.cta-kid-3 {
    animation-delay: 1s;
    width: 72px;
}

@keyframes kidBounce {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-14px) rotate(2deg);
    }
}

/* CTA buttons override */
.cta-btn-apply {
    background: rgba(255, 255, 255, 0.25) !important;
    border: 2px solid #fff !important;
    color: #fff !important;
    backdrop-filter: blur(8px);
}

.cta-btn-apply:hover {
    background: rgba(255, 255, 255, 0.45) !important;
}

.cta-btn-call {
    border-color: #fff !important;
    color: #fff !important;
}

/* ─────────────────────────────────────────────
   SECTION HEADER
   ───────────────────────────────────────────── */
.section-label {
    color: var(--ct-coral) !important;
    background: rgba(255, 111, 97, 0.1);
    border-radius: 50px;
    padding: 4px 14px;
    font-size: 0.85rem !important;
}

/* ─────────────────────────────────────────────
   GLASS CARDS  (colourful borders, bouncy hover)
   ───────────────────────────────────────────── */
.glass-card {
    border-radius: 20px !important;
    border: 2px solid rgba(79, 195, 247, 0.25) !important;
    background: rgba(255, 255, 255, 0.88) !important;
    box-shadow: 0 6px 25px rgba(79, 195, 247, 0.12) !important;
    transition: transform var(--transition-spring),
        box-shadow var(--transition-smooth),
        border-color var(--transition-smooth) !important;
}

.glass-card:hover {
    transform: translateY(-6px) scale(1.015) !important;
    border-color: var(--ct-sky) !important;
    box-shadow: 0 16px 40px rgba(79, 195, 247, 0.25) !important;
}

/* Card icons – colourful circles */
.card-icon {
    background: linear-gradient(135deg, var(--ct-sky), var(--ct-violet)) !important;
    width: 64px !important;
    height: 64px !important;
    border-radius: 50% !important;
    /* removed infinite iconBob – too distracting */
}

@keyframes iconBob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.card-icon svg {
    color: #fff !important;
    width: 28px !important;
    height: 28px !important;
}

/* ─────────────────────────────────────────────
   STATS SECTION
   ───────────────────────────────────────────── */
.stat-item {
    border-radius: 20px !important;
}

.stat-icon svg {
    color: var(--ct-coral) !important;
    width: 36px !important;
    height: 36px !important;
}

.stat-number {
    font-family: var(--font-heading) !important;
    font-size: 3rem !important;
    background: linear-gradient(135deg, var(--ct-coral), var(--ct-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-family: var(--font-heading) !important;
    font-size: 2.2rem !important;
    background: linear-gradient(135deg, var(--ct-sky), var(--ct-coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes countBounce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

.stat-number.counting {
    animation: countBounce 0.3s ease;
}

/* ─────────────────────────────────────────────
   ABOUT SECTION  – card icons per card themed
   ───────────────────────────────────────────── */
.about-card:nth-child(1) .card-icon {
    background: linear-gradient(135deg, var(--ct-sky), var(--ct-mint)) !important;
}

.about-card:nth-child(2) .card-icon {
    background: linear-gradient(135deg, var(--ct-sun), var(--ct-peach)) !important;
}

.about-card:nth-child(3) .card-icon {
    background: linear-gradient(135deg, var(--ct-coral), var(--ct-violet)) !important;
}

.principal-message {
    border-left: 5px solid var(--ct-sky) !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    max-width: 820px !important;
}

.principal-photo-wrapper {
    width: 180px !important;
    height: 220px !important;
    flex-shrink: 0;
    margin: 0 auto 1.5rem auto;
}

.principal-content {
    width: 100%;
}

.principal-message .section-label {
    text-align: center !important;
}

@media (min-width: 900px) {
    .principal-message {
        flex-direction: row !important;
        text-align: left !important;
        align-items: flex-start !important;
    }

    .principal-photo-wrapper {
        margin: 0 !important;
        width: 180px !important;
        height: 220px !important;
    }

    .principal-message .section-label {
        text-align: left !important;
    }
}

/* ─────────────────────────────────────────────
   ACADEMICS — Centered professional card layout
   ───────────────────────────────────────────── */
/* Override flex-row to centered column so icon sits above text */
.academic-card {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

.academic-card .card-icon {
    margin: 0 auto var(--spacing-sm) !important;
}

.academic-card h3 {
    font-size: 1.15rem !important;
    margin-bottom: 0.4rem;
}

.academic-card:nth-child(1) .card-icon {
    background: linear-gradient(135deg, var(--ct-coral), var(--ct-peach)) !important;
}

.academic-card:nth-child(2) .card-icon {
    background: linear-gradient(135deg, var(--ct-sky), var(--ct-mint)) !important;
}

.academic-card:nth-child(3) .card-icon {
    background: linear-gradient(135deg, var(--ct-grass), var(--ct-mint)) !important;
}

.academic-card:nth-child(4) .card-icon {
    background: linear-gradient(135deg, var(--ct-violet), var(--ct-sky)) !important;
}

/* Teachers section theme */
.teachers-section {
    background: linear-gradient(120deg, #fff9c4 0%, #f3e5f5 100%) !important;
}

/* ─────────────────────────────────────────────
   ADMISSION TIMELINE  (fun numbered steps)
   ───────────────────────────────────────────── */
.admission-timeline::before {
    background: linear-gradient(to right, var(--ct-sky), var(--ct-coral)) !important;
    height: 3px !important;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ct-coral), var(--ct-violet));
    color: #fff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading) !important;
    font-size: 1.4rem !important;
    margin: 0 auto 0.8rem;
    animation: stepPop 0.5s var(--transition-spring) both;
    box-shadow: 0 4px 14px rgba(255, 111, 97, 0.35);
}

.timeline-step:nth-child(2) .step-number {
    background: linear-gradient(135deg, var(--ct-sky), var(--ct-mint));
}

.timeline-step:nth-child(3) .step-number {
    background: linear-gradient(135deg, var(--ct-grass), var(--ct-mint));
}

.timeline-step:nth-child(4) .step-number {
    background: linear-gradient(135deg, var(--ct-violet), var(--ct-coral));
}

@keyframes stepPop {
    0% {
        transform: scale(0) rotate(-20deg);
        opacity: 0;
    }

    70% {
        transform: scale(1.15) rotate(5deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* ─────────────────────────────────────────────
   TESTIMONIALS
   ───────────────────────────────────────────── */
.testimonial-stars {
    font-size: 1.4rem !important;
    color: var(--ct-sun) !important;
}

.testimonial-card {
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 48px;
    background: linear-gradient(180deg, var(--ct-sky), var(--ct-coral));
    border-radius: 0 4px 4px 0;
    opacity: 0.7;
    pointer-events: none;
}

/* ─────────────────────────────────────────────
   ENROL STEPS — numbered list inside Step 04 card
   ───────────────────────────────────────────── */
.enrol-steps {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    counter-reset: enrol-counter;
}

.enrol-steps li {
    counter-increment: enrol-counter;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.5;
    font-weight: 500;
}

.enrol-steps li::before {
    content: counter(enrol-counter);
    min-width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ct-sky), var(--ct-coral));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
    box-shadow: 0 2px 6px rgba(79, 195, 247, 0.3);
}

/* ─────────────────────────────────────────────
   EVENTS
   ───────────────────────────────────────────── */

.event-badge {
    background: linear-gradient(135deg, var(--ct-sky), var(--ct-mint)) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
}

.event-card:nth-child(2) .event-badge {
    background: linear-gradient(135deg, var(--ct-grass), var(--ct-mint)) !important;
}

.event-card:nth-child(3) .event-badge {
    background: linear-gradient(135deg, var(--ct-coral), var(--ct-peach)) !important;
}

/* ─────────────────────────────────────────────
   GALLERY  (colorful mosaic backgrounds)
   ───────────────────────────────────────────── */
.gallery-item:nth-child(1) {
    background: linear-gradient(135deg, #4fc3f7, #ab47bc) !important;
}

.gallery-item:nth-child(2) {
    background: linear-gradient(135deg, #ff8a65, #ffd54f) !important;
}

.gallery-item:nth-child(3) {
    background: linear-gradient(135deg, #66bb6a, #26c6da) !important;
}

.gallery-item:nth-child(4) {
    background: linear-gradient(135deg, #ffd54f, #ff6f61) !important;
}

.gallery-item:nth-child(5) {
    background: linear-gradient(135deg, #ab47bc, #4fc3f7) !important;
}

.gallery-item:nth-child(6) {
    background: linear-gradient(135deg, #26c6da, #66bb6a) !important;
}

.gallery-item {
    transition: transform var(--transition-spring), box-shadow var(--transition-smooth) !important;
}

.gallery-item:hover {
    transform: scale(1.04) rotate(1deg) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2) !important;
    z-index: 2;
}

/* Gallery item – cartoon doodle overlay */
.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.04) 10px,
            rgba(255, 255, 255, 0.04) 20px);
    pointer-events: none;
    z-index: 1;
}

.gallery-overlay {
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 70%) !important;
}

.gallery-overlay h3 {
    color: #fff !important;
    font-family: var(--font-heading) !important;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* ─────────────────────────────────────────────
   FAQ
   ───────────────────────────────────────────── */
.faq-q {
    font-family: var(--font-heading) !important;
    font-size: 1.05rem !important;
}

.faq-q:hover {
    color: var(--ct-coral) !important;
}

.faq-item-inline.open {
    border-color: var(--ct-sky) !important;
}

.faq-item-inline.open .faq-q {
    color: var(--ct-coral) !important;
}

.faq-item-inline.open .faq-q svg {
    color: var(--ct-coral) !important;
}

/* ─────────────────────────────────────────────
   CONTACT
   ───────────────────────────────────────────── */
.contact-icon {
    background: linear-gradient(135deg, var(--ct-sky), var(--ct-mint)) !important;
}

.contact-icon svg {
    color: #fff !important;
}

.contact-item a {
    color: var(--ct-coral) !important;
}

/* ─────────────────────────────────────────────
   FORM INPUTS
   ───────────────────────────────────────────── */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--ct-sky) !important;
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.2) !important;
}

.form-group select option {
    background: #fff !important;
    color: #333 !important;
}

/* ─────────────────────────────────────────────
   FOOTER  (light warm theme matching navbar)
   ───────────────────────────────────────────── */
.footer {
    background: linear-gradient(135deg, #fffdf5 0%, #fff9ec 50%, #f5fbff 100%) !important;
    border-top: 3px solid rgba(244, 180, 0, 0.3) !important;
    position: relative;
    overflow: hidden;
}

.footer::before {
    /* rainbow border baked into border-top — no animation needed */
    display: none;
}

.footer-brand p,
.footer-links a,
.footer-bottom p {
    color: var(--text-dim) !important;
}

.footer-links a:hover {
    color: var(--ct-sun) !important;
}

.footer-links h4,
.footer-newsletter h4 {
    color: var(--text-light) !important;
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(244, 180, 0, 0.3) !important;
    color: var(--text-light) !important;
}

.newsletter-form input::placeholder {
    color: var(--text-dim) !important;
    opacity: 0.6;
}

.newsletter-form input:focus {
    border-color: var(--ct-sky) !important;
}

.footer-social a {
    color: var(--text-dim) !important;
}

.footer-social a:hover {
    color: var(--gold-main) !important;
}

.footer-bottom {
    border-top-color: rgba(244, 180, 0, 0.15) !important;
}

/* FAQ smooth open — no flicker */
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.faq-item-inline.open .faq-a {
    max-height: 500px !important;
}

/* ─────────────────────────────────────────────
   SCROLL REVEAL  (child-friendly: zoom + bounce)
   ───────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    transition: opacity 0.7s ease, transform 0.7s var(--transition-spring) !important;
}

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

/* Stagger children */
.stagger-children>* {
    opacity: 0;
    transform: translateY(30px) scale(0.92);
    transition: opacity 0.5s ease,
        transform 0.5s var(--transition-spring) !important;
}

.stagger-children.visible>* {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ─────────────────────────────────────────────
   CUSTOM CURSOR  (gold theme)
   ───────────────────────────────────────────── */
#cursor-dot {
    background: #f4b400 !important;
}

#cursor-ring {
    border-color: rgba(244, 180, 0, 0.7) !important;
}

/* ─────────────────────────────────────────────
   MUSIC TOGGLE  (bouncy sky-blue button)
   ───────────────────────────────────────────── */
.music-toggle {
    background: linear-gradient(135deg, var(--ct-sky), var(--ct-violet)) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 4px 20px rgba(79, 195, 247, 0.5) !important;
}

.music-toggle:hover {
    box-shadow: 0 8px 30px rgba(79, 195, 247, 0.7) !important;
}

/* ─────────────────────────────────────────────
   ANIMATED CARTOON DECORATIONS  (via JS classes)
   ───────────────────────────────────────────── */

/* Cloud floaters */
.cloudFloat {
    position: fixed;
    pointer-events: none;
    font-size: 2.5rem;
    opacity: 0.55;
    animation: cloudMove var(--dur, 25s) linear infinite;
    z-index: 0;
    top: var(--top, 15%);
}

@keyframes cloudMove {
    from {
        transform: translateX(-150px);
    }

    to {
        transform: translateX(calc(100vw + 150px));
    }
}

/* Confetti pieces */
.confetti-piece {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    pointer-events: none;
    z-index: 9999;
    animation: confettiFall var(--dur, 2s) ease-in forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-20px) rotate(0deg) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(720deg) scale(0.4);
        opacity: 0;
    }
}

/* Section entrance animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.7);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(30px);
    }

    60% {
        opacity: 1;
        transform: scale(1.08) translateY(-8px);
    }

    80% {
        transform: scale(0.97) translateY(2px);
    }

    100% {
        transform: scale(1) translateY(0);
    }
}

@keyframes flipIn {
    from {
        opacity: 0;
        transform: perspective(400px) rotateY(-90deg);
    }

    to {
        opacity: 1;
        transform: perspective(400px) rotateY(0);
    }
}

.anim-slide-left {
    animation: slideInLeft 0.7s var(--transition-spring) both;
}

.anim-slide-right {
    animation: slideInRight 0.7s var(--transition-spring) both;
}

.anim-zoom {
    animation: zoomIn 0.6s var(--transition-spring) both;
}

.anim-bounce {
    animation: bounceIn 0.8s var(--transition-spring) both;
}

.anim-flip {
    animation: flipIn 0.6s ease both;
}

.anim-delay-1 {
    animation-delay: 0.1s;
}

.anim-delay-2 {
    animation-delay: 0.2s;
}

.anim-delay-3 {
    animation-delay: 0.3s;
}

.anim-delay-4 {
    animation-delay: 0.4s;
}

.anim-delay-5 {
    animation-delay: 0.5s;
}

.anim-delay-6 {
    animation-delay: 0.6s;
}

/* ─────────────────────────────────────────────
   MOBILE-SAFE OVERRIDES
   ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero::before {
        width: 80px;
        height: 40px;
        top: 5%;
        left: 2%;
    }

    .hero::after {
        width: 28px;
        height: 28px;
        top: 8%;
        right: 3%;
    }

    .cta-kids-scene {
        height: 70px;
    }

    .cta-kid {
        width: 45px;
    }
}

/* ─────────────────────────────────────────────
   MOBILE NAV MENU CHILD THEME OVERRIDE
   ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .nav-links {
        background: linear-gradient(160deg, #1a237e, #4a148c) !important;
    }

    .nav-link {
        color: rgba(255, 255, 255, 0.85) !important;
        font-size: 1.3rem !important;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--ct-sun) !important;
    }
}

/* ─────────────────────────────────────────────
   SECTION TRANSITION SEPARATOR BLOBS
   ───────────────────────────────────────────── */
section::after {
    content: none;
}

/* ─────────────────────────────────────────────
   HAPPY EMOJI FAVICON PULSE  (hero badge)
   ───────────────────────────────────────────── */
@keyframes heroBadgePop {

    0%,
    100% {
        transform: scale(1) rotate(-3deg);
    }

    50% {
        transform: scale(1.08) rotate(3deg);
    }
}

/* hero subtitle stays calm – no pulsing */

/* ─────────────────────────────────────────────
   PRINCIPAL MESSAGE CARD  (special accent)
   ───────────────────────────────────────────── */
.principal-message::before {
    content: '';
    position: absolute;
    top: 16px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.2), rgba(171, 71, 188, 0.15));
    border-radius: 50%;
    animation: heroBadgePop 5s ease-in-out infinite;
}

/* Form Success */
.form-success svg {
    color: var(--ct-grass) !important;
}

.form-success h3 {
    color: var(--ct-grass) !important;
}

/* ─────────────────────────────────────────────
   ACCESSIBILITY: reduce motion
   ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ─────────────────────────────────────────────
   SECTION SCROLL REVEAL  (swipe / touch effect)
   Each section slides in from below when it enters the viewport.
   Works on both desktop (scroll) and mobile (swipe/touch).
   ───────────────────────────────────────────── */
section {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

section.sect-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger child cards inside visible sections */
section.sect-visible .glass-card {
    animation: none;
    /* CSS transitions handle cards — no extra keyframes */
}

/* ─────────────────────────────────────────────
   GALLERY LIGHTBOX MODAL
   ───────────────────────────────────────────── */
#gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: lbFadeIn 0.25s ease both;
}

#gallery-lightbox.open {
    display: flex;
}

@keyframes lbFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#gallery-lightbox img {
    max-width: min(92vw, 960px);
    max-height: 88vh;
    border-radius: 20px;
    object-fit: contain;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    animation: lbSlideIn 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes lbSlideIn {
    from {
        transform: scale(0.88) translateY(24px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

#gallery-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    transition: background 0.2s ease, transform 0.2s ease;
}

#gallery-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Gallery items get pointer + smooth transition */
.gallery-item {
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease !important;
}

.gallery-item:hover {
    transform: scale(1.03) !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2) !important;
}

/* ─────────────────────────────────────────────
   CURSOR RAINBOW ANIMATION (Hardware Accelerated)
   ───────────────────────────────────────────── */
.cursor-rainbow-anim {
    animation: cursorRainbow 6s infinite ease-in-out;
}

@keyframes cursorRainbow {
    0% {
        border-color: #ff6f61;
        box-shadow: 0 0 12px rgba(255, 111, 97, 0.4);
    }

    20% {
        border-color: #ffd54f;
        box-shadow: 0 0 12px rgba(255, 213, 79, 0.4);
    }

    40% {
        border-color: #66bb6a;
        box-shadow: 0 0 12px rgba(102, 187, 106, 0.4);
    }

    60% {
        border-color: #4fc3f7;
        box-shadow: 0 0 12px rgba(79, 195, 247, 0.4);
    }

    80% {
        border-color: #ab47bc;
        box-shadow: 0 0 12px rgba(171, 71, 188, 0.4);
    }

    100% {
        border-color: #ff6f61;
        box-shadow: 0 0 12px rgba(255, 111, 97, 0.4);
    }
}

/* ─────────────────────────────────────────────
   TEACHER CARD HOVER DETAILS REVEAL
   ───────────────────────────────────────────── */
.teacher-card:hover .teacher-hover-details {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ─────────────────────────────────────────────
   ACCESSIBILITY — Reduce Motion
   Stops animations for users who have enabled
   "Reduce Motion" in their OS/browser settings.
   Also resolves "too fast" reports on high-Hz screens.
   ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

    .float-letter,
    .balloon,
    .deco-star,
    .hero::before,
    .hero::after,
    .cta-spin-star,
    .cta-rainbow-bg,
    .cartoon-activities-img,
    .cloud,
    .cloud-1,
    .cloud-2 {
        animation: none !important;
        transition: none !important;
    }
}

/* ─────────────────────────────────────────────
   HTML CLOUD ELEMENTS (.cloud-1 / .cloud-2)
   Proper fluffy CSS cloud shapes with desktop spread
   ───────────────────────────────────────────── */
.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 50px;
    pointer-events: none;
    will-change: transform;
    transform: translateZ(0);
    z-index: 0;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: inherit;
    border-radius: 50%;
}

.cloud-1 {
    width: 160px;
    height: 55px;
    top: 18%;
    left: 3%;
    animation: cloudDrift 18s ease-in-out infinite;
}

.cloud-1::before {
    width: 80px;
    height: 80px;
    top: -40px;
    left: 20px;
}

.cloud-1::after {
    width: 55px;
    height: 55px;
    top: -25px;
    left: 70px;
}

.cloud-2 {
    width: 120px;
    height: 42px;
    top: 35%;
    right: 4%;
    animation: cloudDrift 22s ease-in-out infinite reverse;
}

.cloud-2::before {
    width: 60px;
    height: 60px;
    top: -30px;
    left: 15px;
}

.cloud-2::after {
    width: 45px;
    height: 45px;
    top: -18px;
    left: 55px;
}

/* Mobile: smaller and repositioned */
@media (max-width: 767px) {
    .cloud-1 {
        width: 100px;
        height: 35px;
        left: 2%;
        top: 10%;
    }

    .cloud-2 {
        width: 80px;
        height: 28px;
        right: 3%;
        top: 20%;
    }
}

/* ─────────────────────────────────────────────
   MOBILE HERO BUTTON & TEXT CENTERING
   ───────────────────────────────────────────── */
@media (max-width: 640px) {
    .hero-content {
        text-align: center !important;
    }

    .hero-cta {
        justify-content: center !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.75rem !important;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-outline {
        width: 100% !important;
        max-width: 280px !important;
        justify-content: center !important;
    }

    .hero-subtitle {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-social-row {
        justify-content: center !important;
    }
}

/* ─────────────────────────────────────────────
   HERO SOCIAL ICONS ROW
   ───────────────────────────────────────────── */
.hero-social-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: 1.8rem;
    flex-wrap: wrap;
}

.hero-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(8px);
    text-decoration: none;
    position: relative;
    z-index: 5;
}

.hero-social-icon:hover {
    background: rgba(255, 255, 255, 0.28) !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
    color: #ffffff !important;
    transform: translateY(-4px) scale(1.15);
    box-shadow: 0 8px 24px rgba(79, 195, 247, 0.4);
}

/* Facebook: blue tint on hover */
.hero-social-icon[aria-label="Facebook"]:hover {
    background: rgba(59, 89, 182, 0.5) !important;
    box-shadow: 0 8px 24px rgba(59, 89, 182, 0.5) !important;
}

/* Instagram: pink tint on hover */
.hero-social-icon[aria-label="Instagram"]:hover {
    background: rgba(225, 48, 108, 0.4) !important;
    box-shadow: 0 8px 24px rgba(225, 48, 108, 0.45) !important;
}

/* YouTube: red tint on hover */
.hero-social-icon[aria-label="YouTube"]:hover {
    background: rgba(255, 0, 0, 0.38) !important;
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.4) !important;
}

/* ─────────────────────────────────────────────
   CARTOON ACTIVITIES IMAGE — Desktop centred
   ───────────────────────────────────────────── */
.cartoon-activities-wrap {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 2.5rem auto 1rem !important;
}

.cartoon-activities-img {
    display: block;
    margin: 0 auto;
    max-width: 480px !important;
    width: 90% !important;
}

/* ─────────────────────────────────────────────
   FLOATING LETTERS — FULL VIEWPORT SPREAD
   The alphabet-row is now position:absolute
   on THE SECTION (not inside .container), so
   left/right percentages refer to 100vw.
   ───────────────────────────────────────────── */

/* Extra letter positions (G, H, ta9, ta10) */
.letter-G {
    top: 45%;
    left: 42%;
}

.letter-H {
    top: 18%;
    left: 92%;
}

.letter-ta9 {
    top: 55%;
    left: 93%;
}

.letter-ta10 {
    top: 28%;
    left: 5%;
}

/* Desktop: spread letters across FULL screen width */
@media (min-width: 1024px) {

    /* LEFT zone (0-20%) */
    .letter-2 {
        top: 42%;
        left: 2%;
    }

    .letter-ta3 {
        top: 25%;
        left: 10%;
    }

    .letter-C {
        top: 70%;
        left: 6%;
    }

    .letter-ta8 {
        top: 55%;
        left: 16%;
    }

    .letter-ta10 {
        top: 15%;
        left: 3%;
    }

    /* CENTER-LEFT zone (20-45%) */
    .letter-ta2 {
        top: 48%;
        left: 28%;
    }

    .letter-5 {
        top: 15%;
        left: 35%;
    }

    .letter-G {
        top: 78%;
        left: 38%;
    }

    .letter-4 {
        top: 62%;
        left: 22%;
    }

    /* RIGHT side of content — still within the section */
    .letter-A {
        top: 10%;
        left: 60%;
    }

    .letter-F {
        top: 22%;
        left: 72%;
    }

    .letter-ta5 {
        top: 35%;
        left: 68%;
    }

    .letter-ta1 {
        top: 8%;
        left: 82%;
    }

    .letter-B {
        top: 52%;
        left: 78%;
    }

    .letter-1 {
        top: 12%;
        left: 88%;
    }

    .letter-H {
        top: 35%;
        left: 94%;
    }

    .letter-ta9 {
        top: 65%;
        left: 88%;
    }

    .letter-D {
        top: 25%;
        left: 50%;
    }

    .letter-3 {
        top: 72%;
        left: 58%;
    }

    .letter-E {
        top: 80%;
        left: 75%;
    }

    .letter-ta4 {
        top: 60%;
        left: 45%;
    }

    .letter-6 {
        top: 85%;
        left: 22%;
    }

    .letter-ta6 {
        top: 88%;
        left: 50%;
    }

    .letter-ta7 {
        top: 78%;
        left: 92%;
    }
}


/* ─────────────────────────────────────────────
   MOBILE HERO BUTTON CENTERING
   Centre the Admission / Contact / Apply Now
   buttons on phone screens
   ───────────────────────────────────────────── */
@media (max-width: 640px) {
    .hero-content {
        text-align: center !important;
    }

    .hero-cta {
        justify-content: center !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.75rem !important;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-outline {
        width: 100% !important;
        max-width: 280px !important;
        justify-content: center !important;
    }

    .hero-subtitle {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ─────────────────────────────────────────────
   CLOUDS — fully hidden (removed from hero)
   ───────────────────────────────────────────── */
.cloud,
.cloud-1,
.cloud-2,
.cloudFloat {
    display: none !important;
}