/* ============================================
   EMERALD FIELD KINDERGARTEN — STYLES
   Inspired by littlerock.edu.in
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; }

:root {
  --maroon:       #2e7d32;
  --maroon-dark:  #1b5e20;
  --maroon-light: #388e3c;
  --accent-blue:  #66bb6a;
  --yellow:       #ffee58;
  --text:         #1a2e1a;
  --text-light:   #555;
  --bg-light:     #f3f8f3;
  --white:        #ffffff;
  --border:       #c8e6c9;
  --radius:       6px;
  --radius-lg:    10px;
  --shadow:       0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg:    0 6px 32px rgba(0,0,0,0.14);
  --transition:   0.25s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }

/* ---- Section Header ---- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header p.section-tag { margin-bottom: 10px; }
.section-header > p:not(.section-tag) { color: var(--text-light); max-width: 560px; margin: 12px auto 0; }
.section-header h2 { margin-top: 8px; }

.section-tag {
  display: inline-block;
  background: var(--maroon);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 3px;
}

h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  color: var(--text);
  line-height: 1.25;
  font-weight: 700;
}
h3 { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--text); }
h4 { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--text); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  letter-spacing: 0.5px;
}
.btn-primary {
  background: var(--maroon);
  color: var(--white);
  border-color: var(--maroon);
}
.btn-primary:hover {
  background: var(--maroon-dark);
  border-color: var(--maroon-dark);
  transform: translateY(-1px);
}
.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: var(--white);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: var(--white);
  color: var(--maroon);
}
.btn-outline-maroon {
  background: transparent;
  color: var(--maroon);
  border-color: var(--maroon);
}
.btn-outline-maroon:hover {
  background: var(--maroon);
  color: var(--white);
}
.btn-full { width: 100%; }

/* ============================================
   TOP BAR
   ============================================ */
.topbar {
  background: var(--maroon-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  padding: 7px 0;
}
.topbar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.topbar-left span { display: flex; align-items: center; gap: 6px; }
.topbar-icon { width: 14px; height: 14px; filter: brightness(0) invert(1); vertical-align: middle; flex-shrink: 0; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--maroon);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.nav-container {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.logo, .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-svg {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
  box-shadow: 0 0 0 2px rgba(46,125,50,0.15);
}
.footer-logo-svg {
  width: 64px;
  height: 64px;
  padding: 3px;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.2);
}
.logo-text-wrap, .logo-text-wrap { display: flex; flex-direction: column; }
.logo-main { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--maroon); line-height: 1.1; }
.logo-sub { font-size: 0.72rem; color: var(--text-light); font-weight: 500; letter-spacing: 0.3px; }

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-item {
  position: relative;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
a.nav-item:hover, .dropdown:hover > a {
  color: var(--maroon);
  background: rgba(46,125,50,0.08);
}
.arrow { font-size: 0.7rem; margin-left: 2px; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border-top: 3px solid var(--maroon);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 100;
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: rgba(46,125,50,0.08); color: var(--maroon); padding-left: 24px; }

.nav-cta {
  background: var(--maroon);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 700;
  margin-left: 8px;
  transition: all var(--transition);
}
.nav-cta:hover { background: var(--maroon-dark); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span { display: block; width: 26px; height: 3px; background: var(--maroon); border-radius: 3px; transition: all var(--transition); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 560px;
  background: url('images/hero_banner_image.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.60));
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 3px;
  border-left: 3px solid var(--yellow);
  margin-bottom: 24px;
}
.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 700px;
}
.hero h1 span { color: var(--yellow); }
.hero-desc {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats-bar {
  position: relative;
  z-index: 1;
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  flex-wrap: wrap;
}
.hstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 48px;
  gap: 4px;
}
.hstat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
}
.hstat-label { font-size: 0.78rem; color: rgba(255,255,255,0.8); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.hstat-div { width: 1px; height: 48px; background: rgba(255,255,255,0.15); }

/* ============================================
   ABOUT
   ============================================ */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-img-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.about-school-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--yellow);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
}
.badge-num { font-family: 'Poppins', sans-serif; font-size: 2rem; font-weight: 800; color: var(--maroon); line-height: 1; }
.badge-txt { font-size: 0.8rem; font-weight: 700; color: var(--maroon-dark); line-height: 1.3; }

.about-content .section-tag { display: inline-block; margin-bottom: 14px; }
.about-content h2 { margin-bottom: 16px; }
.about-content > p { color: var(--text-light); margin-bottom: 14px; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.af-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; }
.af-icon { color: var(--maroon); font-size: 1rem; flex-shrink: 0; }

