/* ============================================================
   SUCCESS KIDS – Preschool & Daycare
   Design System — Brochure-Matched Palette
   ============================================================ */

/* ---- CSS VARIABLES ---- */
:root {
  /* === NEW EDUCATIONAL BRAND PALETTE === */
  /* Primary — confident sky blue */
  --color-blue:        #2F6BFF;
  --color-blue-light:  #EAF2FF;
  --color-blue-mid:    #8DB2FF;
  --color-blue-dark:   #1F4ED8;

  /* Warm coral */
  --color-orange:      #FF7A59;
  --color-orange-light:#FFF2EA;
  --color-orange-dark: #E85D34;

  /* Cheerful gold */
  --color-yellow:      #FFC857;
  --color-yellow-light:#FFF8E8;
  --color-yellow-dark: #F0A91E;

  /* Fresh mint */
  --color-green:       #34C759;
  --color-green-light: #EEF9F0;
  --color-green-dark:  #1F9B46;

  /* Soft rose */
  --color-red:         #FF6B7E;
  --color-red-light:   #FFF0F3;
  --color-red-dark:    #D94A62;

  /* Playful pink */
  --color-pink:        #FF5FA8;
  --color-pink-light:  #FFF1F7;
  --color-pink-dark:   #D53D86;

  /* Supporting lavender */
  --color-purple:      #7C6AF6;
  --color-purple-light:#F3EEFF;
  --color-purple-dark: #5C45D6;

  /* Legacy aliases for compatibility */
  --color-saffron:     #FFC857;
  --accent-1:          #FFF8E8;
  --accent-2:          #EAF2FF;

  /* Neutrals */
  --color-white:       #FFFFFF;
  --color-soft-bg:     #F7FAFF;
  --color-text-dark:   #17324D;
  --color-text-mid:    #4F6276;
  --color-text-light:  #74879A;
  --color-border:      #E6EBF3;
  --color-footer-bg:   #14264A;
  --color-sand:        #FCF7EF;

  /* Typography — playful + clean */
  --font-heading: 'Comic Sans MS', 'Chalkboard', 'Comic Sans', cursive;
  --font-body:    'Comic Sans MS', 'Chalkboard', 'Comic Sans', cursive;

  /* Sizing */
  --radius-sm:  10px;
  --radius-md:  18px;
  --radius-lg:  28px;
  --radius-xl:  36px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:    0 2px 8px rgba(24,69,200,0.08);
  --shadow-md:    0 4px 20px rgba(24,69,200,0.12), 0 1px 4px rgba(0,0,0,0.06);
  --shadow-lg:    0 12px 40px rgba(24,69,200,0.15), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-xl:    0 24px 60px rgba(24,69,200,0.18);
  --shadow-blue:  0 8px 32px rgba(24,69,200,0.30);
  --shadow-yellow:0 8px 32px rgba(255,204,0,0.35);
  --shadow-red:   0 8px 32px rgba(229,22,30,0.30);
  --shadow-green: 0 8px 32px rgba(0,177,64,0.30);

  /* Transitions */
  --transition-fast:  all 0.18s ease;
  --transition-mid:   all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:  all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Navbar */
  --navbar-h: 76px;
}

/* ---- DARK MODE VARIABLES ---- */
[data-theme="dark"] {
  --color-white:       #0f1629;
  --color-soft-bg:     #0a0f1e;
  --color-text-dark:   #f0f4ff;
  --color-text-mid:    #c8d2f0;
  --color-text-light:  #8899cc;
  --color-border:      #1e2d5a;
  --color-blue-light:  #0f2050;
  --color-blue-mid:    #1a3070;
  --color-red-light:   #2d0a0a;
  --color-yellow-light:#2a2000;
  --color-pink-light:  #2d0018;
  --color-green-light: #002510;
  --color-orange-light:#2d1500;
  --color-purple-light:#1a0a2d;
  --color-soft-bg:     #080d1a;

  /* Dark shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.5), 0 1px 4px rgba(0,0,0,0.3);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.4);
  --shadow-xl:  0 24px 60px rgba(0,0,0,0.7);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background:
    linear-gradient(135deg, rgba(255, 122, 89, 0.10) 0%, rgba(255, 197, 87, 0.12) 20%, rgba(52, 199, 89, 0.10) 40%, rgba(124, 106, 246, 0.12) 60%, rgba(255, 95, 168, 0.12) 80%, rgba(47, 107, 255, 0.10) 100%),
    url('../images/Backgroud.png') center/cover no-repeat fixed;
  line-height: 1.65;
  position: relative;
}

::selection {
  background: rgba(47,107,255,0.20);
  color: var(--color-text-dark);
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
address { font-style: normal; }
details { cursor: pointer; }

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 24px);
}

/* ---- SECTION HELPERS ---- */
.section-padding { padding: 100px 0; }

section {
  position: relative;
  isolation: isolate;
}

section > .container {
  position: relative;
  z-index: 1;
}

.bg-soft {
  background-color: rgba(247, 250, 255, 0.18);
  backdrop-filter: blur(2px);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 72px;
  padding: 24px 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #ffe7f0 0%, #ffe1b6 25%, #e6f8ea 50%, #e9ebff 75%, #ffe5f2 100%);
  border: 1px solid rgba(124, 106, 246, 0.18);
  box-shadow: 0 16px 36px rgba(47, 107, 255, 0.14), inset 0 1px 0 rgba(255,255,255,0.65);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a3f57;
  background: linear-gradient(135deg, #ffe7f0 0%, #ffe1b6 45%, #e6f8ea 100%);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.12);
  border: 1px solid rgba(124, 106, 246, 0.18);
}

.section-label--stacked {
  display: block;
  margin-bottom: 10px;
  text-align: center;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: #7d3559;
  margin-bottom: 18px;
  display: inline-block;
  padding: 8px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffeaf2 0%, #ffe1b6 50%, #e6f8ea 100%);
  box-shadow: 0 8px 18px rgba(47, 107, 255, 0.12);
  border: 1px solid rgba(124, 106, 246, 0.16);
}

.section-title--banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe7f0 0%, #ffe1b6 45%, #e6f8ea 100%);
  color: #7a3f57;
  box-shadow: 0 10px 24px rgba(47, 107, 255, 0.12);
  border: 1px solid rgba(124, 106, 246, 0.16);
  text-align: center;
  white-space: normal;
}

.section-title em {
  font-style: italic;
  color: var(--color-blue);
}

.testimonial-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 8px auto 0;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe7f0 0%, #ffe1b6 45%, #e6f8ea 100%);
  color: #7a3f57;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  border: 1px solid rgba(124, 106, 246, 0.16);
  box-shadow: 0 6px 16px rgba(47, 107, 255, 0.12);
}

.section-subtitle {
  font-size: 1.05rem;
  color: #8a4f6f;
  line-height: 1.7;
  display: inline-block;
  padding: 10px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7fb 0%, #fff3e0 45%, #eef9f0 100%);
  box-shadow: 0 6px 14px rgba(47, 107, 255, 0.10);
  border: 1px solid rgba(124, 106, 246, 0.16);
}

.section-body {
  font-size: 1rem;
  color: #8a4f6f;
  line-height: 1.75;
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,247,251,0.95) 0%, rgba(255,243,224,0.95) 45%, rgba(238,249,240,0.95) 100%);
  border: 1px solid rgba(124, 106, 246, 0.14);
}

.section-banner-wrapper {
  display: flex;
  justify-content: center;
  margin: 10px 0 24px;
}

.section-body--tagline {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #7a3f57;
  line-height: 1.55;
  padding: 22px 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, #ffe7f0 0%, #ffe1b6 35%, #e6f8ea 65%, #e9ebff 100%);
  display: block;
  box-shadow: 0 10px 24px rgba(47, 107, 255, 0.14);
  border: 1px solid rgba(124, 106, 246, 0.16);
  text-align: center;
  max-width: 760px;
  width: 100%;
}

.section-body--tagline .section-label {
  margin-bottom: 10px;
  display: inline-flex;
  justify-content: center;
}

.section-body--tagline strong {
  display: inline;
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 0;
  font-weight: 700;
}

.section-body--tagline em {
  display: inline;
  color: var(--color-blue);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.2;
  margin-bottom: 0;
  font-weight: 600;
}

.section-body--tagline p {
  margin: 10px 0 0;
  font-size: 1rem;
  font-weight: 500;
  color: #8a4f6f;
  line-height: 1.7;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: var(--transition-mid);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-blue), var(--color-orange));
  color: #fff;
  box-shadow: 0 12px 30px rgba(47,107,255,0.22);
  border: none;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 34px rgba(255,122,89,0.24);
}

.btn-outline {
  background: transparent;
  color: var(--color-blue);
  border-color: var(--color-blue);
  font-weight: 700;
}

.btn-outline:hover, .btn-outline:focus {
  background: var(--color-blue);
  color: #fff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: var(--shadow-blue);
}

.btn-red {
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  color: #fff;
  border: none;
  font-weight: 800;
  box-shadow: var(--shadow-red);
}
.btn-red:hover { background: linear-gradient(135deg, var(--color-orange), #CC4400); transform: translateY(-3px); }

.btn-yellow {
  background: linear-gradient(135deg, var(--color-yellow), var(--color-yellow-dark));
  color: var(--color-text-dark);
  border: none;
  font-weight: 800;
  box-shadow: var(--shadow-yellow);
}
.btn-yellow:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(255,204,0,0.45); }

.btn-large { padding: 16px 38px; font-size: 1.05rem; letter-spacing: 0.3px; }
.btn-full { width: 100%; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* ---- IMAGE PLACEHOLDERS ---- */
.img-card { position: relative; overflow: hidden; background: var(--color-soft-bg); }
.img-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: var(--transition-slow); }
.img-card:hover img { transform: scale(1.05); }

.img-placeholder { background: linear-gradient(135deg, var(--color-blue-light) 0%, #F0E7FF 100%); }

.img-placeholder-content {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--color-blue);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
}

.img-placeholder .img-placeholder-content { display: flex; }
.img-placeholder img { display: none; }

.img-placeholder .img-placeholder-content i {
  font-size: 2.8rem;
  opacity: 0.6;
}

/* ---- SCROLL ANIMATIONS ---- */
[data-animate] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

[data-animate="fade-up"]    { transform: translateY(40px); }
[data-animate="fade-down"]  { transform: translateY(-40px); }
[data-animate="fade-left"]  { transform: translateX(40px); }
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate="scale-up"]   { transform: scale(0.92); }

[data-animate].animate-in {
  opacity: 1;
  transform: translate(0) scale(1);
}

[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }


/* ===============================================
   NAVBAR
   =============================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 241, 247, 0.95) 0%, rgba(255, 248, 232, 0.95) 30%, rgba(238, 249, 240, 0.95) 65%, rgba(234, 242, 255, 0.95) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 2px solid rgba(124, 106, 246, 0.18);
  box-shadow: 0 8px 30px rgba(47, 107, 255, 0.10);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FF5FA8 0%, #FF7A59 20%, #FFC857 40%, #34C759 60%, #2F6BFF 80%, #7C6AF6 100%);
  z-index: 1001;
}

[data-theme="dark"] .navbar {
  background: linear-gradient(135deg, rgba(20, 10, 35, 0.97) 0%, rgba(10, 20, 42, 0.97) 50%, rgba(18, 10, 35, 0.97) 100%);
}

.navbar.scrolled {
  background: linear-gradient(135deg, rgba(255, 241, 247, 0.98) 0%, rgba(255, 248, 232, 0.98) 30%, rgba(238, 249, 240, 0.98) 65%, rgba(234, 242, 255, 0.98) 100%);
  box-shadow: 0 10px 32px rgba(47, 107, 255, 0.16);
}

[data-theme="dark"] .navbar.scrolled {
  background: linear-gradient(135deg, rgba(20, 10, 35, 0.99) 0%, rgba(10, 20, 42, 0.99) 50%, rgba(18, 10, 35, 0.99) 100%);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 48px; height: 48px;
  background: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--color-blue-light);
}

.logo-icon--white {
  background: rgba(255,255,255,0.15);
  box-shadow: none;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-brand {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.word-success { color: #FF3366; } /* Vibrant Coral-Pink */
.word-kids { color: #2F6BFF; }    /* Electric Royal Blue */

.logo-tagline {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.word-preschool { color: #00C853; } /* Emerald Green */
.word-amp { color: #FF8C00; }       /* Sunburst Orange */
.word-daycare { color: #8B5CF6; }   /* Vivid Purple */

.logo-brand--white .word-success { color: #FF659D; }
.logo-brand--white .word-kids { color: #60A5FA; }
.logo-tagline--white .word-preschool { color: #34D399; }
.logo-tagline--white .word-amp { color: #FBBF24; }
.logo-tagline--white .word-daycare { color: #C084FC; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 1;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-dark);
  padding: 7px 10px;
  border-radius: var(--radius-full);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.1px;
  white-space: nowrap;
}

.nav-links a[href="#about"]:hover, .nav-links a[href="#about"]:focus { color: #FF5FA8; background: rgba(255, 95, 168, 0.14); }
.nav-links a[href="#programs"]:hover, .nav-links a[href="#programs"]:focus { color: #2F6BFF; background: rgba(47, 107, 255, 0.14); }
.nav-links a[href="#activities"]:hover, .nav-links a[href="#activities"]:focus { color: #7C6AF6; background: rgba(124, 106, 246, 0.14); }
.nav-links a[href="#game-zone"]:hover, .nav-links a[href="#game-zone"]:focus { color: #FF7A59; background: rgba(255, 122, 89, 0.14); }
.nav-links a[href="#timetable"]:hover, .nav-links a[href="#timetable"]:focus { color: #1d4ed8; background: rgba(29, 78, 216, 0.12); }
.nav-links a[href="#gallery"]:hover, .nav-links a[href="#gallery"]:focus { color: #34C759; background: rgba(52, 199, 89, 0.14); }
.nav-links a[href="#testimonials"]:hover, .nav-links a[href="#testimonials"]:focus { color: #E040FB; background: rgba(224, 64, 251, 0.14); }
.nav-links a[href="#contact"]:hover, .nav-links a[href="#contact"]:focus { color: #0284C7; background: rgba(2, 132, 199, 0.14); }

.nav-cta {
  margin-left: 4px;
  padding: 9px 16px;
  font-size: 0.78rem;
  white-space: nowrap;
  flex-shrink: 0;
  background: linear-gradient(135deg, #FF5FA8 0%, #FF7A59 100%) !important;
  color: white !important;
  box-shadow: 0 4px 16px rgba(255, 95, 168, 0.35) !important;
  border: none !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-text-dark);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- THEME TOGGLE BUTTON ---- */
.theme-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text-mid);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.theme-btn:hover {
  background: var(--color-soft-bg);
  border-color: var(--color-blue-mid);
  color: var(--color-blue);
  transform: scale(1.05);
}

.theme-btn i {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-btn:active i {
  transform: scale(0.8) rotate(45deg);
}

.theme-btn:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 3px;
}

/* ---- NAV CARTOON — hanging monkey swinging below navbar ---- */
.nav-cartoon {
  position: fixed;
  top: var(--navbar-h);
  right: 80px;
  width: 110px;
  pointer-events: none;
  z-index: 88;
  transform-origin: 50% 0;
  animation: swingMonkey 8s ease-in-out infinite;
}

/* Vine / string above the monkey */
.nav-cartoon::before {
  content: '';
  display: block;
  width: 3px;
  height: 24px;
  margin: 0 auto;
  background: linear-gradient(to bottom, #4a7c2f 0%, #6ab04c 100%);
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

.nav-cartoon img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.22));
}

.floating-elephant {
  position: fixed;
  left: 16px;
  bottom: 20px;
  width: 120px;
  z-index: 90;
  pointer-events: none;
}

.floating-elephant img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.18));
}

/* Gentle pendulum arc swinging very slowly */
@keyframes swingMonkey {
  0%, 100% { transform: rotate(-10deg); }
  50%      { transform: rotate(10deg);  }
}

@media (max-width: 1024px) { .nav-cartoon { width: 90px; right: 64px; } .floating-elephant { width: 96px; left: 10px; bottom: 14px; } }
@media (max-width: 768px)  { .nav-cartoon { width: 72px; right: 52px; } .floating-elephant { width: 72px; left: 8px; bottom: 10px; } }


/* ===============================================
   HERO SECTION
   =============================================== */
.hero {
  min-height: 100vh;
  padding: calc(var(--navbar-h) + 36px) 0 56px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.90) 0%, rgba(255, 252, 248, 0.85) 50%, rgba(245, 250, 255, 0.88) 100%),
    radial-gradient(circle at 15% 20%, rgba(255, 150, 120, 0.32), transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(79, 140, 255, 0.28), transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(255, 215, 100, 0.32), transparent 45%);
  display: flex;
  align-items: center;
}

[data-theme="dark"] .hero {
  background:
    linear-gradient(135deg, rgba(15, 22, 41, 0.75) 0%, rgba(10, 15, 30, 0.85) 100%),
    radial-gradient(circle at 15% 20%, rgba(255, 122, 89, 0.15), transparent 35%),
    radial-gradient(circle at 85% 15%, rgba(47, 107, 255, 0.18), transparent 35%);
}

/* Animated background shapes */
.hero-bg-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.shape {
  position: absolute;
  border-radius: 50%;
  animation: floatShape 8s ease-in-out infinite;
}

.shape-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.18) 0%, transparent 70%);
  top: -120px; right: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255, 95, 168, 0.18) 0%, transparent 70%);
  top: 60%; left: -80px;
  animation-delay: 2s;
}

.shape-3 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(255, 200, 87, 0.28) 0%, transparent 70%);
  top: 20%; left: 32%;
  animation-delay: 4s;
}

.shape-4 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(52, 199, 89, 0.20) 0%, transparent 70%);
  bottom: 8%; right: 18%;
  animation-delay: 1s;
}

.shape-5 {
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(124, 106, 246, 0.22) 0%, transparent 70%);
  top: 42%; right: 8%;
  animation-delay: 3s;
}

@keyframes floatShape {
  0%, 100% { transform: translateY(0) scale(1); }
  33% { transform: translateY(-20px) scale(1.03); }
  66% { transform: translateY(12px) scale(0.98); }
}

.hero-container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--color-yellow), #FFE39A);
  color: var(--color-text-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  box-shadow: 0 12px 28px rgba(255,200,87,0.24);
  border: none;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--color-text-dark);
  margin-bottom: 18px;
}

