/* ============================================================
   SHREE PAAVITRA ARTS ACADEMY
   Main Stylesheet — Complete Design System
   Version 1.0 | 2026
   ============================================================

   TABLE OF CONTENTS
   ─────────────────
   1.  CSS Reset & Base
   2.  Typography
   3.  Layout & Grid
   4.  Utility Classes
   5.  Navigation
   6.  Buttons
   7.  Cards
   8.  Forms & Inputs
   9.  Badges & Tags
   10. Dividers & Ornaments
   11. Hero Section
   12. Marquee Ticker
   13. Section Base Styles
   14. About Section
   15. Programs Section
   16. Stats Section
   17. Schools Section
   18. Events Section
   19. Certification Section
   20. Gallery Section
   21. Testimonials Section
   22. CTA Section
   23. Footer
   24. Page Transitions & Scroll Reveal
   25. Modal
   26. Responsive Breakpoints
   ============================================================ */


/* ============================================================
   1. CSS RESET & BASE
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  color: var(--clr-text);
  background-color: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

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

ul, ol { list-style: none; }

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-medium);
  line-height: var(--lh-tight);
  color: var(--clr-text);
}


/* ============================================================
   2. TYPOGRAPHY
   ============================================================ */

/* Display Headings */
.display-1 {
  font-family: var(--font-heading);
  font-size: clamp(var(--fs-5xl), 8vw, var(--fs-7xl));
  font-weight: var(--fw-light);
  line-height: 1.05;
  letter-spacing: var(--ls-tight);
}

.display-2 {
  font-family: var(--font-heading);
  font-size: clamp(var(--fs-4xl), 6vw, var(--fs-6xl));
  font-weight: var(--fw-light);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Section Headings */
.heading-1 {
  font-family: var(--font-heading);
  font-size: clamp(var(--fs-3xl), 4vw, var(--fs-4xl));
  font-weight: var(--fw-medium);
  line-height: var(--lh-tight);
}

.heading-2 {
  font-family: var(--font-heading);
  font-size: clamp(var(--fs-2xl), 3vw, var(--fs-3xl));
  font-weight: var(--fw-medium);
  line-height: var(--lh-snug);
}

.heading-3 {
  font-family: var(--font-heading);
  font-size: clamp(var(--fs-xl), 2.5vw, var(--fs-2xl));
  font-weight: var(--fw-medium);
}

/* Eyebrow / Label Text */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--clr-text-gold);
}

.eyebrow--light {
  color: var(--color-gold-300);
}

/* Body Text */
.lead {
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  color: var(--clr-text-secondary);
}

.body-md {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
}

.body-sm {
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
}

/* Text Colors */
.text-gold   { color: var(--clr-text-gold); }
.text-maroon { color: var(--clr-primary); }
.text-muted  { color: var(--clr-text-muted); }
.text-on-dark { color: var(--clr-text-on-dark); }
.text-ivory  { color: var(--color-ivory-300); }

/* Italic Accent */
em.accent {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--clr-text-gold);
}


/* ============================================================
   3. LAYOUT & GRID
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.container--narrow {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.container--wide {
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-8);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stack {
  display: flex;
  flex-direction: column;
}

.stack-sm { gap: var(--sp-2); }
.stack-md { gap: var(--sp-4); }
.stack-lg { gap: var(--sp-8); }


/* ============================================================
   4. UTILITY CLASSES
   ============================================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.mt-auto  { margin-top: auto; }
.mb-auto  { margin-bottom: auto; }

.w-full   { width: 100%; }
.h-full   { height: 100%; }

.relative { position: relative; }
.overflow-hidden { overflow: hidden; }


/* ============================================================
   5. NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  height: var(--nav-height);
  transition: background var(--dur-slow) var(--ease-in-out),
              box-shadow var(--dur-slow) var(--ease-in-out);
}

/* Transparent state (on hero) */
.nav--transparent {
  background: transparent;
}

/* Scrolled / solid state */
.nav--solid {
  background: rgba(13, 13, 13, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(201, 162, 39, 0.15),
              0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav__container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--container-padding);
  max-width: var(--container-wide);
  margin-inline: auto;
  gap: var(--sp-8);
}

/* Brand / Logo */
.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
  text-decoration: none;
}

.nav__brand-emblem {
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--color-gold-500);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--color-gold-500);
  background: rgba(201, 162, 39, 0.08);
  flex-shrink: 0;
}

.nav__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav__brand-primary {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-ivory-200);
  letter-spacing: 0.02em;
}

.nav__brand-secondary {
  font-family: var(--font-body);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-medium);
  color: var(--color-gold-500);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.nav__links a {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-ivory-400);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background var(--transition-fast);
  letter-spacing: 0.02em;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 1px;
  background: var(--color-gold-500);
  transition: transform var(--transition-base) var(--ease-out);
}

