/* ============================================================
   ST. AURELIUS WORLD SCHOOL – MAIN STYLESHEET
   Color Scheme: Navy Blue + Gold Accent + White
   Typography: Playfair Display + DM Sans
   ============================================================ */

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  --navy:       #0a1f3d;
  --navy-mid:   #132b55;
  --navy-light: #1a3a6e;
  --gold:       #c8972a;
  --gold-light: #e8b84b;
  --gold-pale:  #fdf3e0;
  --white:      #ffffff;
  --off-white:  #f8f9fc;
  --text-dark:  #1a1a2e;
  --text-mid:   #4a5568;
  --text-light: #718096;
  --border:     #e2e8f0;
  --shadow-sm:  0 2px 8px rgba(10,31,61,.08);
  --shadow-md:  0 8px 30px rgba(10,31,61,.12);
  --shadow-lg:  0 20px 60px rgba(10,31,61,.18);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: all .3s cubic-bezier(.25,.8,.25,1);
  --section-pad: 90px 0;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; cursor: pointer; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── TYPOGRAPHY UTILITIES ───────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px;
}
.section-label::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 2px;
  background: var(--gold);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-title span { color: var(--gold); }
.section-sub {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 620px;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .section-label::before { display: none; }
.section-header .section-label { padding-left: 0; }
.section-header .section-sub { margin: 0 auto; }

.section { padding: var(--section-pad); }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .3px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(200,151,42,.35);
}
.btn-primary:hover {
  background: #b07e1e;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,151,42,.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-large { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── TOP BAR ────────────────────────────────────────────────── */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  padding: 8px 0;
  z-index: 1000;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.top-bar span i { margin-right: 6px; color: var(--gold-light); }
.social-top { display: flex; gap: 10px; }
.social-top a {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.75);
  font-size: .7rem;
  transition: var(--transition);
}
.social-top a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* ── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(10,31,61,.15);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-emblem {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--gold);
  font-size: 1.4rem;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: .3px;
}
.logo-sub {
  font-size: .72rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 8px 13px;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 13px; right: 13px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform .25s ease;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link:hover, .nav-link.active { color: var(--navy); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO SECTION ───────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.slider-track {
  position: absolute;
  inset: 0;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  transform: scale(1.04);
}
.slide.active { opacity: 1; transform: scale(1); transition: opacity 1.2s ease, transform 7s ease; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,31,61,.82) 0%,
    rgba(10,31,61,.55) 60%,
    rgba(10,31,61,.3) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 720px;
  padding-top: 40px;
}
.hero-tagline {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-tagline::before {
  content: '';
  display: block;
  width: 30px; height: 2px;
  background: var(--gold-light);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-title span { color: var(--gold-light); }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.88);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.slider-dots {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  transition: var(--transition);
  cursor: pointer;
}
.dot.active {
  background: var(--gold-light);
  width: 28px;
  border-radius: 5px;
}
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px; height: 48px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  border-radius: 50%;
  font-size: 1rem;
  display: grid; place-items: center;
  transition: var(--transition);
}
.slider-nav:hover { background: var(--gold); border-color: var(--gold); }
.slider-nav.prev { left: 20px; }
.slider-nav.next { right: 20px; }

.hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-stat {
  padding: 22px 16px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.12);
  color: var(--white);
}
.hero-stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-light);
}
.hero-stat span:last-of-type {
  font-size: 1.5rem;
  color: var(--gold-light);
  font-weight: 700;
}
.hero-stat p { font-size: .8rem; color: rgba(255,255,255,.7); margin-top: 2px; }