/* ============================================
   WHY US
   ============================================ */
.why-us { background: var(--bg-light); }
.why-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.why-card {
  flex: 0 1 calc(33.333% - 16px);
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-top: 4px solid var(--maroon);
  transition: all var(--transition);
  text-align: center;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.why-icon { font-size: 2.5rem; margin-bottom: 16px; }
.why-card h4 { font-size: 1rem; margin-bottom: 10px; color: var(--maroon); }
.why-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }

/* ============================================
   PROGRAMS
   ============================================ */
.programs { background: var(--white); }
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.prog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.prog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prog-card.featured { transform: translateY(-8px); box-shadow: 0 12px 40px rgba(71,71,215,0.2); }
.prog-header {
  padding: 36px 28px 28px;
  text-align: center;
  color: var(--white);
  position: relative;
}
.prog-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--yellow);
  color: var(--maroon-dark);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}
.prog-icon { font-size: 2.8rem; margin-bottom: 12px; }
.prog-header h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 4px; }
.prog-header span { color: rgba(255,255,255,0.75); font-size: 0.85rem; font-weight: 600; }
.prog-body { padding: 28px; background: var(--white); }
.prog-body p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 20px; }
.prog-body ul { list-style: none; margin-bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
.prog-body ul li {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text);
  padding-left: 16px;
  position: relative;
}
.prog-body ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--maroon);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery { background: var(--bg-light); }
.carousel-wrapper { position: relative; overflow: hidden; margin-top: 8px; }
.carousel-track-outer { overflow: hidden; padding: 0 24px; }
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  touch-action: pan-y;
  will-change: transform;
}
.carousel-slide {
  min-width: calc(33.333% - 16px);
  margin-right: 24px;
  flex-shrink: 0;
}
.slide-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  height: 260px;
  overflow: hidden;
  cursor: pointer;
}
.slide-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.slide-img-wrap:hover img { transform: scale(1.06); }
.slide-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(to top, rgba(27,94,32,0.85), transparent);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--white);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn:hover { background: var(--maroon-dark); transform: translateY(-50%) scale(1.1); }
.carousel-btn.prev { left: 4px; }
.carousel-btn.next { right: 4px; }

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #ccc; border: none; cursor: pointer; transition: all var(--transition); padding: 0; }
.dot.active { background: var(--maroon); width: 28px; border-radius: 5px; }

/* ============================================
   ADMISSION
   ============================================ */
.admission { background: var(--white); }
.admission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.admission-steps h3 { font-size: 1.3rem; margin-bottom: 28px; color: var(--maroon); }
.step { display: flex; gap: 18px; margin-bottom: 24px; }
.step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--maroon);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem;
}
.step-body h4 { font-size: 0.95rem; margin-bottom: 4px; }
.step-body p { font-size: 0.85rem; color: var(--text-light); }

.admission-right { display: flex; flex-direction: column; gap: 20px; }
.fee-card, .doc-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
}
.fee-card h4, .doc-card h4 { color: var(--maroon); font-size: 0.95rem; margin-bottom: 14px; }
.fee-table { width: 100%; border-collapse: collapse; }
.fee-table tr { border-bottom: 1px solid var(--border); }
.fee-table td { padding: 8px 0; font-size: 0.85rem; color: var(--text-light); }
.fee-table td:last-child { text-align: right; font-weight: 700; color: var(--maroon); }
.fee-note { font-size: 0.78rem; color: var(--text-light); margin-top: 10px; font-style: italic; }
.doc-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.doc-card ul li { font-size: 0.85rem; color: var(--text-light); font-weight: 600; }


/* ============================================
   CONTACT
   ============================================ */
.contact { background: var(--bg-light); }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto 48px;
}
.cinfo-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-left: 4px solid var(--maroon);
  transition: transform var(--transition);
}
.cinfo-card:hover { transform: translateX(4px); }
.cinfo-icon { font-size: 1.6rem; flex-shrink: 0; }
.cinfo-card h4 { font-size: 0.9rem; margin-bottom: 5px; color: var(--maroon); }
.cinfo-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.7; }
.cinfo-card a { color: var(--maroon); font-weight: 600; }
.cinfo-card a:hover { text-decoration: underline; }

.map-section { margin-top: 8px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }

/* ============================================
   FOOTER
   ============================================ */
.footer-top {
  background: var(--maroon-dark);
  padding: 64px 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 48px;
}
.footer-brand .footer-logo { margin-bottom: 16px; }
.footer-brand .logo-main { color: var(--white); }
.footer-brand .logo-sub { color: rgba(255,255,255,0.5); }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.88rem; line-height: 1.8; }

