/*
Theme Name: Little Buds Preschool
Theme URI: https://yourschool.com
Author: Abhishek Gupta
Description: A vibrant, professional preschool WordPress theme.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GPL v2 or later
Text Domain: little-buds
Tags: education, preschool, children, colorful, responsive
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --primary:      #2563EB;   /* Professional blue */
  --primary-dark: #1D4ED8;
  --primary-light:#EFF6FF;
  --secondary:    #F59E0B;   /* Warm amber */
  --secondary-dk: #D97706;
  --green:        #10B981;
  --red:          #EF4444;
  --purple:       #8B5CF6;
  --pink:         #EC4899;
  --orange:       #F97316;

  --text:         #1E293B;
  --text-muted:   #64748B;
  --text-light:   #94A3B8;
  --bg:           #F8FAFC;
  --bg-alt:       #F1F5F9;
  --border:       #E2E8F0;
  --white:        #FFFFFF;

  --font-head:    'Nunito', 'Baloo 2', sans-serif;
  --font-body:    'Poppins', sans-serif;

  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  32px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:    0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
  --shadow-colored: 0 8px 32px rgba(37,99,235,.22);

  --transition: all .25s cubic-bezier(.4,0,.2,1);
  --container: 1200px;
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); font-weight: 800; line-height: 1.25; color: var(--text); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: var(--font-body); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.text-center { text-align: center; }

.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary-light); color: var(--primary);
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 900; color: var(--text); margin-bottom: 14px; line-height: 1.2;
}
.section-subtitle {
  font-size: 1.05rem; color: var(--text-muted); max-width: 560px; margin: 0 auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--r-md);
  font-family: var(--font-head); font-size: .95rem; font-weight: 800;
  transition: var(--transition); white-space: nowrap; border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary); color: var(--white);
  box-shadow: 0 4px 16px rgba(37,99,235,.30);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,.40); color: #fff; }
.btn-secondary { background: var(--secondary); color: var(--white); box-shadow: 0 4px 16px rgba(245,158,11,.30); }
.btn-secondary:hover { background: var(--secondary-dk); transform: translateY(-2px); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); font-weight: 800; }
.btn-white:hover { background: var(--primary-light); color: var(--primary-dark); }
.btn-lg { padding: 15px 36px; font-size: 1.05rem; border-radius: var(--r-lg); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  background: rgba(255,255,255,.97); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.09); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 16px;
}

.site-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 900;
  color: var(--text); text-decoration: none; flex-shrink: 0;
}
.site-logo img { height: 44px; width: auto; }
.site-logo:hover { color: var(--primary); }
.logo-icon {
  width: 42px; height: 42px; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--primary), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}

/* Nav container */
.primary-nav {
  display: flex; align-items: center; gap: 0;
  flex: 1; justify-content: center;
}

/* Each nav item wrapper */
.nav-item {
  position: relative;
  list-style: none;
}
/* Top-level links */
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 13px; border-radius: var(--r-sm);
  font-size: .875rem; font-weight: 700; color: var(--text-muted);
  transition: var(--transition); white-space: nowrap;
  line-height: 1;
}
.nav-link:hover { color: var(--primary); background: var(--primary-light); }
.nav-link.current,
.nav-link.current-menu-item { color: var(--primary); }
.nav-item.current-menu-item > .nav-link,
.nav-item.current-menu-ancestor > .nav-link { color: var(--primary); }

/* WP outputs <li> when a menu is assigned — make it look the same */
#primary-nav > li {
  position: relative; list-style: none; display: flex; align-items: center;
}
#primary-nav > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 13px; border-radius: var(--r-sm);
  font-size: .875rem; font-weight: 700; color: var(--text-muted);
  transition: var(--transition); white-space: nowrap;
}
#primary-nav > li > a:hover { color: var(--primary); background: var(--primary-light); }
#primary-nav > li.current-menu-item > a,
#primary-nav > li.current-menu-ancestor > a { color: var(--primary); }