.nav__links a:hover {
  color: var(--color-ivory-100);
}

.nav__links a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav__links a.active {
  color: var(--color-gold-500);
}

.nav__links a.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Nav Actions */
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  cursor: pointer;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-ivory-300);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

/* Mobile Nav Drawer */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  padding: var(--sp-6) var(--container-padding) var(--sp-10);
  border-top: 1px solid rgba(201, 162, 39, 0.15);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.nav__mobile.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  margin-bottom: var(--sp-6);
}

.nav__mobile-links a {
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  color: var(--color-ivory-300);
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition-fast), padding-left var(--transition-base);
}

.nav__mobile-links a:hover {
  color: var(--color-gold-500);
  padding-left: var(--sp-6);
}

.nav__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}


/* ============================================================
   6. BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-7);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

/* Gold — Primary Action */
.btn-gold {
  background: var(--color-gold-500);
  color: var(--color-neutral-950);
  border-color: var(--color-gold-500);
}
.btn-gold:hover {
  background: var(--color-gold-400);
  border-color: var(--color-gold-400);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

/* Maroon — Primary Brand */
.btn-maroon {
  background: var(--color-maroon-700);
  color: var(--color-ivory-300);
  border-color: var(--color-maroon-700);
}
.btn-maroon:hover {
  background: var(--color-maroon-600);
  border-color: var(--color-maroon-600);
  box-shadow: var(--shadow-maroon);
  transform: translateY(-1px);
}

/* Ghost Gold — Transparent with gold border */
.btn-ghost-gold {
  background: transparent;
  color: var(--color-gold-500);
  border-color: var(--color-gold-500);
}
.btn-ghost-gold:hover {
  background: rgba(201, 162, 39, 0.08);
  box-shadow: var(--shadow-gold-sm);
}

/* Ghost Ivory — For dark backgrounds */
.btn-ghost-ivory {
  background: transparent;
  color: var(--color-ivory-200);
  border-color: rgba(249, 245, 239, 0.4);
}
.btn-ghost-ivory:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--color-ivory-300);
}

/* Ghost Maroon */
.btn-ghost-maroon {
  background: transparent;
  color: var(--color-maroon-700);
  border-color: var(--color-maroon-700);
}
.btn-ghost-maroon:hover {
  background: rgba(92, 16, 16, 0.06);
}

/* Danger */
.btn-danger {
  background: var(--color-error);
  color: white;
  border-color: var(--color-error);
}
.btn-danger:hover {
  background: #a93226;
  transform: translateY(-1px);
}

/* Sizes */
.btn-sm {
  padding: var(--sp-1-5) var(--sp-4);
  font-size: var(--fs-xs);
}

.btn-lg {
  padding: var(--sp-4) var(--sp-10);
  font-size: var(--fs-sm);
}

.btn-xl {
  padding: var(--sp-5) var(--sp-12);
  font-size: var(--fs-base);
}

.btn-icon {
  padding: var(--sp-3);
  width: 42px;
  height: 42px;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}


/* ============================================================
   7. CARDS
   ============================================================ */

/* Base Card */
.card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

/* Program Card */
.program-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--dur-slow) var(--ease-cinematic);
  border: 1px solid var(--clr-border);
}

.program-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
  border-color: rgba(201, 162, 39, 0.3);
}

.program-card__header {
  height: 240px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: var(--sp-6);
  overflow: hidden;
}

.program-card__header-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0.55;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}

.program-card:hover .program-card__header-img {
  opacity: 0.72;
  transform: scale(1.06);
}

.program-card__icon {
  font-size: 2rem;
  position: absolute;
  top: var(--sp-5);
  right: var(--sp-5);
  opacity: 0.6;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
  z-index: 2;
}

.program-card__badge {
  position: relative;
  z-index: 1;
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.2);
}

.program-card__body {
  padding: var(--sp-6) var(--sp-7) var(--sp-7);
}

.program-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-medium);
  color: var(--clr-text);
  margin-bottom: var(--sp-3);
  line-height: 1.2;
}

.program-card__desc {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-5);
}

.program-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}

.program-card__meta-item {
  font-size: var(--fs-xs);
  color: var(--clr-text-secondary);
  display: flex;
  align-items: center;
  gap: var(--sp-1-5);
}

.program-card__meta-item svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

/* Stat Card */
.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201, 162, 39, 0.15);
  border-radius: var(--radius-xl);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  transition: border-color var(--transition-base), background var(--transition-base);
}

.stat-card:hover {
  background: rgba(201, 162, 39, 0.04);
  border-color: rgba(201, 162, 39, 0.3);
}