/* ── ABOUT SECTION ──────────────────────────────────────────── */
.about-section { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-images {
  position: relative;
  padding-bottom: 40px;
}
.img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.img-main img { width: 100%; height: 420px; object-fit: cover; }
.img-secondary {
  position: absolute;
  bottom: 0; right: -20px;
  width: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}
.img-secondary img { height: 160px; object-fit: cover; width: 100%; }
.about-badge {
  position: absolute;
  top: 30px; left: -20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 24px rgba(200,151,42,.4);
}
.badge-num { display: block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; }
.badge-text { font-size: .72rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.about-intro {
  color: var(--text-mid);
  font-size: 1.05rem;
  margin-bottom: 28px;
}
.vvm-cards { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.vvm-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--off-white);
  padding: 16px 18px;
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  transition: var(--transition);
}
.vvm-card:hover { background: var(--gold-pale); transform: translateX(4px); }
.vvm-card > i { color: var(--gold); font-size: 1.2rem; margin-top: 2px; flex-shrink: 0; }
.vvm-card h4 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.vvm-card p { font-size: .88rem; color: var(--text-mid); }

/* ── PRINCIPAL SECTION ──────────────────────────────────────── */
.principal-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}
.principal-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,151,42,.12) 0%, transparent 70%);
}
.principal-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
}
.principal-img-wrap { text-align: center; }
.principal-img {
  width: 280px; height: 340px;
  margin: 0 auto 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid rgba(200,151,42,.5);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  position: relative;
}
.principal-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.principal-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,31,61,.4));
}
.principal-tag {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 14px 20px;
  color: var(--white);
}
.principal-tag span { display: block; font-weight: 700; font-size: 1rem; }
.principal-tag small { color: var(--gold-light); font-size: .82rem; }
.principal-content { color: var(--white); }
.principal-content .section-title { color: var(--white); }
.principal-content .section-title span { color: var(--gold-light); }
.principal-content .section-label { color: var(--gold-light); }
.principal-content .section-label::before { background: var(--gold-light); }
.principal-quote-mark { font-size: 3rem; color: var(--gold-light); opacity: .4; margin-bottom: -10px; }
.principal-msg { color: rgba(255,255,255,.85); font-size: 1rem; margin-bottom: 16px; line-height: 1.8; }
.principal-signature {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.sig-text {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-light);
  font-style: italic;
  font-weight: 700;
  margin-bottom: 4px;
}
.principal-signature small { color: rgba(255,255,255,.6); font-size: .85rem; }

/* ── WHY CHOOSE US ──────────────────────────────────────────── */
.why-section { background: var(--off-white); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform .35s ease;
}
.why-card:hover::before { transform: scaleX(1); }
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.why-icon {
  width: 70px; height: 70px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  color: var(--gold);
  transition: var(--transition);
}
.why-card:hover .why-icon {
  background: var(--gold);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}
.why-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.why-card p { color: var(--text-mid); font-size: .9rem; line-height: 1.7; }

/* ── ACADEMICS ──────────────────────────────────────────────── */
.academics-section { background: var(--white); }
.academics-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.curriculum-box {
  background: var(--navy);
  color: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
}
.curriculum-box:hover { transform: translateY(-5px); background: var(--navy-light); }
.curriculum-box > i { font-size: 2rem; color: var(--gold-light); margin-bottom: 14px; }
.curriculum-box h3 { font-size: 1.1rem; margin-bottom: 10px; }
.curriculum-box p { font-size: .88rem; color: rgba(255,255,255,.78); line-height: 1.7; }
.classes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.class-card {
  background: var(--off-white);
  padding: 24px 16px;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
  cursor: default;
}
.class-card:hover { background: var(--navy); color: var(--white); transform: translateY(-5px); box-shadow: var(--shadow-md); }
.class-icon {
  width: 56px; height: 56px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 12px;
  font-size: 1.2rem;
  color: var(--gold);
  transition: var(--transition);
}
.class-card:hover .class-icon { background: rgba(255,255,255,.15); color: var(--gold-light); }
.class-card h4 { font-size: .9rem; font-weight: 700; margin-bottom: 4px; }
.class-card p { font-size: .78rem; color: var(--text-light); margin-bottom: 8px; transition: color .3s; }
.class-card:hover p { color: rgba(255,255,255,.7); }
.class-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  background: rgba(200,151,42,.12);
  color: var(--gold);
  padding: 3px 10px;
  border-radius: 20px;
  transition: var(--transition);
}
.class-card:hover .class-tag { background: rgba(255,255,255,.15); color: var(--gold-light); }

/* ── FACILITIES ─────────────────────────────────────────────── */
.facilities-section { background: var(--off-white); }
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.facility-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.facility-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.facility-img {
  position: relative;
  overflow: hidden;
  height: 200px;
}
.facility-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.facility-card:hover .facility-img img { transform: scale(1.08); }
.facility-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,31,61,.75));
  display: flex;
  align-items: flex-end;
  padding: 16px;
  font-size: 1.5rem;
  color: var(--gold-light);
  opacity: 0;
  transition: opacity .35s ease;
}
.facility-card:hover .facility-overlay { opacity: 1; }
.facility-info { padding: 20px; }
.facility-info h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.facility-info p { font-size: .85rem; color: var(--text-mid); line-height: 1.6; }

/* ── GALLERY ────────────────────────────────────────────────── */
.gallery-section { background: var(--white); }
.gallery-filter {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 9px 22px;
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--off-white);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-hover {
  position: absolute;
  inset: 0;
  background: rgba(10,31,61,.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--white);
  opacity: 0;
  transition: opacity .35s ease;
}
.gallery-item:hover .gallery-hover { opacity: 1; }
.gallery-hover i { font-size: 1.6rem; color: var(--gold-light); }
.gallery-hover span { font-size: .9rem; font-weight: 600; }
.gallery-item.hidden { display: none; }

