/* 
   Sunita Gyan Niketan Public School - Main Stylesheet
*/

/* ==========================================================================
   CSS VARIABLES
   ========================================================================== */
:root {
  --primary: #0B2855;
  --primary-dark: #071B3A;
  --secondary: #1E56A0;
  --accent: #C92332;
  --accent-dark: #A51D2A;
  --light: #F5F8FC;
  --lighter: #EDF1F7;
  --white: #FFFFFF;
  --text: #172033;
  --muted: #667085;
  --border: #E2E8F0;
  --shadow: 0 4px 20px rgba(11,40,85,0.08);
  --shadow-lg: 0 8px 30px rgba(11,40,85,0.12);
  --shadow-hover: 0 12px 40px rgba(11,40,85,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --container-max: 1280px;
}

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background-color: var(--white);
  overflow-x: hidden;
}

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

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   2. TYPOGRAPHY
   ========================================================================== */
h1 {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 800;
  line-height: 1.15;
}

h2 {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
}

p {
  line-height: 1.7;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-badge {
  display: inline-flex;
  background: var(--light);
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

/* ==========================================================================
   3. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--primary);
  color: white;
}
.btn-secondary:hover {
  background: var(--primary-dark);
}

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

.btn-white {
  background: white;
  color: var(--primary);
}
.btn-white:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 24px;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* ==========================================================================
   4. TOP INFO BAR
   ========================================================================== */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  padding: 0 24px;
}
.top-bar__info {
  display: flex;
  gap: 24px;
  align-items: center;
}
.top-bar__item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-bar__cta {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   5. HEADER
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header__brand img {
  height: 55px;
  width: auto;
}
.header__brand-text {
  display: flex;
  flex-direction: column;
}
.header__school-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  font-family: var(--font-heading);
}
.header__school-motto {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}
.nav-menu a {
  padding: 8px 16px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  border-radius: 8px;
  transition: var(--transition);
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--primary);
  background: var(--light);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
  left: 0;
}
.nav-toggle span::before {
  top: -8px;
}
.nav-toggle span::after {
  bottom: -8px;
}
.nav-toggle.active span {
  background: transparent;
}
.nav-toggle.active span::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle.active span::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
#home .hero {
  background: var(--light);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__content {
  z-index: 2;
}
.hero__badge {
  display: inline-flex;
  background: var(--light);
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
}
.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--primary);
}
.hero__text {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__features {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero__feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}
.hero__feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}
.hero__image {
  position: relative;
}
.hero__image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  bottom: -20px;
  left: -20px;
  background-image: radial-gradient(var(--border) 2px, transparent 2px);
  background-size: 20px 20px;
  z-index: -1;
  opacity: 0.5;
}
.hero__image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  max-height: 520px;
}
.hero__image-placeholder {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 1.2rem;
}

/* ==========================================================================
   7. HIGHLIGHTS SECTION
   ========================================================================== */
.highlights {
  padding: 0;
  position: relative;
  z-index: 5;
}
.highlights__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: -60px;
}
.highlight-card {
  background: white;
  padding: 32px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}
