/* ============================================================
   SANATAN VIDYA NIKETAN — Main Stylesheet
   Aesthetic: Traditional Indian Educational Institution
   Palette: Deep Saffron / Maroon / Gold / Ivory
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Tiro+Devanagari+Sanskrit:ital@0;1&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
  --saffron: #E8621A;
  --saffron-light: #F4882D;
  --maroon: #7B1A2A;
  --maroon-dark: #5A0F1E;
  --gold: #C89B3C;
  --gold-light: #E8C05A;
  --ivory: #FDF8F0;
  --ivory-dark: #F5EDD8;
  --cream: #FFFDF7;
  --dark: #1C1410;
  --text: #2D1F0E;
  --text-muted: #6B5441;
  --white: #FFFFFF;
  --border: #D4A96A;
  --border-light: #EDD9A3;
  --shadow: 0 4px 24px rgba(123,26,42,0.12);
  --shadow-lg: 0 12px 48px rgba(123,26,42,0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background-color: var(--ivory);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── TOP BAR ─────────────────────────────────────────────── */
.top-bar {
  background: var(--maroon-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  padding: 6px 0;
  border-bottom: 2px solid var(--gold);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.top-bar a { color: var(--gold-light); text-decoration: none; }
.top-bar a:hover { color: #fff; }
.top-bar .top-left, .top-bar .top-right { display: flex; align-items: center; gap: 18px; }
.top-bar i { margin-right: 5px; color: var(--gold); }

/* ─── MARQUEE NOTICE ─────────────────────────────────────── */
.notice-bar {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-light));
  color: #fff;
  padding: 8px 0;
  overflow: hidden;
  border-bottom: 2px solid var(--gold);
}
.notice-bar .notice-label {
  background: var(--maroon);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 2px 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 0 20px 20px 0;
  margin-right: 16px;
  display: inline-block;
}
.notice-bar .marquee-wrapper {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 500;
}
.notice-bar marquee a { color: #fff; text-decoration: none; margin: 0 24px; }
.notice-bar marquee a::before { content: "◆ "; color: var(--gold-light); }

/* ─── HEADER / NAV ────────────────────────────────────────── */
.site-header {
  background: linear-gradient(180deg, var(--ivory) 0%, var(--cream) 100%);
  border-bottom: 3px solid var(--saffron);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 20px;
}
.school-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.school-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--maroon));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 3px solid var(--gold);
  box-shadow: 0 2px 12px rgba(123,26,42,0.2);
  flex-shrink: 0;
}
.school-name-wrap { display: flex; flex-direction: column; }
.school-name-hindi {
  font-family: 'Tiro Devanagari Sanskrit', serif;
  font-size: 1.1rem;
  color: var(--saffron);
  line-height: 1;
}
.school-name-en {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--maroon);
  line-height: 1.1;
}
.school-tagline {
  font-size: 0.74rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-top: 2px;
}
.school-affil {
  font-size: 0.7rem;
  color: var(--saffron);
  font-weight: 600;
  background: var(--ivory-dark);
  padding: 2px 8px;
  border-radius: 10px;
  margin-top: 3px;
  display: inline-block;
  border: 1px solid var(--border-light);
}

/* Navigation */
.main-nav { display: flex; align-items: center; }
.nav-list {
  list-style: none;
  display: flex;
  gap: 0;
  margin: 0; padding: 0;
}
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--maroon);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}
.nav-list > li > a:hover,
.nav-list > li > a.active {
  color: var(--saffron);
  border-bottom-color: var(--saffron);
}
.nav-list > li:hover .dropdown { display: block; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border-top: 3px solid var(--saffron);
  box-shadow: var(--shadow-lg);
  z-index: 200;
}
.dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 0.85rem;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--ivory-dark);
  transition: background 0.15s;
}
.dropdown a:hover { background: var(--ivory); color: var(--saffron); padding-left: 24px; }
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--maroon); border-radius: 2px; transition: all 0.3s; }

