/* ============================================================
   LEARNN'PLAY SCHOOL — style.css
   Font: Nunito + Baloo 2 | Palette: Purple, Yellow, Pink, Teal
   ============================================================ */

/* ─── CSS RESET & ROOT ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --purple:    #7c3aed;
    --purple-lt: #ede9fe;
    --purple-dk: #5b21b6;
    --yellow:    #f59e0b;
    --yellow-lt: #fef3c7;
    --pink:      #ec4899;
    --pink-lt:   #fce7f3;
    --teal:      #14b8a6;
    --teal-lt:   #ccfbf1;
    --bg:        #fff7f0;
    --white:     #ffffff;
    --dark:      #1e1b4b;
    --gray:      #6b7280;
    --gray-lt:   #f9fafb;
    --radius:    16px;
    --shadow:    0 8px 32px rgba(124,58,237,.10);
    --shadow-lg: 0 20px 60px rgba(124,58,237,.16);
    --transition: all .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', sans-serif;
    background: var(--bg);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.7;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 80px 0; }

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: .95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--purple);
    color: #fff;
    box-shadow: 0 8px 24px rgba(124,58,237,.35);
}
.btn-primary:hover { background: var(--purple-dk); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(124,58,237,.45); }

.btn-hero-primary {
    background: var(--yellow);
    color: var(--dark);
    box-shadow: 0 8px 24px rgba(245,158,11,.40);
    font-size: 1rem;
    padding: 15px 32px;
}
.btn-hero-primary:hover { background: #d97706; color: #fff; transform: translateY(-3px); box-shadow: 0 12px 32px rgba(245,158,11,.50); }

.btn-hero-secondary {
    background: var(--white);
    color: var(--dark);
    border: 2px solid var(--dark);
    font-size: 1rem;
    padding: 13px 30px;
}
.btn-hero-secondary:hover { background: var(--dark); color: #fff; transform: translateY(-3px); }

.mt-btn { margin-top: 1.5rem; }

/* ─── SECTION HEADER ─────────────────────────────────────── */
.section-header.center { text-align: center; }
.section-header.center .section-desc { max-width: 560px; margin: 0 auto; }

.section-label {
    display: inline-block;
    color: var(--pink);
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: .05em;
    margin-bottom: .75rem;
    font-style: italic;
}

.section-title {
    font-family: 'Baloo 2', cursive;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.section-desc { color: var(--gray); font-size: 1rem; margin-bottom: 2.5rem; }

.accent-purple { color: var(--purple); }
.accent-yellow { color: var(--yellow); }

/* ─── TOP BAR ─────────────────────────────────────────────── */
.topbar {
    background: var(--dark);
    color: #c4b5fd;
    font-size: .82rem;
    font-weight: 600;
    padding: 8px 0;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.topbar-right { display: flex; gap: 24px; }
.topbar span i { margin-right: 6px; color: var(--yellow); }

/* ─── NAVBAR ─────────────────────────────────────────────── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(30,27,75,.08);
    transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(30,27,75,.15); }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 16px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { width: 52px; height: 52px; object-fit: contain; border-radius: 50%; border: 3px solid var(--purple-lt); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: 'Baloo 2', cursive; font-size: 1.3rem; font-weight: 800; color: var(--dark); }
.logo-accent { color: var(--purple); }
.logo-tagline { font-size: .72rem; font-weight: 700; color: var(--pink); letter-spacing: .08em; text-transform: uppercase; }

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-link {
    font-weight: 700;
    font-size: .9rem;
    color: var(--dark);
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}
.nav-link:hover, .nav-link.active {
    color: var(--purple);
    background: var(--purple-lt);
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 100;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}
.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: .88rem;
    color: var(--dark);
    transition: var(--transition);
}
.dropdown-menu li a:hover { background: var(--purple-lt); color: var(--purple); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 3px; background: var(--dark); border-radius: 3px; transition: var(--transition); }

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, #fdf4ff 0%, #fff7f0 40%, #f0f9ff 100%);
    padding: 100px 0 0;
    overflow: hidden;
    position: relative;
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Floating doodles */
.doodle {
    position: absolute;
    font-size: 1.5rem;
    opacity: .25;
    animation: float 4s ease-in-out infinite;
    user-select: none;
    pointer-events: none;
}
.d1 { top: 12%; left: 5%; color: var(--purple); animation-delay: 0s; font-size: 2rem; }
.d2 { top: 70%; left: 2%; color: var(--pink); animation-delay: .8s; }
.d3 { top: 20%; right: 5%; color: var(--teal); animation-delay: 1.2s; font-size: 1.8rem; }
.d4 { top: 75%; right: 8%; color: var(--yellow); animation-delay: .4s; font-size: 1.3rem; }
.d5 { top: 45%; left: 48%; color: var(--pink); animation-delay: 1.8s; }
.d6 { top: 10%; right: 22%; color: var(--purple); animation-delay: 2.2s; font-size: 1.8rem; }

@keyframes float {
    0%,100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-14px) rotate(6deg); }
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: var(--yellow-lt);
    color: var(--dark);
    font-weight: 800;
    font-size: .85rem;
    padding: 8px 18px;
    border-radius: 50px;
    border: 2px solid var(--yellow);
    margin-bottom: 1.25rem;
    animation: bounce-in .6s ease-out;
}

