/* ================================================================
   VH ENGLISH MEDIUM SCHOOL — DESIGN SYSTEM
   Multi-page site (Eleventy) — single source of truth for styles
   ================================================================ */

:root {
  --primary: #1B6B93;
  --primary-dark: #0F4C6B;
  --primary-light: #A2D2FF;
  --accent: #FF6B35;
  --accent-dark: #E85A28;
  --accent-light: #FFF0E8;
  --green: #2DC653;
  --green-dark: #1FA041;
  --green-light: #E8F8EE;
  --yellow: #FFD23F;
  --yellow-light: #FFF8E1;
  --purple: #7B61FF;
  --purple-light: #F0EDFF;
  --red: #FF4757;
  --pink: #FF6B81;
  --sky: #E8F4FD;
  --cream: #FFFCF5;
  --white: #FFFFFF;
  --dark: #1A2332;
  --text: #2D3748;
  --text-light: #5A6678;
  --text-muted: #8A95A5;
  --border: #E8ECF1;
  --border-light: #F1F4F8;
  --shadow-sm: 0 2px 8px rgba(27,107,147,0.08);
  --shadow-md: 0 4px 20px rgba(27,107,147,0.12);
  --shadow-lg: 0 8px 40px rgba(27,107,147,0.15);
  --shadow-xl: 0 16px 60px rgba(27,107,147,0.2);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-pill: 50px;
  --container: 1200px;
}

/* ── RESET & BASE ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

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

/* Utilities */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-lg { margin-top: 40px; }

/* Skip link for a11y */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 8px 16px;
  z-index: 10000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { top: 0; }

/* Focus styles */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── ANNOUNCEMENT BAR ── */
.announce-bar {
  background: var(--primary-dark);
  color: white;
  text-align: center;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.announce-bar span.highlight { color: var(--yellow); }
.announce-bar a { color: var(--yellow); text-decoration: underline; }

/* ── NAVIGATION ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 20px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  font-weight: 900;
  box-shadow: 0 3px 12px rgba(27,107,147,0.3);
  flex-shrink: 0;
}
.nav-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: 'Fredoka One', cursive;
  font-size: 20px;
  color: var(--primary-dark);
  line-height: 1.1;
}
.nav-logo-text small {
  font-family: 'Nunito', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item { position: relative; }
.nav-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  transition: color 0.2s;
  padding: 10px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-link:hover { color: var(--primary); background: var(--sky); }
.nav-link.active { color: var(--primary); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s;
  z-index: 100;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.nav-dropdown a:hover { background: var(--sky); color: var(--primary); }
.nav-dropdown .nav-label {
  font-size: 10px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 10px 14px 4px;
  pointer-events: none;
  display: block;
}

.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  letter-spacing: 0.3px;
  transition: transform 0.2s, box-shadow 0.2s !important;
  box-shadow: 0 3px 12px rgba(255,107,53,0.3);
  margin-left: 8px;
}

/* ── GOOGLE TRANSLATE — hide top banner, keep translation active ── */
/* Hide the top banner iframe (both legacy and new-version classes) */
iframe.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
iframe.skiptranslate,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
iframe[id^=":"][class*="skiptranslate"] { display: none !important; visibility: hidden !important; height: 0 !important; }
/* Cancel the body shift GT applies to make room for its banner */
body { top: 0 !important; position: static !important; }
html { margin-top: 0 !important; }
/* Hide hover tooltips over translated text */
.goog-tooltip, .goog-tooltip:hover,
#goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: transparent !important; box-shadow: none !important; }
/* Hide the mounted widget (we only use it for cookie-based translation) */
#google_translate_element { display: none !important; }

/* Custom language selector */
.nav-lang-wrap {
  display: flex;
  align-items: center;
  margin-left: 8px;
}
.lang-select {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
  padding: 8px 32px 8px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  background: white url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231B6B93' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 10px center;
  background-size: 10px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}
.lang-select:hover,
.lang-select:focus { border-color: var(--primary); }
.lang-select-mobile {
  width: 100%;
  padding: 12px 40px 12px 16px;
  font-size: 15px;
  background-color: white;
  background-size: 14px;
  background-position: right 14px center;
}
@media (max-width: 900px) {
  .nav-lang-wrap { display: none; }
}
.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(255,107,53,0.4) !important;
  background: var(--accent-dark) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}