/* ─── CONTAINER ───────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-fluid { width: 100%; padding: 0; }

/* ─── HERO SLIDER ─────────────────────────────────────────── */
.hero-slider {
  position: relative;
  height: 540px;
  overflow: hidden;
  background: var(--maroon-dark);
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
.slide.active { opacity: 1; }
.slide-bg {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.slide.active .slide-bg { transform: scale(1); }
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91,15,30,0.78) 0%, rgba(30,10,5,0.4) 60%, transparent 100%);
}
.slide-content {
  position: absolute;
  bottom: 80px;
  left: 60px;
  color: #fff;
  max-width: 560px;
}
.slide-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 10px;
  display: block;
}
.slide-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.slide-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
  margin-bottom: 22px;
}
.btn-slide {
  display: inline-block;
  background: var(--saffron);
  color: #fff;
  padding: 11px 28px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: all 0.25s;
  margin-right: 12px;
}
.btn-slide:hover { background: transparent; border-color: #fff; color: #fff; }
.btn-slide.outline { background: transparent; border-color: var(--gold); color: var(--gold-light); }
.btn-slide.outline:hover { background: var(--gold); color: #fff; }

/* Slider Controls */
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}
.dot.active { background: var(--gold); transform: scale(1.3); }
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  z-index: 10;
  backdrop-filter: blur(4px);
}
.slider-arrow:hover { background: var(--saffron); border-color: var(--saffron); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* ─── STATS STRIP ─────────────────────────────────────────── */
.stats-strip {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  color: #fff;
  padding: 18px 0;
  border-bottom: 3px solid var(--gold);
}
.stats-strip .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 10px; }
.stat-item { text-align: center; padding: 6px 20px; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  display: block;
  line-height: 1;
}
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.stat-divider { width: 1px; background: rgba(255,255,255,0.2); align-self: stretch; }

/* ─── NOTICE + NEWS SECTION ───────────────────────────────── */
.notice-news-section { padding: 48px 0; background: var(--cream); }
.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--saffron);
}
.section-header .icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--saffron), var(--maroon));
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--maroon);
}
.section-header span.count {
  margin-left: auto;
  background: var(--saffron);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* Notice Board */
.notice-board {
  background: #fff;
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--saffron);
  border-radius: 0 0 4px 4px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.notice-list { max-height: 340px; overflow-y: auto; }
.notice-list::-webkit-scrollbar { width: 4px; }
.notice-list::-webkit-scrollbar-thumb { background: var(--saffron); border-radius: 2px; }
.notice-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px dashed var(--ivory-dark);
  transition: background 0.15s;
  text-decoration: none;
  color: var(--text);
}
.notice-item:hover { background: var(--ivory); }
.notice-date {
  background: var(--maroon);
  color: #fff;
  text-align: center;
  padding: 6px 10px;
  border-radius: 4px;
  min-width: 50px;
  flex-shrink: 0;
}
.notice-date .day { font-size: 1.2rem; font-weight: 700; line-height: 1; display: block; }
.notice-date .mon { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.5px; }
.notice-title { font-size: 0.88rem; font-weight: 500; line-height: 1.4; color: var(--text); }
.notice-title small { display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 3px; }
.notice-new {
  background: #E74C3C;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  text-transform: uppercase;
  margin-left: 6px;
  vertical-align: middle;
  animation: blink 1.5s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.4} }
.board-footer {
  background: var(--ivory-dark);
  padding: 10px 18px;
  text-align: center;
  border-top: 1px solid var(--border-light);
}
.board-footer a {
  color: var(--saffron);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─── ABOUT SECTION ───────────────────────────────────────── */
.about-section {
  padding: 60px 0;
  background: var(--ivory);
  position: relative;
  overflow: hidden;
}
.about-section::before {
  content: "॥ विद्या ॥";
  font-family: 'Tiro Devanagari Sanskrit', serif;
  position: absolute;
  right: 40px;
  top: 30px;
  font-size: 5rem;
  color: rgba(200,155,60,0.08);
  pointer-events: none;
  letter-spacing: 8px;
}
.sec-title-wrap { text-align: center; margin-bottom: 40px; }
.sec-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 10px;
  position: relative;
  padding: 0 20px;
}
.sec-eyebrow::before, .sec-eyebrow::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.sec-eyebrow::before { right: 100%; margin-right: -16px; }
.sec-eyebrow::after { left: 100%; margin-left: -16px; }
.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 12px;
}
.sec-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  margin: 0 auto 16px;
  border-radius: 2px;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-image-wrap { position: relative; }