@keyframes bounce-in {
    0%   { transform: scale(0.8); opacity: 0; }
    60%  { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

.hero-heading {
    font-family: 'Baloo 2', cursive;
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 1.25rem;
}
.hero-highlight {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-underline {
    position: relative;
    color: var(--yellow);
    -webkit-text-fill-color: var(--yellow);
}
.hero-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--yellow);
    border-radius: 4px;
}

.hero-sub { color: var(--gray); font-size: 1.05rem; max-width: 480px; margin-bottom: 1.5rem; }

.hero-features { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 2rem; }
.feat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    border: 2px solid var(--purple-lt);
    color: var(--purple);
    font-weight: 700;
    font-size: .85rem;
    padding: 7px 16px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(124,58,237,.08);
}
.feat-pill i { color: var(--teal); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Hero image side */
.hero-image { display: flex; justify-content: center; align-items: flex-end; }
.hero-img-wrap {
    position: relative;
    max-width: 520px;
    width: 100%;
}
.hero-kids-img {
    width: 100%;
    border-radius: 30px 30px 0 0;
    filter: drop-shadow(0 20px 40px rgba(124,58,237,.20));
    animation: hero-float 5s ease-in-out infinite;
}
@keyframes hero-float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-16px); }
}

/* Floating info cards */
.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: 16px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 40px rgba(30,27,75,.15);
    animation: float 4s ease-in-out infinite;
}
.floating-card strong { display: block; font-size: 1.1rem; font-weight: 800; color: var(--dark); }
.floating-card small  { font-size: .75rem; color: var(--gray); font-weight: 600; }
.fc-icon { font-size: 2rem; line-height: 1; }

.card-1 { top: 14%; left: -12%; animation-delay: .5s; }
.card-2 { bottom: 18%; right: -8%; animation-delay: 1.2s; }

/* Hero wave */
.hero-wave { margin-top: 48px; line-height: 0; }
.hero-wave svg { display: block; }

/* ─── STATS BAR ─────────────────────────────────────────── */
.stats-bar {
    background: var(--white);
    padding: 28px 0;
    border-bottom: 2px solid var(--purple-lt);
}
.stats-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}
.stat-item { text-align: center; padding: 16px 48px; }
.stat-number {
    font-family: 'Baloo 2', cursive;
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--purple);
    line-height: 1;
}
.stat-plus { font-size: 2rem; font-weight: 800; color: var(--yellow); }
.stat-item p { color: var(--gray); font-weight: 700; font-size: .9rem; margin-top: 4px; }
.stat-divider { width: 2px; height: 60px; background: var(--purple-lt); }

/* ─── ABOUT ─────────────────────────────────────────────── */
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-images { position: relative; }
.about-main-img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    object-fit: cover;
}
.about-badge-card {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--yellow);
    border-radius: 20px;
    padding: 20px 24px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(245,158,11,.35);
    animation: float 4s ease-in-out infinite;
}
.abc-icon { font-size: 2.5rem; margin-bottom: 6px; }
.about-badge-card strong { display: block; font-size: .95rem; font-weight: 800; color: var(--dark); }
.about-badge-card small  { font-size: .78rem; color: var(--dark); opacity: .7; }

.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 1.5rem 0; }
.highlight-item { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 700; }
.highlight-item i { color: var(--teal); font-size: 1.1rem; flex-shrink: 0; }