/* ── LIGHTBOX ───────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  padding: 20px;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-img-wrap {
  max-width: 880px;
  text-align: center;
}
.lightbox-img-wrap img {
  max-height: 80vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
#lightboxCaption { color: rgba(255,255,255,.7); margin-top: 12px; font-size: .9rem; }
.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 42px; height: 42px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.1rem;
  display: grid; place-items: center;
  transition: var(--transition);
}
.lightbox-close:hover { background: var(--gold); }
.lightbox-nav {
  width: 48px; height: 48px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  color: var(--white);
  font-size: 1rem;
  display: grid; place-items: center;
  transition: var(--transition);
  flex-shrink: 0;
}
.lightbox-nav:hover { background: var(--gold); }

/* ── TESTIMONIALS ───────────────────────────────────────────── */
.testimonials-section { background: var(--off-white); }
.testimonials-carousel { position: relative; overflow: hidden; }
.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform .5s cubic-bezier(.25,.8,.25,1);
}
.testimonial-card {
  min-width: calc(33.333% - 16px);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold);
  flex-shrink: 0;
}
.testimonial-stars { color: var(--gold); margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text {
  color: var(--text-mid);
  font-size: .93rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-author img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-pale);
}
.testimonial-author strong { display: block; font-size: .95rem; color: var(--navy); }
.testimonial-author span { font-size: .8rem; color: var(--gold); }
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.t-btn {
  width: 44px; height: 44px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 50%;
  color: var(--navy);
  display: grid; place-items: center;
  transition: var(--transition);
  font-size: .9rem;
}
.t-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.t-dots { display: flex; gap: 6px; }
.t-dot {
  width: 8px; height: 8px;
  background: var(--border);
  border-radius: 50%;
  transition: var(--transition);
  cursor: pointer;
}
.t-dot.active { background: var(--gold); width: 22px; border-radius: 4px; }

/* ── ACHIEVEMENTS ───────────────────────────────────────────── */
.achievements-section { background: var(--white); }
.achievements-counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.counter-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.counter-card::after {
  content: '';
  position: absolute;
  bottom: -20px; right: -20px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(200,151,42,.12);
}
.counter-card > i { font-size: 2rem; color: var(--gold-light); margin-bottom: 12px; }
.counter-card .counter {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold-light);
}
.counter-card > span:last-of-type {
  font-size: 1.8rem;
  color: var(--gold-light);
  font-weight: 700;
}
.counter-card p { font-size: .85rem; color: rgba(255,255,255,.7); margin-top: 4px; }
.achievements-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.achievement-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--off-white);
  padding: 20px 22px;
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  transition: var(--transition);
}
.achievement-item:hover { background: var(--gold-pale); transform: translateX(4px); }
.ach-icon {
  width: 48px; height: 48px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.ach-info h4 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.ach-info p { font-size: .85rem; color: var(--text-mid); line-height: 1.6; }

/* ── ADMISSIONS ─────────────────────────────────────────────── */
.admissions-section {
  background: linear-gradient(135deg, var(--off-white) 0%, var(--gold-pale) 100%);
}
.admission-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 56px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.step-card {
  flex: 1;
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  min-width: 180px;
  position: relative;
  transition: var(--transition);
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-num {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--white);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
}
.step-icon {
  width: 60px; height: 60px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 14px auto 14px;
  font-size: 1.3rem;
  color: var(--gold);
}
.step-card h4 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step-card p { font-size: .83rem; color: var(--text-mid); line-height: 1.6; }
.step-connector {
  display: flex;
  align-items: center;
  padding: 0 8px;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 56px;
}
.docs-and-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.docs-list {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.docs-list h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.docs-list h3 i { color: var(--gold); }
.docs-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: .92rem;
  color: var(--text-dark);
}
.docs-list li:last-child { border-bottom: none; }
.docs-list li i { color: var(--gold); font-size: .8rem; }
.cta-box {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 36px;
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--white);
}
.cta-box h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.cta-box p { color: rgba(255,255,255,.8); margin-bottom: 24px; }
.cta-box .btn { margin: 6px; }
.cta-box .btn-secondary { border-color: rgba(255,255,255,.5); color: var(--white); }
.cta-box .btn-secondary:hover { background: rgba(255,255,255,.15); }