.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--dark);
  z-index: 2000;
  overflow-y: auto;
  padding: 80px 24px 40px;
}
.mobile-nav.active { display: block; }
.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 36px;
  color: white;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-nav-list { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  color: white;
  font-size: 18px;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 10px;
  transition: background 0.2s;
  display: block;
}
.mobile-nav a:hover { background: rgba(255,255,255,0.1); }
.mobile-nav-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 12px 16px 4px;
  margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav-cta {
  background: var(--accent) !important;
  text-align: center;
  margin-top: 16px;
  border-radius: var(--radius-pill) !important;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 15px rgba(255,107,53,0.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 6px 25px rgba(255,107,53,0.45);
}
.btn-outline {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover { background: var(--sky); }
.btn-dark {
  background: var(--primary-dark);
  color: white;
  box-shadow: var(--shadow-md);
}
.btn-dark:hover { background: var(--dark); }
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid transparent;
}
.btn-ghost:hover { background: var(--sky); }
.btn-white {
  background: white;
  color: var(--accent);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 60px 20px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,107,53,0.2), transparent 70%);
  border-radius: 50%;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(45,198,83,0.15), transparent 70%);
  border-radius: 50%;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.page-hero .breadcrumbs { justify-content: center; margin-bottom: 16px; }
.page-hero h1 {
  font-family: 'Fredoka One', cursive;
  font-size: 44px;
  line-height: 1.2;
  margin-bottom: 12px;
  color: white;
}
.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto;
}
.page-hero-emoji {
  font-size: 60px;
  margin-bottom: 12px;
  display: inline-block;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}
.breadcrumbs a { color: rgba(255,255,255,0.85); font-weight: 600; }
.breadcrumbs a:hover { color: white; text-decoration: underline; }
.breadcrumbs .sep { opacity: 0.5; }
.breadcrumbs .current { color: white; font-weight: 700; }

