/* =====================================================
   PRAVISH PRESCHOOL — Main Stylesheet
   Design System: Rainbow Kids Brand
   ===================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@600;700;800&family=Poppins:wght@400;500;600&family=Quicksand:wght@400;500&display=swap');

/* =====================
   CSS CUSTOM PROPERTIES
   ===================== */
:root {
  /* Brand Colors */
  --red:        #EF4136;
  --orange:     #F7941D;
  --yellow:     #E8A800;
  --yellow-bright: #FFF200;
  --green:      #39B54A;
  --sky:        #27AAE1;
  --purple:     #92278F;
  --indigo:     #1B2A6B;
  --squirrel:   #E07B18;
  --cream:      #FDE7A0;
  --dark:       #1A1A2E;
  --grey:       #F7F7F7;
  --white:      #FFFFFF;
  --text:       #2D2D2D;
  --text-light: #666;
  --border:     #E8E8E8;

  /* Typography */
  --font-display:  'Fredoka One', cursive;
  --font-heading:  'Nunito', sans-serif;
  --font-body:     'Poppins', sans-serif;
  --font-quote:    'Quicksand', sans-serif;

  /* Spacing */
  --section-py: 80px;
  --container:  1200px;
  --radius:     16px;
  --radius-sm:  10px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  /* Shadows */
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:  0 6px 30px rgba(0,0,0,0.12);
  --shadow-lg:  0 12px 50px rgba(0,0,0,0.15);
  --shadow-colored: 0 8px 30px rgba(239,65,54,0.25);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 18%, rgba(255,242,0,0.16) 0 70px, transparent 72px),
    radial-gradient(circle at 92% 28%, rgba(39,170,225,0.12) 0 82px, transparent 84px),
    radial-gradient(circle at 14% 82%, rgba(57,181,74,0.10) 0 62px, transparent 64px),
    linear-gradient(180deg, #fffdf7 0%, var(--white) 42%, #fffaf2 100%);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

/* =====================
   TYPOGRAPHY
   ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  font-weight: 700;
}

.display-font {
  font-family: var(--font-display);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* Rainbow Text */
.rainbow-red    { color: var(--red); }
.rainbow-orange { color: var(--orange); }
.rainbow-yellow { color: var(--yellow); }
.rainbow-green  { color: var(--green); }
.rainbow-sky    { color: var(--sky); }
.rainbow-purple { color: var(--purple); }
.rainbow-indigo { color: var(--indigo); }

/* =====================
   LAYOUT
   ===================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: var(--section-py) 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

section > .container {
  position: relative;
  z-index: 1;
}

section:not(.hero):not(.activities-section):not(.cta-section)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background:
    radial-gradient(circle at 9% 18%, rgba(239,65,54,0.12) 0 7px, transparent 8px),
    radial-gradient(circle at 18% 76%, rgba(57,181,74,0.12) 0 10px, transparent 11px),
    radial-gradient(circle at 82% 24%, rgba(247,148,29,0.14) 0 9px, transparent 10px),
    radial-gradient(circle at 91% 78%, rgba(146,39,143,0.10) 0 11px, transparent 12px),
    linear-gradient(135deg, transparent 0 48%, rgba(255,242,0,0.08) 49% 51%, transparent 52%),
    linear-gradient(45deg, transparent 0 48%, rgba(39,170,225,0.08) 49% 51%, transparent 52%);
  background-size: 220px 220px, 260px 260px, 240px 240px, 280px 280px, 180px 180px, 210px 210px;
}

section:not(.hero):not(.activities-section):not(.cta-section)::after {
  content: "";
  position: absolute;
  top: 34px;
  right: clamp(18px, 6vw, 110px);
  z-index: 0;
  width: 118px;
  height: 62px;
  pointer-events: none;
  opacity: 0.16;
  border-radius: 90px 90px 0 0;
  border-top: 12px solid var(--red);
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  box-shadow:
    inset 0 12px 0 var(--orange),
    inset 0 24px 0 var(--yellow-bright),
    inset 0 36px 0 var(--green),
    inset 0 48px 0 var(--sky);
  transform: rotate(8deg);
}

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

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(239,65,54,0.35);
}
.btn-primary:hover {
  background: #d63528;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(239,65,54,0.45);
}

.btn-secondary {
  background: var(--white);
  color: var(--indigo);
  border-color: var(--indigo);
}
.btn-secondary:hover {
  background: var(--indigo);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(57,181,74,0.35);
}
.btn-green:hover {
  background: #2da040;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--indigo);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 18px 42px;
  font-size: 1.1rem;
}

/* =====================
   BADGE / PILL
   ===================== */
.badge {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-red    { background: rgba(239,65,54,0.12);   color: var(--red); }
.badge-orange { background: rgba(247,148,29,0.12);  color: var(--orange); }
.badge-green  { background: rgba(57,181,74,0.12);   color: var(--green); }
.badge-sky    { background: rgba(39,170,225,0.12);  color: var(--sky); }
.badge-purple { background: rgba(146,39,143,0.12);  color: var(--purple); }
.badge-indigo { background: rgba(27,42,107,0.12);   color: var(--indigo); }
.badge-yellow { background: rgba(232,168,0,0.15);   color: #9a6e00; }

/* =====================
   CARDS
   ===================== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card-body {
  padding: 24px;
}

/* =====================
   HEADER / NAVIGATION
   ===================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.88);
  border-bottom: 1px solid rgba(232,232,232,0.75);
  box-shadow: 0 8px 28px rgba(27,42,107,0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: top 0.25s ease, box-shadow 0.3s ease, background 0.3s ease;
}

body.has-admission-banner #header {
  top: var(--admission-banner-height, 43px);
}

#header.scrolled {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 10px 34px rgba(27,42,107,0.12);
  padding: 0;
}

#header.scrolled .nav-wrapper {
  padding-top: 6px;
  padding-bottom: 6px;
  padding-left: 40px;
  padding-right: 40px;
}

#header.scrolled .nav-logo img {
  height: 38px;
}

#header.scrolled .nav-logo-text .school-name {
  font-size: 1.1rem;
}

/* =====================
   SCROLL TO TOP
   ===================== */
.scroll-top {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(239,65,54,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  z-index: 998;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: #d63528;
  transform: translateY(-3px);
}

/* =====================
   ADMISSION BANNER
   ===================== */
.admission-banner {
  background: linear-gradient(90deg, var(--red) 0%, #f7941d 100%);
  color: var(--white);
  text-align: center;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
  z-index: 1001;
  letter-spacing: 0.01em;
}

.admission-banner a {
  color: var(--white);
  text-decoration: underline;
  margin-left: 10px;
}

.admission-banner .banner-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0.8;
}

.admission-banner .banner-close:hover {
  opacity: 1;
}

/* =====================
   TESTIMONIAL CAROUSEL
   ===================== */
.testimonial-carousel-wrap {
  position: relative;
  overflow: hidden;
  max-width: 820px;
  margin: 0 auto;
  padding: 8px 18px 0;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}

.testimonial-track .testimonial-card {
  flex: 0 0 100%;
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}

.carousel-dot.active {
  background: var(--red);
  transform: scale(1.3);
}

/* =====================
   FORM INLINE VALIDATION
   ===================== */
.form-group {
  position: relative;
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: #e53e3e !important;
  background: #fff5f5;
}

.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
  border-color: #38a169 !important;
}

.field-error {
  color: #e53e3e;
  font-size: 0.78rem;
  margin-top: 4px;
  display: none;
}

.field-error.visible {
  display: block;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
  padding: 0 40px;
  width: 100%;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding: 7px 10px 7px 7px;
  border-radius: 18px;
  transition: var(--transition);
}

.nav-logo:hover {
  background: rgba(255,242,0,0.12);
  transform: translateY(-1px);
}

.nav-logo img {
  height: 62px;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(27,42,107,0.12));
}

.page-hero-logo {
  display: block;
  margin: 0 auto 16px;
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.25));
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-text .school-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}
.nav-logo-text .school-name .l1 { color: #EF4136; }
.nav-logo-text .school-name .l2 { color: #F7941D; }
.nav-logo-text .school-name .l3 { color: #F5A800; }
.nav-logo-text .school-name .l4 { color: #39B54A; }
.nav-logo-text .school-name .l5 { color: #27AAE1; }
.nav-logo-text .school-name .l6 { color: #2B5EAA; }
.nav-logo-text .school-name .l7 { color: #5C3D9E; }

.nav-logo-text .school-sub {
  font-size: 0.65rem;
  font-weight: 800;
  color: #1B2A6B;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px;
  border: 1px solid rgba(232,232,232,0.78);
  border-radius: 22px;
  background: rgba(255,255,255,0.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
  white-space: nowrap;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 16px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark);
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red);
  background: linear-gradient(135deg, rgba(239,65,54,0.10), rgba(247,148,29,0.10));
  box-shadow: 0 8px 18px rgba(239,65,54,0.10);
  transform: translateY(-1px);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  background: rgba(255,255,255,0.98);
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(27,42,107,0.16);
  min-width: 230px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transition: var(--transition);
  border: 1px solid rgba(232,232,232,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: rgba(39,170,225,0.10);
  color: var(--red);
  transform: translateX(2px);
}

.dropdown-item .age-badge {
  font-size: 0.7rem;
  background: var(--cream);
  color: var(--squirrel);
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
  margin-left: auto;
}

.nav-cta {
  margin-left: auto;
  flex-shrink: 0;
  box-shadow: 0 12px 26px rgba(239,65,54,0.24);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(239,65,54,0.30);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  border-radius: 16px;
  background: rgba(27,42,107,0.06);
  transition: var(--transition);
}

.hamburger:hover {
  background: rgba(239,65,54,0.10);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 75px;
  left: 12px;
  right: 12px;
  bottom: auto;
  max-height: calc(100vh - 96px);
  background: rgba(255,255,255,0.98);
  z-index: 999;
  overflow-y: auto;
  padding: 14px;
  border: 1px solid rgba(232,232,232,0.9);
  border-radius: 0 0 24px 24px;
  box-shadow: 0 22px 50px rgba(27,42,107,0.18);
  transform: translateY(-18px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.has-admission-banner .mobile-nav {
  top: calc(var(--admission-banner-height, 43px) + 75px);
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-link {
  display: block;
  padding: 13px 15px;
  border-radius: 15px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  border-bottom: none;
}

.mobile-nav-link:hover {
  color: var(--red);
  background: rgba(239,65,54,0.08);
}

.mobile-dropdown {
  padding-left: 16px;
  border-left: 3px solid var(--cream);
  margin: 4px 0 8px 8px;
}

.mobile-dropdown a {
  display: block;
  padding: 10px 12px;
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 700;
  border-radius: 12px;
}

.mobile-dropdown a:hover {
  color: var(--red);
  background: rgba(39,170,225,0.08);
}

.mobile-nav-cta {
  margin-top: 20px;
  text-align: center;
}

/* Page offset for fixed header */
.page-offset {
  padding-top: 75px;
}

/* =====================
   HERO SECTION
   ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #FFF5E6 0%, #E8F4FD 50%, #F0FFF0 100%);
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: floatShape 6s ease-in-out infinite;
}

.hero-shape-1 { width: 300px; height: 300px; background: var(--red);    top: -80px;  right: 15%; animation-delay: 0s; }
.hero-shape-2 { width: 200px; height: 200px; background: var(--sky);    bottom: 10%; left: 5%;   animation-delay: 1.5s; }
.hero-shape-3 { width: 150px; height: 150px; background: var(--green);  top: 30%;    right: 5%;  animation-delay: 3s; }
.hero-shape-4 { width: 100px; height: 100px; background: var(--yellow-bright); bottom: 20%; right: 25%; animation-delay: 2s; }
.hero-shape-5 { width: 80px;  height: 80px;  background: var(--purple); top: 20%;    left: 20%;  animation-delay: 4s; }

@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-20px) rotate(5deg); }
}

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

.hero-text .school-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  color: var(--squirrel);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(224,123,24,0.2);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--red);
  display: block;
  line-height: 1;
}

.hero-stat .stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-main {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/5;
  animation: heroFloat 4s ease-in-out infinite;
  background: linear-gradient(135deg, var(--cream), #fde8f0, #e8f4fd);
  color: transparent;
}

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

.hero-floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floatCard 5s ease-in-out infinite;
}

.hero-floating-card:nth-child(2) { top: 10%; left: -10%; animation-delay: 0.5s; }
.hero-floating-card:nth-child(3) { bottom: 15%; right: -8%; animation-delay: 1.5s; }
.hero-floating-card:nth-child(4) { bottom: 35%; left: -12%; animation-delay: 2.5s; }

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

.hero-floating-card .fc-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.hero-floating-card .fc-text strong {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--dark);
}

.hero-floating-card .fc-text span {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.8rem;
  animation: bounce 2s infinite;
}

.scroll-indicator .scroll-dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* =====================
   MARQUEE STRIP
   ===================== */
.marquee-strip {
  background: var(--indigo);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-block;
  animation: marquee 30s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  margin-right: 50px;
}

.marquee-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =====================
   WHY CHOOSE US
   ===================== */
.why-section {
  background: var(--grey);
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--cream);
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* =====================
   PROGRAMS SECTION
   ===================== */
.programs-section {}

.program-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background: var(--white);
  border: 2px solid transparent;
}

.program-card {
  position: relative;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.program-card-hover-cta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  pointer-events: none;
}

.program-card:hover .program-card-hover-cta {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.program-card-header {
  padding: 36px 28px 24px;
  text-align: center;
  position: relative;
}

.program-emoji {
  font-size: 3.5rem;
  margin-bottom: 16px;
  display: block;
  animation: wiggle 3s ease-in-out infinite;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-3deg); }
  50%       { transform: rotate(3deg); }
}

.program-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.program-age {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

.program-card-body {
  padding: 0 28px 28px;
}

.program-features {
  margin-bottom: 20px;
}

.program-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.program-feature:last-child { border-bottom: none; }

.program-feature .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  color: var(--white);
}

/* Program card color variants */
.program-card.red    { border-color: rgba(239,65,54,0.15); }
.program-card.red    .program-card-header { background: linear-gradient(135deg, rgba(239,65,54,0.08), rgba(247,148,29,0.08)); }
.program-card.red    .program-name { color: var(--red); }
.program-card.red    .check { background: var(--red); }
.program-card.red    .btn { --btn-color: var(--red); }

.program-card.orange { border-color: rgba(247,148,29,0.15); }
.program-card.orange .program-card-header { background: linear-gradient(135deg, rgba(247,148,29,0.08), rgba(232,168,0,0.08)); }
.program-card.orange .program-name { color: var(--orange); }
.program-card.orange .check { background: var(--orange); }

.program-card.green  { border-color: rgba(57,181,74,0.15); }
.program-card.green  .program-card-header { background: linear-gradient(135deg, rgba(57,181,74,0.08), rgba(39,170,225,0.08)); }
.program-card.green  .program-name { color: var(--green); }
.program-card.green  .check { background: var(--green); }

.program-card.sky    { border-color: rgba(39,170,225,0.15); }
.program-card.sky    .program-card-header { background: linear-gradient(135deg, rgba(39,170,225,0.08), rgba(146,39,143,0.08)); }
.program-card.sky    .program-name { color: var(--sky); }
.program-card.sky    .check { background: var(--sky); }

/* =====================
   ACTIVITIES SECTION
   ===================== */
.activities-section {
  background: linear-gradient(135deg, var(--indigo) 0%, #2D1B6B 100%);
  position: relative;
  overflow: hidden;
}

.activities-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.activities-section .section-title,
.activities-section .section-subtitle {
  color: var(--white);
}

.activities-section .section-subtitle {
  color: rgba(255,255,255,0.7);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.activity-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.activity-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.25);
}

.activity-emoji {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 12px;
}

.activity-card h3 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
}

.activity-card p {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  margin-top: 6px;
}

/* =====================
   GALLERY PREVIEW
   ===================== */
.gallery-preview-section {}

.gallery-grid-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.featured img {
  height: 100%;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27,42,107,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay .zoom-icon {
  color: var(--white);
  font-size: 2rem;
  background: rgba(255,255,255,0.2);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

/* =====================
   TESTIMONIALS
   ===================== */
.testimonials-section {
  background: var(--grey);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 6rem;
  color: var(--cream);
  position: absolute;
  top: -10px;
  left: 20px;
  line-height: 1;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--yellow);
  font-size: 1.1rem;
  margin-bottom: 16px;
  display: flex;
  gap: 2px;
}

.testimonial-text {
  font-family: var(--font-quote);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--cream);
}

.author-avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* =====================
   CTA SECTION
   ===================== */
.cta-section {
  background: linear-gradient(135deg, var(--red) 0%, var(--orange) 100%);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='20' cy='20' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-section .section-title {
  color: var(--white);
}

.cta-section .section-subtitle {
  color: rgba(255,255,255,0.85);
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* =====================
   ENQUIRY FORM
   ===================== */
.enquiry-section {
  background: var(--grey);
}

.enquiry-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.enquiry-info h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.enquiry-info p {
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 24px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
}

.contact-item .ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item a {
  font-weight: 500;
  color: var(--dark);
}
.contact-item a:hover { color: var(--red); }

.enquiry-form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--indigo);
  margin-bottom: 24px;
  text-align: center;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  transition: var(--transition);
  background: var(--grey);
}

.form-control:focus {
  outline: none;
  border-color: var(--sky);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(39,170,225,0.1);
}

.form-control::placeholder {
  color: #aaa;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-submit-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.form-submit-row .btn {
  flex: 1;
  justify-content: center;
}

/* =====================
   FOOTER
   ===================== */
#footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding-top: 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-brand .footer-logo img {
  height: 38px;
}

.footer-brand .footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
}
.footer-brand .footer-logo-text .l1 { color: #EF4136 !important; }
.footer-brand .footer-logo-text .l2 { color: #F7941D !important; }
.footer-brand .footer-logo-text .l3 { color: #F5A800 !important; }
.footer-brand .footer-logo-text .l4 { color: #39B54A !important; }
.footer-brand .footer-logo-text .l5 { color: #27AAE1 !important; }
.footer-brand .footer-logo-text .l6 { color: #2B5EAA !important; }
.footer-brand .footer-logo-text .l7 { color: #5C3D9E !important; }

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.6);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
}

.social-link:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact-item .icon {
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.6);
}

.footer-contact-item a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
}
.footer-bottom a:hover { color: var(--white); }

/* =====================
   FLOATING WHATSAPP
   ===================== */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 999;
  animation: waPulse 2s infinite;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  font-size: 1.8rem;
  transition: var(--transition);
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.55);
}

.whatsapp-float .wa-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--dark);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.whatsapp-float a:hover .wa-tooltip,
.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
}

@keyframes waPulse {
  0%   { filter: drop-shadow(0 0 0px rgba(37,211,102,0)); }
  50%  { filter: drop-shadow(0 0 12px rgba(37,211,102,0.5)); }
  100% { filter: drop-shadow(0 0 0px rgba(37,211,102,0)); }
}

/* Mobile sticky bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
  padding: 10px 16px;
  gap: 10px;
}

.mobile-sticky-bar .sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
}

.sticky-call {
  background: var(--indigo);
  color: var(--white);
}

.sticky-wa {
  background: #25D366;
  color: var(--white);
}

/* =====================
   PAGE HERO (Inner pages)
   ===================== */
.page-hero {
  padding: 40px 0 30px;
  background: linear-gradient(135deg, var(--indigo) 0%, #2D1B6B 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='5'/%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.breadcrumb a {
  color: var(--red);
}
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { color: rgba(255,255,255,0.6); }
.breadcrumb .current { color: var(--red); }

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =====================
   ABOUT PAGE
   ===================== */
.about-intro-section {
  background: var(--white);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-image-stack {
  position: relative;
}

.about-image-main {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about-image-secondary {
  position: absolute;
  width: 55%;
  bottom: -30px;
  right: -30px;
  border-radius: var(--radius);
  border: 6px solid var(--white);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-badge-float {
  position: absolute;
  top: 20px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-badge-float .big-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--red);
  line-height: 1;
}

.about-badge-float .label {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.about-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
}

.about-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-point .ap-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-point .ap-text strong {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
}

.about-point .ap-text span {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* Vision & Mission */
.vision-mission-section {
  background: var(--grey);
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.vm-card {
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.vm-card.vision {
  background: linear-gradient(135deg, var(--indigo) 0%, #2D1B6B 100%);
  color: var(--white);
}

.vm-card.mission {
  background: linear-gradient(135deg, var(--red) 0%, var(--orange) 100%);
  color: var(--white);
}

.vm-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.vm-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 14px;
}

.vm-card p {
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
}

/* Team */
.team-section {}

.team-card {
  text-align: center;
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 4px solid var(--cream);
}

.team-avatar-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 16px;
  border: 4px solid var(--cream);
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}

.team-role {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* =====================
   PROGRAM DETAIL PAGE
   ===================== */
.program-detail-hero {
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.program-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.ph-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.ph-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.ph-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.ph-card p {
  font-size: 0.85rem;
  color: var(--text-light);
}

.curriculum-section {}

.curriculum-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.curriculum-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--green);
}

.curriculum-item .ci-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.curriculum-item .ci-text strong {
  display: block;
  font-weight: 700;
  color: var(--dark);
  font-size: 0.95rem;
}

.curriculum-item .ci-text span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* =====================
   GALLERY PAGE
   ===================== */
.gallery-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--indigo);
  color: var(--white);
  border-color: var(--indigo);
}

.gallery-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid-full .gallery-item img {
  height: 240px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.2);
}

/* =====================
   ADMISSIONS PAGE
   ===================== */
.admissions-process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.admissions-steps {
  counter-reset: step;
}

.admission-step {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  align-items: flex-start;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(239,65,54,0.3);
}

.step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.step-content p {
  color: var(--text-light);
  font-size: 0.93rem;
  line-height: 1.7;
}

.docs-needed {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px;
  border-left: 4px solid var(--squirrel);
}

.docs-needed h3 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.docs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text);
}

/* =====================
   BLOG PAGE
   ===================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-img-placeholder {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.blog-card-body {
  padding: 22px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.blog-meta .date,
.blog-meta .author {
  font-size: 0.8rem;
  color: var(--text-light);
}

.blog-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-title a {
  color: inherit;
}

.blog-card-title a:hover { color: var(--red); }

.blog-excerpt {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.read-more:hover { gap: 8px; }

/* Blog Post */
.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.blog-post-header {
  margin-bottom: 28px;
}

.blog-post-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 12px;
}

.blog-post-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.blog-post-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-post-img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16/8;
  object-fit: cover;
  margin-bottom: 32px;
}

.blog-post-content {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
}

.blog-post-content h2 {
  font-size: 1.5rem;
  color: var(--dark);
  margin: 32px 0 14px;
}

.blog-post-content h3 {
  font-size: 1.15rem;
  color: var(--dark);
  margin: 24px 0 10px;
}

.blog-post-content p {
  margin-bottom: 18px;
}

.blog-post-content ul,
.blog-post-content ol {
  margin: 0 0 18px 24px;
  list-style: disc;
}

.blog-post-content li {
  margin-bottom: 8px;
}

.blog-post-content blockquote {
  border-left: 4px solid var(--sky);
  margin: 24px 0;
  padding: 16px 24px;
  background: rgba(39,170,225,0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-quote);
  font-style: italic;
  color: var(--text-light);
}

/* Blog Sidebar */
.blog-sidebar {
  position: sticky;
  top: 95px;
}

.sidebar-widget {
  background: var(--grey);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-widget h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

.sidebar-post {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.sidebar-post:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.sidebar-post img {
  width: 70px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-post-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
}

.sidebar-post-date {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* =====================
   FAQ PAGE
   ===================== */
.faq-layout-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  align-items: start;
}

.faq-sidebar-sticky {
  position: sticky;
  top: 95px;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--sky);
  box-shadow: 0 4px 20px rgba(39,170,225,0.12);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--white);
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  gap: 12px;
}

.faq-question .faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--grey);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 1.1rem;
  color: var(--indigo);
}