.footer-col h5 {
  color: var(--yellow);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li { font-size: 0.85rem; color: rgba(255,255,255,0.65); line-height: 1.6; }
.footer-col ul li a { color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--yellow); }

.footer-bottom {
  background: var(--maroon);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--maroon);
  color: var(--white);
  border: none; font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(46,125,50,0.35);
  opacity: 0;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 999;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--maroon-dark); }

/* ============================================
   RESPONSIVE
   ============================================ */
/* ============================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================ */
@media (max-width: 1024px) {
  .why-card { flex: 0 1 calc(50% - 12px); }
  .programs-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hstat { padding: 20px 28px; }
}

/* ============================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================ */
@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }
  .topbar { display: none; }

  /* ----- Navbar ----- */
  .hamburger { display: flex; }
  .nav-container { height: 64px; }

  .nav-links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 8px 0 24px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    pointer-events: none;
    align-items: stretch;
    border-top: 3px solid var(--maroon);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    z-index: 999;
  }
  .nav-links.open { transform: translateX(0); pointer-events: all; }

  .nav-item,
  a.nav-item {
    padding: 14px 20px;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .dropdown { border-bottom: 1px solid var(--border); }
  .dropdown > a { border-bottom: none; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    background: var(--bg-light);
    border-radius: 0;
  }
  .dropdown-menu a { padding: 12px 32px; font-size: 0.85rem; border-bottom: 1px solid var(--border); }
  .nav-cta { margin: 16px 16px 0; border-radius: var(--radius); text-align: center; justify-content: center; min-height: 48px; }

  /* Logo shrink on mobile */
  .logo-main { font-size: 0.95rem; }
  .logo-sub { font-size: 0.65rem; }
  .logo-svg { width: 44px; height: 44px; padding: 2px; }

  /* ----- Hero ----- */
  .hero { min-height: auto; }
  .hero-content { padding: 48px 16px 36px; }
  .hero-tag { font-size: 0.72rem; }
  .hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .hero-desc { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; padding: 14px; }

  /* Hero stats — side by side on mobile */
  .hero-stats {
    display: flex;
    justify-content: center;
    padding: 0;
  }
  .hstat {
    padding: 18px 24px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.12);
  }
  .hstat:last-child { border-right: none; }
  .hstat-div { display: none; }
  .hstat-num { font-size: 1.6rem; }
  .hstat-label { font-size: 0.7rem; }

  /* ----- About ----- */
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img-box { padding: 40px 24px 56px; }
  /* Keep badge inside the box on mobile */
  .about-badge {
    position: absolute;
    bottom: -14px; right: -14px;
  }
  .about-school-img { height: 280px; }
  .about-features { grid-template-columns: 1fr; }

  /* ----- Why Us ----- */
  .why-grid { grid-template-columns: 1fr; }

  /* ----- Programs ----- */
  .programs-grid { grid-template-columns: 1fr; }
  .prog-card.featured { transform: none; box-shadow: var(--shadow); }

  /* ----- Carousel ----- */
  .carousel-track-outer { padding: 0; overflow: hidden; }
  .carousel-slide { min-width: 100%; margin-right: 0; flex-shrink: 0; }
  .carousel-btn.prev { left: 4px; width: 40px; height: 40px; font-size: 1rem; }
  .carousel-btn.next { right: 4px; width: 40px; height: 40px; font-size: 1rem; }
  .slide-img-wrap { height: 240px; border-radius: 0; }
  .slide-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

  /* ----- Admission ----- */
  .admission-grid { grid-template-columns: 1fr; gap: 32px; }

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

  /* ----- Footer ----- */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-top { padding: 40px 0 32px; }

  /* Prevent long emails breaking layout */
  .cinfo-card p, .footer-col ul li {
    word-break: break-word;
    overflow-wrap: break-word;
  }
}

/* ============================================
   RESPONSIVE — SMALL PHONES (≤480px)
   ============================================ */
@media (max-width: 480px) {
  h2 { font-size: 1.5rem; }
  .section-header { margin-bottom: 36px; }
  .hero h1 { font-size: 1.6rem; }
  .back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; font-size: 1rem; }

  /* Admission steps */
  .step { gap: 12px; }
  .step-num { width: 38px; height: 38px; font-size: 0.78rem; flex-shrink: 0; }

  /* Cards */
  .why-card, .prog-body { padding: 20px 16px; }
  .cinfo-card { padding: 14px; gap: 12px; }
  .fee-card, .doc-card { padding: 16px; }

  /* Section tags */
  .section-tag { font-size: 0.7rem; letter-spacing: 1.5px; }
}