.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--color-blue), #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  margin-top: 12px;
  font-family: var(--font-ui, 'Inter', sans-serif);
  color: var(--color-blue);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .2px;
  opacity: .95;
  transition: var(--transition-fast);
}
.tagline-quote {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-style: italic;
  color: var(--color-pink);
  font-weight: 600;
}
@media (max-width: 768px) {
  .hero {
    padding-top: calc(var(--navbar-h) + 24px);
    padding-bottom: 40px;
  }
  .hero-tagline { font-size: .95rem; text-align: center; padding: 0 1rem; }
  .hero-container { gap: 32px; }
  .hero-visual { height: 320px; }
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--color-text-mid);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-xl);
  padding: 16px 20px;
  box-shadow: 0 14px 40px rgba(24, 69, 200, 0.10);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  max-width: 540px;
  width: 100%;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 10px;
  flex: 1;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-blue);
  line-height: 1;
}

.stat-suffix { font-size: 1.3rem; font-weight: 800; color: var(--color-blue); }

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-mid);
  letter-spacing: 0.02em;
  margin-top: 4px;
  text-align: center;
  white-space: nowrap;
}

.stat-divider {
  width: 1.5px;
  height: 36px;
  background: rgba(124, 106, 246, 0.2);
  flex-shrink: 0;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 460px;
  width: 100%;
}

.hero-image-card {
  position: absolute;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

/* Main large image — top-right, takes up most of the visual area */
.hero-img-main {
  width: 66%;
  height: 72%;
  top: 0;
  right: 0;
  border-radius: var(--radius-xl);
  background: white;
  padding: 12px;
  box-shadow: var(--shadow-xl);
  border: 3px solid rgba(255,255,255,0.9);
}

.hero-img-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-lg);
  display: block;
}

/* Secondary smaller image — bottom-left, overlapping main */
.hero-img-secondary {
  width: 48%;
  height: 46%;
  bottom: 0;
  left: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--color-yellow-light), var(--color-orange-light));
  border: 4px solid var(--color-white);
  box-shadow: var(--shadow-xl);
  z-index: 2;
}

.hero-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-img-overlay-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(15, 23, 42, 0.88) 100%);
  color: #ffffff;
  padding: 16px 12px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 3;
}

.hero-img-overlay-tag i {
  color: var(--color-yellow-dark);
  font-size: 0.85rem;
}

.hero-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  z-index: 2;
  animation: floatBadge 4s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  backdrop-filter: blur(8px);
}

.hero-float-badge:hover {
  transform: scale(1.08) translateY(-4px);
  cursor: pointer;
}