/* Dropdown */
.nav-dropdown,
#primary-nav li ul.nav-dropdown,
#primary-nav li ul.sub-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 190px;
  background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98);
  transform-origin: top left;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 9100; pointer-events: none;
  list-style: none;
}
.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown,
#primary-nav li:hover > ul.nav-dropdown,
#primary-nav li:hover > ul.sub-menu,
#primary-nav li:focus-within > ul.nav-dropdown,
#primary-nav li:focus-within > ul.sub-menu {
  opacity: 1; visibility: visible;
  transform: translateY(0) scale(1); pointer-events: auto;
}
.nav-dropdown a,
.nav-dropdown-link,
#primary-nav li ul a {
  display: block; padding: 8px 13px; border-radius: var(--r-sm);
  font-size: .85rem; font-weight: 600; color: var(--text-muted);
  transition: var(--transition); white-space: nowrap;
}
.nav-dropdown a:hover,
.nav-dropdown-link:hover,
#primary-nav li ul a:hover {
  background: var(--primary-light); color: var(--primary);
}

/* Header right actions */
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-phone {
  display: flex; align-items: center; gap: 5px;
  font-size: .82rem; font-weight: 700; color: var(--text-muted);
  white-space: nowrap;
}
.header-phone:hover { color: var(--primary); }

/* Mobile hamburger */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; padding: 8px; border-radius: var(--r-sm);
  width: 40px; height: 40px; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--text);
  border-radius: 2px; transition: var(--transition); width: 100%;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

/* ============================================================
   HERO
   ============================================================ */
/* Push all page content below the fixed header */
body { padding-top: 72px; }
/* But not the header itself */
.site-header { top: 0; margin-top: -72px; }

/* Fix: admin bar shifts header down */
.admin-bar .site-header { top: 32px; }
.admin-bar body { padding-top: calc(72px + 32px); }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar body { padding-top: calc(72px + 46px); }
}

.hero {
  min-height: calc(100vh - 72px);
  padding: 60px 0 60px;
  background: linear-gradient(145deg, #EFF6FF 0%, #F8FAFC 40%, #FEF3C7 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}

/* Decorative blobs */
.hero::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.08) 0%, transparent 70%);
}
.hero::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,.08) 0%, transparent 70%);
}

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; padding: 80px 0;
  position: relative; z-index: 1;
}
.hero-content {}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 999px; padding: 6px 16px; margin-bottom: 24px;
  font-size: .82rem; font-weight: 700; color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.4);opacity:.7} }

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900; line-height: 1.1; margin-bottom: 20px; color: var(--text);
}
.hero-title span { color: var(--primary); position: relative; }
.hero-title span::after {
  content: ''; position: absolute; bottom: 2px; left: 0; right: 0; height: 4px;
  background: var(--secondary); border-radius: 2px; opacity: .5;
}
.hero-desc { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 36px; line-height: 1.8; max-width: 480px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-proof {
  display: flex; align-items: center; gap: 20px;
  padding: 18px 24px; background: #fff; border-radius: var(--r-lg);
  border: 1.5px solid var(--border); box-shadow: var(--shadow-sm);
  width: fit-content;
}
.hero-proof-avatars { display: flex; }
.hero-proof-avatars span {
  width: 36px; height: 36px; border-radius: 50%; border: 2.5px solid #fff;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 800; color: #fff; margin-left: -8px;
}
.hero-proof-avatars span:first-child { margin-left: 0; }
.hero-proof-text strong { display: block; font-weight: 800; font-size: .95rem; }
.hero-proof-text span { font-size: .8rem; color: var(--text-muted); }
.hero-proof-stars { color: var(--secondary); font-size: 1rem; letter-spacing: 1px; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-img-wrap {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--primary), var(--purple));
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; color: rgba(255,255,255,.85);
}
.hero-img-placeholder .big-emoji { font-size: 5rem; }
.hero-img-placeholder p { font-size: .85rem; text-align: center; padding: 0 20px; opacity: .8; }