.about-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  border: 4px solid var(--gold);
  box-shadow: var(--shadow-lg);
}
.about-image-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--maroon);
  color: #fff;
  padding: 16px 22px;
  border-radius: 4px;
  text-align: center;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow);
}
.about-image-badge .year {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  display: block;
  line-height: 1;
}
.about-image-badge span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.85; }
.about-content p {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 16px;
}
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--cream);
  border-radius: 4px;
  border-left: 3px solid var(--saffron);
}
.feature-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--saffron), var(--maroon));
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.feature-text h4 { font-size: 0.85rem; font-weight: 700; color: var(--maroon); margin-bottom: 2px; }
.feature-text p { font-size: 0.78rem; color: var(--text-muted); margin: 0; }
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-light));
  color: #fff;
  padding: 12px 30px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  transition: all 0.25s;
  box-shadow: 0 4px 14px rgba(232,98,26,0.3);
}
.btn-primary:hover { background: transparent; border-color: var(--saffron); color: var(--saffron); box-shadow: none; }
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--maroon);
  padding: 12px 28px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid var(--maroon);
  transition: all 0.25s;
  margin-left: 12px;
}
.btn-outline:hover { background: var(--maroon); color: #fff; }

/* ─── MESSAGE SECTION ─────────────────────────────────────── */
.message-section {
  padding: 60px 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--ivory) 100%);
  border-top: 1px solid var(--border-light);
}
.message-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.message-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--maroon);
  border-radius: 0 0 6px 6px;
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.message-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 24px;
  font-family: 'Playfair Display', serif;
  font-size: 8rem;
  color: rgba(123,26,42,0.05);
  line-height: 1;
  pointer-events: none;
}
.message-card.director { border-top-color: var(--saffron); }
.message-person {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ivory-dark);
}
.person-photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background: var(--ivory-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}
.person-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--maroon);
}
.person-title {
  font-size: 0.8rem;
  color: var(--saffron);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}
.message-text {
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--text);
  font-style: italic;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.read-more-link {
  color: var(--saffron);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.read-more-link:hover { color: var(--maroon); }
.read-more-link::after { content: "→"; transition: transform 0.2s; }
.read-more-link:hover::after { transform: translateX(4px); }
.message-card .role-badge {
  display: inline-block;
  background: var(--maroon);
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.message-card.director .role-badge { background: var(--saffron); }

/* ─── GALLERY SLIDER ──────────────────────────────────────── */
.gallery-section {
  padding: 60px 0;
  background: var(--maroon-dark);
  overflow: hidden;
}
.gallery-section .sec-title { color: #fff; }
.gallery-section .sec-eyebrow { color: var(--gold-light); }
.gallery-section .sec-divider { background: linear-gradient(90deg, var(--gold), var(--saffron)); }
.gallery-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 12px 0 20px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) rgba(255,255,255,0.1);
}
.gallery-strip::-webkit-scrollbar { height: 4px; }
.gallery-strip::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
.gallery-thumb {
  flex-shrink: 0;
  width: 240px;
  height: 170px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid rgba(200,155,60,0.3);
  cursor: pointer;
  transition: all 0.3s;
  background: var(--maroon);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-thumb:hover { border-color: var(--gold); }
.gallery-thumb:hover img { transform: scale(1.06); }
.gallery-thumb .placeholder-icon { font-size: 2.5rem; opacity: 0.3; }

/* Gallery as colored placeholders (no real images) */
.gallery-placeholder {
  flex-shrink: 0;
  width: 240px;
  height: 170px;
  border-radius: 4px;
  border: 2px solid rgba(200,155,60,0.3);
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  overflow: hidden;
  position: relative;
}
.gallery-placeholder:hover { border-color: var(--gold); transform: translateY(-3px); }
.gallery-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  opacity: 0.7;
}

/* ─── PROGRAMS / HIGHLIGHTS ───────────────────────────────── */
.programs-section {
  padding: 60px 0;
  background: var(--ivory);
}
.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.program-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--saffron);
  border-radius: 0 0 6px 6px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.program-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.program-card:nth-child(2) { border-top-color: var(--maroon); }
.program-card:nth-child(3) { border-top-color: var(--gold); }
.program-card:nth-child(4) { border-top-color: #2E7D32; }
.program-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--maroon));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 4px 14px rgba(232,98,26,0.25);
}
.program-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--maroon);
  margin-bottom: 10px;
}
.program-card p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; }

