/* ============================================================
   VIDYASAGAR ACADEMY - Main Stylesheet
   Pure CSS (no build step required)
   ============================================================ */

/* ============================================================
   1. CSS Custom Properties (Design Tokens)
   ============================================================ */
:root {
  --primary:           #c04422;
  --primary-hover:     #a83918;
  --primary-light:     rgba(192, 68, 34, 0.10);
  --primary-light2:    rgba(192, 68, 34, 0.20);
  --primary-foreground:#ffffff;
  --secondary:         #f7f7f7;
  --secondary-foreground: #2a2a2a;
  --background:        #fdfdfd;
  --foreground:        #1c1c1c;
  --muted:             #f4f4f4;
  --muted-foreground:  #737373;
  --border:            #e8e8e8;
  --card:              #ffffff;
  --card-foreground:   #1c1c1c;
  --accent:            #f5f0ef;
  --accent-foreground: #2a2a2a;
  --ring:              rgba(192, 68, 34, 0.4);
  --radius:            0.625rem;
  --radius-sm:         0.375rem;
  --radius-md:         0.5rem;
  --radius-lg:         0.625rem;
  --radius-xl:         1rem;
  --radius-2xl:        1.5rem;
  --shadow-sm:         0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow:            0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1);
  --shadow-md:         0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg:         0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl:         0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow-2xl:        0 25px 50px -12px rgba(0,0,0,0.25);
}

/* ============================================================
   2. Reset & Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  background: none;
  border: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
  color: var(--foreground);
}

/* ============================================================
   3. Container & Layout
   ============================================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-py { padding-top: 4rem; padding-bottom: 4rem; }
.section-py-lg { padding-top: 6rem; padding-bottom: 6rem; }

/* Grid helpers */
.grid { display: grid; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap  { flex-wrap: wrap; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1; }
.w-full { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.hidden { display: none; }

/* ============================================================
   4. Typography Utilities
   ============================================================ */
.text-xs   { font-size: 0.75rem; }
.text-sm   { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg   { font-size: 1.125rem; }
.text-xl   { font-size: 1.25rem; }
.text-2xl  { font-size: 1.5rem; }
.text-3xl  { font-size: 1.875rem; }
.text-4xl  { font-size: 2.25rem; }
.text-5xl  { font-size: 3rem; }

.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }

.text-primary         { color: var(--primary); }
.text-muted           { color: var(--muted-foreground); }
.text-foreground      { color: var(--foreground); }
.text-white           { color: #ffffff; }
.leading-tight        { line-height: 1.25; }
.leading-relaxed      { line-height: 1.75; }
.italic               { font-style: italic; }
.uppercase            { text-transform: uppercase; }
.tracking-wide        { letter-spacing: 0.05em; }

/* ============================================================
   5. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
  text-decoration: none;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: 2px solid var(--primary);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  background-color: var(--muted);
  border-color: var(--muted-foreground);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  border: 2px solid var(--secondary);
}
.btn-secondary:hover {
  background-color: #eeeeee;
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}
.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--primary);
}

.btn-sm {
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1rem 2.5rem;
  font-size: 1.0625rem;
}

.btn-full { width: 100%; }

/* ============================================================
   6. Badges
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
}

.badge-default {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.badge-outline {
  background-color: transparent;
  color: var(--foreground);
  border: 1.5px solid var(--border);
}

.badge-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

/* ============================================================
   7. Cards
   ============================================================ */
.card {
  background-color: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card-header {
  padding: 1.5rem 1.5rem 0;
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.card-description {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.card:hover.card-hover {
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   8. Forms
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.5625rem 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--foreground);
  background-color: var(--background);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted-foreground);
  opacity: 0.7;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--ring);
}

.form-textarea {
  resize: vertical;
  min-height: 6rem;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* ============================================================
   9. Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background-color: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  height: 5rem;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.header-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.header-logo-text {
  display: flex;
  flex-direction: column;
}

.header-logo-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.3;
}

.header-logo-tagline {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.15s ease;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: var(--foreground);
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease;
  cursor: pointer;
}

.menu-toggle:hover { background-color: var(--muted); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}

.mobile-nav.open { display: block; }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  padding: 0.625rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background-color 0.15s ease;
  display: block;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--primary);
  background-color: var(--primary-light);
}

/* ============================================================
   10. Footer
   ============================================================ */
.site-footer {
  background-color: var(--muted);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer-logo-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.footer-heading {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-link:hover { color: var(--primary); }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--primary);
}

.footer-contact-item a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-contact-item a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

/* ============================================================
   11. Hero Sections
   ============================================================ */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.hero-gradient {
  background: linear-gradient(135deg, rgba(192,68,34,0.08) 0%, var(--background) 50%, rgba(245,240,239,0.5) 100%);
}

.hero-gradient-simple {
  background: linear-gradient(135deg, rgba(192,68,34,0.08) 0%, rgba(245,240,239,0.4) 100%);
}

.hero-cta-gradient {
  background: linear-gradient(90deg, var(--primary) 0%, #a83918 100%);
  color: #ffffff;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-title .highlight { color: var(--primary); }

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  height: 380px;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
}

.section-badge-wrap { margin-bottom: 1rem; }

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  max-width: 42rem;
}

/* ============================================================
   12. Stats / Highlights
   ============================================================ */
.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-light);
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1rem;
}