/* ─── PROGRAMS ──────────────────────────────────────────── */
.programs {
    background: linear-gradient(135deg, var(--purple) 0%, #a855f7 50%, var(--pink) 100%);
    position: relative;
    padding: 100px 0;
}
.programs-wave-top, .programs-wave-bottom { line-height: 0; }
.programs-wave-top  { margin-bottom: -2px; position: absolute; top: -2px; left: 0; right: 0; }
.programs-wave-bottom { margin-top: -2px; position: absolute; bottom: -2px; left: 0; right: 0; }
.programs .section-title,
.programs .section-desc { color: #fff; }
.programs .section-label { color: var(--yellow); }

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 2rem;
    padding: 16px 8px 40px;
    overflow: visible;
}
/* 7-card program grid: 4 cols top row, 3 cols bottom row centred */
.programs-grid-7 {
    grid-template-columns: repeat(4, 1fr);
}

.program-card {
    background: var(--white);
    border-radius: 24px;
    padding: 36px 24px 28px;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    transition: padding .4s cubic-bezier(.4,0,.2,1),
                min-height .4s cubic-bezier(.4,0,.2,1),
                background .4s ease,
                box-shadow .4s ease,
                transform .4s cubic-bezier(.4,0,.2,1),
                color .3s ease;
    position: relative;
    overflow: visible;
    color: var(--dark);
    box-shadow: 0 4px 16px rgba(124,58,237,.06);
}
.program-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--purple), var(--pink));
    transition: all .35s ease;
}
/* All cards start white; on hover → grow TALLER + pop up + go dark */
.program-card:hover {
    background: var(--dark);
    color: #fff;
    padding-top: 52px;
    padding-bottom: 44px;
    min-height: 560px;
    transform: translateY(-28px) scale(1.03);
    box-shadow: 0 48px 90px rgba(30,27,75,.45), 0 8px 24px rgba(124,58,237,.3);
    border-color: transparent;
    z-index: 10;
}
.program-card:hover::before {
    background: linear-gradient(90deg, var(--yellow), var(--pink));
    height: 5px;
}
.program-card:hover h3 { color: #fff; }
.program-card:hover .prog-age { color: #c4b5fd !important; }
.program-card:hover > p { color: #ddd6fe; }
.program-card:hover .prog-list li { color: #e0d9ff; }
/* featured-prog: same white default, just badge visible */
.featured-prog {
    background: var(--white);
    color: var(--dark);
}

.featured-prog .prog-age { color: var(--gray) !important; }
.prog-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--yellow);
    color: var(--dark);
    font-size: .72rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.prog-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.program-card h3 { font-family: 'Baloo 2', cursive; font-size: 1.3rem; font-weight: 800; margin-bottom: .25rem; }
.prog-age { color: var(--gray); font-size: .82rem; font-weight: 700; margin-bottom: .75rem; display: block; }
.program-card > p { font-size: .9rem; color: var(--gray); margin-bottom: 1rem; }
.prog-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1.5rem; }
.prog-list li { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; }
.prog-list li i { color: var(--yellow); font-size: .7rem; }

.prog-btn {
    display: inline-flex;
    align-items: center;
    background: var(--yellow);
    color: var(--dark);
    font-weight: 800;
    font-size: .85rem;
    padding: 10px 20px;
    border-radius: 50px;
    transition: var(--transition);
}
.prog-btn:hover { background: var(--purple); color: var(--white); transform: translateX(4px); }

/* ─── WHY CHOOSE US ─────────────────────────────────────── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 2.5rem;
}
.why-card {
    background: var(--white);
    border-radius: 24px;
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: 0 4px 16px rgba(124,58,237,.06);
}
.why-card:hover {
    border-color: var(--purple);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.why-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    animation: float 4s ease-in-out infinite;
}
.why-card:nth-child(2) .why-icon { animation-delay: .4s; }
.why-card:nth-child(3) .why-icon { animation-delay: .8s; }
.why-card:nth-child(4) .why-icon { animation-delay: 1.2s; }
.why-card:nth-child(5) .why-icon { animation-delay: 1.6s; }
.why-card:nth-child(6) .why-icon { animation-delay: 2.0s; }
.why-card h4 { font-family: 'Baloo 2', cursive; font-size: 1.15rem; font-weight: 800; margin-bottom: .6rem; color: var(--dark); }
.why-card p  { color: var(--gray); font-size: .9rem; }

/* ─── TEACHERS ──────────────────────────────────────────── */
.teachers-bg {
    background: linear-gradient(180deg, #fff7f0 0%, var(--purple-lt) 100%);
    padding: 80px 0;
}
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 2.5rem;
}
.teacher-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(124,58,237,.1);
    transition: var(--transition);
    text-align: center;
}
.teacher-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }

.tc-img-wrap {
    height: 280px;
    overflow: hidden;
    position: relative;
}
.tc-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform .5s ease;
}
.teacher-card:hover .tc-img-wrap img { transform: scale(1.06); }

.pink-bg  { background: linear-gradient(180deg, #fce7f3, #fbcfe8); }
.teal-bg  { background: linear-gradient(180deg, #ccfbf1, #a7f3d0); }
.yellow-bg{ background: linear-gradient(180deg, #fef3c7, #fde68a); }

.tc-info { padding: 20px 24px 24px; }
.tc-info h4 { font-family: 'Baloo 2', cursive; font-size: 1.1rem; font-weight: 800; color: var(--dark); margin-bottom: .25rem; }
.tc-role { display: block; font-size: .82rem; font-weight: 700; color: var(--gray); margin-bottom: .9rem; }
.tc-social { display: flex; justify-content: center; gap: 10px; }
.tc-social a {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--purple-lt);
    color: var(--purple);
    display: flex; align-items: center; justify-content: center;
    font-size: .8rem;
    transition: var(--transition);
}
.tc-social a:hover { background: var(--purple); color: #fff; transform: translateY(-3px); }

/* ─── GALLERY ───────────────────────────────────────────── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 220px 220px;
    gap: 16px;
    margin-top: 2.5rem;
}
.gallery-item {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}
.gallery-item:nth-child(1) { grid-column: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }

/* Colorful gradient placeholders (will feel like gallery tiles) */
.gi-1 { background: linear-gradient(135deg, #ff6b9d 0%, #c026d3 100%); }
.gi-2 { background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%); }
.gi-3 { background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%); }
.gi-4 { background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%); }
.gi-5 { background: linear-gradient(135deg, #f97316 0%, #eab308 100%); }
.gi-6 { background: linear-gradient(135deg, #4f46e5 0%, #ec4899 100%); }

.gi-overlay {
    position: absolute; inset: 0;
    background: rgba(30,27,75,.45);
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.gallery-item:hover .gi-overlay { opacity: 1; }
.gi-overlay span { color: #fff; font-weight: 800; font-size: 1.1rem; letter-spacing: .05em; }

/* Emoji art inside gallery tiles */
.gi-1::before { content: '🎨 Creative Arts'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: rgba(255,255,255,.3); font-weight: 800; }
.gi-2::before { content: '⚽ Outdoor Play'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: rgba(255,255,255,.3); font-weight: 800; }
.gi-3::before { content: '📖 Story Time'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: rgba(255,255,255,.3); font-weight: 800; }
.gi-4::before { content: '🔬 Science Fun'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: rgba(255,255,255,.3); font-weight: 800; }
.gi-5::before { content: '🏅 Sports Day'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: rgba(255,255,255,.3); font-weight: 800; }
.gi-6::before { content: '🎭 Annual Concert'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: rgba(255,255,255,.3); font-weight: 800; }

/* ─── TESTIMONIALS ──────────────────────────────────────── */
.testimonials { background: var(--white); }
.testi-carousel { max-width: 920px; margin: 2.5rem auto 0; }
.testi-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testi-card {
    background: var(--bg);
    border-radius: 24px;
    padding: 32px 28px;
    border: 2px solid var(--purple-lt);
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(124,58,237,.06);
}
.testi-card:hover { border-color: var(--purple); transform: translateY(-6px); box-shadow: var(--shadow); }
.testi-stars { color: var(--yellow); font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testi-card > p { color: var(--gray); font-size: .93rem; font-style: italic; margin-bottom: 1.25rem; line-height: 1.65; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 800; color: #fff; flex-shrink: 0; }
.testi-author strong { display: block; font-size: .92rem; font-weight: 800; color: var(--dark); }
.testi-author small  { font-size: .78rem; color: var(--gray); }

.testi-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 2rem; }
.testi-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 2px solid var(--purple);
    background: var(--white);
    color: var(--purple);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.testi-btn:hover { background: var(--purple); color: #fff; }
.testi-dots { display: flex; gap: 8px; }
.dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--purple-lt);
    cursor: pointer;
    transition: var(--transition);
}
.dot.active { background: var(--purple); transform: scale(1.3); }

/* ─── CONTACT ───────────────────────────────────────────── */
.contact {
    background: linear-gradient(135deg, var(--dark) 0%, #312e81 60%, #4c1d95 100%);
    padding: 100px 0 80px;
    position: relative;
}
.contact-wave-top { position: absolute; top: -2px; left: 0; right: 0; line-height: 0; }
.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-detail { display: flex; gap: 16px; margin-bottom: 1.5rem; align-items: flex-start; }
.cd-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: 12px;
    background: rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--yellow);
    font-size: 1rem;
}
.contact-detail strong { display: block; color: #fff; font-weight: 800; font-size: .85rem; margin-bottom: 2px; }
.contact-detail p { color: #c4b5fd; font-size: .9rem; }

/* Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: 28px;
    padding: 40px 36px;
    box-shadow: 0 24px 80px rgba(0,0,0,.25);
}
.contact-form-wrap h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.75rem;
}
.enquiry-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .82rem; font-weight: 800; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
    padding: 13px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: .9rem;
    color: var(--dark);
    background: var(--bg);
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--purple); background: var(--white); box-shadow: 0 0 0 4px rgba(124,58,237,.1); }
.form-group textarea { resize: vertical; min-height: 100px; }

.btn-submit {
    width: 100%;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: #fff;
    padding: 16px;
    font-size: 1rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(124,58,237,.35);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(124,58,237,.50); }

.form-success {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #6ee7b7;
    border-radius: 12px;
    padding: 14px 20px;
    font-weight: 700;
    font-size: .92rem;
    text-align: center;
}
.form-success i { margin-right: 8px; }

/* ─── FOOTER ────────────────────────────────────────────── */
.footer {
    background: #0f0c29;
    color: #c4b5fd;
    padding: 64px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p { font-size: .9rem; line-height: 1.7; max-width: 280px; margin: 1rem 0 1.5rem; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #c4b5fd;
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--purple); color: #fff; transform: translateY(-3px); }

.footer-links h5,
.footer-contact h5 { color: #fff; font-weight: 800; font-size: .95rem; margin-bottom: 1.25rem; }
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links ul a { color: #a78bfa; font-size: .88rem; transition: var(--transition); }
.footer-links ul a:hover { color: var(--yellow); padding-left: 4px; }

.footer-contact p { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; margin-bottom: 10px; color: #a78bfa; }
.footer-contact i { color: var(--yellow); margin-top: 3px; flex-shrink: 0; }

.footer-bottom {
    text-align: center;
    padding: 20px;
    color: #6b7280;
    font-size: .82rem;
    border-top: 1px solid rgba(255,255,255,.05);
}

/* ─── SCROLL TOP ──────────────────────────────────────── */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--purple);
    color: #fff;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(124,58,237,.45);
    display: none;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 999;
}
.scroll-top.visible { display: flex; }
.scroll-top:hover { background: var(--purple-dk); transform: translateY(-4px); }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1100px) {
    .programs-grid  { grid-template-columns: repeat(2, 1fr); }
    .why-grid       { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .hero-inner     { grid-template-columns: 1fr; text-align: center; }
    .hero-text      { order: 2; }
    .hero-image     { order: 1; max-width: 380px; margin: 0 auto; }
    .hero-features  { justify-content: center; }
    .hero-cta       { justify-content: center; }
    .hero-sub       { margin: 0 auto 1.5rem; }
    .about-inner    { grid-template-columns: 1fr; }
    .about-images   { max-width: 520px; margin: 0 auto; }
    .about-badge-card { right: 0; }
    .teachers-grid  { grid-template-columns: 1fr 1fr; }
    .contact-inner  { grid-template-columns: 1fr; }
    .footer-inner   { grid-template-columns: 1fr 1fr; }
    .stat-item      { padding: 12px 24px; }
    .testi-track    { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 640px) {
    .nav-menu    { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.1); gap: 4px; }
    .nav-menu.open { display: flex; }
    .hamburger   { display: flex; }
    #enrol-btn   { display: none; }
    .topbar-right { display: none; }
    .programs-grid { grid-template-columns: 1fr; }
    .why-grid    { grid-template-columns: 1fr; }
    .teachers-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(4) { grid-column: span 1; }
    .form-row    { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .stat-divider { display: none; }
    .stats-inner  { gap: 8px; }
    .about-highlights { grid-template-columns: 1fr; }
    .card-1 { left: 0; top: 8%; }
    .card-2 { right: 0; bottom: 10%; }
}

/* Smooth entrance animations */
@keyframes fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-up { animation: fade-up .7s ease-out forwards; }