.stat-card__number {
  font-family: var(--font-heading);
  font-size: clamp(var(--fs-4xl), 5vw, var(--fs-5xl));
  font-weight: var(--fw-light);
  color: var(--color-gold-500);
  line-height: 1;
  display: block;
  margin-bottom: var(--sp-3);
}

.stat-card__label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-ivory-500);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.stat-card__sub {
  font-size: var(--fs-xs);
  color: rgba(201, 162, 39, 0.6);
  margin-top: var(--sp-1);
}

/* School / Testimonial Card */
.school-card {
  background: var(--color-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.school-card:hover {
  border-color: var(--clr-border-gold);
  box-shadow: var(--shadow-gold-sm);
  transform: translateY(-2px);
}

/* Event Card */
.event-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-5);
  padding: var(--sp-6);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.event-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
  border-color: var(--clr-border-gold);
}

.event-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 72px;
  background: var(--color-maroon-700);
  color: var(--color-ivory-300);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.event-card__date-day {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-light);
  line-height: 1;
}

.event-card__date-month {
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--color-gold-400);
}


/* ============================================================
   8. FORMS & INPUTS
   ============================================================ */

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1-5);
}

.form-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--clr-text-secondary);
  letter-spacing: 0.02em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--clr-text);
  background: var(--color-white);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  line-height: var(--lh-normal);
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-neutral-400);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-gold-500);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.form-input.error,
.form-select.error {
  border-color: var(--color-error);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  font-size: var(--fs-xs);
  color: var(--color-error);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

/* Dark form inputs */
.form-input--dark,
.form-textarea--dark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: var(--color-ivory-200);
}

.form-input--dark::placeholder { color: rgba(255,255,255,0.35); }

.form-input--dark:focus,
.form-textarea--dark:focus {
  border-color: var(--color-gold-500);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.form-label--dark {
  color: var(--color-ivory-500);
}


/* ============================================================
   9. BADGES & TAGS
   ============================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-0-5) var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.badge-gold {
  background: var(--color-gold-100);
  color: var(--color-gold-700);
  border: 1px solid var(--color-gold-200);
}

.badge-maroon {
  background: var(--color-maroon-50);
  color: var(--color-maroon-700);
  border: 1px solid var(--color-maroon-100);
}

.badge-success {
  background: var(--color-success-bg);
  color: var(--color-success);
}

.badge-warning {
  background: var(--color-warning-bg);
  color: var(--color-warning);
}

.badge-error {
  background: var(--color-error-bg);
  color: var(--color-error);
}

.badge-neutral {
  background: var(--color-neutral-100);
  color: var(--color-neutral-600);
}


/* ============================================================
   10. DIVIDERS & ORNAMENTS
   ============================================================ */

/* Gold ornamental divider */
.ornament-divider {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.ornament-divider::before,
.ornament-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gold-500), transparent);
  opacity: 0.5;
}

.ornament-divider__symbol {
  color: var(--color-gold-500);
  font-size: var(--fs-md);
  flex-shrink: 0;
}

/* Section header block */
.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--sp-16);
}

.section-header .eyebrow {
  margin-bottom: var(--sp-3);
  display: block;
}

.section-header__title {
  font-family: var(--font-heading);
  font-size: clamp(var(--fs-3xl), 4vw, var(--fs-4xl));
  font-weight: var(--fw-medium);
  color: var(--clr-text);
  margin-bottom: var(--sp-5);
  line-height: 1.2;
}

.section-header__title--light {
  color: var(--color-ivory-100);
}

.section-header__desc {
  font-size: var(--fs-md);
  color: var(--clr-text-muted);
  line-height: var(--lh-relaxed);
}

.section-header__desc--light {
  color: var(--color-ivory-600);
}

/* Gold rule — thin decorative line */
.gold-rule {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold-500), transparent);
  margin: var(--sp-4) auto;
}


/* ============================================================
   11. HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* Cinematic Background */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: var(--z-below);
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(201, 162, 39, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 80% at 85% 40%, rgba(60, 8, 8, 0.7) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 70%, rgba(30, 4, 4, 0.6) 0%, transparent 60%),
    linear-gradient(160deg, #080000 0%, #060606 55%, #0c0101 100%);
}

/* Subtle texture pattern */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(201, 162, 39, 0.015) 40px,
      rgba(201, 162, 39, 0.015) 41px
    );
}

/* Stage spotlight effect */
.hero__spotlight {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 120%;
  background: radial-gradient(
    ellipse at top,
    rgba(201, 162, 39, 0.12) 0%,
    rgba(201, 162, 39, 0.04) 40%,
    transparent 70%
  );
  pointer-events: none;
}