/* ============================================================
   13. Course Cards
   ============================================================ */
.courses-grid {
  display: grid;
  gap: 1.5rem;
}

.course-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
  cursor: pointer;
}

.course-card:hover { box-shadow: var(--shadow-lg); }

.course-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background-color 0.2s ease;
  color: var(--primary);
}

.course-card:hover .course-icon-wrap {
  background-color: var(--primary-light2);
}

.course-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.course-card-desc {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.course-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.course-learn-more:hover { text-decoration: underline; }

/* ============================================================
   14. Results / Student Cards
   ============================================================ */
.results-grid {
  display: grid;
  gap: 1.5rem;
}

.student-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.student-card:hover { box-shadow: var(--shadow-lg); }

.student-photo-wrap {
  width: 6rem;
  height: 6rem;
  border-radius: 9999px;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 3px solid var(--primary);
}

.student-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.student-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.student-stream {
  font-size: 0.8125rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.student-marks {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
}

/* Home page student photo is smaller */
.student-photo-sm {
  width: 5rem;
  height: 5rem;
}

/* ============================================================
   15. Feature Items
   ============================================================ */
.features-grid {
  display: grid;
  gap: 2rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
}

.feature-title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ============================================================
   16. Testimonials
   ============================================================ */
.testimonials-grid {
  display: grid;
  gap: 1.5rem;
}

.testimonial-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-size: 0.9375rem;
  font-weight: 600;
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.star-row {
  display: flex;
  gap: 0.25rem;
}

.star {
  color: var(--primary);
}

/* ============================================================
   17. Gallery
   ============================================================ */
.gallery-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.gallery-item {
  position: relative;
  height: 16rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background-color: var(--muted);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(0,0,0,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lightbox-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-lg);
  object-fit: contain;
  box-shadow: var(--shadow-2xl);
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  background-color: rgba(255,255,255,0.15);
  color: #ffffff;
  border-radius: 9999px;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease;
  font-size: 1.25rem;
  line-height: 1;
}

.lightbox-close:hover { background-color: rgba(255,255,255,0.25); }

/* ============================================================
   18. Tabs (Courses Page)
   ============================================================ */
.tabs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  background-color: var(--muted);
  border-radius: var(--radius-lg);
  padding: 0.375rem;
  margin-bottom: 3rem;
}

.tab-trigger {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted-foreground);
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
  border: none;
}

.tab-trigger:hover { color: var(--foreground); }

.tab-trigger.active {
  background-color: var(--card);
  color: var(--foreground);
  box-shadow: var(--shadow-sm);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.tab-course-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tab-course-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-md);
  background-color: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.checklist-item svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--primary);
}

/* Features included grid */
.included-grid {
  display: grid;
  gap: 1rem;
}

/* ============================================================
   19. Page-specific: About
   ============================================================ */