/* ── CONTACT SECTION ────────────────────────────────────────── */
.contact-section { background: var(--off-white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}
.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}
.contact-icon {
  width: 46px; height: 46px;
  background: var(--navy);
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-detail h4 { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.contact-detail p { font-size: .88rem; color: var(--text-mid); line-height: 1.7; }
.map-embed {
  margin-top: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  height: 220px;
}
.map-embed iframe { width: 100%; height: 100%; border: none; }

/* FORM */
.contact-form-wrap {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: .92rem;
  color: var(--text-dark);
  transition: var(--transition);
  background: var(--off-white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(10,31,61,.07);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #e53e3e; }
.form-error {
  display: block;
  font-size: .78rem;
  color: #e53e3e;
  margin-top: 4px;
}
.form-success {
  display: none;
  background: #f0fff4;
  border: 1px solid #c6f6d5;
  color: #276749;
  padding: 14px 16px;
  border-radius: 8px;
  margin-top: 14px;
  font-size: .88rem;
}
.form-success.show { display: flex; align-items: center; gap: 8px; }
.form-success i { font-size: 1.1rem; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer { background: var(--navy); color: rgba(255,255,255,.78); }
.footer-top { padding: 64px 0 48px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-about .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-about .logo-emblem { background: rgba(255,255,255,.08); }
.footer-about .logo-name { color: var(--white); }
.footer-about p { font-size: .88rem; line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: grid; place-items: center;
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--white); }
.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col ul li a i { font-size: .75rem; color: var(--gold); }
.footer-col ul li a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: .85rem;
  align-items: flex-start;
}
.footer-contact-item i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.footer-contact-item p { color: rgba(255,255,255,.65); line-height: 1.7; }
.footer-bottom {
  background: rgba(0,0,0,.25);
  padding: 18px 0;
  text-align: center;
}
.footer-bottom p { font-size: .83rem; color: rgba(255,255,255,.5); }
.footer-bottom i { color: var(--gold); margin: 0 2px; }

/* ── BACK TO TOP ────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(200,151,42,.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 500;
}
.back-to-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.back-to-top:hover { background: var(--navy); transform: translateY(-3px); }

/* ── ANIMATION CLASSES ──────────────────────────────────────── */
.reveal, .fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible, .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in:nth-child(2) { transition-delay: .1s; }
.fade-in:nth-child(3) { transition-delay: .2s; }
.fade-in:nth-child(4) { transition-delay: .3s; }
.fade-in:nth-child(5) { transition-delay: .4s; }
.fade-in:nth-child(6) { transition-delay: .5s; }

/* ── UTILITY ────────────────────────────────────────────────── */
.hide-sm { display: inline; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ── TABLET ── */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .facilities-grid { grid-template-columns: repeat(2, 1fr); }
  .classes-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid { gap: 40px; }
}

@media (max-width: 900px) {
  :root { --section-pad: 70px 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about-images { padding-bottom: 20px; }
  .img-main img { height: 320px; }
  .img-secondary { right: 0; }
  .about-badge { left: 10px; }
  .principal-grid { grid-template-columns: 1fr; gap: 40px; }
  .principal-img-wrap { text-align: center; }
  .principal-img { margin: 0 auto; }
  .achievements-counters { grid-template-columns: repeat(2, 1fr); }
  .achievements-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .docs-and-cta { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { min-width: calc(50% - 12px); }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  :root { --section-pad: 56px 0; }

  /* NAV */
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 32px;
    gap: 4px;
    transition: right .35s cubic-bezier(.25,.8,.25,1);
    box-shadow: -8px 0 40px rgba(0,0,0,.25);
    z-index: 998;
    overflow-y: auto;
  }
  .nav-menu.open { right: 0; }
  .nav-link { color: rgba(255,255,255,.85); width: 100%; padding: 12px 16px; border-radius: 8px; font-size: 1rem; }
  .nav-link:hover, .nav-link.active { background: rgba(255,255,255,.1); color: var(--white); }
  .nav-link::after { display: none; }

  /* TOP BAR */
  .hide-sm { display: none; }
  .top-bar-left, .top-bar-right { justify-content: center; }
  .top-bar-inner { flex-direction: column; gap: 6px; text-align: center; }

  /* HERO */
  .hero-title { font-size: 2rem; }
  .hero-sub { font-size: .92rem; }
  .hero-buttons { flex-direction: column; gap: 10px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .slider-nav { width: 36px; height: 36px; font-size: .8rem; }

  /* SECTIONS */
  .why-grid { grid-template-columns: 1fr; }
  .academics-info { grid-template-columns: 1fr; }
  .classes-grid { grid-template-columns: repeat(2, 1fr); }
  .facilities-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .admission-steps { flex-direction: column; align-items: center; }
  .step-connector { display: none; }
  .step-card { width: 100%; max-width: 320px; }
  .achievements-counters { grid-template-columns: repeat(2, 1fr); }
  .docs-and-cta { grid-template-columns: 1fr; }
  .testimonial-card { min-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }

  /* PRINCIPAL */
  .principal-img { width: 220px; height: 280px; }
}

@media (max-width: 480px) {
  .classes-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .achievement-item { flex-direction: column; }
  .hero-title { font-size: 1.75rem; }
}