.faq-item.open .faq-icon {
  background: var(--sky);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 4px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* =====================
   CONTACT PAGE
   ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: start;
}

.contact-info-card {
  background: var(--indigo);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
}

.contact-info-card h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 8px;
}

.contact-info-card > p {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail .cd-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-detail .cd-text .label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-detail .cd-text .value {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 500;
  line-height: 1.5;
}

.contact-detail .cd-text a {
  color: var(--white);
}
.contact-detail .cd-text a:hover { color: var(--cream); }

.contact-timings {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 18px;
  margin-top: 24px;
  border: 1px solid rgba(255,255,255,0.1);
}

.contact-timings h4 {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.contact-timings p {
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
}

.map-section {
  background: var(--grey);
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: none;
}

/* =====================
   PRIVACY POLICY PAGE
   ===================== */
.policy-content {
  max-width: 820px;
  margin: 0 auto;
}

.policy-content h2 {
  font-size: 1.4rem;
  color: var(--dark);
  margin: 36px 0 12px;
  font-family: var(--font-heading);
}

.policy-content p,
.policy-content li {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 0.96rem;
}

.policy-content ul {
  margin: 12px 0 12px 24px;
  list-style: disc;
}

.policy-content li {
  margin-bottom: 6px;
}

/* =====================
   404 PAGE
   ===================== */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #FFF5E6, #E8F4FD);
}

.error-404-num {
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 12rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--red), var(--orange), var(--green), var(--sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-404 h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.page-404 p {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* =====================
   UTILITY CLASSES
   ===================== */
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.bg-white  { background: var(--white); }
.bg-grey   { background: var(--grey); }
.bg-dark   { background: var(--dark); }
.bg-indigo { background: var(--indigo); }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-10 { gap: 10px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

.hidden { display: none !important; }

/* =====================
   ANIMATIONS (AOS)
   ===================== */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"]   { transform: translateY(30px); }
[data-aos="fade-down"] { transform: translateY(-30px); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="fade-right"]{ transform: translateX(-30px); }
[data-aos="zoom-in"]   { transform: scale(0.9); }

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* =====================
   RESPONSIVE — TABLET
   ===================== */
@media (max-width: 1024px) {
  :root { --section-py: 60px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-image { order: -1; }

  .hero-buttons, .hero-stats {
    justify-content: center;
  }

  .hero-tagline { margin-left: auto; margin-right: auto; }

  .hero-floating-card:nth-child(2),
  .hero-floating-card:nth-child(3),
  .hero-floating-card:nth-child(4) {
    display: none;
  }

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

  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-secondary { right: -10px; }

  .enquiry-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .blog-post-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================
   RESPONSIVE — MOBILE
   ===================== */
@media (max-width: 768px) {
  :root { --section-py: 40px; }

  html { font-size: 15px; }

  .page-hero-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    display: block;
  }

  /* Prevent horizontal overflow */
  body { overflow-x: hidden; }
  .container { padding: 0 16px; }

  /* Disable horizontal AOS animations on mobile to prevent left-side cutoff */
  [data-aos="fade-left"],
  [data-aos="fade-right"] {
    transform: translateY(20px) !important;
  }
  [data-aos="fade-left"].aos-animate,
  [data-aos="fade-right"].aos-animate {
    transform: translateY(0) translateX(0) scale(1) !important;
  }

  /* Nav */
  .nav-menu, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .nav-wrapper {
    height: 68px;
    padding: 0 16px;
  }
  .nav-logo {
    padding: 4px 8px 4px 4px;
  }
  .nav-logo img {
    height: 54px;
  }
  .nav-logo-text .school-name { font-size: 1.1rem; }

  /* Grids */
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-grid-preview {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .gallery-item.featured {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-grid-full {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .vm-grid, .program-highlights, .curriculum-list,
  .blog-grid, .docs-list {
    grid-template-columns: 1fr;
  }

  /* Hero */
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-title { font-size: clamp(1.8rem, 7vw, 2.5rem); }

  /* Section titles */
  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* Program cards */
  .program-card-header { padding: 24px 18px 16px; }

  /* Enquiry form */
  .enquiry-form-box { padding: 24px 16px; }
  .form-submit-row { flex-direction: column; }

  /* Contact */
  .contact-info-card { padding: 20px 16px; }

  /* Map */
  .map-embed iframe { height: 280px; }

  /* About image stack — prevent overflow */
  .about-image-secondary { display: none; }
  .about-badge-float {
    top: 12px;
    left: 12px;
    right: auto;
    bottom: auto;
    padding: 12px 16px;
    border-radius: 14px;
  }
  .about-badge-float .big-num { font-size: 1.8rem; }

  /* Testimonial quote mark */
  .testimonial-card::before { font-size: 4rem; top: 8px; }

  /* Sidebar */
  .sidebar-widget { padding: 16px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* WhatsApp float */
  .whatsapp-float { bottom: 80px; right: 16px; }

  /* Mobile sticky bar */
  .mobile-sticky-bar { display: flex; }

  /* Push content above sticky bar */
  body { padding-bottom: 70px; }

  /* Blog */
  .blog-meta { flex-direction: column; gap: 4px; }

  /* CTA buttons */
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { width: 100%; justify-content: center; }

  /* Admissions page 2-col process grid */
  .admissions-process-grid {
    display: block !important;
  }
  .admissions-process-grid > * {
    margin-bottom: 24px;
  }

  /* FAQ page sidebar+content grid */
  .faq-layout-grid {
    display: block !important;
  }
  .faq-sidebar-sticky {
    position: static !important;
    margin-bottom: 32px;
  }
}

@media (max-width: 480px) {
  :root { --section-py: 32px; }

  .activity-grid { grid-template-columns: 1fr; }
  .gallery-grid-preview { grid-template-columns: 1fr; }
  .gallery-item.featured { grid-column: span 1; }
  .gallery-grid-full { grid-template-columns: 1fr; }

  .hero-stats {
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }
  .hero-stat { min-width: 80px; }

  /* Buttons full width on tiny screens */
  .btn-lg { padding: 13px 24px; font-size: 0.95rem; }

  /* Sticky bar text smaller */
  .sticky-call, .sticky-wa { font-size: 0.85rem; padding: 10px 12px; }
}
