/* ============================================================
   Kiddies International Preschool — Main Stylesheet
   ============================================================ */

/* ── 1. CSS Custom Properties ───────────────────────────────── */
:root {
    /* Brand Colors */
    --red:    #E53935;
    --blue:   #1E88E5;
    --yellow: #FDD835;
    --green:  #43A047;

    /* Light Mode Palette */
    --bg:           #ffffff;
    --bg-alt:       #f8f9ff;
    --bg-card:      #ffffff;
    --text:         #1a1a2e;
    --text-muted:   #6b7280;
    --text-light:   #9ca3af;
    --border:       #e5e7eb;
    --shadow:       0 4px 24px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 40px rgba(0,0,0,0.14);
    --nav-bg:       rgba(255,255,255,0.95);
    --nav-text:     #1a1a2e;
    --footer-bg:    #1a1a2e;
    --footer-text:  #e5e7eb;

    /* Accent Gradients */
    --grad-red:    linear-gradient(135deg, #E53935, #EF5350);
    --grad-blue:   linear-gradient(135deg, #1E88E5, #42A5F5);
    --grad-yellow: linear-gradient(135deg, #FDD835, #FFCA28);
    --grad-green:  linear-gradient(135deg, #43A047, #66BB6A);
    --grad-hero:   linear-gradient(135deg, rgba(30,136,229,0.85), rgba(67,160,71,0.75));
    --grad-main:   linear-gradient(135deg, #1E88E5 0%, #43A047 100%);

    /* Typography */
    --font-heading: 'Nunito', sans-serif;
    --font-body:    'Poppins', sans-serif;

    /* Sizing */
    --nav-height:   72px;
    --radius:       12px;
    --radius-lg:    20px;
    --radius-pill:  999px;

    /* Transitions */
    --transition:   all 0.3s ease;
}

[data-theme="dark"] {
    --bg:           #0f1117;
    --bg-alt:       #161b27;
    --bg-card:      #1e2433;
    --text:         #f1f5f9;
    --text-muted:   #94a3b8;
    --text-light:   #64748b;
    --border:       #2d3748;
    --shadow:       0 4px 24px rgba(0,0,0,0.3);
    --shadow-hover: 0 8px 40px rgba(0,0,0,0.5);
    --nav-bg:       rgba(15,17,23,0.96);
    --nav-text:     #f1f5f9;
    --footer-bg:    #080b12;
    --footer-text:  #94a3b8;
}

/* ── 2. CSS Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── 3. Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.25;
    color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p { color: var(--text-muted); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}
.section-title .subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    margin-bottom: 0.75rem;
}
.section-title .subtitle.red    { background: rgba(229,57,53,0.12);  color: var(--red); }
.section-title .subtitle.blue   { background: rgba(30,136,229,0.12); color: var(--blue); }
.section-title .subtitle.yellow { background: rgba(253,216,53,0.2);  color: #b8970a; }
.section-title .subtitle.green  { background: rgba(67,160,71,0.12);  color: var(--green); }

.section-title h2 { margin-bottom: 1rem; }
.section-title p  { max-width: 560px; margin: 0 auto; }

/* ── 4. Layout Utilities ─────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.text-center { text-align: center; }

/* ── 5. Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    white-space: nowrap;
}
.btn i { font-size: 0.9em; }

.btn-red    { background: var(--grad-red);    color: #fff; box-shadow: 0 4px 20px rgba(229,57,53,0.35); }
.btn-blue   { background: var(--grad-blue);   color: #fff; box-shadow: 0 4px 20px rgba(30,136,229,0.35); }
.btn-yellow { background: var(--grad-yellow); color: #1a1a2e; box-shadow: 0 4px 20px rgba(253,216,53,0.4); }
.btn-green  { background: var(--grad-green);  color: #fff; box-shadow: 0 4px 20px rgba(67,160,71,0.35); }
.btn-outline { background: transparent; border: 2px solid var(--blue); color: var(--blue); }

.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-outline:hover { background: var(--blue); color: #fff; }

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
}

/* ── 6. Preloader ────────────────────────────────────────────── */
#preloader {
    position: fixed; inset: 0;
    background: var(--bg);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s ease;
}
#preloader.fade-out { opacity: 0; pointer-events: none; }
.preloader-inner {
    display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.preloader-logo { width: 80px; animation: pulse 1.2s ease-in-out infinite; }
.preloader-dots { display: flex; gap: 8px; }
.preloader-dots span {
    width: 10px; height: 10px; border-radius: 50%;
    animation: dotBounce 1.2s ease-in-out infinite;
}
.preloader-dots span:nth-child(1) { background: var(--red);    animation-delay: 0s; }
.preloader-dots span:nth-child(2) { background: var(--blue);   animation-delay: 0.2s; }
.preloader-dots span:nth-child(3) { background: var(--yellow); animation-delay: 0.4s; }
.preloader-dots span:nth-child(4) { background: var(--green);  animation-delay: 0.6s; }

@keyframes dotBounce {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
    40% { transform: scale(1.2); opacity: 1; }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ── 7. Navigation ───────────────────────────────────────────── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
    background: var(--nav-bg);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.navbar.hero-light { color: #fff; }
.navbar.hero-light .nav-link { color: rgba(255,255,255,0.9); }
.navbar.hero-light .logo-text { color: #fff; }
.navbar.scrolled .nav-link  { color: var(--nav-text); }
.navbar.scrolled .logo-text { color: var(--text); }

.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 1.25rem;
    height: 100%;
    display: flex; align-items: center; justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.logo-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.1rem;
    line-height: 1.1;
    color: var(--text);
    transition: color 0.3s;
}
.logo-text span { display: block; font-size: 0.7rem; font-weight: 600; opacity: 0.75; }

.nav-menu { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
    padding: 0.5rem 0.9rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text);
    border-radius: var(--radius-pill);
    transition: var(--transition);
    position: relative;
}
.nav-link:hover,
.nav-link.active { color: var(--blue); background: rgba(30,136,229,0.08); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

/* Dark mode toggle */
.theme-toggle {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: 1.5px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    color: var(--text);
    transition: var(--transition);
}
.theme-toggle:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Nav CTA button — hide on small screens */
.nav-cta-btn { display: inline-flex; }
@media (max-width: 640px) { .nav-cta-btn { display: none; } }

/* Hamburger */
.nav-hamburger {
    display: none; flex-direction: column; gap: 5px;
    width: 36px; height: 36px;
    justify-content: center; align-items: center;
}
.nav-hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.mobile-nav {
    position: fixed; top: 0; right: -100%;
    width: min(320px, 100vw); height: 100vh;
    background: var(--bg);
    z-index: 999;
    padding: 5rem 2rem 2rem;
    box-shadow: -4px 0 40px rgba(0,0,0,0.15);
    transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
}
.mobile-nav.open { right: 0; }
.mobile-nav-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: all; }
.mobile-nav .nav-link {
    display: block; padding: 0.75rem 1rem;
    font-size: 1rem; border-radius: var(--radius);
    margin-bottom: 0.25rem;
}
.mobile-nav-socials { display: flex; gap: 0.75rem; margin-top: 2rem; }
.mobile-nav-socials a {
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; color: #fff;
    transition: transform 0.2s;
}
.mobile-nav-socials a:hover { transform: scale(1.15); }
.mobile-nav-socials .soc-fb   { background: #1877F2; }
.mobile-nav-socials .soc-ig   { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.mobile-nav-socials .soc-yt   { background: #FF0000; }
.mobile-nav-socials .soc-tt   { background: #000; }
.mobile-nav-socials .soc-wa   { background: #25D366; }

/* ── 8. Hero Slider ──────────────────────────────────────────── */
.hero {
    position: relative;
    height: 100vh; min-height: 600px;
    overflow: hidden;
}
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg,rgba(30,136,229,0.75) 0%,rgba(67,160,71,0.6) 100%);
}
.hero-content {
    position: relative; z-index: 2;
    height: 100%;
    display: flex; align-items: center;
    max-width: 1200px; margin: 0 auto; padding: 0 1.25rem;
    padding-top: var(--nav-height);
}
.hero-text { max-width: 680px; color: #fff; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-pill);
    padding: 6px 16px;
    font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
    margin-bottom: 1.25rem;
    color: #fff;
}
.hero-badge i { color: var(--yellow); }
.hero-text h1 {
    color: #fff;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.hero-text h1 em {
    font-style: normal;
    color: var(--yellow);
}
.hero-text p { color: rgba(255,255,255,0.88); font-size: 1.1rem; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-ghost {
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.6);
    color: #fff;
    backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.3); }

/* Slider controls */
.hero-controls {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    z-index: 3; display: flex; align-items: center; gap: 1rem;
}
.hero-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transition: var(--transition);
    cursor: pointer;
}
.hero-dot.active {
    background: #fff;
    width: 28px; border-radius: 5px;
}
.hero-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 3;
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.4);
    color: #fff; font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
    transition: var(--transition);
}
.hero-nav-btn:hover { background: rgba(255,255,255,0.4); }
.hero-prev { left: 1.5rem; }
.hero-next { right: 1.5rem; }

/* ── 9. Stats Counter Bar ────────────────────────────────────── */
.stats-bar {
    background: var(--bg-card);
    box-shadow: var(--shadow);
    border-radius: var(--radius-lg);
    margin: -3rem auto 0;
    max-width: 900px;
    position: relative; z-index: 10;
    display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
    padding: 1.75rem 1rem;
    text-align: center;
    border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-icon {
    width: 52px; height: 52px; border-radius: 50%;
    margin: 0 auto 0.75rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
}
.stat-icon.red    { background: rgba(229,57,53,0.12);  color: var(--red); }
.stat-icon.blue   { background: rgba(30,136,229,0.12); color: var(--blue); }
.stat-icon.yellow { background: rgba(253,216,53,0.2);  color: #b8970a; }
.stat-icon.green  { background: rgba(67,160,71,0.12);  color: var(--green); }
.stat-number {
    font-family: var(--font-heading);
    font-weight: 900; font-size: 2rem;
    line-height: 1; color: var(--text);
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; margin-top: 0.25rem; }

/* ── 10. About Preview ───────────────────────────────────────── */
.about-section { background: var(--bg); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-wrap img {
    border-radius: var(--radius-lg);
    width: 100%;
    object-fit: cover; height: 480px;
    box-shadow: var(--shadow);
}
.about-badge-float {
    position: absolute; bottom: -1.5rem; right: -1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
}
.about-badge-float .big { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 900; color: var(--blue); line-height: 1; }
.about-badge-float small { display: block; font-size: 0.78rem; color: var(--text-muted); font-weight: 600; margin-top: 0.25rem; }

.about-content .section-title { text-align: left; margin-bottom: 1.5rem; }
.value-pills { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }
.value-pill {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 6px 14px; border-radius: var(--radius-pill);
    font-size: 0.82rem; font-weight: 700;
}
.value-pill.red    { background: rgba(229,57,53,0.1);  color: var(--red); }
.value-pill.blue   { background: rgba(30,136,229,0.1); color: var(--blue); }
.value-pill.yellow { background: rgba(253,216,53,0.18); color: #8a6d00; }
.value-pill.green  { background: rgba(67,160,71,0.1);  color: var(--green); }

/* ── 11. Programs Cards ──────────────────────────────────────── */
.programs-section { background: var(--bg-alt); }
.program-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.program-card-header {
    height: 200px;
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem;
    position: relative;
}
.program-card-header.red    { background: linear-gradient(135deg, #ffcdd2, #ef9a9a); }
.program-card-header.blue   { background: linear-gradient(135deg, #bbdefb, #90caf9); }
.program-card-header.green  { background: linear-gradient(135deg, #c8e6c9, #a5d6a7); }
.program-card-header .age-badge {
    position: absolute; top: 1rem; right: 1rem;
    background: rgba(255,255,255,0.9);
    border-radius: var(--radius-pill);
    padding: 4px 12px;
    font-size: 0.75rem; font-weight: 700; color: var(--text);
}
.program-coming {
    position: absolute; top: 1rem; left: 1rem;
    background: var(--yellow);
    border-radius: var(--radius-pill);
    padding: 4px 12px;
    font-size: 0.72rem; font-weight: 800; color: #1a1a2e;
    text-transform: uppercase; letter-spacing: 1px;
}
.program-card-body { padding: 1.75rem; }
.program-card-body h3 { margin-bottom: 0.5rem; font-size: 1.4rem; }
.program-card-body p { font-size: 0.9rem; margin-bottom: 1.25rem; }
.program-features { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.program-feature {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 0.85rem; color: var(--text-muted);
}
.program-feature i { font-size: 0.75rem; width: 18px; }
.program-feature i.fa-check { color: var(--green); }
.program-feature i.fa-clock { color: var(--blue); }

/* ── 12. Why Choose Us ───────────────────────────────────────── */
.features-section { background: var(--bg); }
.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1.5px solid transparent;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.feature-card:hover.red-border  { border-color: var(--red); }
.feature-card:hover.blue-border { border-color: var(--blue); }
.feature-card:hover.green-border{ border-color: var(--green); }
.feature-card:hover.yellow-border{ border-color: var(--yellow); }
.feature-icon {
    width: 72px; height: 72px; border-radius: var(--radius);
    margin: 0 auto 1.25rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem;
    transition: var(--transition);
}
.feature-icon.red    { background: rgba(229,57,53,0.1);  color: var(--red); }
.feature-icon.blue   { background: rgba(30,136,229,0.1); color: var(--blue); }
.feature-icon.yellow { background: rgba(253,216,53,0.2); color: #9a7c00; }
.feature-icon.green  { background: rgba(67,160,71,0.1);  color: var(--green); }
.feature-card:hover .feature-icon.red    { background: var(--red);    color: #fff; }
.feature-card:hover .feature-icon.blue   { background: var(--blue);   color: #fff; }
.feature-card:hover .feature-icon.yellow { background: var(--yellow); color: #1a1a2e; }
.feature-card:hover .feature-icon.green  { background: var(--green);  color: #fff; }
.feature-card h4 { margin-bottom: 0.5rem; }
.feature-card p  { font-size: 0.88rem; }

/* ── 13. Gallery Grid ────────────────────────────────────────── */
.gallery-section { background: var(--bg-alt); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    position: relative;
    cursor: pointer;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(30,136,229,0.6);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: var(--transition);
    color: #fff; font-size: 1.5rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Filter buttons */
.gallery-filters {
    display: flex; justify-content: center; gap: 0.75rem;
    flex-wrap: wrap; margin-bottom: 2rem;
}
.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 700; font-size: 0.85rem;
    background: var(--bg-card);
    color: var(--text-muted);
    border: 1.5px solid var(--border);
    transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
    background: var(--blue); color: #fff; border-color: var(--blue);
}

/* ── 14. Testimonials ────────────────────────────────────────── */
.testimonials-section { background: var(--bg); }
.testimonial-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    margin: 0 0.5rem;
    height: 300px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.testimonial-quote {
    font-size: 3rem;
    color: var(--blue);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}
.testimonial-card p {
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}
.testimonial-author { margin-top: auto; flex-shrink: 0; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    object-fit: cover;
}
.testimonial-avatar-placeholder {
    width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; color: #fff;
}
.testimonial-name { font-family: var(--font-heading); font-weight: 800; font-size: 0.95rem; }
.testimonial-role { font-size: 0.78rem; color: var(--text-muted); }
.stars { color: #FFC107; font-size: 0.8rem; margin-bottom: 0.25rem; }

/* Swiper customization */
.swiper { padding-bottom: 3rem !important; }
.swiper-pagination-bullet { background: var(--blue) !important; opacity: 0.4; }
.swiper-pagination-bullet-active { opacity: 1 !important; }

/* ── 15. Google Reviews Widget ───────────────────────────────── */
.reviews-widget {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1.5px solid var(--border);
    max-width: 420px;
    margin: 0 auto;
}
.reviews-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.google-g {
    width: 40px; height: 40px; border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; font-weight: 900;
    background: linear-gradient(135deg, #4285F4 0%, #34A853 33%, #FBBC04 66%, #EA4335 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.reviews-title { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700; }
.reviews-count { font-size: 0.78rem; color: var(--text-muted); }
.reviews-rating-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.rating-big {
    font-family: var(--font-heading); font-size: 3rem; font-weight: 900;
    color: var(--text); line-height: 1;
}
.rating-stars { display: flex; gap: 3px; }
.rating-stars i { color: #FFC107; font-size: 1.1rem; }
.reviews-btns { display: flex; gap: 0.75rem; }
.reviews-btns .btn { flex: 1; justify-content: center; font-size: 0.82rem; padding: 0.65rem 1rem; }

/* ── 16. Blog Teaser ─────────────────────────────────────────── */
.blog-teaser {
    background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.blog-teaser::before {
    content: '';
    position: absolute; top: -50%; right: -10%;
    width: 300px; height: 300px; border-radius: 50%;
    background: rgba(255,255,255,0.07);
}
.blog-teaser h3 { color: #fff; margin-bottom: 0.5rem; }
.blog-teaser p  { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; }
.blog-teaser .btn-ghost { border-color: rgba(255,255,255,0.7); }

/* ── 17. CTA Section ─────────────────────────────────────────── */
.cta-section {
    background: var(--bg-alt);
    text-align: center;
}
.cta-card {
    background: var(--grad-main);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-card::before, .cta-card::after {
    content: '';
    position: absolute; border-radius: 50%;
    background: rgba(255,255,255,0.08);
}
.cta-card::before { width: 300px; height: 300px; top: -100px; right: -80px; }
.cta-card::after  { width: 200px; height: 200px; bottom: -80px; left: -60px; }
.cta-card h2 { color: #fff; margin-bottom: 1rem; }
.cta-card p  { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 2rem; }
.cta-card .btn-yellow { box-shadow: 0 4px 20px rgba(0,0,0,0.3); }

/* ── 18. Floating WhatsApp Button ────────────────────────────── */
.whatsapp-float {
    position: fixed; bottom: 2rem; right: 2rem;
    z-index: 500;
    display: flex; align-items: center; gap: 0.6rem;
    background: #25D366;
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    animation: floatBounce 3s ease-in-out infinite;
}
.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 28px rgba(37,211,102,0.65);
}
.whatsapp-float i { font-size: 1.2rem; }

@keyframes floatBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ── 19. Footer ──────────────────────────────────────────────── */
footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 4rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.6); max-width: 280px; }
.footer-socials { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social {
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}
.footer-social:hover { transform: scale(1.15); box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.footer-social.fb { background: #1877F2; }
.footer-social.ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.footer-social.yt { background: #FF0000; }
.footer-social.tt { background: #010101; }
.footer-social.wa { background: #25D366; }
.footer-social.li { background: #0A66C2; }

.footer-col h5 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 1.25rem;
    position: relative; padding-bottom: 0.75rem;
}
.footer-col h5::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 32px; height: 2px;
    background: var(--blue);
    border-radius: 2px;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-link {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    transition: color 0.2s, padding-left 0.2s;
}
.footer-link:hover { color: #fff; padding-left: 4px; }
.footer-contact-items { display: flex; flex-direction: column; gap: 0.85rem; }
.footer-contact-item { display: flex; gap: 0.75rem; align-items: flex-start; }
.footer-contact-item i {
    width: 18px; text-align: center;
    color: var(--blue); font-size: 0.9rem; margin-top: 2px;
}
.footer-contact-item span { color: rgba(255,255,255,0.65); font-size: 0.85rem; line-height: 1.5; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: rgba(255,255,255,0.45); font-size: 0.8rem; margin: 0; }
.footer-bottom .footer-policy-links { display: flex; gap: 1.25rem; }
.footer-bottom .footer-policy-links a { color: rgba(255,255,255,0.45); font-size: 0.8rem; }
.footer-bottom .footer-policy-links a:hover { color: #fff; }

/* ── 20. Page Hero Banners ───────────────────────────────────── */
.page-hero {
    background: var(--grad-main);
    padding: calc(var(--nav-height) + 3rem) 0 3rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath d='M0 120 L1440 120 L1440 0 Q720 120 0 0 Z' fill='white' fill-opacity='0.05'/%3E%3C/svg%3E") bottom/cover no-repeat;
}
.page-hero h1 { color: #fff; margin-bottom: 0.75rem; }
.page-hero p  { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 500px; margin: 0 auto; }
.breadcrumb {
    display: flex; align-items: center; justify-content: center;
    gap: 0.5rem; margin-top: 1.25rem;
    font-size: 0.85rem; color: rgba(255,255,255,0.7);
}
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: 0.6rem; }

/* ── 21. About Page ──────────────────────────────────────────── */
.story-section { background: var(--bg); }
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.mvv-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
}
.mvv-card .mvv-icon {
    width: 64px; height: 64px; border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}
.mvv-card ul { text-align: left; margin-top: 0.75rem; }
.mvv-card ul li {
    display: flex; align-items: flex-start; gap: 0.5rem;
    font-size: 0.88rem; color: var(--text-muted); padding: 0.3rem 0;
}
.mvv-card ul li i { color: var(--green); margin-top: 2px; }

/* ── 22. Programs Page ───────────────────────────────────────── */
.program-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    border-bottom: 1px solid var(--border);
}
.program-detail:last-child { border-bottom: none; }
.program-detail.reverse { direction: rtl; }
.program-detail.reverse > * { direction: ltr; }
.program-detail img {
    border-radius: var(--radius-lg);
    width: 100%; height: 400px;
    object-fit: cover;
    box-shadow: var(--shadow);
}
.curriculum-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.curriculum-tag {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 4px 12px;
    font-size: 0.78rem; font-weight: 600; color: var(--text-muted);
}

/* ── 23. Gallery Page ────────────────────────────────────────── */
.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.gallery-page-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    position: relative;
    cursor: pointer;
}
.gallery-page-item.wide { grid-column: span 2; aspect-ratio: 2/1; }
.gallery-page-item img {
    width: 100%; height: 100%;
    object-fit: cover; transition: transform 0.5s;
}
.gallery-page-item:hover img { transform: scale(1.06); }

/* ── 24. Blog Coming Soon ────────────────────────────────────── */
.coming-soon-section {
    min-height: calc(100vh - var(--nav-height));
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-alt);
    text-align: center;
    padding: calc(var(--nav-height) + 2rem) 1rem 4rem;
}
.coming-soon-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 4rem 3rem;
    max-width: 600px;
    box-shadow: var(--shadow);
}
.coming-soon-icon { font-size: 4rem; margin-bottom: 1.5rem; }
.coming-soon-card h2 { margin-bottom: 0.75rem; }
.coming-soon-card p { margin-bottom: 2rem; }
.subscribe-form { display: flex; gap: 0.5rem; max-width: 400px; margin: 0 auto; }
.subscribe-form input[type="email"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--border);
    background: var(--bg-alt);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}
.subscribe-form input:focus { border-color: var(--blue); }
.coming-soon-social { display: flex; justify-content: center; gap: 0.75rem; margin-top: 2rem; }

/* ── 25. Contact Page ────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}
.contact-info-card {
    background: var(--grad-main);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: #fff;
}
.contact-info-card h3 { color: #fff; margin-bottom: 0.5rem; }
.contact-info-card p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-size: 0.9rem; }
.contact-info-items { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-item .ci-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; flex-shrink: 0;
}
.contact-info-item .ci-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.7; font-weight: 700; }
.contact-info-item .ci-value { font-size: 0.92rem; font-weight: 600; margin-top: 0.1rem; }
.contact-info-item a.ci-value { color: #fff; text-decoration: underline; text-underline-offset: 2px; opacity: 0.9; }
.contact-social-links { display: flex; gap: 0.6rem; margin-top: 2rem; }
.contact-social-links a {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 0.85rem;
    transition: background 0.2s;
}
.contact-social-links a:hover { background: rgba(255,255,255,0.35); }

/* ── 26. Form Styles ─────────────────────────────────────────── */
.form-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}
.form-card h3 { margin-bottom: 0.5rem; }
.form-card > p { font-size: 0.88rem; margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: 0.82rem; font-weight: 700;
    color: var(--text); margin-bottom: 0.4rem;
}
.form-group label span { color: var(--red); }
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    background: var(--bg-alt);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,136,229,0.12); }
.form-control.error { border-color: var(--red); }
textarea.form-control { resize: vertical; min-height: 130px; }
.honeypot { display: none !important; }
.form-notice { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.5rem; }

/* Form alerts */
.form-alert {
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    display: none;
}
.form-alert.success { background: rgba(67,160,71,0.12); color: var(--green); border: 1px solid rgba(67,160,71,0.3); }
.form-alert.error   { background: rgba(229,57,53,0.1);  color: var(--red);   border: 1px solid rgba(229,57,53,0.3); }
.form-alert.visible { display: flex; align-items: flex-start; gap: 0.6rem; }

/* Google Map embed */
.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 3rem;
}
.map-wrap iframe { display: block; width: 100%; height: 380px; border: none; }

/* ── 27. Animations ──────────────────────────────────────────── */
[data-aos] { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }
[data-aos="fade-left"]  { transform: translateX(-30px); }
[data-aos="fade-right"] { transform: translateX(30px); }
[data-aos="zoom-in"]    { transform: scale(0.9); }
[data-aos="fade-left"].aos-animate,
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="zoom-in"].aos-animate    { transform: scale(1); }

/* ── 28. Media Queries ───────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .about-grid  { grid-template-columns: 1fr; }
    .about-image-wrap { order: -1; }
    .about-content .section-title { text-align: center; }
    .value-pills { justify-content: center; }
    .about-badge-float { right: 0; }
    .program-detail { grid-template-columns: 1fr; gap: 2rem; }
    .program-detail.reverse { direction: ltr; }
    .program-detail img { height: 280px; }
    .contact-grid { grid-template-columns: 1fr; }
    .gallery-page-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-page-item.wide { grid-column: span 1; aspect-ratio: 1; }
}

@media (max-width: 768px) {
    :root { --nav-height: 64px; }
    .nav-menu, .nav-actions .btn { display: none; }
    .nav-hamburger { display: flex; }
    .navbar.hero-light .nav-hamburger span { background: #fff; }

    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); border-radius: var(--radius); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
    .stat-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }

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

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .form-row { grid-template-columns: 1fr; }

    .hero-text h1 { font-size: 2rem; }
    .hero-btns .btn { font-size: 0.88rem; padding: 0.65rem 1.35rem; }
    .hero-nav-btn { display: none; }

    .mvv-grid { grid-template-columns: 1fr; }
    .coming-soon-card { padding: 2.5rem 1.5rem; }
    .subscribe-form { flex-direction: column; }

    .cta-card { padding: 2.5rem 1.25rem; }
    .reviews-btns { flex-direction: column; }

    .whatsapp-float .float-label { display: none; }
    .whatsapp-float { padding: 0.9rem; border-radius: 50%; animation: none; }
}

@media (max-width: 480px) {
    .section { padding: 3rem 0; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-page-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: 1fr 1fr; margin: -1.5rem 1rem 0; }
    .hero-badge span { display: none; }
}

/* ── 29. Accessibility & Print ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .whatsapp-float { animation: none; }
}

:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
    border-radius: 4px;
}

@media print {
    .navbar, .whatsapp-float, footer { display: none; }
    body { color: #000; background: #fff; }
}