/* ─── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: linear-gradient(180deg, var(--maroon-dark) 0%, #160a0f 100%);
  color: rgba(255,255,255,0.8);
  padding: 56px 0 0;
  border-top: 4px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.4fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand { }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--saffron), var(--maroon));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  border: 2px solid var(--gold);
}
.footer-school-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.footer-school-name small { display: block; font-size: 0.7rem; color: var(--gold-light); font-family: 'Source Sans 3', sans-serif; font-weight: 400; }
.footer-about-text { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.65); margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s;
}
.social-btn:hover { background: var(--saffron); border-color: var(--saffron); color: #fff; }
.footer-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(200,155,60,0.3);
  position: relative;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--gold);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before { content: "›"; color: var(--gold); font-size: 1rem; line-height: 1; }
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.65);
}
.footer-contact-item i {
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
}
.footer-bottom {
  background: rgba(0,0,0,0.35);
  border-top: 1px solid rgba(200,155,60,0.2);
  padding: 16px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: var(--gold-light); text-decoration: none; }

/* ─── INNER PAGE BANNER ───────────────────────────────────── */
.page-banner {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 60%, var(--saffron) 100%);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-banner h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}
.breadcrumb a { color: var(--gold-light); text-decoration: none; }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ─── ABOUT PAGE ──────────────────────────────────────────── */
.content-section { padding: 60px 0; }
.content-section .text-block p { font-size: 0.97rem; line-height: 1.8; margin-bottom: 16px; }
.vision-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 32px 0; }
.vm-card {
  padding: 28px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
}
.vm-card.vision { background: var(--ivory); border-top: 4px solid var(--saffron); }
.vm-card.mission { background: var(--ivory); border-top: 4px solid var(--maroon); }
.vm-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.vm-card h3 i { color: var(--saffron); }
.vm-card ul { list-style: none; padding: 0; }
.vm-card ul li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px dashed var(--ivory-dark);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.vm-card ul li::before { content: "✦"; color: var(--gold); font-size: 0.7rem; flex-shrink: 0; margin-top: 4px; }

/* ─── TEACHERS PAGE ───────────────────────────────────────── */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.teacher-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s;
}
.teacher-card:hover { transform: translateY(-4px); }
.teacher-photo {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, var(--ivory-dark), var(--border-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  color: var(--maroon);
}
.teacher-info { padding: 18px 16px; }
.teacher-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 4px;
}
.teacher-info .subject { font-size: 0.8rem; color: var(--saffron); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.teacher-info .qual { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* ─── GALLERY PAGE ────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 2px solid var(--border-light);
  transition: all 0.3s;
}
.gallery-item:hover { border-color: var(--saffron); transform: scale(0.98); }
.gallery-item-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.7);
  flex-direction: column;
  gap: 8px;
}
.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(91,15,30,0.6);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay i { color: #fff; font-size: 1.8rem; }

/* ─── SYLLABUS PAGE ───────────────────────────────────────── */
.syllabus-tabs { display: flex; gap: 0; margin-bottom: 30px; border-bottom: 2px solid var(--saffron); }
.tab-btn {
  padding: 10px 22px;
  background: var(--ivory-dark);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  border-bottom: none;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--saffron);
  color: #fff;
  border-color: var(--saffron);
}
.syllabus-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}
.syllabus-table th {
  background: var(--maroon);
  color: var(--gold-light);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
}
.syllabus-table td { padding: 11px 16px; border-bottom: 1px solid var(--ivory-dark); }
.syllabus-table tr:nth-child(even) td { background: var(--ivory); }
.syllabus-table tr:hover td { background: var(--ivory-dark); }

/* ─── MANDATORY DISCLOSURE ────────────────────────────────── */
.disclosure-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}
.disclosure-table th {
  background: var(--maroon);
  color: #fff;
  padding: 12px 18px;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.disclosure-table td {
  padding: 11px 18px;
  border-bottom: 1px solid var(--ivory-dark);
  color: var(--text);
  font-size: 0.88rem;
}
.disclosure-table tr:nth-child(even) td { background: var(--ivory); }
.disclosure-table td:first-child { font-weight: 600; color: var(--maroon); width: 40%; }

/* ─── UTILITIES ───────────────────────────────────────────── */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.pt-0 { padding-top: 0 !important; }
.fade-in { animation: fadeIn 0.6s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .teachers-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    border-top: 2px solid var(--saffron);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    flex-direction: column;
    padding: 10px 0;
  }
  .main-nav.open { display: flex; }
  .nav-list { flex-direction: column; width: 100%; }
  .nav-list > li > a { padding: 12px 20px; border-bottom: 1px solid var(--ivory-dark); }
  .dropdown { position: static; box-shadow: none; border-top: none; border-left: 3px solid var(--saffron); margin-left: 20px; }
  .site-header { position: relative; }
  .hero-slider { height: 300px; }
  .slide-title { font-size: 1.6rem; }
  .slide-content { left: 20px; bottom: 60px; }
  .two-col, .about-grid, .message-grid, .vision-mission-grid { grid-template-columns: 1fr; }
  .about-image-badge { right: 0; bottom: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .teachers-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .programs-grid { grid-template-columns: 1fr 1fr; }
  .sec-title { font-size: 1.6rem; }
  .stats-strip .container { gap: 0; }
  .stat-divider { display: none; }
}
@media (max-width: 480px) {
  .school-name-en { font-size: 1.15rem; }
  .school-tagline, .school-affil { display: none; }
  .programs-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .teachers-grid { grid-template-columns: 1fr; }
}