/* ── HOMEPAGE HERO ── */
.hero {
  background: linear-gradient(135deg, #E8F4FD 0%, #FFF8E1 50%, #E8F8EE 100%);
  padding: 60px 20px 40px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,107,53,0.1), transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(45,198,83,0.1), transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 2px solid var(--yellow);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.hero h1 {
  font-family: 'Fredoka One', cursive;
  font-size: 44px;
  line-height: 1.15;
  color: var(--primary-dark);
  margin-bottom: 16px;
}
.hero h1 .highlight-text {
  background: linear-gradient(135deg, var(--accent), var(--red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 520px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-stats { display: flex; gap: 32px; }
.hero-stat { text-align: center; }
.hero-stat .num {
  font-family: 'Fredoka One', cursive;
  font-size: 32px;
  color: var(--primary);
}
.hero-stat .label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 440px;
}
.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s;
  border: 2px solid transparent;
}
.hero-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
}
.hero-card-icon { font-size: 40px; margin-bottom: 10px; }
.hero-card h3 { font-size: 14px; font-weight: 800; color: var(--primary-dark); margin-bottom: 4px; }
.hero-card p { font-size: 12px; color: var(--text-light); line-height: 1.4; }
.hero-card:nth-child(1) { background: linear-gradient(135deg, #FFF0E8, var(--white)); }
.hero-card:nth-child(2) { background: linear-gradient(135deg, #E8F8EE, var(--white)); }
.hero-card:nth-child(3) { background: linear-gradient(135deg, #F0EDFF, var(--white)); }
.hero-card:nth-child(4) { background: linear-gradient(135deg, #FFF8E1, var(--white)); }

/* Hero photo (replaces 4-card grid when real classroom image available) */
.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  max-width: 540px;
  margin: 0 auto;
  transform: rotate(-1deg);
  transition: transform 0.3s;
}
.hero-photo:hover { transform: rotate(0deg); }
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: white;
  border-radius: var(--radius);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}
.hero-photo-badge-icon { font-size: 28px; }
.hero-photo-badge-title {
  font-family: 'Fredoka One', cursive;
  font-size: 15px;
  color: var(--primary-dark);
  line-height: 1;
}
.hero-photo-badge-sub {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 3px;
}

/* ── SECTIONS ── */
.section { padding: 70px 20px; }
.section-sm { padding: 48px 20px; }
.section-header { text-align: center; margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-header.left { text-align: left; margin-left: 0; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Fredoka One', cursive;
  font-size: 34px;
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-desc {
  font-size: 16px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.bg-cream { background: var(--cream); }
.bg-sky { background: var(--sky); }
.bg-white { background: var(--white); }
.bg-primary { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: white; }
.bg-primary .section-title, .bg-primary h2, .bg-primary h3 { color: white; }
.bg-primary .section-desc, .bg-primary p { color: rgba(255,255,255,0.8); }
.bg-primary .section-tag { color: var(--yellow); }

/* ── ABOUT / WHY US ── */
.about-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary-light), var(--green-light));
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img-placeholder { font-size: 80px; opacity: 0.7; }
.about-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: var(--accent);
  color: white;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 13px;
  box-shadow: var(--shadow-md);
}
.about-content h2 {
  font-family: 'Fredoka One', cursive;
  font-size: 30px;
  color: var(--primary-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}
.about-content p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.about-feature-icon { font-size: 24px; flex-shrink: 0; }
.about-feature span { font-size: 13px; font-weight: 700; color: var(--text); }

/* ── PROGRAMS ── */
.programs-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.program-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.program-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: white;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  z-index: 2;
}
.program-card-top {
  padding: 28px 20px 20px;
  text-align: center;
  position: relative;
}
.program-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 14px;
  box-shadow: var(--shadow-sm);
  background: var(--sky);
}
.program-icon.color-accent { background: var(--accent-light); }
.program-icon.color-green { background: var(--green-light); }
.program-icon.color-purple { background: var(--purple-light); }
.program-icon.color-yellow { background: var(--yellow-light); }
.program-icon.color-sky { background: var(--sky); }
.program-icon.color-primary { background: var(--sky); }

.program-card h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.program-age {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.program-card-body { padding: 0 20px 20px; flex-grow: 1; }
.program-card-body p { font-size: 13px; color: var(--text-light); line-height: 1.6; margin-bottom: 12px; }
.program-features { display: flex; flex-direction: column; gap: 6px; }
.program-features li {
  font-size: 12px;
  color: var(--text);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.program-features li::before {
  content: '\2713';
  color: var(--green);
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
}
.program-card-footer { padding: 12px 20px; background: var(--sky); text-align: center; }
.program-card-footer a {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Section heading for program groups */
.programs-group-heading {
  max-width: var(--container);
  margin: 40px auto 24px;
  text-align: center;
}
.programs-group-heading:first-of-type { margin-top: 0; }
.programs-group-heading h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 26px;
  color: var(--primary-dark);
}
.programs-group-heading .chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.programs-group-heading .chip.pre-primary { background: var(--yellow-light); color: var(--primary-dark); }
.programs-group-heading .chip.primary { background: var(--green-light); color: var(--green-dark); }
.programs-group-heading p {
  font-size: 14px;
  color: var(--text-light);
  max-width: 600px;
  margin: 8px auto 0;
}

/* ── E-DAC ── */
.edac-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.edac-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  backdrop-filter: blur(4px);
  transition: transform 0.3s, background 0.3s;
}
.edac-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.18); }
.edac-icon { font-size: 42px; margin-bottom: 14px; }
.edac-card h3 { font-family: 'Fredoka One', cursive; font-size: 18px; margin-bottom: 6px; color: white; }
.edac-card .age-tag {
  display: inline-block;
  background: rgba(255,210,63,0.3);
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}
.edac-card p { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.6; }

/* ── E-DAC PARTNER BADGE (home) ── */
.edac-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 8px 18px 8px 8px;
  background: rgba(255,210,63,0.18);
  border: 1px solid rgba(255,210,63,0.5);
  border-radius: 999px;
  color: var(--yellow);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.edac-badge-link:hover { background: rgba(255,210,63,0.28); transform: translateY(-1px); }
.edac-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--primary-dark);
  font-weight: 900;
  font-size: 13px;
}

/* ── E-DAC CERTIFICATE (methodology page) ── */
.edac-certificate {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.edac-certificate-tag {
  display: inline-block;
  background: rgba(34,197,94,0.12);
  color: #15803d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.edac-certificate-title {
  font-family: 'Fredoka One', cursive;
  font-size: 22px;
  color: var(--primary-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.edac-certificate-sub {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.edac-certificate img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: block;
}

/* ── METHODOLOGY INTRO (image + text) ── */
.methodology-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.methodology-intro-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}
@media (max-width: 768px) {
  .methodology-intro { grid-template-columns: 1fr; gap: 28px; }
  .methodology-intro-image { max-width: 360px; margin: 0 auto; }
  .edac-certificate { padding: 22px 18px; }
  .edac-certificate-title { font-size: 18px; }
}

/* ── FEATURES ── */
.features-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  border-bottom: 4px solid transparent;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card:nth-child(1) { border-bottom-color: var(--accent); }
.feature-card:nth-child(2) { border-bottom-color: var(--green); }
.feature-card:nth-child(3) { border-bottom-color: var(--purple); }
.feature-card:nth-child(4) { border-bottom-color: var(--yellow); }
.feature-card:nth-child(5) { border-bottom-color: var(--primary); }
.feature-card:nth-child(6) { border-bottom-color: var(--pink); }
.feature-card:nth-child(7) { border-bottom-color: var(--red); }
.feature-card:nth-child(8) { border-bottom-color: var(--green); }
.feature-icon { font-size: 36px; margin-bottom: 14px; }
.feature-card h3 { font-size: 15px; font-weight: 800; color: var(--primary-dark); margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: var(--text-light); line-height: 1.5; }

/* ── ADMISSIONS ── */
.admission-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.admission-steps { display: flex; flex-direction: column; gap: 16px; }
.admission-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-family: 'Fredoka One', cursive;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.admission-step h4 { font-size: 15px; font-weight: 800; color: var(--primary-dark); margin-bottom: 4px; }
.admission-step p { font-size: 13px; color: var(--text-light); line-height: 1.5; }

.admission-info-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.admission-info-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 24px;
  text-align: center;
}
.admission-info-header h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 22px;
  margin-bottom: 6px;
  color: white;
}
.admission-info-header p { font-size: 13px; opacity: 0.8; color: rgba(255,255,255,0.85); }
.admission-info-body { padding: 24px; }

.age-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.age-table th {
  background: var(--sky);
  padding: 10px 14px;
  text-align: left;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.age-table td { padding: 12px 14px; font-size: 14px; border-bottom: 1px solid var(--border); font-weight: 600; }
.age-table tr:last-child td { border-bottom: none; }

.docs-list { display: flex; flex-direction: column; gap: 8px; }
.docs-list h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.docs-list li {
  font-size: 13px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}
.docs-list li::before { content: '\1F4C4'; font-size: 14px; }

/* Fee info card inside admissions */
.fee-info-card {
  background: linear-gradient(135deg, var(--yellow-light), var(--white));
  border: 2px solid var(--yellow);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 20px;
  text-align: center;
}
.fee-info-card h4 {
  font-family: 'Fredoka One', cursive;
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.fee-info-card p {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 16px;
}

/* Age calculator widget */
.age-calc {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 20px;
}
.age-calc h4 {
  font-family: 'Fredoka One', cursive;
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.age-calc .sub { font-size: 13px; color: var(--text-light); margin-bottom: 16px; }
.age-calc-input {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.age-calc-input input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.age-calc-result {
  background: var(--sky);
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
  display: none;
}
.age-calc-result.show { display: block; }
.age-calc-result.error { background: #FEE; color: var(--red); }

/* ── TESTIMONIALS ── */
.testimonials-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.testimonial-stars { color: var(--yellow); font-size: 16px; margin-bottom: 12px; }
.testimonial-card blockquote {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--green-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  color: var(--primary-dark);
}
.testimonial-name { font-size: 14px; font-weight: 800; color: var(--primary-dark); }
.testimonial-role { font-size: 12px; color: var(--text-light); }

/* ── PRINCIPAL / TEAM ── */
.principal-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.principal-photo {
  width: 200px;
  height: 240px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary-light), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  overflow: hidden;
}
.principal-photo img { width: 100%; height: 100%; object-fit: cover; }
.principal-content h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 26px;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.principal-content .title {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.principal-content p { font-size: 14px; color: var(--text-light); line-height: 1.8; margin-bottom: 12px; }

.faculty-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.faculty-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s;
  border: 2px solid var(--border);
}
.faculty-card:hover { transform: translateY(-4px); border-color: var(--primary-light); }
.faculty-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--sky));
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}
.faculty-card h4 { font-size: 15px; font-weight: 800; color: var(--primary-dark); margin-bottom: 4px; }
.faculty-card .role { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.faculty-card .dept { font-size: 11px; color: var(--text-muted); font-weight: 600; }

/* ── TIMELINE (Growth Story) ── */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--yellow), var(--accent), var(--green));
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  padding: 16px 0 16px 80px;
}
.timeline-item:not(:last-child) { margin-bottom: 20px; }
.timeline-dot {
  position: absolute;
  left: 14px;
  top: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}
.timeline-item.current .timeline-dot {
  border-color: var(--green);
  box-shadow: 0 0 0 6px rgba(45,198,83,0.15);
}
.timeline-item.future .timeline-dot {
  background: var(--cream);
  border-color: var(--border);
  opacity: 0.8;
}
.timeline-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
}
.timeline-item.current .timeline-card {
  border-color: var(--green);
  background: var(--green-light);
}
.timeline-item.future .timeline-card {
  opacity: 0.85;
  border-style: dashed;
}
.timeline-year {
  font-family: 'Fredoka One', cursive;
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 4px;
}
.timeline-item.current .timeline-year { color: var(--green-dark); }
.timeline-text { font-size: 14px; color: var(--text); font-weight: 600; }
.timeline-badge {
  display: inline-block;
  background: var(--green);
  color: white;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 8px;
}

/* ── GALLERY / LIGHTBOX ── */
.gallery-album {
  max-width: var(--container);
  margin: 0 auto 60px;
}
.gallery-album-header { text-align: center; margin-bottom: 24px; }
.gallery-album-header h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 26px;
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.gallery-album-header p { font-size: 14px; color: var(--text-light); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--sky);
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow-sm);
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: white;
  padding: 20px 16px 12px;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-item-caption { opacity: 1; }