/* Decorative vertical lines (temple pillars concept) */
.hero__pillar {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(201, 162, 39, 0.2) 20%,
    rgba(201, 162, 39, 0.2) 80%,
    transparent
  );
}

.hero__pillar--left  { left: 15%; }
.hero__pillar--right { right: 15%; }

/* Content */
.hero__content {
  position: relative;
  z-index: var(--z-above);
  padding-inline: var(--container-padding);
  padding-block: var(--sp-28) var(--sp-16);
  max-width: 1300px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--color-gold-400);
  border: 1px solid rgba(201, 162, 39, 0.35);
  padding: var(--sp-1-5) var(--sp-5);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-5);
  background: rgba(201, 162, 39, 0.08);
  backdrop-filter: blur(8px);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 6.5vw, var(--fs-7xl));
  font-weight: var(--fw-light);
  color: var(--color-ivory-100);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-6);
}

.hero__title-accent {
  font-style: italic;
  color: var(--color-gold-400);
  display: block;
}

.hero__subtitle {
  font-size: clamp(var(--fs-base), 2vw, var(--fs-lg));
  color: var(--color-ivory-600);
  line-height: var(--lh-relaxed);
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: var(--sp-10);
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-16);
}

/* Hero Stats Bar */
.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  padding: var(--sp-6) var(--sp-10);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 162, 39, 0.15);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  flex-wrap: wrap;
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(var(--fs-2xl), 3vw, var(--fs-4xl));
  font-weight: var(--fw-light);
  color: var(--color-gold-400);
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.hero__stat-label {
  font-size: var(--fs-xs);
  color: var(--color-ivory-600);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  font-weight: var(--fw-medium);
}

.hero__stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(201, 162, 39, 0.2);
  flex-shrink: 0;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255,255,255,0.3);
  font-size: var(--fs-2xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(201, 162, 39, 0.6), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}


/* ============================================================
   12. MARQUEE TICKER
   ============================================================ */

.marquee {
  background: var(--color-maroon-800);
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  padding: var(--sp-4) 0;
  overflow: hidden;
  position: relative;
}

.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 1;
}

.marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--color-maroon-800), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--color-maroon-800), transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee__track span {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--color-ivory-500);
}

.marquee__sep {
  color: var(--color-gold-500) !important;
  font-size: var(--fs-xs) !important;
  opacity: 0.7;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ============================================================
   13. SECTION BASE STYLES
   ============================================================ */

.section {
  padding-block: var(--section-py);
}

.section--dark {
  background: var(--clr-bg-dark);
}

.section--maroon {
  background: var(--color-maroon-800);
}

.section--maroon-deep {
  background: var(--color-maroon-950);
}

.section--alt {
  background: var(--color-ivory-300);
}


/* ============================================================
   14. ABOUT SECTION
   ============================================================ */

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-20);
  align-items: center;
}

.about__tagline {
  font-family: var(--font-heading);
  font-size: clamp(var(--fs-3xl), 4vw, var(--fs-5xl));
  font-weight: var(--fw-light);
  line-height: 1.2;
  color: var(--clr-text);
  margin-bottom: var(--sp-6);
}

.about__tagline em {
  color: var(--color-maroon-700);
  font-style: italic;
}

.about__body {
  font-size: var(--fs-base);
  color: var(--clr-text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-5);
}

.about__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

.about__pillar-item {
  padding: var(--sp-4) var(--sp-5);
  border-left: 2px solid var(--color-gold-500);
  background: var(--color-gold-50);
}

.about__pillar-title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-maroon-700);
  margin-bottom: var(--sp-1);
}

.about__pillar-desc {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
}

/* About Visual Panel */
.about__visual {
  position: relative;
}

.about__visual-frame {
  aspect-ratio: 4/5;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(201, 162, 39, 0.15) 0%, transparent 60%),
    linear-gradient(145deg, var(--color-maroon-800) 0%, var(--color-maroon-950) 60%, #0D0D0D 100%);
  border-radius: var(--radius-2xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.about__visual-frame::before {
  content: '𝄞';
  position: absolute;
  font-size: 18rem;
  color: rgba(201, 162, 39, 0.06);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: serif;
  pointer-events: none;
}

.about__visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-8);
  background: linear-gradient(to top, rgba(13,13,13,0.8), transparent);
}

.about__visual-quote {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-style: italic;
  color: var(--color-ivory-300);
  line-height: var(--lh-snug);
}

.about__visual-attr {
  font-size: var(--fs-xs);
  color: var(--color-gold-400);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  margin-top: var(--sp-3);
}

.about__visual-badge {
  position: absolute;
  top: var(--sp-6);
  right: var(--sp-6);
  background: var(--color-gold-500);
  color: var(--color-maroon-950);
  border-radius: var(--radius-full);
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
}

