/* ============================================================
   MORNING GLORY KINDERGARTEN — Main Stylesheet v2
   Pixel-perfect replica of design reference
   Fully Responsive: Mobile / Tablet / Laptop / Desktop
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --purple:      #4a1fa8;
  --purple-dark: #3a1580;
  --purple-light:#7c3aed;
  --pink:        #e91e8c;
  --pink-light:  #ff4db8;
  --green:       #22c55e;
  --green-dark:  #16a34a;
  --yellow:      #f59e0b;
  --orange:      #f97316;
  --blue:        #3b82f6;
  --hero-bg:     #faf5ff;
  --light-bg:    #fafafc;
  --white:       #ffffff;
  --dark:        #1e1b4b;
  --dark-2:      #2d2d5e;
  --gray:        #64748b;
  --gray-light:  #94a3b8;
  --border:      #e2e8f0;
  --lavender:    #ede9fe;
  --shadow-sm:   0 2px 8px rgba(74,31,168,0.08);
  --shadow:      0 4px 20px rgba(74,31,168,0.12);
  --shadow-lg:   0 8px 40px rgba(74,31,168,0.20);
  --radius-sm:   8px;
  --radius:      16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-full: 9999px;
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
  --font:        'Nunito', sans-serif;
  --font-head:   'Poppins', sans-serif;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Container ─────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 80px 0; }

/* ── Section Labels ────────────────────────────────────────── */
.label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-subtitle {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.7;
}
.text-center { text-align: center; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
  border: 2.5px solid transparent;
  cursor: pointer;
  font-family: var(--font);
}
.btn-pink {
  background: linear-gradient(135deg, var(--pink), #c2185b);
  color: white;
  box-shadow: 0 4px 18px rgba(233,30,140,0.35);
}
.btn-pink:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(233,30,140,0.5); }
.btn-outline {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}
.btn-outline:hover { background: var(--purple); color: white; transform: translateY(-2px); }
.btn-green {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: white;
  box-shadow: 0 4px 18px rgba(34,197,94,0.35);
}
.btn-green:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 22px; font-size: 0.87rem; }
.btn-lg { padding: 16px 38px; font-size: 1rem; }

/* ════════════════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 24px rgba(74,31,168,0.12); border-bottom-color: transparent; }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo-img { height: 52px; width: auto; object-fit: contain; max-width: 200px; }
/* Text fallback when no logo image */
.nav-logo-text-fallback { display: flex; align-items: center; gap: 8px; }
.logo-flower { font-size: 2rem; }
.logo-text { line-height: 1; }
.logo-text .name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--purple);
  display: block;
}
.logo-text .sub {
  font-size: 0.6rem;
  letter-spacing: 4px;
  color: var(--pink);
  font-weight: 800;
  text-transform: uppercase;
}

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark-2);
  border-radius: var(--radius-sm);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  width: 0; height: 2.5px;
  background: var(--pink);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--purple); }
.nav-links a:hover::after, .nav-links a.active::after { width: 65%; }
.nav-links a.active { color: var(--purple); }

/* Nav right */
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 2px solid #e8e0f8;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.87rem;
  color: var(--purple);
  background: #faf7ff;
}
.nav-phone .ph-icon {
  width: 28px; height: 28px;
  background: var(--purple);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: white; flex-shrink: 0;
}
.nav-phone:hover { background: var(--lavender); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.hamburger span {
  width: 24px; height: 2.5px;
  background: var(--purple);
  border-radius: 2px;
  display: block;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 12px 20px 20px;
  border-top: 1px solid var(--border);
  gap: 2px;
  background: white;
  animation: slideDown 0.25s ease;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--dark-2);
  font-size: 0.95rem;
}
.mobile-nav a:hover, .mobile-nav a.active { background: var(--lavender); color: var(--purple); }
.mobile-nav .btn { margin-top: 10px; text-align: center; justify-content: center; }
@keyframes slideDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }

/* ════════════════════════════════════════════════════════════
   HERO SECTION — exact design replica
════════════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(160deg, #f5f3ff 0%, #fae8ff 45%, #fff0f6 75%, #f0fdf4 100%);
  position: relative;
  overflow: hidden;
  min-height: 540px;
  display: flex;
  flex-direction: column;
}

/* Decorative elements */
.hero-deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.deco-flower-left {
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 7rem;
  opacity: 0.85;
  filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.1));
}
.deco-cloud-1 {
  top: 10px; right: 38%;
  font-size: 3.5rem;
  opacity: 0.7;
  animation: float-slow 6s ease-in-out infinite;
}
.deco-cloud-2 {
  top: 40px; left: 45%;
  font-size: 2.5rem;
  opacity: 0.5;
  animation: float-slow 8s ease-in-out infinite reverse;
}
.deco-sun {
  top: 0; right: 0;
  font-size: 5rem;
  opacity: 0.95;
  animation: spin-slow 12s linear infinite;
  transform-origin: 60% 40%;
}
.deco-bee {
  top: 30%; left: 42%;
  font-size: 1.8rem;
  animation: bee-fly 4s ease-in-out infinite;
}
.deco-morning-glory-top-left {
  top: 0; left: 0;
  width: 180px;
  opacity: 0.8;
}
.deco-morning-glory-right {
  bottom: 0; right: 0;
  width: 200px;
  opacity: 0.7;
}