.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-bottom-color: var(--accent);
}
.highlight-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.highlight-card:nth-child(1) .highlight-card__icon { background: var(--light); color: var(--primary); }
.highlight-card:nth-child(2) .highlight-card__icon { background: #e3f2fd; color: #1565c0; }
.highlight-card:nth-child(3) .highlight-card__icon { background: #ffebee; color: #c62828; }
.highlight-card:nth-child(4) .highlight-card__icon { background: #e8f5e9; color: #2e7d32; }
.highlight-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.highlight-card__text {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ==========================================================================
   8. ABOUT SECTION
   ========================================================================== */
#about .about {
  padding: 100px 0;
  background: white;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about__image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about__image-placeholder {
  width: 100%;
  height: 450px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 1.2rem;
}
.about__content h2 {
  text-align: left;
}
.about__info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.about__info-card {
  background: var(--light);
  padding: 20px;
  border-radius: var(--radius-sm);
  text-align: center;
  border: 1px solid var(--border);
}
.about__info-card strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 4px;
}
.about__info-card span {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}

/* ==========================================================================
   9. APPROACH SECTION
   ========================================================================== */
#approach .approach {
  background: var(--primary-dark);
  padding: 100px 0;
  color: white;
}
.approach .section-badge {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.15);
}
.approach h2 {
  color: white;
}
.approach .section-subtitle {
  color: rgba(255,255,255,0.7);
}
.approach__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.approach-card {
  background: rgba(255,255,255,0.06);
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}
.approach-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-5px);
}
.approach-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.approach-card:nth-child(1) .approach-card__icon { background: var(--accent); color: white; }
.approach-card:nth-child(2) .approach-card__icon { background: var(--secondary); color: white; }
.approach-card:nth-child(3) .approach-card__icon { background: #0277bd; color: white; }
.approach-card:nth-child(4) .approach-card__icon { background: #00695c; color: white; }
.approach-card:nth-child(5) .approach-card__icon { background: #f57f17; color: white; }
.approach-card__title {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.approach-card__text {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   10. ACADEMICS SECTION
   ========================================================================== */
#academics .academics {
  padding: 100px 0;
  background: var(--light);
}
.academics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.academic-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.academic-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.academic-card__icon {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.academic-card:nth-child(1) .academic-card__icon { background: linear-gradient(135deg, #e3f2fd, #bbdefb); }
.academic-card:nth-child(2) .academic-card__icon { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); }
.academic-card:nth-child(3) .academic-card__icon { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }
.academic-card:nth-child(4) .academic-card__icon { background: linear-gradient(135deg, #f3e5f5, #e1bee7); }
.academic-card__body {
  padding: 28px;
}
.academic-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.academic-card__text {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.academic-card__link {
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.academic-card__link:hover {
  gap: 12px;
}

/* ==========================================================================
   11. WHY CHOOSE US SECTION
   ========================================================================== */
#why-choose .why-choose {
  padding: 100px 0;
  background: white;
}
.why-choose__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-choose__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.why-choose__image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.why-choose__image-placeholder {
  height: 500px;
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 1.2rem;
}
.why-choose__features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.why-choose__feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--light);
  transition: var(--transition);
}
.why-choose__feature:hover {
  background: var(--lighter);
  transform: translateX(8px);
}
.why-choose__feature-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-choose__feature h4 {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 4px;
}
.why-choose__feature p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* ==========================================================================
   12. FACILITIES SECTION
   ========================================================================== */
#facilities .facilities {
  padding: 100px 0;
  background: var(--light);
}
.facilities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.facility-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.facility-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}
.facility-card:hover::before {
  transform: scaleX(1);
}
.facility-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary);
}
.facility-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.facility-card__text {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ==========================================================================
   13. LEADERSHIP SECTION
   ========================================================================== */
#leadership .leadership {
  padding: 100px 0;
  background: white;
}
.leadership__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}
.leader-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}
.leader-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.leader-card__image {
  height: 350px;
  overflow: hidden;
  position: relative;
}
.leader-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s;
}
.leader-card:hover .leader-card__image img {
  transform: scale(1.05);
}
.leader-card__body {
  padding: 28px;
}
.leader-card__name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.leader-card__designation {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.leader-card__message {
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.6;
}

/* ==========================================================================
   14. PRINCIPAL MESSAGE SECTION
   ========================================================================== */
.principal-message {
  padding: 80px 0;
  background: var(--light);
  position: relative;
}
.principal-message__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 48px;
}
.principal-message__inner::before, .principal-message__inner::after {
  content: '"';
  font-size: 8rem;
  color: var(--border);
  position: absolute;
  opacity: 0.3;
  font-family: var(--font-heading);
  line-height: 1;
}
.principal-message__inner::before {
  top: 0;
  left: 0;
}
.principal-message__inner::after {
  bottom: -40px;
  right: 0;
  transform: rotate(180deg);
}
.principal-message__quote {
  font-size: 1.2rem;
  color: var(--text);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}
.principal-message__author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.principal-message__author-name {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}
.principal-message__author-title {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   15. ADMISSION CTA SECTION
   ========================================================================== */
.admission-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.admission-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255,255,255,0.1) 2px, transparent 2px);
  background-size: 20px 20px;
  opacity: 0.5;
  pointer-events: none;
}
.admission-cta h2 {
  color: white;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.admission-cta p {
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}
.admission-cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   16. ENQUIRY FORM SECTION
   ========================================================================== */
#admissions .enquiry {
  padding: 100px 0;
  background: white;
}
.enquiry__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.enquiry-form {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font-main);
  transition: var(--transition);
  background: white;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--secondary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(30,86,160,0.1);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-group .error-text {
  color: var(--accent);
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}
.form-group.error input, .form-group.error select, .form-group.error textarea {
  border-color: var(--accent);
}
.form-group.error .error-text {
  display: block;
}
.form-success {
  display: none;
  text-align: center;
  padding: 40px;
  background: var(--light);
  border-radius: var(--radius);
  animation: fadeIn 0.3s;
}
.form-success.show {
  display: block;
}

/* ==========================================================================
   17. GALLERY SECTION
   ========================================================================== */
#gallery .gallery {
  padding: 100px 0;
  background: var(--light);
}
.gallery__featured {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  max-height: 400px;
}
.gallery__featured img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.gallery__featured-placeholder {
  height: 400px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
}
.gallery__featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 32px;
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery__item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery__item:hover img {
  transform: scale(1.1);
}
.gallery__item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,40,85,0.4);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}
.gallery__item:hover .gallery__item-overlay {
  opacity: 1;
}
.gallery__item-overlay svg {
  width: 32px;
  height: 32px;
  color: white;
}
.gallery__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lighter);
  color: var(--muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   18. LIGHTBOX
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.lightbox.active {
  display: flex;
  opacity: 1;
}
.lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
}
.lightbox__content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.lightbox__close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox__close:hover {
  background: rgba(255,255,255,0.2);
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  transform: translateY(-50%);
}
.lightbox__prev {
  left: -60px;
}
.lightbox__next {
  right: -60px;
}
.lightbox__nav:hover {
  background: rgba(255,255,255,0.2);
}
.lightbox__counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