.badge-safety {
  top: 8%;
  left: -5%;
  animation-delay: 0s;
  background: linear-gradient(135deg, #00C853 0%, #00B0FF 100%);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 25px rgba(0, 200, 83, 0.4), 0 4px 12px rgba(0, 176, 255, 0.3);
}

.badge-safety i {
  color: #ffffff;
  font-size: 1.05rem;
  background: rgba(255, 255, 255, 0.25);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.badge-learning {
  bottom: 16%;
  right: -4%;
  animation-delay: 2s;
  background: linear-gradient(135deg, #FF5FA8 0%, #7C6AF6 100%);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 25px rgba(255, 95, 168, 0.4), 0 4px 12px rgba(124, 106, 246, 0.3);
}

.badge-learning i {
  color: #ffffff;
  font-size: 1.05rem;
  background: rgba(255, 255, 255, 0.25);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}


/* ===============================================
   TRUST BAR
   =============================================== */
.trust-bar {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 246, 255, 0.95) 100%);
  padding: 36px 0;
  border-top: 3px solid rgba(47, 107, 255, 0.12);
  border-bottom: 3px solid rgba(47, 107, 255, 0.12);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 8px 24px rgba(47, 107, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.trust-item:hover {
  transform: translateY(-5px);
}

/* Green — Safety */
.trust-item--green {
  background: linear-gradient(135deg, #00C853 0%, #00B0FF 100%);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 25px rgba(0, 200, 83, 0.35);
  color: #ffffff;
}
.trust-item--green:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 35px rgba(0, 200, 83, 0.45);
}
.trust-icon--green {
  background: #ffffff;
  color: #00A843;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.trust-title--green {
  color: #ffffff !important;
  font-weight: 800;
}
.trust-item--green .trust-text span {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

/* Blue — Educators */
.trust-item--blue {
  background: linear-gradient(135deg, #2F6BFF 0%, #7C6AF6 100%);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 25px rgba(47, 107, 255, 0.35);
  color: #ffffff;
}
.trust-item--blue:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 35px rgba(47, 107, 255, 0.45);
}
.trust-icon--blue {
  background: #ffffff;
  color: #2F6BFF;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.trust-title--blue {
  color: #ffffff !important;
  font-weight: 800;
}
.trust-item--blue .trust-text span {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

/* Purple — Holistic */
.trust-item--purple {
  background: linear-gradient(135deg, #FF5FA8 0%, #8B5CF6 100%);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.35);
  color: #ffffff;
}
.trust-item--purple:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 35px rgba(236, 72, 153, 0.45);
}
.trust-icon--purple {
  background: #ffffff;
  color: #D946EF;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.trust-title--purple {
  color: #ffffff !important;
  font-weight: 800;
}
.trust-item--purple .trust-text span {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

/* Orange — Daycare */
.trust-item--orange {
  background: linear-gradient(135deg, #FF6B35 0%, #FFC857 100%);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.35);
  color: #ffffff;
}
.trust-item--orange:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 35px rgba(255, 107, 53, 0.45);
}
.trust-icon--orange {
  background: #ffffff;
  color: #FF6B35;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.trust-title--orange {
  color: #ffffff !important;
  font-weight: 800;
}
.trust-item--orange .trust-text span {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.trust-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.trust-text strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 800;
  margin-bottom: 3px;
}

.trust-text span {
  font-size: 0.78rem;
  color: var(--color-text-mid);
  line-height: 1.45;
}

[data-theme="dark"] .trust-bar {
  background: rgba(10, 15, 30, 0.85);
}
[data-theme="dark"] .trust-item {
  background: #0f1629;
}
[data-theme="dark"] .trust-title--green { color: #34D399 !important; }
[data-theme="dark"] .trust-title--blue { color: #60A5FA !important; }
[data-theme="dark"] .trust-title--purple { color: #C084FC !important; }
[data-theme="dark"] .trust-title--orange { color: #FDBA74 !important; }


/* ===============================================
   ABOUT SECTION
   =============================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  height: 440px;
}

.about-img-primary {
  position: absolute;
  width: 76%;
  height: 74%;
  top: 0; left: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--color-blue-light), var(--color-green-light));
}

.about-img-secondary {
  position: absolute;
  width: 50%;
  height: 46%;
  bottom: 0; right: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--color-pink-light), var(--color-yellow-light));
  border: 5px solid white;
  box-shadow: var(--shadow-lg);
}

.about-badge-experience {
  position: absolute;
  bottom: 30%;
  left: -20px;
  background: linear-gradient(135deg, var(--color-yellow), var(--color-orange));
  color: white;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-yellow);
  text-align: center;
  z-index: 2;
}

.badge-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.badge-text {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 4px;
  opacity: 0.9;
}

.about-content {
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.about-banner {
  width: 100%;
  margin: 0 0 16px;
  display: flex;
  justify-content: center;
}

.about-banner-content {
  max-width: 720px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#about .about-content .section-label,
#about .about-content .section-title,
#about .about-content .section-body {
  margin-left: auto;
  margin-right: auto;
}

#about .about-content .section-title {
  display: block;
  text-align: center;
  width: 100%;
  background: linear-gradient(135deg, #ffdce9 0%, #ffc9dc 100%);
  color: #7d3559;
  -webkit-text-fill-color: #7d3559;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid rgba(255, 182, 212, 0.85);
  box-shadow: 0 10px 24px rgba(214, 122, 163, 0.18);
}

#about .about-content .section-title em {
  color: #a64c77;
  -webkit-text-fill-color: #a64c77;
}

#programs .section-title,
#holistic .section-title,
#activities .section-title,
#game-zone .section-title,
#gallery .section-title,
#testimonials .section-title,
#admissions .section-title,
#contact .section-title {
  background: linear-gradient(135deg, #ffdce9 0%, #ffc9dc 100%);
  color: #7d3559;
  -webkit-text-fill-color: #7d3559;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid rgba(255, 182, 212, 0.85);
  box-shadow: 0 10px 24px rgba(214, 122, 163, 0.18);
}

#programs .section-title em,
#holistic .section-title em,
#activities .section-title em,
#game-zone .section-title em,
#gallery .section-title em,
#testimonials .section-title em,
#admissions .section-title em,
#contact .section-title em {
  color: #a64c77;
  -webkit-text-fill-color: #a64c77;
}

#about .about-content .section-body {
  max-width: 560px;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
  width: 100%;
  max-width: 560px;
}

.about-pillars li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--color-soft-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: var(--transition-mid);
  text-align: left;
}

.about-pillars li:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-blue-mid);
  transform: translateX(4px);
}

.pillar-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--color-blue), #3B82F6);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.about-pillars li strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-pillars li p {
  font-size: 0.85rem;
  color: var(--color-text-light);
}


/* ===============================================
   PROGRAMS SECTION
   =============================================== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.program-card {
  background: linear-gradient(135deg, #fff7fb 0%, #fff3e0 45%, #eef9f0 100%);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  border: 1px solid rgba(124, 106, 246, 0.16);
  box-shadow: 0 16px 38px rgba(47, 107, 255, 0.08);
  transition: var(--transition-mid);
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-blue), #3B82F6);
  opacity: 0;
  transition: var(--transition-fast);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 54px rgba(23,50,77,0.12);
  border-color: rgba(47,107,255,0.20);
}

.program-card:hover::before { opacity: 1; }

.program-card--featured {
  background: linear-gradient(135deg, #fff7fb 0%, #ffeaf2 100%);
  color: var(--color-text-dark);
  border-color: rgba(255, 182, 212, 0.85);
}

.program-card--featured::before { opacity: 1; background: linear-gradient(90deg, var(--color-blue), #3B82F6); }
.program-card--featured .program-body { color: #7d3559; }
.program-card--featured .program-features li { color: #7d3559; }
.program-card--featured .program-link { color: #a64c77; }
.program-card--featured .program-title { color: #7d3559; }

.program-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

/* Icon + badge/title side by side */
.program-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.program-card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.bg-blue   { background: linear-gradient(135deg, var(--color-blue), #3B82F6); }
.bg-yellow { background: linear-gradient(135deg, var(--color-yellow), #FBBF24); }
.bg-pink   { background: linear-gradient(135deg, var(--color-pink), #F472B6); }
.bg-green  { background: linear-gradient(135deg, var(--color-green), #34D399); }
.bg-purple { background: linear-gradient(135deg, var(--color-purple), #A78BFA); }
.bg-orange { background: linear-gradient(135deg, var(--color-orange), #FB923C); }

.program-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-blue);
  background: var(--color-blue-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 0;
}

.badge-featured {
  color: var(--color-orange);
  background: rgba(249,115,22,0.2);
}

.program-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0;
  color: var(--color-text-dark);
}

.program-body {
  font-size: 0.9rem;
  color: var(--color-text-mid);
  line-height: 1.65;
  margin-bottom: 20px;
}

.program-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.program-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-mid);
}

.program-features li i { color: var(--color-green); font-size: 0.8rem; flex-shrink: 0; }

.program-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-blue);
  transition: var(--transition-fast);
}

.program-link:hover { gap: 10px; }
.program-link i { font-size: 0.75rem; }

/* Super Kids brand tag on Play Zone card */
.program-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, #FF5FA8 0%, #7C6AF6 60%, #2F6BFF 100%);
  padding: 3px 11px;
  border-radius: var(--radius-full);
  width: fit-content;
}
.program-brand-tag i { font-size: 0.65rem; }

/* ===============================================
   SCHOOL KIT BANNER
   =============================================== */
.school-kit-banner {
  margin-top: 52px;
  background: linear-gradient(135deg, #fff7fb 0%, #f0f7ff 50%, #f0fff4 100%);
  border-radius: var(--radius-xl);
  border: 2px solid rgba(47, 107, 255, 0.12);
  box-shadow: 0 20px 50px rgba(47, 107, 255, 0.08);
  padding: 36px 40px;
  overflow: hidden;
  position: relative;
}

.school-kit-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, #2F6BFF 0%, #FF5FA8 33%, #34C759 66%, #7C6AF6 100%);
}

.school-kit-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.school-kit-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #FF5FA8, #7C6AF6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(124, 106, 246, 0.35);
}

.school-kit-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text-dark);
  margin: 0 0 4px;
}

.school-kit-subtitle {
  font-size: 0.92rem;
  color: var(--color-text-mid);
  margin: 0;
}

.school-kit-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.kit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border: 1.5px solid rgba(124, 106, 246, 0.1);
  transition: var(--transition-mid);
}

.kit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(47, 107, 255, 0.12);
}

.kit-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  flex-shrink: 0;
}

.kit-icon--blue   { background: linear-gradient(135deg, #2F6BFF, #3B82F6); box-shadow: 0 6px 16px rgba(47,107,255,0.35); }
.kit-icon--green  { background: linear-gradient(135deg, #34C759, #34D399); box-shadow: 0 6px 16px rgba(52,199,89,0.35); }
.kit-icon--orange { background: linear-gradient(135deg, #FF9500, #FB923C); box-shadow: 0 6px 16px rgba(255,149,0,0.35); }
.kit-icon--purple { background: linear-gradient(135deg, #7C6AF6, #A78BFA); box-shadow: 0 6px 16px rgba(124,106,246,0.35); }

.kit-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kit-label strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.kit-label span {
  font-size: 0.78rem;
  color: var(--color-text-mid);
  line-height: 1.4;
}


/* ===============================================
   HOLISTIC DEVELOPMENT
   =============================================== */
.holistic {
  background: transparent;
  position: relative;
}

.holistic .container {
  padding: 32px 24px;
}

.holistic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.holistic-card {
  background: linear-gradient(135deg, #fff7fb 0%, #fff3e0 45%, #eef9f0 100%);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 16px 38px rgba(47,107,255,0.08);
  border: 1px solid rgba(124, 106, 246, 0.16);
  transition: var(--transition-mid);
}

.holistic-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.hol-icon-wrap {
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-blue), #3B82F6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  box-shadow: var(--shadow-blue);
}

.hol-yellow { background: linear-gradient(135deg, var(--color-yellow), #FBBF24); box-shadow: var(--shadow-yellow); }
.hol-pink   { background: linear-gradient(135deg, var(--color-pink), #F472B6); }
.hol-green  { background: linear-gradient(135deg, var(--color-green), #34D399); }
.hol-purple { background: linear-gradient(135deg, var(--color-purple), #A78BFA); }
.hol-orange { background: linear-gradient(135deg, var(--color-orange), #FB923C); }

.holistic-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.holistic-card p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.65;
}


/* ===============================================
   ACTIVITIES SECTION
   =============================================== */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.activity-card {
  background: linear-gradient(135deg, #fff7fb 0%, #fff3e0 45%, #eef9f0 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(47,107,255,0.08);
  border: 1px solid rgba(124, 106, 246, 0.16);
  transition: var(--transition-mid);
}

.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.activity-img {
  height: 200px;
  position: relative;
}

.activity-img .img-placeholder-content {
  background: linear-gradient(135deg, var(--color-blue-light), var(--color-purple-light));
}

.activity-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: white;
  z-index: 1;
}

.badge-saffron { color: var(--color-saffron); }
.badge-pink    { color: var(--color-pink); }
.badge-blue    { color: var(--color-blue); }
.badge-green   { color: var(--color-green); }

.activity-content {
  padding: 20px 18px 24px;
  box-sizing: border-box;
  width: 100%;
}

.activity-content h3 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.activity-content p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.6;
}


/* ===============================================
   WHY CHOOSE US
   =============================================== */
.why-us-banner {
  justify-content: center;
  margin: 0 auto 28px;
}

.why-us-banner .section-body--tagline {
  width: 100%;
  max-width: 760px;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-us-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.why-feature {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px;
  background: linear-gradient(135deg, #fff7fb 0%, #fff3e0 45%, #eef9f0 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(124, 106, 246, 0.16);
  transition: var(--transition-mid);
}

.why-feature:hover {
  border-color: var(--color-blue-mid);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-blue), #3B82F6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.why-yellow { background: linear-gradient(135deg, var(--color-yellow), #FBBF24); }
.why-green  { background: linear-gradient(135deg, var(--color-green), #34D399); }
.why-pink   { background: linear-gradient(135deg, var(--color-pink), #F472B6); }

.why-feature strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.why-feature p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Safety View Photo Button */
.safety-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--color-blue), #3B82F6);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(47, 107, 255, 0.25);
  transition: all 0.25s ease;
}

.safety-view-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(47, 107, 255, 0.35);
  background: linear-gradient(135deg, #1d56e0, #2563eb);
}

.safety-view-btn i {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.safety-view-btn:hover i {
  transform: translateX(3px);
}

/* Safety Lightbox Modal Overlay */
.safety-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.safety-lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.safety-lightbox-inner {
  position: relative;
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.safety-lightbox.open .safety-lightbox-inner {
  transform: scale(1);
}

.safety-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
}

.safety-lightbox-close:hover {
  background: #ef4444;
  color: #ffffff;
  transform: rotate(90deg) scale(1.1);
}

.safety-lightbox-img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  background: #0f172a;
  display: block;
}

.safety-lightbox-caption {
  width: 100%;
  padding: 14px 20px;
  background: #ffffff;
  color: var(--color-text-dark);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.safety-lightbox-caption i {
  color: var(--color-pink);
}

.why-us-visual {
  position: relative;
  height: 480px;
  margin-top: 24px;
}

.why-img-main {
  width: 100%;
  height: 92%;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--color-pink-light), var(--color-blue-light));
  overflow: hidden;
}

.why-floating-cards {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
}

.why-float-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-size: 0.82rem;
  white-space: nowrap;
}

.why-float-card i { font-size: 1.4rem; }
.card-blue i { color: var(--color-blue); }
.card-yellow i { color: var(--color-yellow); }

.why-float-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.why-float-card span { color: var(--color-text-light); }


/* ===============================================
   GAME ZONE SECTION — scenic sky + rainbow + grass
   =============================================== */
.game-zone {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: linear-gradient(180deg, #87CEEB 0%, #b0e0f8 55%, #87CEEB 100%);
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---- Sky layer (rainbow + balloons + monkey) ---- */
.gz-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Rainbow arc */
.gz-rainbow {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 860px;
  height: 430px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: transparent;
  border: 0px solid transparent;
  box-shadow:
    0   0  0  18px #FF0000,
    0   0  0  36px #FF7F00,
    0   0  0  54px #FFFF00,
    0   0  0  72px #00BB44,
    0   0  0  90px #0000FF,
    0   0  0 108px #8B00FF;
  opacity: 0.55;
}

/* Balloon base */
.gz-balloon {
  position: absolute;
  top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: floatBalloon 5s ease-in-out infinite;
}
.gz-balloon--left  { left: 3%; animation-delay: 0s; }
.gz-balloon--right { right: 3%; animation-delay: 2s; }

.gz-balloon__body {
  width: 52px;
  height: 64px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow: inset -6px -6px 12px rgba(0,0,0,0.18);
}
.gz-balloon__string {
  width: 1.5px;
  height: 60px;
  background: rgba(0,0,0,0.3);
  margin-top: 2px;
}

@keyframes floatBalloon {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%       { transform: translateY(-14px) rotate(3deg); }
}

/* Monkey */
.gz-monkey {
  position: absolute;
  top: 0;
  right: 9%;
  width: 90px;
}
.gz-monkey img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

/* ---- Header card ---- */
.gz-header-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-top: 48px;
  padding: 0 24px;
}

.gz-header-card {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(200,160,230,0.30);
  border-radius: 28px;
  padding: 22px 48px 18px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(47,107,255,0.12), inset 0 1px 0 rgba(255,255,255,0.9);
  max-width: 520px;
  width: 100%;
}

.gz-title {
  font-family: 'Fredoka', 'Comic Sans MS', cursive !important;
  font-size: clamp(2rem, 5vw, 2.8rem) !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  /* background/border/pill overrides from unified heading CSS —
     reset them here so header-card is the container, not the pill */
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: block !important;
  border-radius: 0 !important;
}

.gz-subtitle {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  font-family: 'Fredoka', 'Comic Sans MS', cursive;
}

/* ---- Grass + cards layer ---- */
.gz-grass-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 40px;
}

.gz-grass {
  width: 100%;
  height: 90px;
  background:
    radial-gradient(ellipse 120% 60% at 50% 100%, #4CAF50 60%, #388E3C 100%);
  border-radius: 50% 50% 0 0 / 40% 40% 0 0;
  position: absolute;
  bottom: 0;
  left: 0;
}

/* Cards row sits just above the grass */
.gz-cards-row {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0 24px 60px;
  flex-wrap: wrap;
}

/* Individual card */
.gz-card {
  width: 200px;
  flex-shrink: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gz-card:hover { transform: translateY(-6px); }

.gz-card__img-wrap {
  width: 200px;
  height: 180px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #ffe7f0, #d4f5e2);
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
  border: 3px solid rgba(255,255,255,0.9);
}
.gz-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gz-card__caption {
  margin-top: 10px;
  font-family: 'Fredoka', 'Comic Sans MS', cursive;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  background: rgba(255,255,255,0.7);
  border-radius: 999px;
  padding: 4px 16px;
  backdrop-filter: blur(4px);
}

/* Add Photo card */
.gz-card--add .gz-card__img-wrap {
  background: linear-gradient(135deg, #FF5FA8, #FF7A59);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.gz-add-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  font-family: 'Fredoka', 'Comic Sans MS', cursive;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.gz-add-inner i { font-size: 1.8rem; }
.gz-card--add:focus-visible { outline: 3px solid var(--color-pink); outline-offset: 4px; }

/* ---- Dark mode ---- */
[data-theme="dark"] .game-zone {
  background: linear-gradient(180deg, #0a1828 0%, #0d2235 55%, #0a1828 100%);
}
[data-theme="dark"] .gz-header-card {
  background: rgba(10,18,40,0.85);
  border-color: rgba(130,90,180,0.25);
}
[data-theme="dark"] .gz-subtitle { color: var(--color-text-mid); }
[data-theme="dark"] .gz-grass {
  background: radial-gradient(ellipse 120% 60% at 50% 100%, #1a3d1a 60%, #0f2610 100%);
}
[data-theme="dark"] .gz-card__caption {
  background: rgba(10,18,40,0.7);
}
[data-theme="dark"] .gz-balloon__string { background: rgba(255,255,255,0.3); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .gz-rainbow { width: 500px; height: 250px; }
  .gz-monkey  { width: 64px; right: 4%; }
  .gz-header-card { padding: 18px 24px 14px; }
  .gz-card    { width: 160px; }
  .gz-card__img-wrap { width: 160px; height: 140px; }
  .gz-balloon--left  { left: 1%; }
  .gz-balloon--right { right: 1%; }
}
@media (max-width: 480px) {
  .gz-cards-row { gap: 12px; padding-bottom: 48px; }
  .gz-card      { width: 140px; }
  .gz-card__img-wrap { width: 140px; height: 120px; }
  .gz-rainbow   { width: 340px; height: 170px; }
}


/* ===============================================
   GALLERY SECTION
   =============================================== */
.gallery-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: -12px;
  margin-bottom: 36px;
  width: 100%;
}

.gallery-filters {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(47, 107, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(124, 106, 246, 0.2);
}

.gallery-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--color-text-dark);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.gallery-filter-btn i {
  font-size: 0.85rem;
  color: var(--color-blue);
  transition: color 0.25s ease;
}

.gallery-filter-btn:hover {
  background: rgba(47, 107, 255, 0.08);
  color: var(--color-blue);
}

.gallery-filter-btn.active {
  background: linear-gradient(135deg, var(--color-blue), #3B82F6);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(47, 107, 255, 0.3);
}

.gallery-filter-btn.active i {
  color: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 20px;
}

.gallery-item { overflow: hidden; border-radius: var(--radius-xl); background: linear-gradient(135deg, #fff7fb 0%, #fff3e0 45%, #eef9f0 100%); border: 1px solid rgba(124, 106, 246, 0.16); }
.gallery-item--large { grid-column: span 2; }
.gallery-item--tall, .gallery-item--vertical { grid-row: span 2; grid-column: span 1; }

.gallery-img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--color-blue-light), var(--color-purple-light));
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.gallery-img .img-placeholder-content i { font-size: 3rem; }

/* ---- Gallery "View More" toggle ---- */
.gallery-item--extra {
  display: none;
}

.gallery-grid.gallery-expanded .gallery-item--extra {
  display: block;
}

.gallery-view-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.gallery-view-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(124, 106, 246, 0.25);
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(248,242,255,0.95));
  color: var(--color-blue);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.12);
  backdrop-filter: blur(8px);
}

.gallery-view-more-btn:hover {
  background: linear-gradient(135deg, var(--color-blue), #3B82F6);
  color: #ffffff;
  border-color: var(--color-blue);
  box-shadow: 0 8px 28px rgba(47, 107, 255, 0.3);
  transform: translateY(-2px);
}

.gallery-view-more-btn i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.gallery-view-more-btn:hover i {
  transform: translateY(3px);
}

.gallery-view-more-btn[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.gallery-view-more-btn[aria-expanded="true"]:hover i {
  transform: rotate(180deg) translateY(3px);
}

[data-theme="dark"] .gallery-view-more-btn {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  color: #93c5fd;
}

[data-theme="dark"] .gallery-view-more-btn:hover {
  background: linear-gradient(135deg, var(--color-blue), #3B82F6);
  color: #ffffff;
  border-color: var(--color-blue);
}


/* ===============================================
   TESTIMONIALS
   =============================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: linear-gradient(135deg, #fff7fb 0%, #fff3e0 45%, #eef9f0 100%);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  border: 1px solid rgba(124, 106, 246, 0.16);
  box-shadow: 0 10px 24px rgba(47,107,255,0.08);
  transition: var(--transition-mid);
  quotes: none;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card--featured {
  background: linear-gradient(135deg, rgba(255,247,251,0.98) 0%, rgba(255,243,224,0.98) 50%, rgba(238,249,240,0.98) 100%);
  color: var(--color-text-dark);
  border-color: rgba(124, 106, 246, 0.18);
}

.testimonial-card--featured p { color: var(--color-text-mid); }
.testimonial-card--featured .author-name { color: var(--color-text-dark); }
.testimonial-card--featured .author-role { color: var(--color-text-light); }

/* ---- Review form (inside Testimonials) ---- */
.review-form-card {
  background: linear-gradient(135deg, #fff7fb 0%, #fff3e0 45%, #eef9f0 100%);
  border-radius: var(--radius-xl);
  padding: 20px 22px;
  border: 1px solid rgba(124, 106, 246, 0.16);
  box-shadow: 0 10px 24px rgba(47,107,255,0.08);
  margin-bottom: 20px;
}

.review-form-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.review-form .form-group { margin-bottom: 12px; }
.review-form input[type="text"], .review-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  font-size: 0.95rem;
  color: var(--color-text-dark);
}

.rating-stars { display: inline-flex; gap: 6px; }
.rating-stars .star {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.06);
  width: 40px; height: 40px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
}
.rating-stars .star:hover { transform: translateY(-2px); }
.rating-stars .star.active, .rating-stars .star.selected { background: linear-gradient(135deg, var(--color-blue), #3B82F6); color: white; border-color: transparent; }

/* New reviews should match testimonial card style when added */
.testimonial-card.new-review { border-color: var(--color-border); }

.stars {
  display: flex;
  gap: 3px;
  color: var(--color-yellow);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.testimonial-card p {
  font-size: 0.93rem;
  color: var(--color-text-mid);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-pink), var(--color-purple));
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-avatar--blue  { background: linear-gradient(135deg, var(--color-blue), #3B82F6); }
.author-avatar--green { background: linear-gradient(135deg, var(--color-green), #34D399); }

.author-name {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  font-style: normal;
}

.author-role {
  font-size: 0.78rem;
  color: var(--color-text-light);
  display: block;
  margin-top: 2px;
}


/* ===============================================
   ADMISSIONS SECTION
   =============================================== */
.admissions-banner {
  text-align: center;
  margin-bottom: 64px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: var(--radius-xl);
  padding: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 56px;
}

.step-card {
  background: linear-gradient(135deg, rgba(255,247,251,0.95) 0%, rgba(255,243,224,0.95) 45%, rgba(238,249,240,0.95) 100%);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(124, 106, 246, 0.16);
  box-shadow: 0 10px 24px rgba(47,107,255,0.08);
  transition: var(--transition-mid);
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.step-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-border);
  line-height: 1;
  position: absolute;
  top: 12px; right: 20px;
}

.step-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-blue), #3B82F6);
  color: white;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.step-icon--yellow { background: linear-gradient(135deg, var(--color-yellow), #FBBF24); }
.step-icon--pink   { background: linear-gradient(135deg, var(--color-pink), #F472B6); }
.step-icon--green  { background: linear-gradient(135deg, var(--color-green), #34D399); }

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.84rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.step-arrow {
  color: var(--color-border);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.admissions-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ===============================================
   FAQ SECTION
   =============================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: linear-gradient(135deg, #fff7fb 0%, #fff3e0 45%, #eef9f0 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(124, 106, 246, 0.16);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item[open] { border-color: var(--color-blue-mid); box-shadow: var(--shadow-md); }
.faq-item[open] .faq-question { color: var(--color-blue); }

.faq-question {
  padding: 22px 24px;
  font-size: 0.97rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
  transition: var(--transition-fast);
}

.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; }

.faq-question::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--color-text-light);
  transition: var(--transition-fast);
  flex-shrink: 0;
}

details[open] .faq-question::after { transform: rotate(180deg); color: var(--color-blue); }

.faq-answer {
  padding: 0 24px 22px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--color-text-mid);
  line-height: 1.7;
}


/* ===============================================
   FOUNDER & LEADERSHIP CARD
   =============================================== */
.founder-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: start;
  background: linear-gradient(135deg, #ffffff 0%, #f7faff 60%, #eef4ff 100%);
  border-radius: var(--radius-xl);
  padding: 32px 36px 32px 40px;
  border: 1.5px solid rgba(47, 107, 255, 0.18);
  box-shadow: 0 16px 40px rgba(47, 107, 255, 0.10);
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}

.founder-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 100%;
  background: linear-gradient(180deg, var(--color-blue), var(--color-pink), var(--color-purple));
}

.founder-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  height: 340px;
  width: 100%;
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
  transition: transform 0.5s ease;
}

.founder-card:hover .founder-img {
  transform: scale(1.04);
}

.founder-badge {
  position: absolute;
  bottom: 12px; left: 12px; right: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-blue-dark);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.founder-badge i {
  color: var(--color-yellow-dark);
  font-size: 0.95rem;
}

.founder-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.founder-role-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--color-blue-light), var(--color-purple-light));
  color: var(--color-blue);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: fit-content;
}

.founder-name {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--color-text-dark);
  line-height: 1.2;
}

.founder-degrees {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-purple);
  display: flex;
  align-items: center;
  gap: 8px;
}

.founder-orgs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.founder-org-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.founder-org-tag--blue {
  background: rgba(47, 107, 255, 0.08);
  color: var(--color-blue);
  border-color: rgba(47, 107, 255, 0.2);
}

.founder-org-tag--green {
  background: rgba(52, 199, 89, 0.08);
  color: #278a3d;
  border-color: rgba(52, 199, 89, 0.25);
}

.founder-bio {
  font-size: 0.92rem;
  color: var(--color-text-mid);
  line-height: 1.7;
}

.founder-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.founder-highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.85);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(47, 107, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.founder-highlight-item i {
  color: var(--color-pink);
  font-size: 1.05rem;
  flex-shrink: 0;
}

[data-theme="dark"] .founder-card {
  background: linear-gradient(135deg, #0f1629 0%, #14203e 100%);
  border-color: rgba(79, 130, 255, 0.25);
}

[data-theme="dark"] .founder-badge {
  background: rgba(15, 22, 41, 0.9);
  color: #fff;
}

[data-theme="dark"] .founder-highlight-item {
  background: rgba(20, 32, 62, 0.8);
  border-color: rgba(79, 130, 255, 0.2);
  color: var(--color-text-dark);
}

[data-theme="dark"] .founder-org-tag--blue {
  background: rgba(47, 107, 255, 0.2);
  color: #709dff;
}

[data-theme="dark"] .founder-org-tag--green {
  background: rgba(52, 199, 89, 0.2);
  color: #5cdb7a;
}


/* ===============================================
   CONTACT SECTION
   =============================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-card {
  background: linear-gradient(135deg, rgba(255,247,251,0.95) 0%, rgba(255,243,224,0.95) 45%, rgba(238,249,240,0.95) 100%);
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid rgba(124, 106, 246, 0.16);
  box-shadow: 0 12px 30px rgba(47,107,255,0.10);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-blue), #3B82F6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-icon--yellow { background: linear-gradient(135deg, var(--color-yellow), #FBBF24); }
.contact-icon--green  { background: linear-gradient(135deg, var(--color-green), #34D399); }
.contact-icon--pink   { background: linear-gradient(135deg, var(--color-pink), #F472B6); }

.contact-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}

.contact-item address, .contact-item p {
  font-size: 0.88rem;
  color: var(--color-text-mid);
  line-height: 1.6;
}

.contact-phones { display: flex; flex-direction: column; gap: 6px; }

.phone-link, .email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-blue);
  transition: var(--transition-fast);
}

.phone-link:hover, .email-link:hover { color: var(--color-blue); gap: 12px; }
.phone-link i, .email-link i { font-size: 0.85rem; }

/* Map Placeholder */
.map-placeholder {
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--color-blue-light), var(--color-soft-bg));
  border: 1px solid var(--color-border);
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-inner {
  text-align: center;
  padding: 36px 24px;
}

.map-inner i {
  font-size: 3rem;
  color: var(--color-blue);
  margin-bottom: 12px;
  display: block;
}

.map-inner p {
  font-size: 0.88rem;
  color: var(--color-text-mid);
  margin-bottom: 6px;
}

.map-inner .btn { margin-top: 16px; }

/* Contact Form */
.contact-form-wrap {
  background: rgba(255,255,255,0.24);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.34);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--color-text-dark);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
}

.form-group:not(.form-row .form-group) { margin-bottom: 20px; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.form-group label span { color: var(--color-pink); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--color-text-dark);
  background: var(--color-soft-bg);
  transition: var(--transition-fast);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--color-pink);
  box-shadow: 0 0 0 3px rgba(236,72,153,0.1);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.field-error {
  font-size: 0.78rem;
  color: var(--color-pink);
  font-weight: 500;
  min-height: 18px;
}

.form-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--color-text-light);
  text-align: center;
}

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  background: var(--color-green-light);
  border: 1px solid var(--color-green);
  color: #065f46;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

.form-success.show { display: flex; }
.form-success i { color: var(--color-green); font-size: 1.2rem; }


/* ===============================================
   FOOTER
   =============================================== */
.footer {
  position: relative;
  background: linear-gradient(135deg, #160D35 0%, #0D1B3E 40%, #1F0A36 75%, #0A1C2E 100%) !important;
  color: rgba(255,255,255,0.85);
  border-top: 4px solid;
  border-image: linear-gradient(90deg, #FF5FA8 0%, #FF7A59 20%, #FFC857 40%, #34C759 60%, #2F6BFF 80%, #7C6AF6 100%) 1;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -120px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255, 95, 168, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.footer::after {
  content: '';
  position: absolute;
  bottom: -120px; right: -100px;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.footer-top { padding: 72px 0 48px; position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-about {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  margin: 20px 0 24px;
  max-width: 280px;
}

.social-links { display: flex; gap: 12px; }

.social-link {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  font-size: 1rem;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.social-link[aria-label*="Facebook"] {
  background: linear-gradient(135deg, #1877F2, #0052B4) !important;
}

.social-link[aria-label*="Instagram"] {
  background: linear-gradient(135deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888) !important;
}

.social-link[aria-label*="Threads"] {
  background: linear-gradient(135deg, #8B5CF6, #6366F1) !important;
}

.social-link[aria-label*="YouTube"] {
  background: linear-gradient(135deg, #FF0000, #B30000) !important;
}

.social-link.social-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E) !important;
}

.social-link:hover {
  transform: translateY(-4px) scale(1.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-block;
  padding: 6px 18px !important;
  border-radius: 999px !important;
  margin-bottom: 20px;
}

.footer-nav:nth-of-type(1) .footer-heading {
  background: linear-gradient(135deg, rgba(255, 95, 168, 0.28), rgba(255, 122, 89, 0.28)) !important;
  border: 1.5px solid rgba(255, 95, 168, 0.45) !important;
  color: #FFB3D9 !important;
}

.footer-nav:nth-of-type(2) .footer-heading {
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.28), rgba(124, 106, 246, 0.28)) !important;
  border: 1.5px solid rgba(47, 107, 255, 0.45) !important;
  color: #B3D1FF !important;
}

.footer-contact-info .footer-heading {
  background: linear-gradient(135deg, rgba(52, 199, 89, 0.28), rgba(0, 180, 216, 0.28)) !important;
  border: 1.5px solid rgba(52, 199, 89, 0.45) !important;
  color: #B3F5C9 !important;
}

.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }

.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  transition: all 0.2s ease;
}

.footer-nav li:nth-child(1) a:hover { color: #FF5FA8; padding-left: 6px; }
.footer-nav li:nth-child(2) a:hover { color: #FFC857; padding-left: 6px; }
.footer-nav li:nth-child(3) a:hover { color: #34C759; padding-left: 6px; }
.footer-nav li:nth-child(4) a:hover { color: #00B4D8; padding-left: 6px; }
.footer-nav li:nth-child(5) a:hover { color: #2F6BFF; padding-left: 6px; }
.footer-nav li:nth-child(6) a:hover { color: #7C6AF6; padding-left: 6px; }

.footer-contact-info { display: flex; flex-direction: column; gap: 18px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
}

.footer-contact-item i.fa-map-marker-alt {
  color: #FF5FA8 !important;
  margin-top: 2px;
  font-size: 1rem;
  flex-shrink: 0;
}

.footer-contact-item i.fa-phone {
  color: #34C759 !important;
  margin-top: 2px;
  font-size: 1rem;
  flex-shrink: 0;
}

.footer-contact-item i.fa-clock {
  color: #FFC857 !important;
  margin-top: 2px;
  font-size: 1rem;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.75);
  transition: var(--transition-fast);
}

.footer-contact-item a:hover { color: #34C759; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); }


/* ===============================================
   FLOATING BUTTONS
   =============================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 8px 32px rgba(37,211,102,0.45);
  transition: var(--transition-mid);
  animation: pulse-whatsapp 3s ease infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 16px 48px rgba(37,211,102,0.55);
}

.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: var(--color-text-dark);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
}

.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 8px 32px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 8px 48px rgba(37,211,102,0.65), 0 0 0 10px rgba(37,211,102,0.1); }
}

.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 900;
  width: 48px;
  height: 48px;
  background: var(--color-white);
  color: var(--color-blue);
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-mid);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover { background: var(--color-blue); color: white; }


/* ===============================================
   RESPONSIVE – TABLET (≤ 1100px)
   =============================================== */
@media (max-width: 1100px) {
  .hero-container { gap: 40px; }
  .about-grid { gap: 40px; }
  .hero-title { font-size: clamp(2rem, 4vw, 3rem); }
  .hero-visual { height: 400px; }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .holistic-grid { grid-template-columns: repeat(2, 1fr); }
  .activities-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us-grid { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:not(:last-child) { border-right: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gallery-item--large { grid-column: span 2; }
}

/* ===============================================
   RESPONSIVE – MOBILE (≤ 768px)
   =============================================== */
@media (max-width: 768px) {
  :root { --navbar-h: 68px; }

  .navbar {
    overflow: hidden;
  }

  .nav-container {
    gap: 12px;
    width: 100%;
    min-width: 0;
  }

  .nav-logo {
    min-width: 0;
    flex: 1 1 auto;
  }

  .container,
  .section-header,
  .about-section-header,
  .hero-container,
  .hero-content,
  .hero-visual,
  .trust-item,
  .program-card,
  .holistic-card,
  .activity-card,
  .why-feature,
  .step-card,
  .testimonial-card,
  .faq-item,
  .contact-form,
  .contact-info-card,
  .upload-modal__content,
  .footer-col,
  .gallery-item {
    max-width: 100%;
  }

  * {
    max-width: 100%;
    box-sizing: border-box;
  }

  p, li, span, h1, h2, h3, h4, h5, h6, button, a, input, textarea, select {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .section-padding { padding: 72px 0; }
  .section-title { font-size: clamp(1.7rem, 7vw, 2.3rem); }
  .section-subtitle { font-size: 0.95rem; }

  /* Navbar */
  .nav-links {
    position: fixed;
    top: var(--navbar-h);
    left: 0; right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 28px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-mid);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a { padding: 12px 16px; border-radius: var(--radius-md); }
  .hamburger { display: flex; }
  .nav-cta { display: none; }

  /* Hero */
  .hero { min-height: auto; padding: calc(var(--navbar-h) + 24px) 0 48px; }
  .hero-container { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-subtitle { margin: 0 auto 24px; max-width: 100%; }
  .hero-actions { justify-content: center; margin-bottom: 24px; }
  .hero-stats {
    width: 100%;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 14px;
  }
  .stat-item { padding: 0 10px; }
  .stat-divider { display: none; }
  .hero-visual { height: 300px; width: min(100%, 360px); margin: 0 auto; }
  .program-card,
  .holistic-card,
  .activity-card,
  .step-card,
  .testimonial-card,
  .faq-item,
  .why-feature {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .hero-img-main { width: 82%; height: 80%; }
  .hero-img-secondary { width: 58%; height: 50%; }
  .badge-safety { left: 0; top: -10px; font-size: 0.72rem; }
  .badge-learning { right: 0; font-size: 0.72rem; }

  /* Trust Bar */
  .trust-grid { grid-template-columns: 1fr 1fr; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-visuals { display: none; }
  .about-content { padding: 0; }
  .about-badge-experience { display: none; }

  /* Programs */
  .programs-grid { grid-template-columns: 1fr; }

  /* Holistic */
  .holistic-grid { grid-template-columns: 1fr; }

  /* Activities */
  .activities-grid { grid-template-columns: 1fr; }

  /* Why Us */
  .why-us-grid { grid-template-columns: 1fr; }
  .why-us-visual { display: none; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item {
    min-width: 0;
    width: 100%;
  }
  .gallery-item--large { grid-column: span 2; }
  .gallery-item--tall, .gallery-item--vertical { grid-row: span 2; grid-column: span 1; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Admissions */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .step-arrow { display: none; }

  /* Contact */
  .founder-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 20px 24px 26px;
  }
  .founder-img-wrap { height: 280px; }
  .founder-highlights { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-about { max-width: 100%; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  /* Floating Buttons */
  .whatsapp-float { width: 52px; height: 52px; font-size: 1.5rem; bottom: 20px; right: 20px; }
  .holistic-card p,
  .program-card p,
  .activity-card p,
  .step-card p,
  .testimonial-card p,
  .faq-item p,
  .why-feature p,
  .contact-info-card p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .outcome-card,
  .rainbow-heading,
  .rainbow-char {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .rainbow-heading {
    white-space: normal;
    display: block;
  }

  .rainbow-char {
    display: inline;
    white-space: normal;
  }
  .scroll-top { bottom: 84px; right: 20px; }
}


/* ===============================================
   PHOTO UPLOAD MODAL & CUSTOM GALLERY STYLES
   =============================================== */
.upload-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.upload-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.upload-modal__content {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  width: 100%;
  max-width: 540px;
  padding: 36px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.upload-modal.open .upload-modal__content {
  transform: translateY(0);
}

.upload-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--color-soft-bg);
  color: var(--color-text-mid);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  padding-bottom: 4px;
}

.upload-modal__close:hover {
  background: #ef4444;
  color: white;
}

.upload-modal__title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.upload-modal__desc {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.5;
  margin-bottom: 28px;
}

.upload-modal__form .form-group {
  margin-bottom: 20px;
}

.upload-modal__form .form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.file-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  background: var(--color-soft-bg);
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.file-dropzone:hover, .file-dropzone.dragover {
  border-color: var(--color-blue);
  background: var(--color-blue-light);
}

.file-dropzone i {
  font-size: 2rem;
  color: var(--color-text-light);
  transition: var(--transition-fast);
}

.file-dropzone:hover i, .file-dropzone.dragover i {
  color: var(--color-blue);
  transform: translateY(-2px);
}

.file-dropzone span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-mid);
}

.file-preview-container {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 160px;
  border: 1px solid var(--color-border);
}

.file-preview-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-remove-file {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: rgba(15, 23, 42, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.btn-remove-file:hover {
  background: rgba(239, 68, 68, 0.9);
}

.form-error {
  display: block;
  font-size: 0.78rem;
  color: #ef4444;
  margin-top: 6px;
  font-weight: 500;
}

.upload-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

/* Custom Gallery Item Actions */
.gallery-item {
  position: relative;
}

.gallery-item__delete {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.9);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  opacity: 0;
  transform: scale(0.9);
  transition: var(--transition-fast);
}

.gallery-item:hover .gallery-item__delete,
.gallery-item:focus-within .gallery-item__delete,
.game-card:hover .gallery-item__delete,
.game-card:focus-within .gallery-item__delete {
  opacity: 1;
  transform: scale(1);
}

.gallery-item__delete:hover {
  background: #dc2626;
  transform: scale(1.08);
}

/* Dark mode modal overrides */
[data-theme="dark"] .upload-modal {
  background: rgba(10, 15, 30, 0.6);
}

[data-theme="dark"] .file-dropzone {
  border-color: #334155;
  background: #111520;
}

[data-theme="dark"] .file-dropzone:hover,
[data-theme="dark"] .file-dropzone.dragover {
  border-color: var(--color-blue);
  background: #1e293b;
}

[data-theme="dark"] .upload-modal__close {
  background: #1e293b;
}

[data-theme="dark"] .upload-modal__close:hover {
  background: #ef4444;
}


/* ===============================================
   RESPONSIVE – SMALL MOBILE (≤ 480px)
   =============================================== */
@media (max-width: 480px) {
  .hero-title,
  .section-title,
  .section-header h2.section-title,
  .about-section-header h2.section-title,
  .program-title,
  .holistic-card h3,
  .activity-content h3,
  .step-card h3,
  .form-title,
  .review-form-title,
  .upload-modal__title,
  .game-zone .section-header h2,
  .footer-heading {
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: break-word;
  }

  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-large { width: 100%; }
  .hero-stats { flex-direction: column; align-items: center; }
  .trust-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--large { grid-column: span 1; }
  .admissions-cta { flex-direction: column; align-items: center; }
  .floating-elephant { width: 64px; }
}


/* ===============================================
   DARK MODE – SECTION & COMPONENT OVERRIDES
   =============================================== */

/* Body */
[data-theme="dark"] body {
  color: var(--color-text-dark);
}

/* Hero */
[data-theme="dark"] .hero {
  background: linear-gradient(150deg, #0d1520 0%, #12151f 40%, #1a1207 100%);
}

[data-theme="dark"] .hero-stats {
  background: var(--color-white);
  border-color: var(--color-border);
}

/* Holistic */
[data-theme="dark"] .holistic {
  background: linear-gradient(160deg, #12151f 0%, #0d1520 50%, #12151f 100%);
}

/* Cards */
[data-theme="dark"] .program-card,
[data-theme="dark"] .holistic-card,
[data-theme="dark"] .activity-card,
[data-theme="dark"] .step-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .faq-item {
  background: var(--color-white);
  border-color: var(--color-border);
}

[data-theme="dark"] .program-card--featured {
  background: linear-gradient(135deg, #0a0e1a, #1A56DB);
}

[data-theme="dark"] .testimonial-card--featured {
  background: linear-gradient(135deg, #0a0e1a 0%, #1a1d2e 100%);
  border-color: var(--color-blue);
}

/* About pillars */
[data-theme="dark"] .about-pillars li {
  background: var(--color-white);
  border-color: var(--color-border);
}

/* Why-us features */
[data-theme="dark"] .why-feature {
  background: var(--color-white);
  border-color: var(--color-border);
}

/* FAQ */
[data-theme="dark"] .faq-item {
  background: var(--color-white);
  border-color: var(--color-border);
}

[data-theme="dark"] .faq-question {
  color: var(--color-text-dark);
}

[data-theme="dark"] .faq-answer { color: var(--color-text-mid); }

/* Contact */
[data-theme="dark"] .contact-form,
[data-theme="dark"] .contact-info-card {
  background: var(--color-white);
  border-color: var(--color-border);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-input,
[data-theme="dark"] .form-textarea,
[data-theme="dark"] .form-select {
  background: var(--color-soft-bg);
  border-color: var(--color-border);
  color: var(--color-text-dark);
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder,
[data-theme="dark"] .form-input::placeholder,
[data-theme="dark"] .form-textarea::placeholder {
  color: var(--color-text-light);
}

[data-theme="dark"] .form-group select option {
  background: #1a1d2e;
  color: var(--color-text-dark);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
  background: #1a1d2e;
  border-color: var(--color-blue);
}

/* Why-us floating cards */
[data-theme="dark"] .why-float-card {
  background: var(--color-white);
}

/* Scroll-to-top */
[data-theme="dark"] .scroll-top {
  background: var(--color-white);
  border-color: var(--color-border);
}

/* Hero float badges */
[data-theme="dark"] .hero-float-badge {
  background: #1a1d2e;
  color: var(--color-text-dark);
  box-shadow: var(--shadow-lg);
}

/* Gallery items */
[data-theme="dark"] .img-card {
  background: var(--color-soft-bg);
}

/* Admissions banner */
[data-theme="dark"] .admissions-banner {
  background: linear-gradient(135deg, #0d1520 0%, #1a1d2e 100%);
  border-color: var(--color-border);
}

/* Hamburger spans */
[data-theme="dark"] .hamburger span {
  background: var(--color-text-dark);
}

/* ===============================================
   RUNNING ANIMALS STRIP STYLES
   =============================================== */
.animal-strip { position:fixed; left:0; right:0; bottom:0; height:72px; pointer-events:none; z-index:80; background: linear-gradient(180deg, transparent, rgba(255,255,255,0.5)); }
.animal-svg { width:100%; height:100%; display:block; }
.animals .animal { transform: translateX(0); animation: run 8s linear infinite; }
.animals .a1 { animation-delay: 0s; }
.animals .a2 { animation-delay: -1.2s; }
.animals .a3 { animation-delay: -2.4s; }
.animals .a4 { animation-delay: -3.6s; }
.animals .a5 { animation-delay: -4.8s; }
.animals .a6 { animation-delay: -6s; }
@keyframes run {
  0% { transform: translateX(-20%); opacity:1; }
  50% { transform: translateX(50%); opacity:.95; }
  100% { transform: translateX(120%); opacity:1; }
}
@media (prefers-reduced-motion: reduce){ .animals .animal, .nav-cartoon { animation: none } }


/* ===============================================
   🎨 COLORFUL ENHANCEMENTS — Full Site Vibrancy
   =============================================== */

/* ---- RAINBOW SECTION DIVIDERS ---- */
section:not(.hero):not(.trust-bar)::after {
  content: '';
  display: block;
  width: min(220px, 60%);
  height: 3px;
  margin: 32px auto 0;
  background: linear-gradient(90deg,
    var(--color-blue) 0%,
    var(--color-purple) 20%,
    var(--color-pink) 40%,
    var(--color-orange) 60%,
    var(--color-yellow) 80%,
    var(--color-green) 100%
  );
  opacity: 0.8;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(47, 107, 255, 0.12);
}

section + section {
  position: relative;
}

/* ---- GRADIENT TEXT ON ALL SECTION TITLES ---- */
.section-title {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-purple) 50%, var(--color-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Specific section title color personalities */
#about    .section-title { background: linear-gradient(135deg, var(--color-green), var(--color-blue)); -webkit-background-clip: text; background-clip: text; }
#programs .section-title { background: linear-gradient(135deg, var(--color-blue), var(--color-purple)); -webkit-background-clip: text; background-clip: text; }
#holistic .section-title { background: linear-gradient(135deg, var(--color-orange), var(--color-yellow)); -webkit-background-clip: text; background-clip: text; }
#activities .section-title { background: linear-gradient(135deg, var(--color-pink), var(--color-orange)); -webkit-background-clip: text; background-clip: text; }
#game-zone .section-title { background: linear-gradient(135deg, var(--color-green), var(--color-blue)); -webkit-background-clip: text; background-clip: text; }
#why-us   .section-title { background: linear-gradient(135deg, var(--color-blue), var(--color-green)); -webkit-background-clip: text; background-clip: text; }
#gallery  .section-title { background: linear-gradient(135deg, var(--color-purple), var(--color-pink)); -webkit-background-clip: text; background-clip: text; }
#testimonials .section-title { background: linear-gradient(135deg, var(--color-orange), var(--color-yellow)); -webkit-background-clip: text; background-clip: text; }
#admissions .section-title { background: linear-gradient(135deg, var(--color-green), var(--color-blue)); -webkit-background-clip: text; background-clip: text; }
#contact .section-title { background: linear-gradient(135deg, var(--color-pink), var(--color-purple)); -webkit-background-clip: text; background-clip: text; }

/* Keep hero title gradient separate so it doesn't get overridden */
.hero-title {
  -webkit-text-fill-color: var(--color-text-dark);
  background: none;
}
.hero-title em {
  background: linear-gradient(135deg, var(--color-blue), #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- SECTION-SPECIFIC COLORFUL LABELS ---- */
#about .section-label     { color: var(--color-green);  background: var(--color-green-light); }
#programs .section-label  { color: var(--color-purple); background: var(--color-purple-light); }
#holistic .section-label  { color: var(--color-orange); background: var(--color-orange-light); }
#activities .section-label{ color: var(--color-pink);   background: var(--color-pink-light); }
#why-us .section-label    { color: var(--color-blue);   background: var(--color-blue-light); }
#gallery .section-label   { color: var(--color-purple); background: var(--color-purple-light); }
#testimonials .section-label { color: var(--color-orange); background: var(--color-orange-light); }
#admissions .section-label { color: var(--color-green); background: var(--color-green-light); }
#contact .section-label   { color: var(--color-pink);   background: var(--color-pink-light); }

/* ---- PROGRAM CARDS — colorful top strip per card ---- */
.program-card:nth-child(1)::before { background: linear-gradient(90deg, var(--color-blue), #60A5FA); opacity: 1; }
.program-card:nth-child(2)::before { background: linear-gradient(90deg, var(--color-yellow), #FDE68A); opacity: 1; }
.program-card:nth-child(3)::before { background: linear-gradient(90deg, var(--color-pink), #F9A8D4); opacity: 1; }
.program-card:nth-child(4)::before { background: linear-gradient(90deg, var(--color-green), #6EE7B7); opacity: 1; }
.program-card:nth-child(5)::before { background: linear-gradient(90deg, var(--color-purple), #C4B5FD); opacity: 1; }
.program-card:nth-child(6)::before { background: linear-gradient(90deg, var(--color-orange), #FCA5A5); opacity: 1; }

/* ---- HOLISTIC CARDS — colorful subtle tint per card ---- */
.holistic-card:nth-child(1) { border-top: 3px solid var(--color-blue);   background: linear-gradient(160deg, #EEF3FF 0%, #fff 60%); }
.holistic-card:nth-child(2) { border-top: 3px solid var(--color-yellow); background: linear-gradient(160deg, #FFF8E7 0%, #fff 60%); }
.holistic-card:nth-child(3) { border-top: 3px solid var(--color-pink);   background: linear-gradient(160deg, #FDE8F5 0%, #fff 60%); }
.holistic-card:nth-child(4) { border-top: 3px solid var(--color-green);  background: linear-gradient(160deg, #E6FAF4 0%, #fff 60%); }
.holistic-card:nth-child(5) { border-top: 3px solid var(--color-purple); background: linear-gradient(160deg, #F0EBFF 0%, #fff 60%); }
.holistic-card:nth-child(6) { border-top: 3px solid var(--color-orange); background: linear-gradient(160deg, #FEF0E7 0%, #fff 60%); }

.holistic-card h3 { background: inherit; }
.holistic-card:nth-child(1) h3 { color: var(--color-blue); }
.holistic-card:nth-child(2) h3 { color: var(--color-saffron); }
.holistic-card:nth-child(3) h3 { color: var(--color-pink); }
.holistic-card:nth-child(4) h3 { color: var(--color-green); }
.holistic-card:nth-child(5) h3 { color: var(--color-purple); }
.holistic-card:nth-child(6) h3 { color: var(--color-orange); }

/* ---- ACTIVITY CARDS — colorful left border ---- */
.activity-card:nth-child(1) { border-left: 4px solid var(--color-saffron); }
.activity-card:nth-child(2) { border-left: 4px solid var(--color-pink); }
.activity-card:nth-child(3) { border-left: 4px solid var(--color-blue); }
.activity-card:nth-child(4) { border-left: 4px solid var(--color-green); }

.activity-content:nth-child(1) h3 { color: var(--color-saffron); }
.activity-card:nth-child(1) .activity-content h3 { color: var(--color-saffron); }
.activity-card:nth-child(2) .activity-content h3 { color: var(--color-pink); }
.activity-card:nth-child(3) .activity-content h3 { color: var(--color-blue); }
.activity-card:nth-child(4) .activity-content h3 { color: var(--color-green); }

/* ---- WHY-FEATURE ROWS — colorful left border accent ---- */
.why-feature:nth-child(1) { border-left: 4px solid var(--color-blue); }
.why-feature:nth-child(2) { border-left: 4px solid var(--color-yellow); }
.why-feature:nth-child(3) { border-left: 4px solid var(--color-green); }
.why-feature:nth-child(4) { border-left: 4px solid var(--color-pink); }

.why-feature:nth-child(1) strong { color: var(--color-blue); }
.why-feature:nth-child(2) strong { color: var(--color-saffron); }
.why-feature:nth-child(3) strong { color: var(--color-green); }
.why-feature:nth-child(4) strong { color: var(--color-pink); }

/* ---- ABOUT PILLARS — colorful icon background per pillar ---- */
.about-pillars li:nth-child(1) .pillar-icon { background: linear-gradient(135deg, var(--color-pink), var(--color-orange)); }
.about-pillars li:nth-child(2) .pillar-icon { background: linear-gradient(135deg, var(--color-purple), var(--color-blue)); }
.about-pillars li:nth-child(3) .pillar-icon { background: linear-gradient(135deg, var(--color-green), var(--color-blue)); }

.about-pillars li:nth-child(1) strong { color: var(--color-pink); }
.about-pillars li:nth-child(2) strong { color: var(--color-purple); }
.about-pillars li:nth-child(3) strong { color: var(--color-green); }

/* ---- TRUST BAR — baby pink theme ---- */
.trust-item:nth-child(1) .trust-icon,
.trust-item:nth-child(2) .trust-icon,
.trust-item:nth-child(3) .trust-icon,
.trust-item:nth-child(4) .trust-icon {
  background: linear-gradient(135deg, #ffe7f0 0%, #ffd0e2 100%);
  color: #a64c77;
}

/* ---- TESTIMONIAL CARDS — colorful left stripe ---- */
.testimonial-card:nth-child(1) { border-left: 4px solid var(--color-pink); }
.testimonial-card:nth-child(2) { border-left: 4px solid var(--color-blue); }
.testimonial-card:nth-child(3) { border-left: 4px solid var(--color-green); }
.testimonial-card.new-review   { border-left: 4px solid var(--color-yellow); }

/* ---- STEP CARDS — colorful number colors ---- */
.step-card:nth-child(1) .step-number { color: var(--color-blue); opacity: 0.25; }
.step-card:nth-child(3) .step-number { color: var(--color-pink); opacity: 0.25; }
.step-card:nth-child(5) .step-number { color: var(--color-green); opacity: 0.25; }
.step-card:nth-child(7) .step-number { color: var(--color-orange); opacity: 0.25; }

/* ---- GALLERY CAPTIONS — colorful gradient overlays ---- */
.gallery-item:nth-child(4n+1) .gallery-caption { background: linear-gradient(90deg, rgba(26,86,219,0.85), rgba(161,107,255,0.85)); }
.gallery-item:nth-child(4n+2) .gallery-caption { background: linear-gradient(90deg, rgba(255,111,163,0.85), rgba(255,138,61,0.85)); }
.gallery-item:nth-child(4n+3) .gallery-caption { background: linear-gradient(90deg, rgba(42,209,154,0.85), rgba(26,86,219,0.85)); }
.gallery-item:nth-child(4n+4) .gallery-caption { background: linear-gradient(90deg, rgba(255,210,76,0.85), rgba(255,111,163,0.85)); color: #222; }

/* ---- GAME ZONE — colorful figcaptions ---- */
.game-card:nth-child(1) figcaption { background: var(--color-blue-light); color: var(--color-blue); }
.game-card:nth-child(2) figcaption { background: var(--color-pink-light); color: var(--color-pink); }
.game-card:nth-child(3) figcaption { background: var(--color-green-light); color: var(--color-green); }

/* ---- HERO SECTION — more vivid background ---- */
.hero {
  background: linear-gradient(150deg, #D8E8FF 0%, #F8F2FF 30%, #FFF3D8 65%, #D8FFF2 100%);
}

/* ---- SECTION SUBTITLE — colorful per section ---- */
#holistic  .section-subtitle { color: var(--color-saffron); }
#activities .section-subtitle { color: var(--color-pink); }
#gallery   .section-subtitle { color: var(--color-purple); }
#testimonials .section-subtitle { color: var(--color-orange); }

/* ---- FAQ — colorful question markers ---- */
.faq-item:nth-child(odd)  .faq-question { border-left: 3px solid var(--color-blue); padding-left: 20px; }
.faq-item:nth-child(even) .faq-question { border-left: 3px solid var(--color-pink); padding-left: 20px; }

/* ---- FOOTER NAV HEADINGS — colorful ---- */
.footer-col:nth-child(1) .footer-logo .logo-brand { color: white; }
.footer-col:nth-child(2) h4 { color: var(--color-yellow); }
.footer-col:nth-child(3) h4 { color: var(--color-green); }
.footer-col:nth-child(4) h4 { color: var(--color-pink); }

/* ---- DARK MODE: keep gradient titles safe ---- */
[data-theme="dark"] .section-title {
  background: linear-gradient(135deg, #7EB3FF 0%, #C4A8FF 50%, #FF9FCA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="dark"] .hero-title {
  -webkit-text-fill-color: var(--color-text-dark);
  background: none;
}
[data-theme="dark"] .holistic-card:nth-child(1) { background: linear-gradient(160deg, #1e2a4a 0%, var(--color-white) 60%); }
[data-theme="dark"] .holistic-card:nth-child(2) { background: linear-gradient(160deg, #2a2010 0%, var(--color-white) 60%); }
[data-theme="dark"] .holistic-card:nth-child(3) { background: linear-gradient(160deg, #2a1520 0%, var(--color-white) 60%); }
[data-theme="dark"] .holistic-card:nth-child(4) { background: linear-gradient(160deg, #0f2a1f 0%, var(--color-white) 60%); }
[data-theme="dark"] .holistic-card:nth-child(5) { background: linear-gradient(160deg, #1e1540 0%, var(--color-white) 60%); }
[data-theme="dark"] .holistic-card:nth-child(6) { background: linear-gradient(160deg, #2a1a0a 0%, var(--color-white) 60%); }





/* ===============================================
   RAINBOW HEADINGS — unified pill shape + per-letter color
   =============================================== */

/* ---- STEP 1: unified font for every heading ---- */
h1, h2, h3,
.hero-title,
.section-title,
.program-title,
.holistic-card h3,
.activity-content h3,
.step-card h3,
.form-title,
.review-form-title,
.footer-heading,
.upload-modal__title {
  font-family: 'Fredoka', 'Comic Sans MS', 'Chalkboard', cursive !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
  /* Only kill the gradient text-fill so rainbow letter colors show.
     Do NOT touch background so pill/card backgrounds are preserved. */
  -webkit-text-fill-color: unset !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  background-image: none !important;
}

/* ---- STEP 2: every heading gets the same pill shape ---- */
/* Large section headings (h2 banners) */
h2.section-title,
.section-title--banner,
.testimonial-banner {
  display: inline-block !important;
  padding: 14px 32px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #ffe7f0 0%, #e0e7ff 45%, #d4f5e2 100%) !important;
  border: 2px solid rgba(124, 106, 246, 0.22) !important;
  box-shadow: 0 8px 24px rgba(47, 107, 255, 0.13) !important;
  text-align: center;
  white-space: normal;
  font-size: clamp(1.4rem, 3vw, 2rem) !important;
  line-height: 1.3;
}

/* Hero h1 — clean & elegant headline without awkward pill container */
h1.hero-title {
  display: block !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  font-size: clamp(2.4rem, 4.8vw, 3.6rem) !important;
  line-height: 1.2 !important;
  margin-bottom: 16px !important;
}

/* Card-level h3 headings — smaller pill */
.program-title,
.holistic-card h3,
.activity-content h3,
.step-card h3,
.form-title,
.review-form-title,
.upload-modal__title,
.game-zone .section-header h2 {
  display: inline-block !important;
  padding: 8px 22px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #ffedf5 0%, #e0e7ff 45%, #d4f5e2 100%) !important;
  border: 2px solid rgba(124, 106, 246, 0.18) !important;
  box-shadow: 0 5px 14px rgba(47, 107, 255, 0.10) !important;
  font-size: clamp(1rem, 2vw, 1.3rem) !important;
  line-height: 1.3;
  margin-bottom: 14px;
}

/* Footer headings — same pill but dark bg friendly */
.footer-heading {
  display: inline-block !important;
  padding: 6px 18px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: none !important;
  font-size: 1rem !important;
  color: #fff;
  margin-bottom: 16px;
}

/* ---- STEP 3: each letter span set by JS ---- */
.rl {
  display: inline;
  font-weight: inherit;
  font-size: inherit;
  font-family: inherit;
  /* color applied inline by rainbowHeadings() */
  -webkit-text-fill-color: currentColor !important;
  background: transparent !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
}
.rl-space {
  display: inline;
  font-size: inherit;
}

/* Footer .rl letters stay bright on dark bg */
.footer-heading .rl {
  filter: brightness(1.35) saturate(1.1);
}

/* Dark mode: keep rainbow vivid */
[data-theme="dark"] .rl {
  filter: brightness(1.2) saturate(1.1);
}

/* Kill old per-section gradient text overrides so .rl colors win */
#about    h2, #programs h2, #holistic  h2,
#activities h2, #game-zone h2, #why-us h2,
#gallery  h2, #testimonials h2, #admissions h2,
#contact  h2, #faq h2 {
  -webkit-text-fill-color: unset !important;
  background-image: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
}

/* ===============================================
   UNIFIED SECTION HEADER — matches the picture style
   Outer pastel card → label pill → white inner h2 pill → subtitle box
   =============================================== */

/* ---- Outer card (already defined as .section-header, this enhances it) ---- */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 36px !important;
  border-radius: 32px !important;
  background: linear-gradient(135deg, #fde8f5 0%, #e0e7ff 30%, #d4f5e2 60%, #dde8ff 100%) !important;
  border: 2px solid rgba(200, 160, 230, 0.30) !important;
  box-shadow: 0 20px 48px rgba(47, 107, 255, 0.12), inset 0 1px 0 rgba(255,255,255,0.7) !important;
  margin-bottom: 56px;
}

/* About section header sits inside .about-content (left column),
   so it gets the same card style but full-width */
.about-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  text-align: center;
  padding: 32px 36px;
  border-radius: 32px;
  background: linear-gradient(135deg, #fde8f5 0%, #ffddb3 30%, #d4f5e2 60%, #dde8ff 100%);
  border: 2px solid rgba(200, 160, 230, 0.30);
  box-shadow: 0 20px 48px rgba(47, 107, 255, 0.12), inset 0 1px 0 rgba(255,255,255,0.7);
  margin-bottom: 28px;
}

/* ---- The label pill (e.g. "OUR PROGRAMS") ---- */
.section-header .section-label,
.about-section-header .section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase;
  color: #6a3570 !important;
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1.5px solid rgba(180, 130, 210, 0.35) !important;
  padding: 7px 22px !important;
  border-radius: 999px !important;
  box-shadow: 0 2px 8px rgba(124, 106, 246, 0.10) !important;
  margin-bottom: 0 !important;
  backdrop-filter: blur(6px);
}

/* ---- The h2 heading — white inner pill, stands out from the card ---- */
.section-header h2.section-title,
.about-section-header h2.section-title {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 4px;
  padding: 18px 40px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1.5px solid rgba(200, 160, 230, 0.28) !important;
  box-shadow: 0 6px 20px rgba(124, 106, 246, 0.12), inset 0 1px 0 rgba(255,255,255,0.9) !important;
  font-size: clamp(1.45rem, 3vw, 2.1rem) !important;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
  margin: 0 !important;
  max-width: 100%;
  backdrop-filter: blur(4px);
}

/* em part inside heading keeps rainbow color but slightly italic */
.section-header h2.section-title em,
.about-section-header h2.section-title em {
  font-style: italic;
  font-weight: 700;
}

/* ---- Subtitle — soft frosted box below the heading ---- */
.section-header .section-subtitle,
.about-section-header .section-subtitle {
  display: block;
  max-width: 620px;
  font-size: 0.98rem !important;
  color: #7a4f6a !important;
  line-height: 1.72;
  padding: 14px 24px !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.60) !important;
  border: 1px solid rgba(200, 160, 230, 0.22) !important;
  box-shadow: 0 2px 10px rgba(124, 106, 246, 0.07) !important;
  margin: 0 !important;
  backdrop-filter: blur(6px);
  text-align: center;
}

/* ---- Fix About layout so the header sits cleanly above the content ---- */
#about .about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-left: 0;
}

/* ---- Make Why Us, Gallery, Testimonials section-headers centered ---- */
#why-us .section-header,
#gallery .section-header,
#testimonials .section-header {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Dark mode adjustments ---- */
[data-theme="dark"] .section-header,
[data-theme="dark"] .about-section-header {
  background: linear-gradient(135deg, #2a1535 0%, #1e1508 30%, #082018 60%, #0a0e25 100%) !important;
  border-color: rgba(180, 130, 210, 0.20) !important;
}

[data-theme="dark"] .section-header h2.section-title,
[data-theme="dark"] .about-section-header h2.section-title {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(180, 130, 210, 0.18) !important;
}

[data-theme="dark"] .section-header .section-label,
[data-theme="dark"] .about-section-header .section-label {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #e0aaff !important;
}

[data-theme="dark"] .section-header .section-subtitle,
[data-theme="dark"] .about-section-header .section-subtitle {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #c8a8d8 !important;
}

/* ---- Responsive: shrink padding on smaller screens ---- */
@media (max-width: 768px) {
  .section-header,
  .about-section-header {
    padding: 22px 18px !important;
    border-radius: 22px !important;
  }

  .section-header h2.section-title,
  .about-section-header h2.section-title {
    padding: 14px 22px !important;
    font-size: clamp(1.2rem, 5vw, 1.6rem) !important;
  }
}

/* ===============================================
   COMPREHENSIVE DARK MODE — full site coverage
   Covers every component not already themed
   =============================================== */

/* ---- Body background ---- */
[data-theme="dark"] body {
  background:
    linear-gradient(135deg, rgba(20,5,40,0.72) 0%, rgba(8,12,35,0.75) 40%, rgba(4,18,12,0.72) 70%, rgba(15,8,35,0.72) 100%),
    url('../images/Backgroud.png') center/cover no-repeat fixed;
}

/* ---- Navbar ---- */
[data-theme="dark"] .nav-links a {
  color: var(--color-text-dark);
}
[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a:focus {
  background: rgba(47,107,255,0.18);
  color: #7eb3ff;
}
[data-theme="dark"] .logo-brand {
  color: var(--color-text-dark);
}
[data-theme="dark"] .logo-tagline {
  color: var(--color-text-light);
}

/* ---- Trust bar ---- */
[data-theme="dark"] section.trust-bar {
  background: #0d1428 !important;
  border-color: #1e2d5a !important;
}
[data-theme="dark"] section.trust-bar .trust-item {
  background: #111c38 !important;
  border-color: #1e2d5a !important;
}
[data-theme="dark"] section.trust-bar .trust-icon {
  background: #1a2a50 !important;
  color: #7eb3ff !important;
}
[data-theme="dark"] section.trust-bar .trust-text strong {
  color: #e0eaff !important;
}
[data-theme="dark"] section.trust-bar .trust-text span {
  color: #8899cc !important;
}

/* ---- Section headers (unified pill cards) ---- */
[data-theme="dark"] .section-header,
[data-theme="dark"] .about-section-header {
  background: linear-gradient(135deg, #1a0d25 0%, #1e1408 30%, #061a10 60%, #080e22 100%) !important;
  border-color: rgba(130,90,180,0.25) !important;
  box-shadow: 0 20px 48px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06) !important;
}
[data-theme="dark"] .section-header h2.section-title,
[data-theme="dark"] .about-section-header h2.section-title {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(130,90,180,0.22) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4) !important;
}
[data-theme="dark"] .section-header .section-label,
[data-theme="dark"] .about-section-header .section-label {
  background: rgba(255,255,255,0.07) !important;
  color: #c8a8ff !important;
  border-color: rgba(130,90,180,0.25) !important;
}
[data-theme="dark"] .section-header .section-subtitle,
[data-theme="dark"] .about-section-header .section-subtitle {
  background: rgba(255,255,255,0.05) !important;
  color: #9988bb !important;
  border-color: rgba(130,90,180,0.15) !important;
}

/* ---- Section body text ---- */
[data-theme="dark"] .section-body {
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(130,90,180,0.15) !important;
  color: var(--color-text-mid) !important;
}
[data-theme="dark"] .section-label {
  color: #c8a8ff !important;
  background: rgba(124,106,246,0.15) !important;
  border-color: rgba(124,106,246,0.2) !important;
}

/* ---- bg-soft sections ---- */
[data-theme="dark"] .bg-soft {
  background-color: rgba(10,15,30,0.6) !important;
}

/* ---- About pillars ---- */
[data-theme="dark"] .about-pillars li strong {
  color: var(--color-text-dark);
}
[data-theme="dark"] .about-pillars li p {
  color: var(--color-text-light);
}

/* ---- Program cards ---- */
[data-theme="dark"] .program-card {
  background: linear-gradient(135deg, #12101e 0%, #1a1408 45%, #081a10 100%) !important;
}
[data-theme="dark"] .program-title {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(124,106,246,0.18) !important;
}
[data-theme="dark"] .program-body {
  color: var(--color-text-mid);
}
[data-theme="dark"] .program-features li {
  color: var(--color-text-mid);
}
[data-theme="dark"] .program-badge {
  background: rgba(47,107,255,0.18);
  color: #7eb3ff;
}

/* ---- Holistic cards ---- */
[data-theme="dark"] .holistic-card {
  background: linear-gradient(160deg, #0f1020 0%, #12101a 100%) !important;
  border-color: var(--color-border) !important;
}
[data-theme="dark"] .holistic-card:nth-child(1) { background: linear-gradient(160deg, #0a0e22 0%, #0f1020 100%) !important; }
[data-theme="dark"] .holistic-card:nth-child(2) { background: linear-gradient(160deg, #1a1205 0%, #0f1020 100%) !important; }
[data-theme="dark"] .holistic-card:nth-child(3) { background: linear-gradient(160deg, #1a0812 0%, #0f1020 100%) !important; }
[data-theme="dark"] .holistic-card:nth-child(4) { background: linear-gradient(160deg, #061510 0%, #0f1020 100%) !important; }
[data-theme="dark"] .holistic-card:nth-child(5) { background: linear-gradient(160deg, #100820 0%, #0f1020 100%) !important; }
[data-theme="dark"] .holistic-card:nth-child(6) { background: linear-gradient(160deg, #180d04 0%, #0f1020 100%) !important; }
[data-theme="dark"] .holistic-card p {
  color: var(--color-text-light);
}

/* ---- Activity cards ---- */
[data-theme="dark"] .activity-card {
  background: linear-gradient(135deg, #12101e 0%, #1a1408 45%, #081a10 100%) !important;
}
[data-theme="dark"] .activity-content p {
  color: var(--color-text-light);
}

/* ---- Game zone ---- */
[data-theme="dark"] .game-zone .container {
  background: rgba(10,15,30,0.7) !important;
  border-color: rgba(255,255,255,0.08) !important;
}
[data-theme="dark"] .game-card {
  background: linear-gradient(135deg, #12101e 0%, #1a1408 45%, #081a10 100%) !important;
  border-color: var(--color-border) !important;
}
[data-theme="dark"] .game-card figcaption {
  color: var(--color-text-mid);
  background: rgba(255,255,255,0.06) !important;
}

/* ---- Why-us section ---- */
[data-theme="dark"] .why-feature strong {
  color: var(--color-text-dark);
}
[data-theme="dark"] .why-feature p {
  color: var(--color-text-light);
}
[data-theme="dark"] .why-float-card strong {
  color: var(--color-text-dark);
}
[data-theme="dark"] .why-float-card span {
  color: var(--color-text-light);
}

/* ---- Gallery ---- */
[data-theme="dark"] .gallery-item {
  background: linear-gradient(135deg, #12101e 0%, #1a1408 45%, #081a10 100%) !important;
  border-color: var(--color-border) !important;
}
[data-theme="dark"] .gallery-img {
  background: linear-gradient(135deg, var(--color-blue-light), var(--color-purple-light));
}

/* ---- Testimonials ---- */
[data-theme="dark"] .testimonial-card {
  background: linear-gradient(135deg, #12101e 0%, #1a1408 45%, #081a10 100%) !important;
}
[data-theme="dark"] .review-form-card {
  background: linear-gradient(135deg, #12101e 0%, #1a1408 45%, #081a10 100%) !important;
  border-color: var(--color-border) !important;
}
[data-theme="dark"] .review-form input[type="text"],
[data-theme="dark"] .review-form textarea {
  background: var(--color-soft-bg);
  border-color: var(--color-border);
  color: var(--color-text-dark);
}
[data-theme="dark"] .review-form input[type="text"]::placeholder,
[data-theme="dark"] .review-form textarea::placeholder {
  color: var(--color-text-light);
}
[data-theme="dark"] .rating-stars .star {
  border-color: rgba(255,255,255,0.12);
  color: var(--color-text-light);
}
[data-theme="dark"] .review-form-title {
  color: var(--color-text-dark);
}
[data-theme="dark"] .form-group label {
  color: var(--color-text-mid);
}
[data-theme="dark"] .form-note {
  color: var(--color-text-light);
}

/* ---- Admissions ---- */
[data-theme="dark"] .step-card {
  background: linear-gradient(135deg, #12101e 0%, #1a1408 45%, #081a10 100%) !important;
}
[data-theme="dark"] .step-card p {
  color: var(--color-text-light);
}
[data-theme="dark"] .step-arrow {
  color: var(--color-border);
}

/* ---- FAQ ---- */
[data-theme="dark"] .faq-item {
  background: linear-gradient(135deg, #12101e 0%, #1a1408 45%, #081a10 100%) !important;
}
[data-theme="dark"] .faq-question {
  color: var(--color-text-dark) !important;
}
[data-theme="dark"] .faq-question::after {
  color: var(--color-text-light);
}
[data-theme="dark"] .faq-answer p {
  color: var(--color-text-mid);
}

/* ---- Contact section ---- */
[data-theme="dark"] .contact-card {
  background: linear-gradient(135deg, #12101e 0%, #1a1408 45%, #081a10 100%) !important;
  border-color: var(--color-border) !important;
}
[data-theme="dark"] .contact-form-wrap {
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.08) !important;
}
[data-theme="dark"] .form-title {
  color: var(--color-text-dark);
}
[data-theme="dark"] .contact-item strong {
  color: var(--color-text-dark);
}
[data-theme="dark"] .contact-item address,
[data-theme="dark"] .contact-item p {
  color: var(--color-text-mid);
}
[data-theme="dark"] .phone-link,
[data-theme="dark"] .email-link {
  color: #7eb3ff;
}
[data-theme="dark"] .map-placeholder {
  background: linear-gradient(135deg, #0f1a2e, #12101e);
  border-color: var(--color-border);
}
[data-theme="dark"] .map-inner p {
  color: var(--color-text-mid);
}

/* ---- Upload modal ---- */
[data-theme="dark"] .upload-modal__content {
  background: #0f1629;
  border-color: var(--color-border);
}
[data-theme="dark"] .upload-modal__title,
[data-theme="dark"] .upload-modal__desc {
  color: var(--color-text-dark);
}
[data-theme="dark"] .form-input,
[data-theme="dark"] .form-input::placeholder {
  color: var(--color-text-light);
  background: var(--color-soft-bg);
}
[data-theme="dark"] .upload-modal__actions {
  border-color: var(--color-border);
}

/* ---- Animal strip ---- */
[data-theme="dark"] .animal-strip {
  background: linear-gradient(180deg, transparent, rgba(10,15,30,0.6));
}

/* ---- Scroll top button text ---- */
[data-theme="dark"] .scroll-top {
  color: #7eb3ff;
}

/* ---- Hero section content ---- */
[data-theme="dark"] .hero-title {
  color: var(--color-text-dark) !important;
}
[data-theme="dark"] .hero-subtitle {
  color: var(--color-text-mid);
}
[data-theme="dark"] .hero-badge {
  color: #1a1200;
}
[data-theme="dark"] .stat-number,
[data-theme="dark"] .stat-suffix {
  color: #7eb3ff;
}
[data-theme="dark"] .stat-label {
  color: var(--color-text-light);
}
[data-theme="dark"] .stat-divider {
  background: var(--color-border);
}

/* ---- Hero badge (trust badge) ---- */
[data-theme="dark"] .hero-badge {
  box-shadow: 0 12px 28px rgba(0,0,0,0.4);
}

/* ---- Section title on section-title--banner pill ---- */
[data-theme="dark"] h2.section-title.section-title--banner {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(130,90,180,0.22) !important;
}

/* ---- Program/holistic/activity/step h3 pills ---- */
[data-theme="dark"] .program-title,
[data-theme="dark"] .holistic-card h3,
[data-theme="dark"] .activity-content h3,
[data-theme="dark"] .step-card h3,
[data-theme="dark"] .form-title,
[data-theme="dark"] .review-form-title,
[data-theme="dark"] .upload-modal__title {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(124,106,246,0.18) !important;
}

/* ---- Footer headings pill ---- */
[data-theme="dark"] .footer-heading {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(255,255,255,0.10) !important;
  color: #fff !important;
}

/* ===============================================
   SAFETY THUMBNAIL + LIGHTBOX
   =============================================== */

/* Arrow / View Photo button */
.safety-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  background: linear-gradient(135deg, var(--color-blue), #4F8EFF);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(47, 107, 255, 0.30);
  transition: all 0.22s ease;
  letter-spacing: 0.03em;
}

.safety-view-btn i {
  font-size: 0.8rem;
  transition: transform 0.22s ease;
}

.safety-view-btn:hover {
  background: linear-gradient(135deg, var(--color-blue-dark), #2F6BFF);
  box-shadow: 0 8px 24px rgba(47, 107, 255, 0.45);
  transform: translateY(-2px);
}

.safety-view-btn:hover i {
  transform: translateX(4px);
}

/* Lightbox overlay */
.safety-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 5, 20, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.3s ease;
}

.safety-lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.safety-lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.safety-lightbox.open .safety-lightbox-inner {
  transform: scale(1);
}

.safety-lightbox-img {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-xl);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
  border: 3px solid rgba(255, 255, 255, 0.15);
  display: block;
}

.safety-lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
}

.safety-lightbox-caption i {
  color: var(--color-blue);
}

.safety-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #FF5FA8, #FF7A59);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(255, 95, 168, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 1;
}

.safety-lightbox-close:hover {
  transform: scale(1.12) rotate(90deg);
  box-shadow: 0 10px 28px rgba(255, 95, 168, 0.60);
}

/* ===============================================
   TIMETABLE SECTION
   =============================================== */

.timetable {
  background: transparent;
}

.timetable-wrap {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.timetable-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(47, 107, 255, 0.12), 0 4px 20px rgba(0,0,0,0.06);
  border: 1.5px solid rgba(47, 107, 255, 0.12);
  overflow: hidden;
  max-width: 900px;
  width: 100%;
  transition: box-shadow 0.3s ease;
}

.timetable-card:hover {
  box-shadow: 0 28px 72px rgba(47, 107, 255, 0.18), 0 8px 28px rgba(0,0,0,0.08);
}

/* Card header bar */
.timetable-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #1e40af 0%, #2F6BFF 50%, #60a5fa 100%);
  color: white;
}

.tt-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.tt-label {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.tt-sublabel {
  display: block;
  font-size: 0.75rem;
  opacity: 0.8;
  font-weight: 500;
  margin-top: 2px;
}

.tt-expand-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.tt-expand-btn:hover {
  background: rgba(255,255,255,0.32);
  border-color: rgba(255,255,255,0.6);
  transform: scale(1.04);
}

/* Image wrapper */
.timetable-img-wrap {
  position: relative;
  cursor: zoom-in;
  overflow: hidden;
  background: #f8faff;
}

.timetable-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}

.timetable-img-wrap:hover .timetable-img {
  transform: scale(1.015);
}

.timetable-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 64, 175, 0.0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: white;
  font-size: 1rem;
  font-weight: 700;
  opacity: 0;
  transition: all 0.28s ease;
  backdrop-filter: blur(0px);
}

.timetable-img-overlay i {
  font-size: 2rem;
  transform: scale(0.7);
  transition: transform 0.28s ease;
}

.timetable-img-wrap:hover .timetable-img-overlay {
  opacity: 1;
  background: rgba(30, 64, 175, 0.45);
  backdrop-filter: blur(2px);
}

.timetable-img-wrap:hover .timetable-img-overlay i {
  transform: scale(1);
}

/* Footer chips */
.timetable-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 24px;
  border-top: 1px solid rgba(47, 107, 255, 0.1);
  background: #fafbff;
}

.tt-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tt-chip i { font-size: 0.72rem; }

.chip-blue   { background: #dbeafe; color: #1d4ed8; }
.chip-green  { background: #dcfce7; color: #16a34a; }
.chip-pink   { background: #fce7f3; color: #be185d; }
.chip-yellow { background: #fef9c3; color: #b45309; }
.chip-purple { background: #ede9fe; color: #7c3aed; }

/* Timetable nav link section override */
#timetable .section-title,
#timetable .section-title em {
  -webkit-text-fill-color: #7d3559;
  color: #7d3559;
}

/* Responsive */
@media (max-width: 600px) {
  .timetable-card-header {
    flex-wrap: wrap;
    gap: 10px;
  }
  .tt-expand-btn {
    margin-left: 0;
  }
  .timetable-chips {
    gap: 8px;
  }
}

[data-theme="dark"] .timetable-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}

[data-theme="dark"] .timetable-chips {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .timetable-img-wrap {
  background: #0a0f1e;
}

/* ===============================================
   TIMETABLE — HTML TABLE STYLES
   =============================================== */

.tt-table-wrap {
  overflow-x: hidden;
}

.tt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.tt-table thead tr {
  background: linear-gradient(135deg, #f0f4ff, #e8f0fe);
}

.tt-table th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1e40af;
  border-bottom: 2px solid rgba(47, 107, 255, 0.15);
}

.tt-table th i {
  margin-right: 6px;
  opacity: 0.7;
}

.tt-table tbody tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: filter 0.18s ease, transform 0.18s ease;
}

.tt-table tbody tr:last-child {
  border-bottom: none;
}

.tt-table tbody tr:hover {
  filter: brightness(0.96);
  transform: scale(1.005);
  z-index: 1;
  position: relative;
}

.tt-time {
  padding: 14px 18px;
  font-weight: 800;
  white-space: nowrap;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  color: #1e3a8a;
  min-width: 120px;
}

.tt-activity {
  padding: 14px 18px;
  color: #1e293b;
  font-weight: 500;
  line-height: 1.5;
  word-break: break-word;
}

.tt-activity i {
  margin-right: 8px;
  width: 16px;
  text-align: center;
  opacity: 0.75;
}

.tt-table td:last-child {
  padding: 14px 18px;
}

/* Row colour bands */
.tt-row-purple { background: rgba(139, 92, 246, 0.07); }
.tt-row-green  { background: rgba(22, 163, 74,  0.07); }
.tt-row-yellow { background: rgba(234, 179, 8,  0.08); }
.tt-row-blue   { background: rgba(37, 99, 235,  0.07); }
.tt-row-pink   { background: rgba(236, 72, 153, 0.07); }
.tt-row-orange { background: rgba(234, 88,  12, 0.08); }

/* Badge pills */
.tt-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.badge-purple { background: #ede9fe; color: #7c3aed; }
.badge-green  { background: #dcfce7; color: #16a34a; }
.badge-yellow { background: #fef9c3; color: #b45309; }
.badge-blue   { background: #dbeafe; color: #1d4ed8; }
.badge-pink   { background: #fce7f3; color: #be185d; }
.badge-orange { background: #ffedd5; color: #c2410c; }

/* Chip additions */
.chip-orange { background: #ffedd5; color: #c2410c; }

/* Dark mode table */
[data-theme="dark"] .tt-table thead tr {
  background: rgba(255,255,255,0.05);
}

[data-theme="dark"] .tt-table th {
  color: #93c5fd;
  border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .tt-table tbody tr {
  border-color: rgba(255,255,255,0.05);
}

[data-theme="dark"] .tt-time {
  color: #bfdbfe;
}

[data-theme="dark"] .tt-activity {
  color: #e2e8f0;
}

[data-theme="dark"] .tt-row-purple { background: rgba(139, 92, 246, 0.12); }
[data-theme="dark"] .tt-row-green  { background: rgba(22, 163, 74,  0.12); }
[data-theme="dark"] .tt-row-yellow { background: rgba(234, 179, 8,  0.12); }
[data-theme="dark"] .tt-row-blue   { background: rgba(37, 99, 235,  0.12); }
[data-theme="dark"] .tt-row-pink   { background: rgba(236, 72, 153, 0.12); }
[data-theme="dark"] .tt-row-orange { background: rgba(234, 88,  12, 0.12); }

/* Responsive */
@media (max-width: 500px) {
  .tt-table th,
  .tt-time,
  .tt-activity,
  .tt-table td:last-child {
    padding: 10px 12px;
    font-size: 0.8rem;
  }
}

/* ===============================================
   SAFETY & GALLERY LIGHTBOX POPUP MODAL
   =============================================== */
.safety-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  padding: 20px;
}

.safety-lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.safety-lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.safety-lightbox.open .safety-lightbox-inner {
  transform: scale(1);
}

.safety-lightbox-img {
  max-width: 90vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.15);
  background: #000;
}

.safety-lightbox-caption {
  margin-top: 16px;
  color: #ffffff;
  font-family: var(--font-heading, sans-serif);
  font-size: 1.1rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.safety-lightbox-caption i {
  color: #ffbe0b;
}

.safety-lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 100001;
}

.safety-lightbox-close:hover {
  background: #ff5964;
  border-color: #ff5964;
  transform: scale(1.12) rotate(90deg);
  box-shadow: 0 0 20px rgba(255, 89, 100, 0.6);
}

/* Lightbox Prev/Next Nav buttons */
.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 100001;
  backdrop-filter: blur(8px);
}

.gallery-lightbox-prev { left: 28px; }
.gallery-lightbox-next { right: 28px; }

.gallery-lightbox-nav:hover {
  background: #2f6bff;
  border-color: #2f6bff;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 24px rgba(47, 107, 255, 0.6);
}

/* Gallery image zoom cursor overlay */
.gallery-img::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 48px;
  height: 48px;
  background: rgba(47, 107, 255, 0.85);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  z-index: 3;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.gallery-img:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.gallery-img img {
  transition: transform 0.4s ease;
}

.gallery-img:hover img {
  transform: scale(1.06);
}

@media (max-width: 768px) {
  .gallery-lightbox-prev { left: 12px; width: 42px; height: 42px; font-size: 1rem; }
  .gallery-lightbox-next { right: 12px; width: 42px; height: 42px; font-size: 1rem; }
  .safety-lightbox-close { top: 16px; right: 16px; width: 40px; height: 40px; font-size: 1rem; }
}


/* ===============================================
   COMPREHENSIVE MOBILE ALIGNMENT FIX
   Ensures all headings, text, cards, and sections
   align perfectly within the mobile viewport.
   =============================================== */

/* ---- Global overflow guard ---- */
@media (max-width: 768px) {

  /* Force all containers to stay within viewport */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  /* Section headers — tighter padding & wrappable text */
  .section-header {
    padding: 20px 14px !important;
    border-radius: 20px !important;
    margin-bottom: 40px;
    max-width: 100%;
  }

  .section-header h2.section-title,
  .about-section-header h2.section-title {
    padding: 12px 18px !important;
    font-size: clamp(1.1rem, 4.5vw, 1.5rem) !important;
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
    border-radius: 20px !important;
  }

  .about-section-header {
    padding: 20px 14px;
    border-radius: 20px;
    max-width: 100%;
  }

  .section-header .section-subtitle,
  .about-section-header .section-subtitle {
    padding: 12px 16px !important;
    font-size: 0.9rem !important;
    max-width: 100%;
  }

  .section-header .section-label,
  .about-section-header .section-label {
    font-size: 11px !important;
    padding: 6px 14px !important;
  }

  /* Section title banner pills — wrappable */
  .section-title--banner,
  h2.section-title.section-title--banner {
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere;
    padding: 10px 18px !important;
    font-size: clamp(1.1rem, 4.5vw, 1.5rem) !important;
    border-radius: 20px !important;
    max-width: 100%;
  }

  /* Testimonial banner */
  .testimonial-banner {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    padding: 8px 14px;
    font-size: 0.9rem;
    max-width: 100%;
  }

  /* Section body tagline */
  .section-body--tagline {
    padding: 18px 16px;
    border-radius: 20px;
    max-width: 100%;
  }

  .section-body--tagline strong {
    font-size: clamp(1.3rem, 5vw, 1.7rem);
  }

  .section-body--tagline em {
    font-size: clamp(1rem, 4vw, 1.3rem);
  }

  /* Hero section */
  h1.hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem) !important;
    text-align: center;
    word-break: break-word;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 7px 14px;
    text-align: center;
    white-space: normal;
  }

  .hero-subtitle {
    text-align: center;
    font-size: 0.9rem;
  }

  .hero-tagline {
    text-align: center;
    font-size: 0.9rem !important;
  }

  /* Hero float badges — keep within view */
  .hero-float-badge {
    padding: 8px 14px;
    font-size: 0.75rem;
  }

  .badge-safety {
    left: 0 !important;
    top: -6px;
  }

  .badge-learning {
    right: 0 !important;
    bottom: 10%;
  }

  /* Stats bar */
  .hero-stats {
    border-radius: 20px;
    padding: 14px 12px;
  }

  .stat-label {
    white-space: normal;
    text-align: center;
    font-size: 0.7rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-suffix {
    font-size: 1.1rem;
  }

  /* Trust bar items */
  .trust-item {
    padding: 14px 14px;
    gap: 12px;
  }

  .trust-text strong {
    font-size: 0.85rem;
  }

  .trust-text span {
    font-size: 0.72rem;
    word-break: break-word;
  }

  /* About section */
  .about-img-wrap {
    height: auto;
    min-height: 280px;
  }

  .about-pillars {
    max-width: 100%;
  }

  .about-pillars li {
    padding: 16px;
    gap: 12px;
  }

  .about-badge-experience {
    left: 0;
  }

  /* Program cards */
  .program-card {
    padding: 24px 18px;
  }

  .program-card-header {
    gap: 12px;
    flex-wrap: wrap;
  }

  .program-title {
    font-size: clamp(0.9rem, 3.5vw, 1.15rem) !important;
    padding: 6px 14px !important;
  }

  /* School kit grid — 2 columns on mobile */
  .school-kit-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .school-kit-banner {
    padding: 24px 16px;
    margin-top: 32px;
  }

  .school-kit-header {
    gap: 14px;
    flex-wrap: wrap;
  }

  .school-kit-title {
    font-size: 1.05rem;
  }

  .school-kit-subtitle {
    font-size: 0.82rem;
  }

  /* Holistic cards */
  .holistic-card {
    padding: 28px 20px;
  }

  .holistic-card h3 {
    font-size: clamp(0.9rem, 3.5vw, 1.15rem) !important;
    padding: 6px 14px !important;
  }

  /* Activity cards */
  .activity-card .activity-content {
    padding: 16px 14px 20px;
  }

  .activity-content h3 {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem) !important;
    padding: 6px 14px !important;
    word-break: break-word;
  }

  /* Why Us section */
  .why-feature {
    padding: 18px;
    gap: 14px;
  }

  .why-us-visual {
    height: auto;
    min-height: 200px;
  }

  .why-floating-cards {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 0 8px;
  }

  .why-float-card {
    white-space: normal;
    word-break: break-word;
  }

  /* Game Zone */
  .gz-header-card {
    padding: 16px 16px 14px;
    max-width: 100%;
  }

  .gz-title {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
  }

  .gz-subtitle {
    font-size: 0.85rem;
  }

  .gz-cards-row {
    padding: 0 12px 48px;
    gap: 14px;
  }

  /* Gallery section */
  .gallery-filters {
    flex-wrap: wrap;
    justify-content: center;
    padding: 8px;
    gap: 6px;
    max-width: 100%;
  }

  .gallery-filter-btn {
    padding: 6px 12px;
    font-size: 0.78rem;
    gap: 5px;
  }

  .gallery-filter-btn i {
    font-size: 0.72rem;
  }

  .gallery-grid {
    grid-auto-rows: 200px;
    gap: 12px;
  }

  .gallery-item--tall,
  .gallery-item--vertical {
    grid-row: span 1;
  }

  /* Timetable */
  .timetable-card {
    border-radius: 18px;
  }

  .timetable-card-header {
    padding: 16px 14px;
    gap: 10px;
  }

  .tt-label {
    font-size: 0.88rem;
  }

  .tt-sublabel {
    font-size: 0.7rem;
  }

  .tt-expand-btn {
    padding: 6px 12px;
    font-size: 0.72rem;
  }

  .tt-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tt-table {
    min-width: 500px;
  }

  .timetable-chips {
    padding: 14px 12px;
    gap: 6px;
  }

  .tt-chip {
    padding: 5px 10px;
    font-size: 0.68rem;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 24px 18px;
  }

  .stars {
    font-size: 0.8rem;
  }

  .testimonial-card p {
    font-size: 0.85rem;
    margin-bottom: 18px;
  }

  .testimonial-author {
    gap: 10px;
  }

  .author-avatar {
    width: 38px;
    height: 38px;
    font-size: 0.78rem;
  }

  .author-name {
    font-size: 0.85rem;
  }

  /* Review form */
  .review-form-card {
    padding: 16px 14px;
  }

  .rating-stars .star {
    width: 34px;
    height: 34px;
  }

  /* Admissions */
  .step-card {
    padding: 24px 18px;
  }

  .step-card h3 {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem) !important;
    padding: 6px 14px !important;
  }

  .step-number {
    font-size: 2.5rem;
  }

  .admissions-banner {
    padding: 18px 14px;
  }

  /* FAQ */
  .faq-question {
    padding: 18px 16px;
    font-size: 0.88rem;
    gap: 12px;
  }

  .faq-answer {
    padding: 0 16px 18px;
  }

  .faq-answer p {
    font-size: 0.85rem;
  }

  /* Founder card */
  .founder-card {
    padding: 20px 16px 20px 20px;
  }

  .founder-name {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }

  .founder-bio {
    font-size: 0.85rem;
  }

  .founder-orgs {
    gap: 6px;
  }

  .founder-org-tag {
    font-size: 0.7rem;
    padding: 3px 10px;
  }

  .founder-highlight-item {
    font-size: 0.78rem;
    padding: 8px 12px;
  }

  /* Contact */
  .contact-card {
    padding: 24px 16px;
  }

  .contact-form-wrap {
    padding: 24px 16px;
  }

  .form-title {
    font-size: 1.2rem;
  }

  /* Footer */
  .footer-top {
    padding: 48px 0 36px;
  }

  .footer-about {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-nav ul {
    gap: 8px;
  }

  .footer-heading {
    font-size: 0.88rem !important;
    padding: 5px 14px !important;
  }

  .footer-contact-item {
    font-size: 0.82rem;
    word-break: break-word;
  }

  .footer-bottom p {
    font-size: 0.75rem;
    word-break: break-word;
    text-align: center;
  }

  /* Floating buttons */
  .nav-cartoon {
    display: none;
  }

  .floating-elephant {
    width: 60px;
    left: 6px;
    bottom: 8px;
  }

  /* Upload modal */
  .upload-modal__content {
    padding: 24px 16px;
    max-width: calc(100vw - 32px);
  }

  .upload-modal__title {
    font-size: 1.3rem;
  }

  /* Card-level h3 pills tighter on mobile */
  .program-title,
  .holistic-card h3,
  .activity-content h3,
  .step-card h3,
  .form-title,
  .review-form-title,
  .upload-modal__title {
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
  }

  /* Safety lightbox */
  .safety-lightbox-inner {
    max-width: 95vw;
  }

  .safety-lightbox-img {
    max-width: 95vw;
    border-radius: 16px;
  }

  .safety-lightbox-caption {
    font-size: 0.82rem;
    padding: 8px 14px;
  }

  /* Gallery lightbox */
  .safety-lightbox-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  /* Animal strip smaller */
  .animal-strip {
    height: 52px;
  }
}

/* ---- Extra small mobile (≤ 400px) ---- */
@media (max-width: 400px) {

  .container {
    padding: 0 clamp(10px, 3vw, 16px);
  }

  .section-header {
    padding: 16px 10px !important;
  }

  .section-header h2.section-title,
  .about-section-header h2.section-title {
    padding: 10px 14px !important;
    font-size: clamp(1rem, 4.5vw, 1.3rem) !important;
    border-radius: 16px !important;
  }

  h1.hero-title {
    font-size: clamp(1.5rem, 7vw, 2rem) !important;
  }

  .hero-badge {
    font-size: 0.65rem;
    padding: 6px 12px;
  }

  .school-kit-items {
    grid-template-columns: 1fr;
  }

  .gallery-filters {
    gap: 4px;
    padding: 6px;
  }

  .gallery-filter-btn {
    padding: 5px 10px;
    font-size: 0.72rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    padding: 12px;
  }

  .gz-card {
    width: 120px;
  }

  .gz-card__img-wrap {
    width: 120px;
    height: 100px;
  }

  .footer-heading {
    font-size: 0.82rem !important;
  }

  .why-feature {
    padding: 14px;
  }

  .step-card {
    padding: 20px 14px;
  }

  .faq-question {
    padding: 14px 12px;
    font-size: 0.82rem;
  }

  .contact-card {
    padding: 20px 12px;
  }

  .contact-form-wrap {
    padding: 20px 12px;
  }

  .testimonial-card {
    padding: 20px 14px;
  }

  .founder-card {
    padding: 16px 12px 16px 16px;
  }

  .founder-img-wrap {
    height: 220px;
  }
}


/* ===============================================
   DEPLOYMENT-READY RESPONSIVE FIXES
   Trust banners, Game Zone pricing, Logo word-colors
   =============================================== */

/* ---- Trust banners: white text on dark mode ---- */
[data-theme="dark"] section.trust-bar .trust-item--green,
[data-theme="dark"] section.trust-bar .trust-item--blue,
[data-theme="dark"] section.trust-bar .trust-item--purple,
[data-theme="dark"] section.trust-bar .trust-item--orange {
  border-color: rgba(255,255,255,0.1) !important;
}

/* ---- Dark mode logo word-colors ---- */
[data-theme="dark"] .logo-brand .word-success { color: #FF659D; }
[data-theme="dark"] .logo-brand .word-kids { color: #60A5FA; }
[data-theme="dark"] .logo-tagline .word-preschool { color: #34D399; }
[data-theme="dark"] .logo-tagline .word-amp { color: #FBBF24; }
[data-theme="dark"] .logo-tagline .word-daycare { color: #C084FC; }

/* ---- Game Zone pricing badges responsive ---- */
@media (max-width: 768px) {
  .gz-pricing-wrap {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .gz-pricing-wrap > span {
    justify-content: center !important;
    font-size: 0.82rem !important;
    padding: 8px 14px !important;
  }
}

@media (max-width: 400px) {
  .gz-pricing-wrap > span {
    font-size: 0.75rem !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
  }
}

/* ---- Trust grid: stack on small mobile ---- */
@media (max-width: 480px) {
  .trust-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .trust-item {
    padding: 14px 16px !important;
  }
}

/* ---- Footer bottom text: wrap on small screens ---- */
@media (max-width: 600px) {
  .footer-bottom-inner p {
    font-size: 0.72rem !important;
    text-align: center !important;
    line-height: 1.6 !important;
  }
}

/* ---- Logo text: ensure no clipping ---- */
.logo-text {
  overflow: visible;
  min-width: 0;
}

@media (max-width: 360px) {
  .logo-brand {
    font-size: 1.1rem !important;
  }
  .logo-tagline {
    font-size: 0.62rem !important;
  }
}