@keyframes float-slow { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes spin-slow { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
@keyframes bee-fly {
  0%,100% { transform: translate(0,0) rotate(-5deg); }
  25% { transform: translate(10px,-15px) rotate(5deg); }
  75% { transform: translate(-10px,-8px) rotate(-3deg); }
}

/* Hero inner */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 24px 0;
  width: 100%;
  position: relative;
  z-index: 2;
  gap: 20px;
}

/* Hero content */
.hero-content {}
.hero-tagline {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: block;
}
.hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--dark);
}
.hero-h1 .line1 { display: block; }
.hero-h1 .pink-word { color: var(--pink); }
.hero-h1 .green-word {
  color: var(--green-dark);
  position: relative;
  display: inline-block;
}
.hero-h1 .green-word::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 5px;
  background: var(--yellow);
  border-radius: 3px;
}
.hero-flower-inline { display: inline; font-size: 1.4rem; margin-left: 4px; }
.hero-desc {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 430px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero image column */
.hero-image-col {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.hero-photo {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4/3.2;
  object-fit: cover;
  object-position: top center;
  border-radius: 30px 30px 0 0;
  box-shadow: var(--shadow-lg);
  display: block;
  margin-left: auto;
  background: linear-gradient(135deg, #c8e6c9, #e8f5e9);
  min-height: 320px;
}
.hero-badge {
  position: absolute;
  bottom: 30px;
  left: -10px;
  background: linear-gradient(135deg, var(--purple), #6d28d9);
  color: white;
  padding: 16px 20px;
  border-radius: 50% 50% 50% 10px;
  font-weight: 800;
  font-size: 0.78rem;
  text-align: center;
  line-height: 1.5;
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
  max-width: 120px;
  min-width: 110px;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* Hero features bar */
.hero-features {
  position: relative;
  z-index: 3;
  margin: 30px 24px 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.hero-features-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(74,31,168,0.13);
  padding: 24px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.feat-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px;
}
.feat-item + .feat-item {
  border-left: 1px solid var(--border);
  padding-left: 20px;
}
.feat-icon-circle {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.fi-green  { background: #dcfce7; }
.fi-pink   { background: #fce7f3; }
.fi-blue   { background: #dbeafe; }
.fi-yellow { background: #fef9c3; }
.feat-text h4 { font-size: 0.92rem; font-weight: 800; color: var(--dark); margin-bottom: 3px; }
.feat-text p  { font-size: 0.78rem; color: var(--gray); line-height: 1.4; }

/* ════════════════════════════════════════════════════════════
   ABOUT SECTION
════════════════════════════════════════════════════════════ */
.about-section { background: white; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* About images */
.about-imgs {
  position: relative;
  height: 400px;
  width: 100%;
  flex-shrink: 0;
}
.about-img-1 {
  position: absolute;
  top: 0; left: 0;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50% 40% 50% 40%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 6px solid white;
  background: linear-gradient(135deg,#e8f5e9,#c8e6c9);
}
.about-img-2 {
  position: absolute;
  bottom: 0; right: 0;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 40% 50% 40% 50%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 5px solid white;
  background: linear-gradient(135deg,#fce4ec,#f8bbd0);
}
.about-flower-deco {
  position: absolute;
  bottom: 0; left: -10px;
  font-size: 2.8rem;
  animation: float 4s ease-in-out infinite;
}

/* About content */
.about-content {}
.about-title { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.about-title .highlight { color: var(--pink); }
.about-checklist { margin: 20px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.check-item { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--dark); font-size: 0.93rem; }
.check-circle {
  width: 26px; height: 26px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.75rem; font-weight: 800; flex-shrink: 0;
}

/* About deco (morning glory flowers right side) */
.about-section { position: relative; overflow: hidden; }
.about-deco-right {
  position: absolute;
  right: -30px; bottom: -20px;
  font-size: 8rem;
  opacity: 0.15;
  pointer-events: none;
}

/* ════════════════════════════════════════════════════════════
   STATS / COUNTER SECTION
════════════════════════════════════════════════════════════ */
.stats-section {
  background: linear-gradient(135deg, #3a1580, var(--purple), #5b21b6);
  padding: 52px 0;
  color: white;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-box {
  text-align: center;
  padding: 16px;
  position: relative;
}
.stat-box:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 15%; height: 70%;
  width: 1px;
  background: rgba(255,255,255,0.2);
}
.stat-emoji { font-size: 1.8rem; display: block; margin-bottom: 6px; }
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--yellow);
  display: block;
  line-height: 1;
}
.stat-lbl { font-size: 0.88rem; color: rgba(255,255,255,0.82); font-weight: 600; margin-top: 4px; display: block; }

/* ════════════════════════════════════════════════════════════
   PROGRAMS SECTION
════════════════════════════════════════════════════════════ */
.programs-section { background: var(--light-bg); }
.programs-heading { text-align: center; margin-bottom: 40px; }
.programs-heading .section-title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }

.programs-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.prog-card {
  border-radius: var(--radius-lg);
  padding: 28px 18px 22px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
}
.prog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(255,255,255,0.6); }
.prog-emoji { font-size: 3rem; display: block; margin-bottom: 12px; }
.prog-name { font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--dark); margin-bottom: 8px; }
.prog-desc { font-size: 0.78rem; color: var(--gray); line-height: 1.5; margin-bottom: 14px; }
.prog-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 800;
}

/* ════════════════════════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════════════════════════ */
.testi-section { background: white; }
.testi-header { text-align: center; margin-bottom: 44px; }
.testi-header .section-title { font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
.testi-heart { color: var(--pink); font-size: 1.4rem; }

.testi-slider { position: relative; overflow: hidden; }
.testi-track { display: flex; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.testi-slide { min-width: 33.333%; padding: 0 14px; }
.testi-card {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  position: relative;
  height: 100%;
  border: 2px solid transparent;
  transition: var(--transition);
}
.testi-card:hover { background: var(--lavender); border-color: var(--purple); transform: translateY(-4px); }
.testi-quote-mark { font-size: 3.5rem; color: var(--pink); line-height: 0.7; margin-bottom: 14px; font-family: Georgia, serif; display: block; }
.testi-stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 10px; display: block; }
.testi-text { font-size: 0.93rem; color: var(--dark-2); line-height: 1.72; margin-bottom: 18px; }
.testi-author { font-weight: 800; color: var(--purple); font-size: 0.92rem; }

.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
}
.testi-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--purple);
  background: white;
  color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.testi-btn:hover { background: var(--purple); color: white; }
.testi-dots { display: flex; gap: 8px; }
.testi-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.testi-dot.active { background: var(--pink); transform: scale(1.3); }

/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
.footer {
  background: linear-gradient(135deg, #2a1060, #3a1580, var(--purple));
  color: white;
  padding-top: 60px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '🌸';
  position: absolute;
  bottom: -20px; right: -20px;
  font-size: 12rem;
  opacity: 0.04;
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.6fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

/* Footer brand */
.footer-logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  max-width: 200px;
  /* White rounded pill so colorful logo is visible on dark footer */
  background: white;
  border-radius: 10px;
  padding: 5px 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.footer-text-logo { display: flex; flex-direction: column; }
.footer-brand-name { font-family: var(--font-head); font-size: 1.1rem; font-weight: 900; color: white; }
.footer-brand-sub  { font-size: 0.58rem; letter-spacing: 3px; color: #f9a8d4; text-transform: uppercase; }
.footer-brand-desc { font-size: 0.86rem; color: rgba(255,255,255,0.7); line-height: 1.75; margin-bottom: 20px; }
.social-row { display: flex; gap: 10px; }
.soc-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
  text-decoration: none;
}
.soc-btn:hover { background: var(--pink); transform: translateY(-3px); }

/* Footer columns */
.footer-col h4 {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--yellow);
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.72);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: white; padding-left: 4px; }
.footer-contact-row {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.86rem; color: rgba(255,255,255,0.75); margin-bottom: 12px;
}
.footer-contact-row .ico { flex-shrink: 0; margin-top: 1px; }

/* Newsletter */
.footer-nl-desc { font-size: 0.86rem; color: rgba(255,255,255,0.7); margin-bottom: 12px; }
.nl-form { display: flex; gap: 8px; margin-top: 4px; }
.nl-form input {
  flex: 1;
  padding: 11px 16px;
  border-radius: var(--radius-full);
  border: none;
  font-size: 0.87rem;
  outline: none;
  color: var(--dark);
}
.nl-form button {
  padding: 11px 18px;
  background: var(--pink);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}
.nl-form button:hover { background: var(--pink-light); transform: translateY(-2px); }

/* Footer bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.75); }
.footer-bottom a:hover { color: white; }

/* ════════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
════════════════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, #fdf4ff 0%, #fae8ff 50%, #f0fdf4 100%);
  padding: 56px 24px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(233,30,140,0.08), transparent 70%);
  border-radius: 50%;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(74,31,168,0.07), transparent 70%);
  border-radius: 50%;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 10px;
}
.page-hero-sub { color: var(--pink); font-weight: 700; font-size: 1rem; }
.page-hero-desc { color: var(--gray); max-width: 580px; margin: 10px auto 0; font-size: 0.97rem; }

/* ════════════════════════════════════════════════════════════
   GALLERY
════════════════════════════════════════════════════════════ */
.gallery-filters {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  border: 2px solid var(--border);
  background: white; color: var(--gray);
  cursor: pointer; transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: white; border-color: transparent;
  transform: translateY(-2px);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; aspect-ratio: 4/3; }
.gallery-item img { width:100%; height:100%; object-fit:cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(74,31,168,0.8), transparent);
  opacity: 0; transition: var(--transition);
  display: flex; align-items: flex-end; padding: 14px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-cap { color: white; font-weight: 700; font-size: 0.88rem; }
.gallery-zoom {
  position: absolute; top:50%; left:50%;
  transform: translate(-50%,-50%);
  font-size: 1.6rem; color: white; opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-zoom { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 9999;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; animation: fadeIn 0.25s ease; }
.lightbox-inner { position: relative; }
.lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: -44px; right: 0;
  color: white; font-size: 2rem; background: none; border: none; cursor: pointer; line-height: 1;
}
.lb-nav {
  position: fixed; top:50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  color: white; font-size: 1.4rem;
  padding: 14px 16px; border-radius: var(--radius-sm);
  cursor: pointer; border: none; transition: var(--transition); z-index: 10000;
}
.lb-nav:hover { background: rgba(255,255,255,0.3); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

/* ════════════════════════════════════════════════════════════
   BLOG
════════════════════════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.blog-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-thumb {
  width:100%; height: 200px; object-fit: cover;
  background: var(--lavender);
  display: flex; align-items: center; justify-content: center; font-size: 3.5rem;
}
.blog-body { padding: 22px; }
.blog-cat {
  display: inline-block; font-size: 0.72rem; font-weight: 800;
  color: var(--pink); background: #fce7f3;
  padding: 4px 12px; border-radius: var(--radius-full);
  margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px;
}
.blog-title { font-weight: 800; font-size: 1.05rem; color: var(--dark); margin-bottom: 8px; line-height: 1.4; }
.blog-title a:hover { color: var(--purple); }
.blog-excerpt { font-size: 0.85rem; color: var(--gray); line-height: 1.65; margin-bottom: 14px; }
.blog-meta-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: var(--gray-light); }
.blog-more { color: var(--purple); font-weight: 700; font-size: 0.85rem; }
.blog-more:hover { color: var(--pink); }

/* Blog detail */
.blog-detail-wrap { max-width: 820px; margin: 0 auto; background: white; border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow); }
.blog-hero-img { width:100%; height: 360px; object-fit:cover; border-radius: var(--radius); margin-bottom: 30px; }
.blog-content { line-height: 1.85; color: var(--dark-2); }
.blog-content p { color: var(--gray); margin-bottom: 18px; font-size: 0.97rem; }
.blog-content h2,.blog-content h3 { color: var(--dark); margin: 28px 0 12px; }

/* ════════════════════════════════════════════════════════════
   ADMISSIONS / FORMS
════════════════════════════════════════════════════════════ */
.form-wrap {
  background: white;
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 700; font-size: 0.88rem; color: var(--dark); margin-bottom: 7px; }
.form-control {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.94rem; color: var(--dark);
  background: white; outline: none;
  transition: var(--transition);
}
.form-control:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(74,31,168,0.10); }
.form-control.is-error { border-color: #ef4444; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-full { grid-column: 1/-1; }
.payment-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-opt {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: flex-start; gap: 12px;
}
.pay-opt:hover, .pay-opt.sel { border-color: var(--purple); background: var(--lavender); }
.pay-opt input[type=radio] { accent-color: var(--purple); margin-top: 2px; }
.pay-lbl h4 { font-weight: 800; font-size: 0.92rem; color: var(--dark); }
.pay-lbl p  { font-size: 0.80rem; color: var(--gray); margin-top: 3px; }
.chk-row { display: flex; align-items: flex-start; gap: 10px; }
.chk-row input[type=checkbox] { accent-color: var(--purple); width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.chk-row label { font-size: 0.87rem; color: var(--gray); }
.chk-row a { color: var(--purple); font-weight: 700; }

/* Process steps */
.process-list { display: flex; flex-direction: column; gap: 0; }
.process-step { display: flex; gap: 20px; position: relative; }
.process-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 21px; top: 44px;
  width: 2px; height: calc(100% + 4px);
  background: linear-gradient(to bottom, var(--pink), var(--purple));
}
.step-num {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: white; font-size: 1rem;
  flex-shrink: 0; position: relative; z-index: 1;
}
.step-body { padding: 8px 0 28px; }
.step-body h4 { font-weight: 800; color: var(--dark); margin-bottom: 5px; }
.step-body p  { font-size: 0.87rem; color: var(--gray); }

/* ════════════════════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 36px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  background: white;
  border-radius: var(--radius);
  padding: 22px; display: flex; gap: 14px; align-items: flex-start;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  border-left: 4px solid transparent;
}
.contact-card:hover { border-left-color: var(--pink); transform: translateX(4px); }
.cc-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-card h4 { font-weight: 800; color: var(--dark); font-size: 0.92rem; margin-bottom: 4px; }
.contact-card p  { font-size: 0.86rem; color: var(--gray); }

/* ════════════════════════════════════════════════════════════
   ABOUT PAGE — Teachers / Mission
════════════════════════════════════════════════════════════ */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-top: 38px;
}
.mission-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-top: 4px solid transparent;
}
.mission-card:nth-child(1) { border-top-color: var(--pink); }
.mission-card:nth-child(2) { border-top-color: var(--green); }
.mission-card:nth-child(3) { border-top-color: var(--yellow); }
.mission-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mission-ico { font-size: 2.4rem; margin-bottom: 14px; display: block; }
.mission-title { font-weight: 800; font-size: 1.05rem; color: var(--dark); margin-bottom: 10px; }
.mission-text { font-size: 0.86rem; color: var(--gray); line-height: 1.72; }

.teachers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 38px; }
.teacher-card {
  background: white; border-radius: var(--radius-lg);
  padding: 26px 18px; text-align: center;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.teacher-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.teacher-photo {
  width: 96px; height: 96px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 14px;
  border: 4px solid var(--lavender);
  display: flex; align-items: center; justify-content: center;
  background: var(--lavender); font-size: 2.4rem; line-height: 96px;
}
.teacher-photo img { width:100%; height:100%; object-fit:cover; border-radius:50%; }
.teacher-name { font-weight: 800; color: var(--dark); font-size: 0.97rem; margin-bottom: 4px; }
.teacher-role { color: var(--pink); font-size: 0.82rem; font-weight: 700; margin-bottom: 6px; }
.teacher-exp  { font-size: 0.78rem; color: var(--gray-light); }

/* ════════════════════════════════════════════════════════════
   FAQ
════════════════════════════════════════════════════════════ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: white; border-radius: var(--radius); border: 2px solid var(--border); overflow: hidden; transition: var(--transition); }
.faq-item.open { border-color: var(--purple); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; font-weight: 700; font-size: 0.93rem; color: var(--dark);
  text-align: left; cursor: pointer; gap: 12px; background: none;
}
.faq-q:hover { color: var(--purple); }
.faq-ico { color: var(--purple); font-size: 1.2rem; transition: var(--transition); flex-shrink: 0; }
.faq-item.open .faq-ico { transform: rotate(45deg); }
.faq-ans { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-item.open .faq-ans { max-height: 280px; padding: 0 22px 18px; }
.faq-ans p { font-size: 0.88rem; color: var(--gray); line-height: 1.75; }

/* ════════════════════════════════════════════════════════════
   PROGRAMS PAGE CARDS
════════════════════════════════════════════════════════════ */
.prog-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 38px; }
.prog-page-card { background: white; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.prog-page-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prog-card-top { padding: 30px 22px 18px; text-align: center; }
.prog-card-body { padding: 0 22px 22px; }
.prog-emoji-lg { font-size: 3.8rem; display: block; margin-bottom: 12px; }
.prog-price-row {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--light-bg); padding: 11px 14px;
  border-radius: var(--radius-sm); margin-top: 14px;
  font-size: 0.87rem; font-weight: 700; color: var(--dark);
}
.price-val { color: var(--purple); font-size: 1.05rem; }
.feat-tag {
  display: inline-block; font-size: 0.73rem; font-weight: 700;
  color: var(--purple); background: var(--lavender);
  padding: 4px 10px; border-radius: var(--radius-full); margin: 3px 2px;
}

/* ════════════════════════════════════════════════════════════
   THANK YOU / SUCCESS
════════════════════════════════════════════════════════════ */
.success-wrap {
  background: white; border-radius: var(--radius-xl);
  padding: 56px 40px; text-align: center;
  box-shadow: var(--shadow-lg); max-width: 580px; margin: 60px auto;
}
.success-ico { font-size: 5rem; margin-bottom: 18px; animation: bounce 1s ease; }
.success-title { font-size: 2rem; font-weight: 900; color: var(--dark); margin-bottom: 10px; }
.success-sub   { color: var(--pink); font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; }
.success-desc  { color: var(--gray); margin-bottom: 26px; }
.success-steps-box { text-align: left; background: var(--light-bg); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 28px; display: flex; flex-direction: column; gap: 12px; }
.succ-step { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--dark); }
.succ-chk { color: var(--green); font-size: 1.1rem; }
@keyframes bounce { 0%,20%,60%,100%{transform:translateY(0)} 40%{transform:translateY(-18px)} 80%{transform:translateY(-8px)} }

/* ════════════════════════════════════════════════════════════
   ALERTS / MESSAGES
════════════════════════════════════════════════════════════ */
.alert { padding: 13px 18px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 600; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.alert-success { background: #dcfce7; color: #15803d; border-left: 4px solid var(--green); }
.alert-error   { background: #fee2e2; color: #dc2626; border-left: 4px solid #ef4444; }
.alert-info    { background: var(--lavender); color: var(--purple); border-left: 4px solid var(--purple); }
.msg-container { padding: 10px 0; }
.msg-item { padding: 12px 18px; border-radius: var(--radius-sm); margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; }
.msg-success { background: #dcfce7; color: #15803d; }
.msg-error   { background: #fee2e2; color: #dc2626; }
.msg-info    { background: var(--lavender); color: var(--purple); }

/* ════════════════════════════════════════════════════════════
   WHATSAPP FLOAT
════════════════════════════════════════════════════════════ */
.wa-float {
  position: fixed; bottom: 26px; right: 26px;
  width: 56px; height: 56px;
  background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: white; z-index: 998;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  text-decoration: none; animation: wa-pulse 2.5s infinite;
  transition: var(--transition);
}
.wa-float:hover { transform: scale(1.12); }
@keyframes wa-pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.8), 0 0 0 8px rgba(37,211,102,0.15); }
}

/* ════════════════════════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════════════════════════ */
.aos { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.aos.in { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════════════════════════
   SCROLLBAR
════════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--pink); }

/* ════════════════════════════════════════════════════════════
   ██████  RESPONSIVE  ██████
════════════════════════════════════════════════════════════ */

/* ── Large Desktop ≥ 1200px ─ */
@media (min-width: 1200px) { .container { max-width: 1200px; } }

/* ── Laptop 992–1199px ─ */
@media (max-width: 1199px) {
  .programs-row { grid-template-columns: repeat(3, 1fr); }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero-inner   { gap: 16px; }
}

/* ── Tablet 768–991px ─ */
@media (max-width: 991px) {
  /* Nav */
  .nav-links, .nav-phone { display: none; }
  .hamburger { display: flex; }
  .nav-right .btn { display: none; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-bottom: 0; }
  .hero-image-col { justify-content: center; order: -1; }
  .hero-photo { max-width: 340px; margin: 0 auto; border-radius: 24px; }
  .hero-badge { left: 50%; transform: translateX(-50%) translateY(0); bottom: 14px; }
  .hero-desc { margin: 0 auto 26px; }
  .hero-btns { justify-content: center; }
  .hero-features-card { grid-template-columns: repeat(2, 1fr); }
  .feat-item:nth-child(3) { border-left: none; }
  .deco-flower-left, .deco-bee { display: none; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-imgs { max-width: 380px; margin: 0 auto; }

  /* Stats */
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-box:nth-child(2)::after { display: none; }

  /* Programs */
  .programs-row { grid-template-columns: repeat(2, 1fr); }
  .prog-page-grid { grid-template-columns: repeat(2, 1fr); }

  /* Blog */
  .blog-grid { grid-template-columns: repeat(2, 1fr); }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }

  /* Testimonials */
  .testi-slide { min-width: 50%; }

  /* About page */
  .mission-grid { grid-template-columns: repeat(2, 1fr); }
  .teachers-grid { grid-template-columns: repeat(2, 1fr); }

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

  /* Footer */
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ═══════════════════════════════════════════════
   PAYMENT METHOD TOGGLE CARDS
═══════════════════════════════════════════════ */
.payment-opts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.pay-opt {
  position: relative;
  cursor: pointer;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 12px 14px 14px;
  background: white;
  transition: all 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  overflow: hidden;
}
.pay-opt input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.pay-opt .pay-lbl h4 {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 3px;
  font-family: var(--font-head);
}
.pay-opt .pay-lbl p {
  font-size: 0.75rem;
  color: var(--gray);
  margin: 0;
  line-height: 1.4;
}
.pay-check {
  display: none;
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  background: var(--purple);
  color: white;
  border-radius: 50%;
  font-size: 0.65rem;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.pay-opt:hover {
  border-color: var(--purple);
  background: #faf7ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(74,31,168,0.12);
}
.pay-opt.sel,
.pay-opt:has(input:checked) {
  border-color: var(--purple);
  background: linear-gradient(135deg, #faf7ff, #ede9fe);
  box-shadow: 0 4px 14px rgba(74,31,168,0.18);
}
.pay-opt.sel .pay-lbl h4,
.pay-opt:has(input:checked) .pay-lbl h4 {
  color: var(--purple);
}
.pay-opt.sel .pay-check,
.pay-opt:has(input:checked) .pay-check {
  display: flex;
}

/* ── Mobile: 2-col grid for payment ─────────── */
@media (max-width: 900px) {
  .payment-opts { grid-template-columns: repeat(2, 1fr); }
}

/* ── Mobile media query ─────────────────────── */
/* ── Mobile 576–767px ─ */
@media (max-width: 767px) {
  .section-pad { padding: 56px 0; }

  /* Hero */
  .hero { min-height: auto; }
  .hero-inner { padding: 30px 20px 0; }
  .hero-photo { max-width: 100%; }
  .hero-features-card { padding: 18px 16px; gap: 6px; }
  .feat-item + .feat-item { border-left: none; border-top: 1px solid var(--border); padding-left: 8px; padding-top: 12px; }

  /* Programs */
  .programs-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prog-card { padding: 22px 14px 18px; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }

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

  /* Testimonials */
  .testi-slide { min-width: 100%; }

  /* Forms */
  .form-wrap { padding: 24px 18px; }
  .form-2col { grid-template-columns: 1fr; }
  .payment-opts { grid-template-columns: 1fr; }

  /* About page */
  .mission-grid { grid-template-columns: 1fr; }
  .teachers-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Admissions */
  .adm-grid { grid-template-columns: 1fr !important; }

  /* Stats */
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-box::after { display: none !important; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .nl-form { flex-direction: column; }
  .nl-form button { text-align: center; }
}

/* ── Small Mobile < 576px ─ */
@media (max-width: 575px) {
  .container { padding: 0 16px; }
  .section-pad { padding: 44px 0; }

  /* Nav */
  .nav-wrap { padding: 0 16px; height: 62px; }
  .logo-text { display: none; }

  /* Hero */
  .hero-h1 { font-size: 1.9rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 260px; justify-content: center; }
  .hero-badge { display: none; }
  .deco-sun { font-size: 3.5rem; }

  /* Programs */
  .programs-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .prog-emoji { font-size: 2.4rem; }
  .prog-page-grid { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .filter-btn { padding: 8px 14px; font-size: 0.82rem; }

  /* Teachers */
  .teachers-grid { grid-template-columns: 1fr 1fr; }

  /* About page */
  .about-imgs { height: 320px; }

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

  /* Success */
  .success-wrap { padding: 36px 18px; }

  /* Footer */
  .footer { padding-top: 36px; }
  .wa-float { bottom: 16px; right: 16px; width: 50px; height: 50px; font-size: 1.4rem; }
}

/* ══════════════════════════════════════════════════
   SUBMIT BUTTON — SPINNER + RATE LIMIT STYLES
══════════════════════════════════════════════════ */

/* Spinning ring animation */
@keyframes mg-spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.btn-spinner-ring {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: mg-spin 0.7s linear infinite;
  flex-shrink: 0;
}

/* Button while submitting */
.form-submit-btn:disabled,
.form-submit-btn.is-loading {
  opacity: 0.78;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: 0 4px 14px rgba(233, 30, 140, 0.25) !important;
  pointer-events: none;
}

/* Rate-limited / cooldown state */
.form-submit-btn.is-rate-limited {
  background: linear-gradient(135deg, #64748b, #475569) !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
  pointer-events: none;
  opacity: 0.85;
}

/* Rate limit info banner */
.rate-limit-msg {
  display: none;
  margin-top: 10px;
  padding: 10px 16px;
  background: #fef9c3;
  border: 1px solid #f59e0b;
  border-radius: 10px;
  color: #92400e;
  font-size: 0.83rem;
  font-weight: 700;
  text-align: center;
  animation: fadeIn 0.3s ease;
}
.rate-limit-msg.show { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