/* Floating cards on hero image */
.hero-float {
  position: absolute; background: #fff; border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  animation: float-card 4s ease-in-out infinite;
}
.hero-float.card-1 { top: 24px; left: -28px; animation-delay: 0s; }
.hero-float.card-2 { bottom: 80px; right: -28px; animation-delay: 1.5s; }
@keyframes float-card { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.hero-float .icon { font-size: 1.6rem; }
.hero-float strong { display: block; font-size: .9rem; font-weight: 800; }
.hero-float span { font-size: .75rem; color: var(--text-muted); }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--primary); padding: 20px 0;
}
.trust-bar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 32px; color: rgba(255,255,255,.9);
  font-size: .9rem; font-weight: 600;
  border-right: 1px solid rgba(255,255,255,.2);
}
.trust-item:last-child { border-right: none; }
.trust-item .ti { font-size: 1.2rem; }

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section { padding: 60px 0; background: var(--bg); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat-card {
  background: #fff; border-radius: var(--r-lg); padding: 32px 24px; text-align: center;
  box-shadow: var(--shadow-sm); border: 1.5px solid var(--border);
  transition: var(--transition); position: relative; overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.stat-card:nth-child(1)::before { background: var(--primary); }
.stat-card:nth-child(2)::before { background: var(--secondary); }
.stat-card:nth-child(3)::before { background: var(--green); }
.stat-card:nth-child(4)::before { background: var(--purple); }
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat-icon { font-size: 2.2rem; margin-bottom: 12px; }
.stat-number { font-size: 2.6rem; font-weight: 900; line-height: 1; margin-bottom: 4px; color: var(--text); }
.stat-label { font-size: .85rem; color: var(--text-muted); font-weight: 600; }

/* ============================================================
   PROGRAMS
   ============================================================ */
.programs-section { padding: 80px 0; background: #fff; }
.programs-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px; margin-top: 48px;
}
.program-card {
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1.5px solid var(--border);
  transition: var(--transition);
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.program-card-head {
  padding: 32px 28px 24px; position: relative; overflow: hidden;
}
.program-card-head::before {
  content: ''; position: absolute; bottom: -30px; right: -30px;
  width: 100px; height: 100px; border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.program-emoji { font-size: 2.8rem; margin-bottom: 12px; display: block; }
.program-tag {
  display: inline-block; background: rgba(255,255,255,.25); backdrop-filter: blur(8px);
  color: #fff; font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px;
}
.program-name { color: #fff; font-size: 1.3rem; font-weight: 900; margin: 0; }
.program-card-body { padding: 20px 28px 28px; }
.program-age {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg); border-radius: 999px; padding: 5px 14px;
  font-size: .8rem; font-weight: 700; color: var(--text-muted); margin-bottom: 14px;
}
.program-features { margin-bottom: 20px; }
.program-features li {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 4px 0; font-size: .875rem; color: var(--text-muted);
}
.program-features li::before { content: '✓'; color: var(--green); font-weight: 900; flex-shrink: 0; }
.program-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.program-fee { font-size: .8rem; color: var(--text-muted); }
.program-fee strong { display: block; font-size: 1.2rem; font-weight: 900; color: var(--text); }

/* ============================================================
   WHY US
   ============================================================ */
.why-section { padding: 80px 0; background: var(--bg); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-img-stack { position: relative; }
.why-main-img {
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/5;
  background: linear-gradient(135deg, #E0F2FE, #BAE6FD);
  display: flex; align-items: center; justify-content: center; font-size: 6rem;
}
.why-main-img img { width: 100%; height: 100%; object-fit: cover; }
.why-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--secondary); color: #fff; border-radius: var(--r-lg);
  padding: 16px 20px; text-align: center; box-shadow: var(--shadow-lg);
  border: 3px solid #fff;
}
.why-badge strong { display: block; font-size: 1.8rem; font-weight: 900; line-height: 1; }
.why-badge span { font-size: .78rem; font-weight: 700; opacity: .9; }
.why-features { display: grid; gap: 20px; margin-top: 40px; }
.why-feature {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border-radius: var(--r-md); padding: 20px;
  box-shadow: var(--shadow-sm); border: 1.5px solid var(--border);
  transition: var(--transition);
}
.why-feature:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.why-feature-icon {
  width: 48px; height: 48px; border-radius: var(--r-md); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.why-feature h4 { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.why-feature p { font-size: .875rem; color: var(--text-muted); margin: 0; }

/* ============================================================
   CURRICULUM PETALS
   ============================================================ */
.curriculum-section { padding: 80px 0; background: #fff; }
.petals-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr));
  gap: 20px; margin-top: 48px;
}
.petal-card {
  background: #fff; border-radius: var(--r-lg); padding: 28px 20px; text-align: center;
  border: 2px solid var(--border); transition: var(--transition); cursor: default;
}
.petal-card:hover { transform: translateY(-5px) scale(1.02); border-color: transparent; box-shadow: var(--shadow-lg); }
.petal-icon { font-size: 2.4rem; margin-bottom: 12px; }
.petal-name { font-size: .9rem; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.petal-desc { font-size: .75rem; color: var(--text-muted); line-height: 1.5; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section { padding: 80px 0; background: var(--bg); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.gallery-item {
  border-radius: var(--r-md); overflow: hidden; cursor: pointer;
  position: relative; aspect-ratio: 1; background: var(--border);
}
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,41,59,.6), transparent);
  opacity: 0; transition: var(--transition);
  display: flex; align-items: flex-end; padding: 16px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span { color: #fff; font-weight: 700; font-size: .875rem; }
.gallery-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--primary-light), #E0F2FE);
  display: flex; align-items: center; justify-content: center; font-size: 2.5rem;
}
.gallery-placeholder.big { font-size: 4rem; }

/* Lightbox */
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 9999;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 90vh; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.lightbox-close { position: fixed; top: 20px; right: 20px; color: #fff; font-size: 2rem; cursor: pointer; z-index: 10000; background: rgba(0,0,0,.5); width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { padding: 80px 0; background: #fff; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr));
  gap: 24px; margin-top: 48px;
}
.testimonial-card {
  background: #fff; border-radius: var(--r-lg); padding: 32px;
  border: 1.5px solid var(--border); box-shadow: var(--shadow-sm);
  position: relative; transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow); border-color: var(--primary-light); }
.testimonial-card::before {
  content: '\201C'; position: absolute; top: 20px; right: 28px;
  font-size: 5rem; font-family: Georgia, serif; color: var(--primary-light);
  line-height: 1; font-weight: 700;
}
.testimonial-stars { color: var(--secondary); font-size: .9rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text { font-size: .95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 900; color: #fff; flex-shrink: 0;
  overflow: hidden;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-weight: 800; font-size: .95rem; }
.testimonial-role { font-size: .78rem; color: var(--text-muted); }

/* ============================================================
   ADMISSION CTA SECTION
   ============================================================ */
.admission-section { padding: 80px 0; background: var(--bg); }
.admission-inner {
  background: linear-gradient(135deg, var(--primary) 0%, #7C3AED 100%);
  border-radius: var(--r-xl); padding: 64px;
  display: grid; grid-template-columns: 1fr 480px; gap: 64px; align-items: center;
  position: relative; overflow: hidden;
}
.admission-inner::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.admission-inner::after {
  content: ''; position: absolute; bottom: -80px; left: 200px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.admission-content { position: relative; z-index: 1; }
.admission-tag {
  display: inline-block; background: rgba(255,255,255,.2);
  color: rgba(255,255,255,.95); font-size: .78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 16px;
}
.admission-title { color: #fff; font-size: 2.2rem; font-weight: 900; margin-bottom: 16px; line-height: 1.2; }
.admission-benefits { display: grid; gap: 10px; margin-top: 24px; }
.admission-benefit {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.9); font-size: .9rem;
}
.admission-benefit::before {
  content: '✓'; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 900; flex-shrink: 0;
}
/* Admission Form Card */
.admission-form-card {
  background: #fff; border-radius: var(--r-lg); padding: 36px;
  box-shadow: var(--shadow-lg); position: relative; z-index: 1;
}
.admission-form-card h3 { font-size: 1.3rem; font-weight: 900; margin-bottom: 6px; }
.admission-form-card p { font-size: .85rem; color: var(--text-muted); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: .8rem; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  font-size: .9rem; color: var(--text); background: var(--bg);
  transition: var(--transition); outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.form-submit {
  width: 100%; padding: 13px; background: var(--primary); color: #fff;
  border-radius: var(--r-md); font-family: var(--font-head); font-size: .95rem;
  font-weight: 800; cursor: pointer; border: none; transition: var(--transition);
  margin-top: 4px;
}
.form-submit:hover { background: var(--primary-dark); transform: translateY(-1px); }
.form-message { margin-top: 12px; padding: 10px 14px; border-radius: var(--r-md); font-size: .85rem; font-weight: 600; display: none; }
.form-message.success { background: #D1FAE5; color: #065F46; display: block; }
.form-message.error { background: #FEE2E2; color: #991B1B; display: block; }

/* ============================================================
   EVENTS + BLOG ROW
   ============================================================ */
.events-blog-section { padding: 80px 0; background: #fff; }
.events-blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; }
.section-panel-title { font-size: 1.3rem; font-weight: 900; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }

.event-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px; border-radius: var(--r-md); border: 1.5px solid var(--border);
  margin-bottom: 12px; transition: var(--transition);
}
.event-item:hover { border-color: var(--primary); background: var(--primary-light); }
.event-date-box {
  min-width: 52px; height: 60px; background: var(--primary);
  border-radius: var(--r-md); display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: #fff; flex-shrink: 0;
}
.event-date-box .day { font-size: 1.4rem; font-weight: 900; line-height: 1; }
.event-date-box .mon { font-size: .65rem; font-weight: 700; text-transform: uppercase; }
.event-info h4 { font-size: .95rem; font-weight: 800; margin-bottom: 3px; }
.event-info span { font-size: .78rem; color: var(--text-muted); }

.news-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.news-item:last-child { border-bottom: none; }
.news-thumb-mini {
  width: 72px; height: 72px; border-radius: var(--r-md); flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-light), #E0F2FE);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  overflow: hidden;
}
.news-thumb-mini img { width: 100%; height: 100%; object-fit: cover; }
.news-meta { font-size: .75rem; color: var(--text-muted); margin-bottom: 4px; }
.news-item h4 { font-size: .9rem; font-weight: 800; line-height: 1.4; }
.news-item h4 a { color: var(--text); }
.news-item h4 a:hover { color: var(--primary); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { padding: 80px 0; background: var(--bg); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.faq-item {
  background: #fff; border-radius: var(--r-md); border: 1.5px solid var(--border);
  overflow: hidden; transition: var(--transition);
}
.faq-item.open { border-color: var(--primary); }
.faq-question {
  width: 100%; text-align: left; padding: 18px 22px;
  font-family: var(--font-head); font-size: .95rem; font-weight: 800; color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: none; border: none; cursor: pointer;
}
.faq-icon { width: 24px; height: 24px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; flex-shrink: 0; transition: var(--transition); }
.faq-item.open .faq-icon { background: var(--primary); color: #fff; transform: rotate(45deg); }
.faq-answer { padding: 0 22px; max-height: 0; overflow: hidden; transition: all .35s ease; }
.faq-answer p { padding-bottom: 18px; font-size: .9rem; color: var(--text-muted); line-height: 1.8; }
.faq-item.open .faq-answer { max-height: 200px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--white); }
.footer-wave { line-height: 0; }
.footer-wave svg { width: 100%; height: 60px; display: block; }
.footer-body { background: #1a2540; padding: 60px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; }

.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-icon { font-size: 1.8rem; }
.footer-logo-name { font-family: var(--font-head); font-size: 1.25rem; font-weight: 900; color: #fff; }
.footer-tagline { color: rgba(255,255,255,.6); font-size: .875rem; line-height: 1.7; margin-bottom: 20px; }
.footer-badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.footer-badge { background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.footer-socials { display: flex; gap: 8px; }
.footer-social-btn {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.8);
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.footer-social-btn svg { width: 16px; height: 16px; }
.footer-social-btn:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

.footer-heading { color: rgba(255,255,255,.9); font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.55); font-size: .875rem; transition: var(--transition); }
.footer-links a:hover { color: #fff; padding-left: 4px; }

.footer-contact-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.fci { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.footer-contact-list li span:last-child { color: rgba(255,255,255,.6); font-size: .875rem; line-height: 1.6; }
.footer-cta-btn {
  display: inline-block; margin-top: 20px;
  background: var(--secondary); color: var(--white);
  font-family: var(--font-head); font-size: .875rem; font-weight: 800;
  padding: 11px 22px; border-radius: var(--r-md); transition: var(--transition);
}
.footer-cta-btn:hover { background: var(--secondary-dk); transform: translateY(-2px); color: #fff; }

.footer-bottom { background: #111827; padding: 18px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: rgba(255,255,255,.45); font-size: .8rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.45); font-size: .8rem; transition: var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.float-wa {
  position: fixed; bottom: 32px; right: 32px; z-index: 500;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45); transition: var(--transition);
}
.float-wa:hover { background: #20BD5C; transform: scale(1.1) translateY(-3px); color: #fff; }
.float-top {
  position: fixed; bottom: 32px; right: 100px; z-index: 500;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-colored); transition: var(--transition); cursor: pointer;
}
.float-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #7C3AED 100%);
  padding: 64px 0 52px;
  text-align: center; color: #fff;
  /* body already has padding-top:72px for fixed header — no extra margin needed */
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900;
  margin: 0 0 10px; color: #fff; line-height: 1.2;
}
.page-hero p { color: rgba(255,255,255,.85); font-size: 1rem; margin: 0; }
.page-hero .breadcrumb { color: rgba(255,255,255,.75); font-size: .875rem; margin-top: 8px; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.75); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .section-tag {
  background: rgba(255,255,255,.2); color: rgba(255,255,255,.95);
  margin-bottom: 12px;
}

/* ============================================================
   BLOG / NEWS CARDS
   ============================================================ */
.news-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1.5px solid var(--border); transition: var(--transition); }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-thumb { width: 100%; height: 200px; object-fit: cover; }
.news-body { padding: 22px; }
.news-meta-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.news-category { background: var(--primary-light); color: var(--primary); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 3px 10px; border-radius: 999px; }
.news-date { font-size: .78rem; color: var(--text-light); }
.news-title { font-size: 1.05rem; font-weight: 800; line-height: 1.35; margin-bottom: 8px; }
.news-title a { color: var(--text); }
.news-title a:hover { color: var(--primary); }
.news-excerpt { font-size: .875rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.float-anim { animation: float 5s ease-in-out infinite; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { display: none; }
  .hero-content { text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-proof { margin: 0 auto; }
  .why-grid { grid-template-columns: 1fr; }
  .why-img-stack { display: none; }
  .admission-inner { grid-template-columns: 1fr; gap: 32px; padding: 40px; }
  .admission-inner > div:last-child { max-width: 480px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-item:first-child { grid-column: span 2; }
  .faq-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .events-blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  /* Collapse nav on tablets too */
  .primary-nav { display: none; }
  .header-phone { display: none; }
  .nav-toggle { display: flex; }

  .primary-nav.open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: #fff; z-index: 8999;
    padding: 20px; overflow-y: auto; gap: 2px;
    border-top: 1px solid var(--border);
  }

  /* When open — items are full width */
  .primary-nav.open .nav-item,
  .primary-nav.open > li,
  .primary-nav.open > div {
    width: 100%;
  }
  .primary-nav.open .nav-link,
  .primary-nav.open > li > a {
    font-size: 1rem; padding: 13px 16px; border-radius: var(--r-md);
    display: block; width: 100%; color: var(--text);
    border-bottom: 1px solid var(--border);
  }
  .primary-nav.open .nav-link:hover,
  .primary-nav.open > li > a:hover {
    background: var(--primary-light); color: var(--primary);
  }
  /* Dropdown in mobile — show inline below */
  .primary-nav.open .nav-dropdown,
  .primary-nav.open li ul.nav-dropdown,
  .primary-nav.open li ul.sub-menu {
    position: static !important;
    opacity: 1 !important; visibility: visible !important;
    transform: none !important; pointer-events: auto !important;
    box-shadow: none !important; border: none !important;
    padding: 0 0 0 16px; background: transparent;
  }
}

@media (max-width: 768px) {
  .hero-inner { padding: 40px 0 24px; }
  .hero-proof { flex-wrap: wrap; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .petals-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-item:first-child { grid-column: span 2; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 8px 16px; font-size: .8rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .programs-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .petals-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .float-wa { bottom: 20px; right: 20px; width: 50px; height: 50px; }
  .float-top { bottom: 20px; right: 82px; width: 42px; height: 42px; }
}

/* ============================================================
   ADMISSION PAGE LAYOUT
   ============================================================ */
.admission-layout {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 56px;
  align-items: start;
}
@media (max-width: 1000px) {
  .admission-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .admission-layout > div:last-child {
    /* form card */
    max-width: 560px;
    width: 100%;
  }
}