.about__visual-badge-num {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-semibold);
  line-height: 1;
}

.about__visual-badge-text {
  font-size: var(--fs-2xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


/* ============================================================
   15. PROGRAMS SECTION
   ============================================================ */

.programs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}

/* Program header gradients (image overlay layer) */
.program-card--dance .program-card__header {
  background: linear-gradient(135deg, #5C1010 0%, #8B1A1A 40%, #3A0808 100%);
}
.program-card--dance .program-card__header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(58,8,8,0.2) 0%, rgba(26,2,2,0.72) 100%);
  z-index: 1;
}

.program-card--kathak .program-card__header {
  background: linear-gradient(135deg, #3D2800 0%, #7A5200 50%, #2D1500 100%);
}
.program-card--kathak .program-card__header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(61,40,0,0.2) 0%, rgba(45,21,0,0.75) 100%);
  z-index: 1;
}

.program-card--vocal .program-card__header {
  background: linear-gradient(135deg, #1A3A2A 0%, #2D7A4F 50%, #0D2018 100%);
}
.program-card--vocal .program-card__header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,58,42,0.2) 0%, rgba(13,32,24,0.75) 100%);
  z-index: 1;
}

.program-card--instrumental .program-card__header {
  background: linear-gradient(135deg, #1A2A5C 0%, #2D4A9A 50%, #0D1830 100%);
}
.program-card--instrumental .program-card__header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,42,92,0.2) 0%, rgba(13,24,48,0.75) 100%);
  z-index: 1;
}

/* Badge and icon above overlay */
.program-card__badge,
.program-card__icon { position: relative; z-index: 2; }


/* ============================================================
   16. STATS SECTION
   ============================================================ */

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}


/* ============================================================
   17. SCHOOLS SECTION
   ============================================================ */

.schools__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.school-card__logo {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-maroon-700), var(--color-maroon-900));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  margin-bottom: var(--sp-4);
  border: 1px solid rgba(201,162,39,0.25);
  box-shadow: 0 4px 12px rgba(92,16,16,0.25);
}

.school-card__logo-letter {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-medium);
  color: var(--color-gold-300);
  line-height: 1;
}

.school-card__name {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--clr-text);
  margin-bottom: var(--sp-1-5);
}

.school-card__location {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  margin-bottom: var(--sp-4);
}

.school-card__programs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1-5);
}


/* ============================================================
   18. EVENTS SECTION
   ============================================================ */

.events__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.event-card__body {}

.event-card__cat {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--color-gold-600);
  margin-bottom: var(--sp-1-5);
}

.event-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-medium);
  color: var(--clr-text);
  margin-bottom: var(--sp-2);
  line-height: 1.3;
}

.event-card__meta {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}


/* ============================================================
   19. CERTIFICATION SECTION
   ============================================================ */

.cert__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.cert__steps {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  margin-top: var(--sp-8);
}

.cert__step {
  display: flex;
  gap: var(--sp-5);
  align-items: flex-start;
}

.cert__step-num {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(201, 162, 39, 0.4);
  color: var(--color-gold-400);
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(201, 162, 39, 0.06);
}

.cert__step-content {}

.cert__step-title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  color: var(--color-ivory-200);
  margin-bottom: var(--sp-1);
}

.cert__step-desc {
  font-size: var(--fs-sm);
  color: var(--color-ivory-700);
  line-height: var(--lh-relaxed);
}

.cert__visual {
  position: relative;
}

.cert__cert-preview {
  background:
    radial-gradient(ellipse at 50% 20%, rgba(201, 162, 39, 0.12) 0%, transparent 60%),
    linear-gradient(160deg, #1A0202 0%, #0D0D0D 100%);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: var(--radius-2xl);
  padding: var(--sp-10);
  text-align: center;
  box-shadow: var(--shadow-2xl), 0 0 60px rgba(201, 162, 39, 0.1);
}

.cert__cert-emblem {
  font-size: 4rem;
  margin-bottom: var(--sp-4);
}

.cert__cert-title {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  color: var(--color-gold-400);
  margin-bottom: var(--sp-2);
  font-style: italic;
}

.cert__cert-body {
  font-size: var(--fs-xs);
  color: var(--color-ivory-700);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
}

.cert__cert-seal {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-gold-500);
  background: rgba(201, 162, 39, 0.08);
  margin: 0 auto var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.cert__cert-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,0.4), transparent);
  margin: var(--sp-6) 0;
}

.cert__cert-name {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-light);
  color: var(--color-ivory-200);
  font-style: italic;
}

.cert__cert-program {
  font-size: var(--fs-sm);
  color: var(--color-gold-400);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  margin-top: var(--sp-2);
}


