/*
Theme Name: Pramila Future Stars School Pro
Theme URI: https://www.pramilafuturestars.com
Author: Pramila Future Stars School Jabalpur
Author URI: https://www.pramilafuturestars.com
Description: Pro WordPress theme for Pramila Future Stars School, Jabalpur — polished landing page, SEO/schema fallback, WhatsApp enquiry, parent reviews, events, gallery, and school settings.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pramila-future-stars
Tags: education, school, english-medium, jabalpur, kids, admission, one-page, custom-logo
*/

/* ============================================================
   PRAMILA FUTURE STARS SCHOOL — JABALPUR
   Complete WordPress Theme Stylesheet
   Best English Medium School | CBSE Pattern | MP Board
   Nursery, LKG, UKG, Class 1-5 | Holistic Development
   ============================================================ */

:root {
  --saffron: #E8772E;
  --saffron-light: #FFF0E6;
  --saffron-dark: #C0561A;
  --green: #2D7A4F;
  --green-light: #EAF5EF;
  --navy: #1A2B4A;
  --gold: #D4A017;
  --cream: #FEFCF8;
  --warm-gray: #F7F4EF;
  --white: #FFFFFF;
  --text: #1C1C1C;
  --text-muted: #6B6560;
  --border: rgba(0,0,0,0.08);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 4px 24px rgba(26,43,74,0.08);
  --shadow-lg: 0 12px 48px rgba(26,43,74,0.14);
}

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--saffron); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--saffron-dark); }
ul { list-style: none; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; font-family: 'DM Sans', sans-serif; font-weight: 600; }

p { margin-bottom: 1rem; color: var(--text-muted); font-size: 16px; line-height: 1.8; }
p:last-child { margin-bottom: 0; }

/* ============ LAYOUT ============ */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--gray { background: var(--warm-gray); }
.section--navy { background: var(--navy); }
.section--cream { background: var(--cream); }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title { margin-bottom: 1rem; }
.section-title--white { color: white; }
.section-desc { font-size: 17px; max-width: 560px; line-height: 1.8; margin-bottom: 0; }
.section-center { text-align: center; }
.section-center .section-desc { margin: 0 auto; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.22s;
  border: none;
  text-decoration: none;
  line-height: 1;
}

.btn--primary {
  background: var(--saffron);
  color: white;
  box-shadow: 0 4px 18px rgba(232,119,46,0.32);
}
.btn--primary:hover {
  background: var(--saffron-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,119,46,0.42);
}

.btn--secondary {
  background: white;
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn--secondary:hover { border-color: var(--saffron); color: var(--saffron); background: white; }

.btn--white {
  background: white;
  color: var(--saffron-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.14);
  font-size: 16px;
}
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.2); color: var(--saffron-dark); }

.btn--green { background: var(--green); color: white; }
.btn--green:hover { background: #235f3d; color: white; transform: translateY(-2px); }

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ============ BADGES & PILLS ============ */
.badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}
.badge--saffron { background: var(--saffron-light); color: var(--saffron-dark); border: 1px solid rgba(232,119,46,0.25); }
.badge--green { background: var(--green-light); color: var(--green); }
.badge--navy { background: rgba(26,43,74,0.08); color: var(--navy); }
.badge--pulse::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--saffron);
  border-radius: 50%;
  margin-right: 7px;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
}
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }

/* ============ CARDS ============ */
.card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.75rem;
  transition: all 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card--feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--radius);
}

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.icon--saffron { background: var(--saffron-light); }
.icon--green { background: var(--green-light); }
.icon--navy { background: rgba(26,43,74,0.07); }
.icon--gold { background: rgba(212,160,23,0.1); }

/* ============ HEADER / NAV ============ */
#masthead {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(254,252,248,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232,119,46,0.12);
  height: 70px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Logo */
.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.site-logo__icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: 0 3px 10px rgba(232,119,46,0.3);
  flex-shrink: 0;
}
.site-logo__text strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.site-logo__text span {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.4px;
}