/* ==========================================================================
   19. CONTACT SECTION
   ========================================================================== */
#contact .contact {
  padding: 100px 0;
  background: white;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact__info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact__info-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
}
.contact__info-item h4 {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 4px;
}
.contact__info-item p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}
.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  height: 350px;
  border: 1px solid var(--border);
}
.contact__map-placeholder {
  height: 100%;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.contact__buttons {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}

/* ==========================================================================
   20. FLOATING BUTTONS
   ========================================================================== */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 900;
}
.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: var(--transition);
  color: white;
  position: relative;
}
.floating-btn:hover {
  transform: scale(1.1);
}
.floating-btn--whatsapp {
  background: #25D366;
  animation: pulse 2s infinite;
}
.floating-btn--phone {
  background: var(--accent);
}
.floating-btn__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: var(--text);
  color: white;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.floating-btn:hover .floating-btn__tooltip {
  opacity: 1;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
  70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ==========================================================================
   21. FOOTER
   ========================================================================== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__brand img {
  height: 60px;
  margin-bottom: 16px;
}
.footer__brand-name {
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-family: var(--font-heading);
}
.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer__title {
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}
.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__links a:hover {
  color: white;
  transform: translateX(4px);
}
.footer__contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 48px;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* ==========================================================================
   22. ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4,0,0.2,1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   23. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
  html {
    font-size: 95%;
  }
  .hero__grid, .about__grid, .why-choose__grid, .contact__grid {
    gap: 40px;
  }
  .approach__grid {
    gap: 16px;
  }
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 380px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 100px 32px 32px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s ease;
    z-index: 999;
  }
  .nav-menu.active {
    right: 0;
    transform: translateX(0);
  }
  .nav-toggle {
    display: flex;
    z-index: 1000;
  }
  
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__image {
    order: -1;
  }
  
  .approach__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .academics__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  
  #home .hero, #about .about, #approach .approach, #academics .academics, 
  #why-choose .why-choose, #facilities .facilities, #leadership .leadership, 
  .principal-message, .admission-cta, #admissions .enquiry, #gallery .gallery, #contact .contact {
    padding: 60px 0;
  }
  
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  
  .highlights__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .facilities__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  
  .highlights__grid, .approach__grid, .academics__grid, .facilities__grid, 
  .footer__grid, .about__info-cards {
    grid-template-columns: 1fr;
  }
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .floating-buttons {
    bottom: 16px;
    right: 16px;
  }
  .floating-btn {
    width: 50px;
    height: 50px;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .lightbox__prev, .lightbox__next {
    top: auto;
    bottom: 20px;
    transform: none;
  }
  .lightbox__prev { left: 20px; }
  .lightbox__next { right: 20px; }
}

/* ==========================================================================
   24. UTILITY CLASSES
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

/* ==========================================================================
   ADDITIONAL: Direct class selectors for wrapper-div pattern
   (HTML uses <div id="about"><section class="about"> pattern)
   ========================================================================== */
.hero {
  background: var(--light);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.about {
  padding: 100px 0;
  background: white;
}
.approach {
  background: var(--primary-dark);
  padding: 100px 0;
  color: white;
}
.academics {
  padding: 100px 0;
  background: var(--light);
}
.why-choose {
  padding: 100px 0;
  background: white;
}
.facilities {
  padding: 100px 0;
  background: var(--light);
}
.leadership {
  padding: 100px 0;
  background: white;
}

/* ==========================================================================
   ADDITIONAL: Enquiry Section Grid
   ========================================================================== */
.enquiry__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   ADDITIONAL: Back to Top Button
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 899;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: var(--transition);
}
.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}
.back-to-top.visible {
  display: flex;
}

/* ==========================================================================
   ADDITIONAL: Mobile responsive for new elements
   ========================================================================== */
@media (max-width: 992px) {
  .about__grid, .why-choose__grid, .contact__grid, .enquiry__grid {
    grid-template-columns: 1fr;
  }
  .hero__image {
    order: -1;
  }
  .leadership__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .hero, .about, .approach, .academics, .why-choose, .facilities, .leadership {
    padding: 60px 0;
  }
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .lightbox__prev { left: 10px; }
  .lightbox__next { right: 10px; }
}

@media (max-width: 480px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .contact__buttons {
    flex-direction: column;
  }
  .contact__buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* ==========================================================================
   ADDITIONAL: Mandatory Disclosure Links
   ========================================================================== */
.disclosure-link:hover {
  background: var(--lighter) !important;
  border-color: var(--secondary) !important;
  transform: translateX(6px);
}
.disclosure-link:hover span:last-child {
  color: var(--primary);
}