/* ============================================================
   20. GALLERY SECTION
   ============================================================ */

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 290px 290px;
  gap: var(--sp-3);
}

.gallery__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery__item:hover .gallery__item-overlay {
  opacity: 1;
}

/* Explicit placement — prevents auto-placement gaps */
.gallery__item:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }   /* wide, row 1 */
.gallery__item:nth-child(2) { grid-column: 3;     grid-row: 1 / 3; } /* tall, rows 1-2 */
.gallery__item:nth-child(3) { grid-column: 4;     grid-row: 1; }
.gallery__item:nth-child(4) { grid-column: 1;     grid-row: 2; }
.gallery__item:nth-child(5) { grid-column: 2;     grid-row: 2; }
.gallery__item:nth-child(6) { grid-column: 4;     grid-row: 2; }

.gallery__item-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform var(--dur-slow) var(--ease-cinematic);
}

.gallery__item:hover .gallery__item-visual {
  transform: scale(1.05);
}

.gallery__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58,8,8,0.85) 0%, rgba(92,16,16,0.5) 50%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery__item-overlay-label {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  right: 1.2rem;
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-style: italic;
  color: var(--color-ivory-200);
  line-height: 1.3;
}

.gallery__item-overlay-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid rgba(201,162,39,0.7);
  background: rgba(201,162,39,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-300);
  font-size: 1.5rem;
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease, background 0.3s ease;
}

.gallery__item:hover .gallery__item-overlay-icon {
  transform: scale(1.12);
  background: rgba(201,162,39,0.25);
}

/* ============================================================
   20b. GALLERY LIGHTBOX
   ============================================================ */

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 4, 4, 0.97);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  padding: var(--sp-6);
}

.gallery-lightbox[hidden] { display: none; }

.gallery-lightbox.lb-active { opacity: 1; }

.gallery-lightbox__inner {
  position: relative;
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
}

.gallery-lightbox__img-wrap {
  position: relative;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(0,0,0,0.8);
  transition: opacity 0.3s ease;
}

.gallery-lightbox__caption {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-style: italic;
  color: var(--color-ivory-500);
  text-align: center;
}

.gallery-lightbox__close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(201,162,39,0.4);
  background: rgba(201,162,39,0.08);
  color: var(--color-gold-300);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10000;
}

.gallery-lightbox__close:hover {
  background: rgba(201,162,39,0.2);
  border-color: var(--color-gold-400);
}

.gallery-lightbox__prev,
.gallery-lightbox__next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(201,162,39,0.35);
  background: rgba(13,13,13,0.7);
  color: var(--color-gold-300);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10000;
}

.gallery-lightbox__prev { left: 1.5rem; }
.gallery-lightbox__next { right: 1.5rem; }

.gallery-lightbox__prev:hover,
.gallery-lightbox__next:hover {
  background: rgba(201,162,39,0.15);
  border-color: var(--color-gold-400);
}

.gallery-lightbox__counter {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--fs-xs);
  color: var(--color-ivory-700);
  letter-spacing: 0.15em;
}


/* ============================================================
   21. TESTIMONIALS SECTION
   ============================================================ */

.testimonials__slider {
  position: relative;
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  transition: transform var(--dur-slow) var(--ease-cinematic);
}

.testimonial-card {
  min-width: 100%;
  padding: var(--sp-10) var(--sp-8);
  text-align: center;
}

.testimonial-card__stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  margin-bottom: var(--sp-6);
}

.testimonial-card__star {
  color: var(--color-gold-400);
  font-size: var(--fs-sm);
}

.testimonial-card__quote {
  font-family: var(--font-heading);
  font-size: clamp(var(--fs-xl), 2.5vw, var(--fs-3xl));
  font-weight: var(--fw-light);
  font-style: italic;
  color: var(--color-ivory-200);
  line-height: var(--lh-snug);
  max-width: 760px;
  margin: 0 auto var(--sp-8);
  position: relative;
}

.testimonial-card__quote::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: var(--fs-7xl);
  color: rgba(201, 162, 39, 0.2);
  position: absolute;
  top: -0.3em;
  left: -0.2em;
  line-height: 1;
}

.testimonial-card__author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1-5);
}

.testimonial-card__avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(201, 162, 39, 0.4);
  background: linear-gradient(135deg, var(--color-maroon-700), var(--color-maroon-950));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  color: var(--color-gold-300);
}

.testimonial-card__name {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  color: var(--color-ivory-300);
}

.testimonial-card__title {
  font-size: var(--fs-xs);
  color: var(--color-gold-500);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}