/* Primary Nav */
#primary-navigation { display: flex; align-items: center; gap: 2rem; }
#primary-navigation .nav-menu { display: flex; align-items: center; gap: 0.25rem; }
#primary-navigation .nav-menu li a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s;
  display: block;
}
#primary-navigation .nav-menu li a:hover,
#primary-navigation .nav-menu li.current-menu-item a {
  color: var(--saffron);
  background: var(--saffron-light);
}
.nav-cta { margin-left: 0.5rem; }

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: all 0.3s;
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 110px 0 4rem;
}

.hero__badge { margin-bottom: 1.5rem; }

.hero__title { margin-bottom: 1.25rem; }
.hero__title .highlight {
  color: var(--saffron);
  position: relative;
}
.hero__title .highlight::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 0; right: 0;
  height: 5px;
  background: var(--gold);
  border-radius: 3px;
  opacity: 0.35;
}

.hero__desc { font-size: 17px; margin-bottom: 2rem; }
.hero__pills { margin-bottom: 2rem; }

.hero__visual { position: relative; }
.hero__card {
  background: white;
  border-radius: 26px;
  padding: 2rem;
  box-shadow: 0 24px 70px rgba(26,43,74,0.13);
  position: relative;
  overflow: hidden;
}
.hero__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--saffron), var(--gold), var(--green));
}

.hero__img-wrap {
  background: linear-gradient(135deg, var(--saffron-light), var(--green-light));
  border-radius: 18px;
  height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  overflow: hidden;
  position: relative;
}
.hero__img-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.hero__img-placeholder { font-size: 56px; }

.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.stat { text-align: center; background: var(--warm-gray); border-radius: 12px; padding: 1rem 0.5rem; }
.stat__number {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--saffron);
  display: block;
}
.stat__label { font-size: 12px; color: var(--text-muted); line-height: 1.3; }

.float-tag {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 6px 22px rgba(0,0,0,0.13);
  z-index: 5;
  white-space: nowrap;
}
.float-tag--tr { top: -14px; right: -18px; color: var(--green); border: 1.5px solid var(--green-light); }
.float-tag--bl { bottom: -14px; left: -18px; color: var(--saffron); border: 1.5px solid var(--saffron-light); }

/* ============ TRUST BAR ============ */
.trust-bar { background: var(--navy); padding: 1.1rem 0; }
.trust-bar__inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.trust-item { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,0.88); font-size: 14px; font-weight: 500; }
.trust-item__icon { font-size: 20px; }

/* ============ CLASSES SECTION ============ */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.class-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  border: 1.5px solid transparent;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.class-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--saffron);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.class-card:hover { border-color: rgba(232,119,46,0.2); transform: translateY(-5px); box-shadow: 0 14px 40px rgba(232,119,46,0.13); }
.class-card:hover::before { transform: scaleX(1); }

.class-card__age { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--saffron); margin-bottom: 0.6rem; display: block; }
.class-card__icon { font-size: 40px; margin-bottom: 0.75rem; display: block; }
.class-card__name { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.class-card__desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.class-card__status { font-size: 12px; font-weight: 600; color: var(--green); background: var(--green-light); padding: 5px 14px; border-radius: 100px; display: inline-block; }

/* ============ WHY US ============ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 3rem;
}

.feature-list { display: flex; flex-direction: column; gap: 1.25rem; }

.feature-item { display: flex; gap: 1.1rem; align-items: flex-start; }
.feature-item h3 { font-size: 16px; font-family: 'DM Sans', sans-serif; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.feature-item p { font-size: 14px; margin: 0; }

.compare-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.compare-card h3 { font-size: 17px; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }

.compare-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  font-size: 14px;
}
.compare-row:last-of-type { border: none; }
.comp-label { color: var(--text-muted); font-weight: 500; }
.comp-us { color: var(--green); font-weight: 700; }
.comp-them { color: #ccc; font-size: 13px; }

.compare-highlight {
  margin-top: 1.25rem;
  background: var(--saffron-light);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  font-size: 14px;
  color: var(--saffron-dark);
  font-weight: 600;
  line-height: 1.5;
}

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.3s;
}
.testimonial-card:hover { background: rgba(255,255,255,0.11); transform: translateY(-3px); }

.testimonial-stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 0.75rem; }
.testimonial-text { font-size: 15px; color: rgba(255,255,255,0.82); line-height: 1.8; font-style: italic; margin-bottom: 1.25rem; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--saffron);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700; color: white;
  flex-shrink: 0;
}
.author-name { font-size: 14px; font-weight: 600; color: white; }
.author-meta { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 2px; }

/* ============ ADMISSION STEPS ============ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.step-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  transition: all 0.3s;
  position: relative;
}
.step-card:hover { transform: translateY(-5px); box-shadow: 0 14px 40px rgba(232,119,46,0.12); }

.step-num {
  width: 42px; height: 42px;
  background: var(--saffron);
  color: white;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
  margin-bottom: 1.1rem;
}
.step-title { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; font-family: 'DM Sans', sans-serif; }
.step-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* ============ OFFER BANNER ============ */
.offer-banner {
  background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-dark) 100%);
  border-radius: 26px;
  padding: 3.5rem 3rem;
  text-align: center;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}