.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 40px;
}
.lightbox.active { display: flex; }
.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  color: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
}

/* ── EVENTS ── */
.events-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.event-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.event-icon { font-size: 40px; margin-bottom: 10px; }
.event-card h4 {
  font-family: 'Fredoka One', cursive;
  font-size: 17px;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.event-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.event-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; }
.event-frequency {
  display: inline-block;
  background: var(--sky);
  color: var(--primary-dark);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  margin-top: 10px;
}

/* ── FAQ (accordion) ── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-category-heading {
  font-family: 'Fredoka One', cursive;
  font-size: 18px;
  color: var(--accent);
  margin: 24px 0 8px;
}
.faq-category-heading:first-child { margin-top: 0; }

details.faq-item {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
details.faq-item[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
details.faq-item summary {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 15px;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+';
  font-size: 26px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.2s;
  line-height: 1;
  flex-shrink: 0;
}
details.faq-item[open] summary::after { transform: rotate(45deg); }
details.faq-item .faq-answer {
  padding: 0 22px 18px;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
}

/* ── CONTACT ── */
.contact-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--sky);
  padding: 20px;
  border-radius: var(--radius);
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.contact-card h4 { font-size: 14px; font-weight: 800; color: var(--primary-dark); margin-bottom: 4px; }
.contact-card p { font-size: 14px; color: var(--text-light); line-height: 1.5; }
.contact-card a { color: var(--primary); font-weight: 700; }