.testimonials__btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(201, 162, 39, 0.3);
  background: rgba(201, 162, 39, 0.06);
  color: var(--color-gold-400);
  font-size: var(--fs-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.testimonials__btn:hover {
  background: rgba(201, 162, 39, 0.15);
  border-color: rgba(201, 162, 39, 0.6);
}

.testimonials__dots {
  display: flex;
  gap: var(--sp-2);
}

.testimonials__dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(201, 162, 39, 0.25);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.testimonials__dot.active {
  background: var(--color-gold-500);
  width: 24px;
}


/* ============================================================
   22. CTA / CONTACT SECTION
   ============================================================ */

.cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}

.cta__heading {
  font-family: var(--font-heading);
  font-size: clamp(var(--fs-3xl), 4vw, var(--fs-5xl));
  font-weight: var(--fw-light);
  color: var(--color-ivory-100);
  line-height: 1.2;
  margin-bottom: var(--sp-5);
}

.cta__heading em {
  font-style: italic;
  color: var(--color-gold-400);
}

.cta__desc {
  font-size: var(--fs-base);
  color: var(--color-ivory-600);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-8);
}

.cta__contact-items {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.cta__contact-item {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.cta__contact-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(201, 162, 39, 0.25);
  background: rgba(201, 162, 39, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  flex-shrink: 0;
}

.cta__contact-label {
  font-size: var(--fs-xs);
  color: var(--color-gold-500);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  font-weight: var(--fw-semibold);
  margin-bottom: 2px;
}

.cta__contact-value {
  font-size: var(--fs-sm);
  color: var(--color-ivory-300);
}

/* Contact Form */
.cta__form {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201, 162, 39, 0.12);
  border-radius: var(--radius-2xl);
  padding: var(--sp-10);
  backdrop-filter: blur(10px);
}

.cta__form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}


/* ============================================================
   23. FOOTER
   ============================================================ */

.footer {
  background: var(--color-maroon-950);
  border-top: 1px solid rgba(201, 162, 39, 0.15);
  padding-top: var(--sp-20);
  padding-bottom: var(--sp-10);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: var(--sp-8);
}

.footer__brand-desc {
  font-size: var(--fs-sm);
  color: var(--color-ivory-800);
  line-height: var(--lh-relaxed);
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-6);
  max-width: 280px;
}

.footer__social {
  display: flex;
  gap: var(--sp-3);
}

.footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(201, 162, 39, 0.2);
  background: rgba(201, 162, 39, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-base);
  color: var(--color-ivory-600);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  border-color: rgba(201, 162, 39, 0.5);
  color: var(--color-gold-400);
  background: rgba(201, 162, 39, 0.08);
}

.footer__col-title {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--color-gold-500);
  margin-bottom: var(--sp-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__links a {
  font-size: var(--fs-sm);
  color: var(--color-ivory-800);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-ivory-300);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer__copyright {
  font-size: var(--fs-xs);
  color: var(--color-ivory-900);
}

.footer__bottom-links {
  display: flex;
  gap: var(--sp-6);
}

.footer__bottom-links a {
  font-size: var(--fs-xs);
  color: var(--color-ivory-900);
  transition: color var(--transition-fast);
}

.footer__bottom-links a:hover {
  color: var(--color-gold-400);
}


/* ============================================================
   24. PAGE TRANSITIONS & SCROLL REVEAL
   ============================================================ */

/* Scroll Reveal Base */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--dur-slower) var(--ease-cinematic),
              transform var(--dur-slower) var(--ease-cinematic);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }
.reveal--delay-4 { transition-delay: 400ms; }
.reveal--delay-5 { transition-delay: 500ms; }

.reveal--left {
  transform: translateX(-32px);
}
.reveal--left.revealed {
  transform: translateX(0);
}

.reveal--right {
  transform: translateX(32px);
}
.reveal--right.revealed {
  transform: translateX(0);
}

.reveal--scale {
  transform: scale(0.94);
}
.reveal--scale.revealed {
  transform: scale(1);
}


/* ============================================================
   25. MODAL
   ============================================================ */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(8px);
  z-index: var(--z-overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%) scale(0.96);
  z-index: var(--z-modal);
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--sp-10);
  width: 90%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-slow) var(--ease-bounce);
  box-shadow: var(--shadow-2xl);
}

.modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.modal--dark {
  background: var(--color-neutral-900);
  border: 1px solid rgba(201, 162, 39, 0.15);
  color: var(--color-ivory-200);
}


/* ============================================================
   26. RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Large Desktop: 1280px+ uses base styles */