.offer-banner::before {
  content: '★';
  position: absolute;
  font-size: 240px;
  color: rgba(255,255,255,0.04);
  top: -60px; right: -30px;
  pointer-events: none;
}
.offer-banner h2 { color: white; margin-bottom: 0.75rem; }
.offer-banner p { color: rgba(255,255,255,0.88); font-size: 17px; max-width: 540px; margin: 0 auto 1.75rem; }

.offer-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 2rem; }
.offer-chip {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.28);
  color: white;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 100px;
}

/* ============ FAQ ============ */
.faq-list { max-width: 780px; margin: 3rem auto 0; }

.faq-item {
  background: white;
  border-radius: 14px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
  user-select: none;
  font-family: 'DM Sans', sans-serif;
}
.faq-question:hover { color: var(--saffron); }
.faq-question .faq-arrow { font-size: 20px; transition: transform 0.3s; flex-shrink: 0; color: var(--text-muted); }
.faq-item.is-open .faq-question { color: var(--saffron); }
.faq-item.is-open .faq-arrow { transform: rotate(45deg); color: var(--saffron); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  padding: 0 1.5rem;
}
.faq-item.is-open .faq-answer {
  max-height: 350px;
  padding: 0 1.5rem 1.5rem;
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}
.contact-icon {
  width: 46px; height: 46px;
  background: var(--saffron-light);
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.contact-label { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.contact-value { font-size: 16px; color: var(--navy); font-weight: 600; }
.contact-value a { color: var(--saffron); }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 320px;
  border: 1px solid var(--border);
}
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

.map-placeholder {
  background: linear-gradient(135deg, var(--saffron-light), var(--green-light));
  border-radius: var(--radius-lg);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  border: 2px dashed rgba(232,119,46,0.28);
  padding: 2rem;
}
.map-placeholder .map-icon { font-size: 52px; }
.map-placeholder strong { color: var(--navy); font-size: 16px; }
.map-placeholder span { color: var(--text-muted); font-size: 14px; }

/* ============ WHATSAPP FLOAT ============ */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.wa-bubble {
  background: white;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 4px 22px rgba(0,0,0,0.14);
  white-space: nowrap;
}
.wa-btn {
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  box-shadow: 0 6px 28px rgba(37,211,102,0.42);
  text-decoration: none;
  transition: all 0.22s;
}
.wa-btn:hover { transform: scale(1.08); box-shadow: 0 10px 36px rgba(37,211,102,0.55); }

/* ============ FOOTER ============ */
#colophon { background: var(--navy); color: white; padding: 4rem 0 1.5rem; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.52); line-height: 1.8; margin-top: 1rem; max-width: 270px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.85); margin-bottom: 1.1rem; letter-spacing: 0.3px; font-family: 'DM Sans', sans-serif; text-transform: uppercase; font-size: 11px; letter-spacing: 1.5px; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.48); transition: color 0.2s; }
.footer-col a:hover { color: var(--saffron); }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 13px;
  color: rgba(255,255,255,0.32);
}

/* ============ WIDGETS ============ */
.widget { margin-bottom: 2.5rem; }
.widget-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--saffron); display: inline-block; }