.classroom-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.classroom-thumb {
  position: relative;
  height: 10rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.classroom-thumb:hover { transform: scale(1.03); }

.classroom-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   20. Contact Info Cards
   ============================================================ */
.contact-info-grid {
  display: grid;
  gap: 1rem;
}

.contact-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
}

/* Map */
.map-container {
  position: relative;
  height: 25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   21. Admission Steps
   ============================================================ */
.steps-grid {
  display: grid;
  gap: 1.5rem;
}

.step-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.step-num {
  position: absolute;
  top: -0.25rem;
  right: 0.75rem;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(192, 68, 34, 0.05);
  line-height: 1;
  pointer-events: none;
}

.step-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background-color: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.step-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  position: relative;
  z-index: 1;
}

/* ============================================================
   22. WhatsApp Floating Button
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background-color: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.whatsapp-float:hover {
  background-color: #1ebe5c;
  transform: scale(1.08);
}

/* ============================================================
   23. Toast Notification
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  pointer-events: none;
}

.toast {
  background-color: var(--foreground);
  color: var(--background);
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-lg);
  font-size: 0.9375rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  white-space: nowrap;
  pointer-events: none;
}

.toast.toast-success {
  background-color: #16a34a;
  color: #ffffff;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ============================================================
   24. Section Backgrounds
   ============================================================ */
.bg-background  { background-color: var(--background); }
.bg-muted       { background-color: var(--muted); }
.bg-muted-light { background-color: rgba(244,244,244,0.5); }
.bg-card        { background-color: var(--card); }
.bg-primary     { background-color: var(--primary); }

/* ============================================================
   25. Utility Classes
   ============================================================ */
.rounded    { border-radius: var(--radius); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: 9999px; }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow    { box-shadow: var(--shadow); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }

.border     { border: 1px solid var(--border); }
.border-2   { border: 2px solid var(--border); }
.border-t   { border-top: 1px solid var(--border); }

.p-0  { padding: 0; }
.p-4  { padding: 1rem; }
.p-6  { padding: 1.5rem; }
.pt-6 { padding-top: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.px-4  { padding-left: 1rem; padding-right: 1rem; }
.px-6  { padding-left: 1.5rem; padding-right: 1.5rem; }

.mb-2  { margin-bottom: 0.5rem; }
.mb-3  { margin-bottom: 0.75rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-4  { margin-top: 1rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.ml-2  { margin-left: 0.5rem; }
.mr-2  { margin-right: 0.5rem; }

.opacity-90 { opacity: 0.9; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }

.h-full { height: 100%; }

/* Number badges */
.num-badge {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

/* "Why Parents Trust Us" highlight card */
.trust-card {
  background-color: var(--primary-light);
  border: 1px solid rgba(192,68,34,0.2);
}

/* Two-column list for trust points */
.trust-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

/* ============================================================
   26. Page Hero Banner
   ============================================================ */
.page-hero {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(192,68,34,0.08), rgba(245,240,239,0.5));
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* ============================================================
   27. Responsive Breakpoints
   ============================================================ */

/* sm: 640px */
@media (min-width: 640px) {
  .sm-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .sm-flex-row { flex-direction: row; }
  .hero-btn-row { flex-direction: row; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-list { grid-template-columns: repeat(2, 1fr); }
}

/* md: 768px */
@media (min-width: 768px) {
  .md-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .md-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .md-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .hero-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .tabs-list { grid-template-columns: repeat(4, 1fr); }
  .tab-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; align-items: start; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .included-grid { grid-template-columns: repeat(3, 1fr); }
  .classroom-gallery { grid-template-columns: repeat(4, 1fr); }
  .mission-vision-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .hero-image-wrap { height: 460px; }
  .page-hero { padding: 6rem 0; }
}

/* lg: 1024px */
@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
  .menu-toggle { display: none; }
  .lg-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .lg-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .lg-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .courses-grid { grid-template-columns: repeat(4, 1fr); }
  .results-grid { grid-template-columns: repeat(4, 1fr); }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-info-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .admissions-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; align-items: start; }
  .hero-image-wrap { height: 500px; }
}