.contact-form-wrap {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 22px;
  color: var(--primary-dark);
  margin-bottom: 20px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
  background: white;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Social links */
.social-links { display: flex; gap: 12px; margin-top: 8px; }
.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
  color: white;
}
.social-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.social-link.fb { background: #1877F2; }
.social-link.ig { background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF); }
.social-link.yt { background: #FF0000; }
.social-link svg { width: 22px; height: 22px; display: block; }
.social-link.yt svg { width: 24px; height: 24px; }

/* ── MAP ── */
.map-section { padding: 0; }
.map-section iframe { width: 100%; height: 400px; border: none; display: block; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--accent), #FF8C5A);
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40px; left: -40px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}
.cta-banner h2 {
  font-family: 'Fredoka One', cursive;
  font-size: 34px;
  color: white;
  margin-bottom: 12px;
  position: relative;
}
.cta-banner p {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* ── BLOG ── */
.blog-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px solid var(--border);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--primary-light), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: 12px; color: var(--text-muted); font-weight: 600; margin-bottom: 8px; }
.blog-card h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.blog-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; margin-bottom: 14px; flex-grow: 1; }
.blog-card .read-more { font-size: 13px; font-weight: 800; color: var(--accent); }

/* Blog post */
.blog-post {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 20px;
}
.blog-post .post-meta {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 10px;
}
.blog-post h1 {
  font-family: 'Fredoka One', cursive;
  font-size: 36px;
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.blog-post .post-excerpt {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 32px;
  font-style: italic;
}
.blog-post h2 {
  font-family: 'Fredoka One', cursive;
  font-size: 24px;
  color: var(--primary-dark);
  margin: 32px 0 12px;
}
.blog-post h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 24px 0 10px;
}
.blog-post p { margin-bottom: 16px; font-size: 15px; color: var(--text); line-height: 1.8; }
.blog-post ul, .blog-post ol { margin: 12px 0 20px 20px; }
.blog-post ul { list-style: disc; }
.blog-post ol { list-style: decimal; }
.blog-post li { margin-bottom: 6px; font-size: 15px; color: var(--text); line-height: 1.7; }
.blog-post a { color: var(--primary); text-decoration: underline; }

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 20px 24px;
}
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-about h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 22px;
  color: white;
  margin-bottom: 12px;
}
.footer-about p { font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.footer h4 {
  font-size: 14px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-links a:hover { color: var(--yellow); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
}
.footer-contact-item .fc-icon { font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: var(--yellow); font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
}
.footer-bottom a { color: var(--yellow); }

/* ── MOBILE STICKY CTA BAR ── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 998;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  gap: 8px;
}
.mcta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  min-height: 48px;
}
.mcta-btn:active { transform: scale(0.97); }
.mcta-icon { font-size: 18px; line-height: 1; }
.mcta-call {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.mcta-apply {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 14px rgba(255,107,53,0.35);
}
@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 76px; }
}

/* ── FLOATING BUTTONS ── */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform 0.2s;
}
.whatsapp-fab:hover { transform: scale(1.1); }

.back-to-top {
  position: fixed;
  bottom: 92px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-md);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.2s;
  border: none;
  cursor: pointer;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

@media (max-width: 768px) {
  .whatsapp-fab { bottom: 88px; }
  .back-to-top { bottom: 152px; }
}

/* ── PROGRAM DETAIL PAGE ── */
.program-detail-intro {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.program-detail-intro .lead {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.program-info-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.info-block {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.info-block h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.info-block ul { display: flex; flex-direction: column; gap: 8px; }
.info-block ul li {
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 4px 0;
}
.info-block ul li::before {
  content: '\2022';
  color: var(--accent);
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.subject-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.subject-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
  transition: border-color 0.2s, transform 0.2s;
}
.subject-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.subject-card h4 {
  font-family: 'Fredoka One', cursive;
  font-size: 16px;
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.subject-card p { font-size: 13px; color: var(--text-light); line-height: 1.5; }

/* ── 404 PAGE ── */
.error-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.error-emoji { font-size: 120px; margin-bottom: 20px; }
.error-page h1 {
  font-family: 'Fredoka One', cursive;
  font-size: 60px;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.error-page h2 {
  font-family: 'Fredoka One', cursive;
  font-size: 26px;
  color: var(--accent);
  margin-bottom: 16px;
}
.error-page p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 500px;
  margin-bottom: 32px;
}

/* ── UTILITY ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.6s ease forwards; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .nav-links { gap: 0; }
  .nav-link { font-size: 13px; padding: 8px 10px; }
  .features-grid, .edac-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero h1, .page-hero h1 { font-size: 32px; }
  .hero-desc { margin: 0 auto 24px; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-card-grid { max-width: 360px; margin: 0 auto; }

  .about-grid, .admission-grid, .contact-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr 1fr; }
  .features-grid, .edac-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .principal-inner { grid-template-columns: 1fr; text-align: center; }
  .principal-photo { margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; }

  .section { padding: 48px 16px; }
  .section-title { font-size: 26px; }
  .timeline::before { left: 20px; }
  .timeline-dot { left: 4px; }
  .timeline-item { padding-left: 60px; }
}

@media (max-width: 480px) {
  .hero h1, .page-hero h1 { font-size: 26px; }
  .hero-card-grid { grid-template-columns: 1fr; max-width: 260px; }
  .programs-grid, .features-grid, .edac-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-cta { padding: 8px 14px !important; }
  .nav-logo-text { font-size: 16px; }
  .nav-logo-text small { font-size: 9px; }
}

@media print {
  .navbar, .announce-bar, .whatsapp-fab, .back-to-top, .cta-banner, .mobile-nav { display: none !important; }
  body { background: white; }
  .section { page-break-inside: avoid; padding: 20px 0; }
}