/* ============ FORMS ============ */
.wp-form input, .wp-form textarea, .wp-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: white;
  transition: border-color 0.2s;
  margin-bottom: 1rem;
}
.wp-form input:focus, .wp-form textarea:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(232,119,46,0.12);
}

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up { animation: fadeUp 0.65s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .why-grid { gap: 3rem; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }

  .menu-toggle { display: flex; }
  #primary-navigation .nav-menu {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 0.25rem;
    z-index: 999;
  }
  #primary-navigation .nav-menu.is-open { display: flex; }
  .nav-cta { margin-left: 0; }

  .hero { grid-template-columns: 1fr; padding: 95px 0 3rem; gap: 2rem; }
  .hero__visual { order: -1; }
  .float-tag { display: none; }

  .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .offer-banner { padding: 2.5rem 1.75rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero__stats { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* ============ PRINT ============ */
@media print {
  #masthead, .wa-float, .trust-bar { display: none; }
  body { padding-top: 0; }
}

/* ============ WORDPRESS CORE ALIGNMENT ============ */
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--text-muted); text-align: center; margin-top: 0.5rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.gallery-item img { border-radius: 10px; }
.screen-reader-text { position: absolute; left: -9999px; }


/* ============================================================
   PRO POLISH — Accessibility, forms, and refined interactions
   ============================================================ */
.skip-link {
  position: absolute;
  top: -48px;
  left: 1rem;
  z-index: 10000;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0 0 10px 10px;
}
.skip-link:focus { top: 0; color: #fff; }

.site-header { backdrop-filter: saturate(180%) blur(10px); }
.nav-menu a:focus-visible, .btn:focus-visible, .wa-btn:focus-visible, .menu-toggle:focus-visible {
  outline: 3px solid rgba(232,119,46,0.45);
  outline-offset: 3px;
}

.pramila-enquiry-form {
  background: var(--saffron-light);
  border: 1.5px solid rgba(232,119,46,0.25);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--shadow);
}
.pramila-enquiry-form h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  margin-bottom: 1rem;
}
.pramila-enquiry-form .btn {
  width: 100%;
  justify-content: center;
}
.form-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.75rem;
}

.hero__card, .class-card, .compare-card, .testimonial-card, .admission-card, .contact-info-item {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

#masthead.is-scrolled { box-shadow: 0 2px 20px rgba(26,43,74,0.10); }
.site-header .nav-cta { width: auto; white-space: nowrap; }
@media (max-width: 520px) {
  .site-logo__text span { display: none; }
  .site-logo__text strong { max-width: 150px; }
  .site-header .nav-cta { display: none; }
}


/* ============ AUDITED PRO SECTIONS: FACILITIES, GALLERY, EVENTS ============ */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.facility-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.facility-card h3 { font-size: 1.15rem; margin: 1rem 0 0.65rem; }
.facility-card p { font-size: 14px; }
.section-split-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2rem;
}
.school-life-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
}
.gallery-panel, .events-panel, .contact-enquiry {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}
.gallery-panel h3, .events-panel h3 { margin-bottom: 1rem; }
.mini-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.mini-gallery-item {
  min-height: 110px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--warm-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.mini-gallery-item img { width: 100%; height: 100%; min-height: 110px; object-fit: cover; }
.mini-gallery-placeholder {
  flex-direction: column;
  gap: 0.35rem;
  border: 1px dashed rgba(26,43,74,0.18);
  color: var(--text-muted);
}
.mini-gallery-placeholder span { font-size: 1.7rem; }
.small-note { font-size: 12px; margin-top: 0.85rem; }
.event-mini-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.event-mini-card:last-child { border-bottom: 0; padding-bottom: 0; }
.event-date {
  height: 54px;
  border-radius: 14px;
  background: var(--saffron-light);
  color: var(--saffron-dark);
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.35rem;
}
.event-mini-card h4 { margin-bottom: 0.25rem; }
.event-mini-card h4 a { color: var(--navy); }
.event-mini-card p { font-size: 13px; line-height: 1.55; }
.contact-enquiry { margin-top: 1.5rem; }
.testimonial-card--placeholder { border: 1px dashed rgba(255,255,255,0.28); }

@media (max-width: 768px) {
  .section-split-head { flex-direction: column; align-items: flex-start; }
  .school-life-grid { grid-template-columns: 1fr; }
  .mini-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