/* Desktop: up to 1280px */
@media (max-width: 1280px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet: up to 1024px */
@media (max-width: 1024px) {
  .about__grid,
  .cert__grid,
  .cta__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
  }

  .about__visual {
    max-width: 480px;
    margin-inline: auto;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }

  .nav__links {
    display: none;
  }

  .nav__actions {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .programs__grid {
    grid-template-columns: 1fr 1fr;
  }

  .schools__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: up to 768px */
@media (max-width: 768px) {
  :root {
    --nav-height: 68px;
  }

  .programs__grid {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .schools__grid {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    flex-direction: column;
    gap: var(--sp-5);
    padding: var(--sp-6);
  }

  .hero__stat-divider {
    width: 40px;
    height: 1px;
  }

  .hero__actions {
    flex-direction: column;
    gap: var(--sp-3);
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .about__pillars {
    grid-template-columns: 1fr;
  }

  .cta__form-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__item--wide {
    grid-column: span 1;
  }

  .gallery__item--tall {
    grid-row: span 1;
  }

  .nav__brand-text {
    display: none;
  }
}

/* Small Mobile: up to 480px */
@media (max-width: 480px) {
  .stats__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero__eyebrow {
    font-size: 0.6rem;
    padding: var(--sp-1) var(--sp-3);
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   27. EXTENDED MOBILE — COMPREHENSIVE RESPONSIVE FIXES
   ============================================================ */

/* ── Gallery: override explicit nth-child placement on mobile ── */
@media (max-width: 768px) {
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
    gap: var(--sp-2);
  }

  .gallery__item:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .gallery__item:nth-child(2) { grid-column: 1;     grid-row: 2; }
  .gallery__item:nth-child(3) { grid-column: 2;     grid-row: 2; }
  .gallery__item:nth-child(4) { grid-column: 1;     grid-row: 3; }
  .gallery__item:nth-child(5) { grid-column: 2;     grid-row: 3; }
  .gallery__item:nth-child(6) { display: none; }
}

@media (max-width: 480px) {
  .gallery__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery__item { min-height: 200px; position: relative; }
  .gallery__item:nth-child(1) { grid-column: 1; grid-row: auto; }
  .gallery__item:nth-child(2) { grid-column: 1; grid-row: auto; }
  .gallery__item:nth-child(3) { grid-column: 1; grid-row: auto; }
  .gallery__item:nth-child(4) { grid-column: 1; grid-row: auto; }
  .gallery__item:nth-child(5) { grid-column: 1; grid-row: auto; }
  .gallery__item:nth-child(6) { display: block; grid-column: 1; grid-row: auto; }
}

/* ── Navigation mobile drawer: full-screen overlay ── */
@media (max-width: 1024px) {
  .nav__mobile {
    position: fixed;
    inset: 0;
    top: var(--nav-height);
    background: rgba(8, 0, 0, 0.98);
    backdrop-filter: blur(16px);
    padding: var(--sp-8) var(--sp-6);
    z-index: 998;
    border-top: 1px solid rgba(201,162,39,0.15);
  }
}

/* ── Section padding reduction on mobile ── */
@media (max-width: 768px) {
  .section {
    padding-block: var(--sp-16);
  }

  .section-header {
    margin-bottom: var(--sp-10);
  }

  .container {
    padding-inline: var(--sp-5);
  }
}

/* ── Hero title size on mobile ── */
@media (max-width: 768px) {
  .hero__title {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .hero__content {
    padding-block: var(--sp-16) var(--sp-12);
    gap: var(--sp-8);
  }

  .hero__stats {
    padding: var(--sp-5) var(--sp-4);
    gap: var(--sp-4);
  }
}

/* ── About section mobile ── */
@media (max-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }

  .about__pillars {
    grid-template-columns: 1fr 1fr;
  }

  .about__visual {
    max-width: 320px;
    margin-inline: auto;
  }
}

/* ── Programs: 2-col on tablet, 1-col on mobile ── */
@media (max-width: 640px) {
  .programs__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Schools grid ── */
@media (max-width: 640px) {
  .schools__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Founder section mobile ── */
@media (max-width: 1024px) {
  .founder-legacy__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }

  .founder-legacy__img-frame {
    max-width: 340px;
    margin-inline: auto;
  }
}

/* ── Events section mobile ── */
@media (max-width: 768px) {
  .events__grid {
    grid-template-columns: 1fr;
  }
}

/* ── CTA section mobile ── */
@media (max-width: 768px) {
  .cta__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .cta__form-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Stats section mobile ── */
@media (max-width: 640px) {
  .stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
  }
}

/* ── Testimonials mobile ── */
@media (max-width: 768px) {
  .testimonial-card__quote {
    font-size: clamp(1.15rem, 4vw, 1.5rem);
  }
}

/* ── Footer mobile ── */
@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--sp-3);
  }

  .footer__bottom-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ── Nav brand on very small screens ── */
@media (max-width: 360px) {
  .nav__brand-primary,
  .nav__brand-secondary {
    display: none;
  }
}
