/* =============================================
   CBSE School Website - Main Stylesheet
   Version: 1.0
   ============================================= */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Merriweather:wght@400;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --primary:       #1a3c6e;
  --primary-dark:  #122a52;
  --primary-light: #2a5298;
  --secondary:     #e8a020;
  --accent:        #0d9e6e;
  --white:         #ffffff;
  --light:         #f4f7fb;
  --light-2:       #eef2f8;
  --text-dark:     #1e2a3a;
  --text-muted:    #6c757d;
  --border:        #dee2e6;
  --shadow:        rgba(26, 60, 110, 0.12);
  --shadow-md:     rgba(26, 60, 110, 0.18);
  --radius:        10px;
  --radius-lg:     18px;
  --transition:    all 0.3s ease;
  --font-body:     'Poppins', sans-serif;
  --font-heading:  'Merriweather', serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary); }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; padding: 0; margin: 0; }

/* --- Utility Classes --- */
.section-pad    { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }
.bg-light-school { background: var(--light); }
.bg-primary-school { background: var(--primary); }
.text-primary-school { color: var(--primary); }
.text-secondary-school { color: var(--secondary); }

.section-title {
  font-size: 2rem;
  position: relative;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}
.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--secondary), var(--primary-light));
  border-radius: 2px;
  margin: 0.75rem auto 1.5rem;
}
.divider-left { margin-left: 0; }

/* --- Buttons --- */
.btn-school-primary {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-school-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow-md);
}
.btn-school-secondary {
  background: var(--secondary);
  color: var(--white);
  border: 2px solid var(--secondary);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-school-secondary:hover {
  background: #c8881a;
  border-color: #c8881a;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 160, 32, 0.35);
}
.btn-school-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-school-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-download {
  background: var(--light-2);
  color: var(--primary);
  border: 1px solid var(--border);
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-download:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* =============================================
   TOPBAR
   ============================================= */
.topbar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 7px 0;
}
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: var(--secondary); }
.topbar .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  margin-left: 5px;
  font-size: 0.75rem;
}
.topbar .social-icons a:hover { background: var(--secondary); }

/* =============================================
   HEADER / NAVBAR
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--white);
  box-shadow: 0 2px 16px var(--shadow);
  transition: var(--transition);
}
.navbar-brand .brand-logo { height: 52px; width: auto; }
.navbar-brand .brand-text { line-height: 1.2; }
.navbar-brand .school-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}
.navbar-brand .school-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}
.site-header .navbar-nav .nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 8px 14px;
  position: relative;
  transition: var(--transition);
}
.site-header .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav .nav-link.active { color: var(--primary); }
.site-header .navbar-nav .nav-link:hover::after,
.site-header .navbar-nav .nav-link.active::after { transform: scaleX(1); }

.dropdown-menu {
  border: none;
  box-shadow: 0 8px 30px var(--shadow-md);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 200px;
}
.dropdown-item {
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  transition: var(--transition);
}
.dropdown-item:hover {
  background: var(--light-2);
  color: var(--primary);
}

/* =============================================
   HERO SLIDER
   ============================================= */
#home-banner { position: relative; }
.hero-slider { position: relative; overflow: hidden; }
.hero-slide {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(18,42,82,0.88) 45%, rgba(26,60,110,0.5) 100%);
}
.hero-slide-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 650px;
}
.hero-slide-content .slide-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-slide-content .slide-label::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--secondary);
}
.hero-slide-content h1 {
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.hero-slide-content p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}
.hero-slider .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
}
.hero-slider .carousel-indicators .active {
  background: var(--secondary);
  width: 28px;
  border-radius: 5px;
}
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}
.hero-slider .carousel-control-prev { left: 20px; }
.hero-slider .carousel-control-next { right: 20px; }
.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover { background: var(--secondary); }

/* =============================================
   STAT STRIP / COUNTERS
   ============================================= */
.stat-strip {
  background: var(--primary);
  padding: 28px 0;
}
.stat-item {
  text-align: center;
  color: var(--white);
  padding: 10px;
}
.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
}
.stat-item .stat-label {
  font-size: 0.82rem;
  opacity: 0.85;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 5px;
}

/* =============================================
   WELCOME / ABOUT PREVIEW
   ============================================= */
.welcome-img-wrap {
  position: relative;
  display: inline-block;
}
.welcome-img-main {
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px var(--shadow-md);
  width: 100%;
  object-fit: cover;
}
.welcome-img-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--secondary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 18px 22px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(232,160,32,0.4);
}
.welcome-img-badge .badge-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}
.welcome-img-badge .badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li i {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

/* =============================================
   HIGHLIGHT BOXES / ICON CARDS
   ============================================= */
.highlight-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 24px var(--shadow);
  transition: var(--transition);
  height: 100%;
  border-top: 4px solid transparent;
}
.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px var(--shadow-md);
  border-top-color: var(--secondary);
}
.highlight-card .card-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--light-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.8rem;
  color: var(--primary);
  transition: var(--transition);
}
.highlight-card:hover .card-icon {
  background: var(--primary);
  color: var(--white);
}
.highlight-card h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.highlight-card p { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

/* =============================================
   ACHIEVEMENTS STRIP
   ============================================= */
.achievement-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 3px 16px var(--shadow);
  transition: var(--transition);
}
.achievement-item:hover { transform: translateY(-4px); box-shadow: 0 8px 28px var(--shadow-md); }
.achievement-item .ach-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.achievement-item h5 { font-size: 0.95rem; margin-bottom: 2px; }
.achievement-item span { font-size: 0.8rem; color: var(--text-muted); }

/* =============================================
   PRINCIPAL MESSAGE
   ============================================= */
.principal-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.principal-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(255,255,255,0.3);
  margin: 0 auto 1rem;
  display: block;
}
.principal-quote {
  font-size: 1.1rem;
  font-style: italic;
  opacity: 0.95;
  line-height: 1.8;
  border-left: 4px solid var(--secondary);
  padding-left: 1.2rem;
}
.principal-name { font-size: 1.1rem; font-weight: 700; margin-top: 1rem; }
.principal-title { font-size: 0.82rem; opacity: 0.8; }

/* =============================================
   GALLERY PREVIEW
   ============================================= */
.gallery-grid-preview .gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}
.gallery-grid-preview .gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-grid-preview .gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,60,110,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  border-radius: var(--radius);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: var(--white); font-size: 2rem; }

/* =============================================
   NEWS CARDS
   ============================================= */
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 3px 16px var(--shadow);
  transition: var(--transition);
  height: 100%;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-md);
}
.news-card-img {
  height: 195px;
  object-fit: cover;
  width: 100%;
}
.news-card-body { padding: 20px; }
.news-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 6px;
  display: block;
}
.news-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}
.news-card h5 {
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 4px 24px var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-size: 6rem;
  font-family: Georgia, serif;
  color: var(--light-2);
  position: absolute;
  top: -10px;
  left: 20px;
  line-height: 1;
}
.testimonial-text {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--light-2);
}
.testimonial-author .author-name { font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; }
.testimonial-author .author-role { font-size: 0.78rem; color: var(--text-muted); }
.stars { color: var(--secondary); font-size: 0.85rem; margin-bottom: 0.5rem; }

/* =============================================
   AFFILIATIONS / LOGOS STRIP
   ============================================= */
.affiliation-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  filter: grayscale(70%);
  opacity: 0.7;
  transition: var(--transition);
}
.affiliation-item:hover { filter: none; opacity: 1; }
.affiliation-item img { max-height: 56px; width: auto; }
.affiliation-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.6;
  letter-spacing: 1px;
  text-align: center;
  transition: var(--transition);
}
.affiliation-item:hover .affiliation-text { opacity: 1; }

/* =============================================
   CTA BANNER
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}
.cta-section h2 { color: var(--white); font-size: 2.2rem; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.05rem; }

/* =============================================
   PAGE BANNER HEADER
   ============================================= */
.page-banner {
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  padding: 70px 0 55px;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.page-banner h1 { color: var(--white); font-size: 2.4rem; margin-bottom: 0.4rem; }
.page-banner .breadcrumb-item { font-size: 0.85rem; }
.page-banner .breadcrumb-item a { color: rgba(255,255,255,0.75); }
.page-banner .breadcrumb-item.active { color: var(--secondary); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* =============================================
   ABOUT PAGE
   ============================================= */
.value-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 3px 16px var(--shadow);
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-5px); box-shadow: 0 10px 32px var(--shadow-md); }
.value-card .v-icon {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 1rem;
}
.timeline-item { position: relative; padding-left: 60px; margin-bottom: 36px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 28px;
  bottom: -36px;
  width: 2px;
  background: var(--border);
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px var(--shadow-md);
}
.timeline-item h5 { font-size: 1rem; margin-bottom: 4px; }
.timeline-item p { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

/* =============================================
   ACADEMICS PAGE
   ============================================= */
.subject-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--light-2);
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.83rem;
  font-weight: 600;
  margin: 4px;
  transition: var(--transition);
}
.subject-chip:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  cursor: default;
}
.class-table th {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 14px;
}
.class-table td { padding: 12px 14px; font-size: 0.875rem; vertical-align: middle; }
.class-table tbody tr:hover { background: var(--light-2); }
.result-card {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}
.result-card .result-pct {
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}
.result-card .result-year { font-size: 0.85rem; opacity: 0.8; }
.result-card .result-desc { font-size: 0.9rem; margin-top: 6px; opacity: 0.9; }

/* =============================================
   CAMPUS LIFE
   ============================================= */
.facility-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: var(--transition);
  height: 100%;
}
.facility-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px var(--shadow-md); }
.facility-img { height: 220px; object-fit: cover; width: 100%; }
.facility-body { padding: 22px; background: var(--white); }
.facility-body h4 { font-size: 1.05rem; margin-bottom: 6px; }
.facility-body p { font-size: 0.875rem; color: var(--text-muted); margin: 0; }
.activity-badge {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  transition: var(--transition);
}
.activity-badge:hover { background: var(--secondary); }
.activity-badge i { font-size: 1.8rem; margin-bottom: 8px; display: block; }
.activity-badge span { font-size: 0.8rem; font-weight: 600; }

/* =============================================
   ADMISSIONS PAGE
   ============================================= */
.process-step {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  position: relative;
}
.process-step::after {
  content: '';
  position: absolute;
  left: 24px;
  top: 52px;
  bottom: -32px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}
.process-step:last-child::after { display: none; }
.step-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 16px var(--shadow-md);
}
.step-content h5 { font-size: 1rem; margin-bottom: 4px; padding-top: 8px; }
.step-content p { font-size: 0.875rem; color: var(--text-muted); margin: 0; }
.doc-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: var(--light-2);
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 0.875rem;
}
.doc-list li i { color: var(--primary); }
.age-table th { background: var(--primary); color: var(--white); }
.age-table td { font-size: 0.9rem; }

/* =============================================
   GALLERY PAGE
   ============================================= */
.gallery-filter-btn {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}
.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--primary);
  color: var(--white);
}
.gallery-masonry-item {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  cursor: pointer;
  margin-bottom: 20px;
}
.gallery-masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  min-height: 200px;
}
.gallery-masonry-item:hover img { transform: scale(1.06); }
.gallery-masonry-item .gallery-overlay {
  opacity: 0;
  border-radius: var(--radius);
}
.gallery-masonry-item:hover .gallery-overlay { opacity: 1; }

/* Lightbox */
.lightbox-modal .modal-dialog { max-width: 860px; }
.lightbox-modal .modal-body { padding: 0; background: #000; }
.lightbox-modal img { width: 100%; max-height: 70vh; object-fit: contain; }

/* =============================================
   DISCLOSURE PAGE
   ============================================= */
.disclosure-table th {
  background: var(--primary);
  color: var(--white);
  font-size: 0.88rem;
  padding: 12px 16px;
}
.disclosure-table td { font-size: 0.875rem; padding: 11px 16px; vertical-align: middle; }
.disclosure-table tbody tr:nth-child(even) { background: var(--light); }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 3px 14px var(--shadow);
  margin-bottom: 18px;
  transition: var(--transition);
}
.contact-info-card:hover { box-shadow: 0 8px 26px var(--shadow-md); }
.contact-info-card .ci-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-info-card h6 { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 3px; letter-spacing: 1px; text-transform: uppercase; }
.contact-info-card p { font-size: 0.9rem; margin: 0; font-weight: 500; }
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 4px 24px var(--shadow);
}
.form-control-school, .form-select-school {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 16px;
  font-size: 0.9rem;
  transition: var(--transition);
  width: 100%;
  background: var(--light);
  color: var(--text-dark);
}
.form-control-school:focus, .form-select-school:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,60,110,0.1);
}
.form-label-school {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  display: block;
}
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 4px 20px var(--shadow); }
.map-wrap iframe { width: 100%; height: 380px; border: none; display: block; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.82);
  padding: 60px 0 0;
}
.site-footer h5 {
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 10px;
}
.site-footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}
.site-footer p, .site-footer li { font-size: 0.875rem; line-height: 1.8; }
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: var(--secondary); }
.footer-links li { padding: 3px 0; }
.footer-links li a { display: flex; align-items: center; gap: 7px; }
.footer-links li a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--secondary);
  font-size: 0.8rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-right: 6px;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--secondary); color: var(--white); transform: translateY(-2px); }
.footer-bottom {
  background: rgba(0,0,0,0.2);
  padding: 16px 0;
  margin-top: 48px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
}
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.875rem;
}
.footer-contact-item i { color: var(--secondary); margin-top: 3px; font-size: 0.9rem; flex-shrink: 0; }

/* =============================================
   SCROLL TO TOP
   ============================================= */
#scrollToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px var(--shadow-md);
  transition: var(--transition);
  z-index: 999;
}
#scrollToTop:hover { background: var(--secondary); transform: translateY(-3px); }
#scrollToTop.show { display: flex; }

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.animated {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991.98px) {
  .hero-slide { min-height: 440px; }
  .hero-slide-content h1 { font-size: 2rem; }
  .section-pad { padding: 60px 0; }
  .welcome-img-badge { bottom: -16px; right: 10px; }
}
@media (max-width: 767.98px) {
  .hero-slide { min-height: 370px; }
  .hero-slide-content h1 { font-size: 1.6rem; }
  .hero-slide-content p { font-size: 0.92rem; }
  .section-pad { padding: 50px 0; }
  .section-title { font-size: 1.65rem; }
  .stat-item .stat-number { font-size: 2rem; }
  .contact-form-wrap { padding: 24px; }
  .page-banner h1 { font-size: 1.8rem; }
  .topbar .d-none-md { display: none !important; }
  .welcome-img-badge { position: static; margin-top: 16px; display: inline-block; }
}
@media (max-width: 575.98px) {
  .hero-slide-content h1 { font-size: 1.4rem; }
  .btn-school-primary, .btn-school-secondary, .btn-school-outline { padding: 10px 22px; font-size: 0.85rem; }
}

/* =============================================
   ADMISSIONS OPEN BANNER
   ============================================= */
.admissions-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, #c8881a 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.admissions-banner::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  right: -60px;
  top: -60px;
}
.admissions-banner h3 { color: var(--white); font-size: 1.8rem; }
.admissions-banner p { opacity: 0.92; font-size: 1rem; }

/* =============================================
   ACCORDION SECTIONS
   ============================================= */
.school-accordion .accordion-button {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--primary);
  background: var(--light-2);
  font-size: 0.95rem;
}
.school-accordion .accordion-button:not(.collapsed) {
  background: var(--primary);
  color: var(--white);
  box-shadow: none;
}
.school-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a3c6e'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.school-accordion .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.school-accordion .accordion-body { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; }

/* =============================================
   VISION MISSION SECTION
   ============================================= */
.vm-card {
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.vm-card-vision { background: var(--primary); color: var(--white); }
.vm-card-mission { background: var(--secondary); color: var(--white); }
.vm-card h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 1rem; }
.vm-card p { font-size: 0.95rem; opacity: 0.92; line-height: 1.9; }
.vm-card-icon {
  font-size: 5rem;
  position: absolute;
  right: -10px;
  bottom: -14px;
  opacity: 0.08;
}

/* =============================================
   TWO-LINE NAVBAR STYLES
   ============================================= */
.site-header .navbar {
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-header .navbar .d-flex.flex-column {
  width: 100%;
}

.site-header .navbar-nav.justify-content-center {
  flex-wrap: wrap;
  justify-content: center !important;
}

.site-header .navbar-nav .nav-item {
  margin: 0 2px;
}

.site-header .navbar-nav .nav-link {
  padding: 6px 12px;
  font-size: 0.85rem;
}

/* Mobile responsiveness for two-line navbar */
@media (max-width: 991.98px) {
  .site-header .navbar-nav.justify-content-center {
    justify-content: flex-start !important;
  }
  
  .site-header .navbar .d-flex.flex-column .mt-2 {
    margin-top: 0 !important;
  }
  
  .site-header .navbar-nav .nav-item {
    margin: 0;
    width: 100%;
  }
  
  .site-header .navbar-nav .nav-link {
    padding: 10px 15px;
    border-bottom: 1px solid var(--border);
  }
  
  .site-header .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Adjust brand text for better spacing */
.navbar-brand .brand-text {
  max-width: 300px;
}

@media (max-width: 576px) {
  .navbar-brand .school-name {
    font-size: 1rem;
  }
  
  .navbar-brand .school-tagline {
    font-size: 0.65rem;
  }
}

/* =============================================
   CENTERED NAVBAR BRAND STYLES
   ============================================= */
.site-header .navbar .d-flex.justify-content-center.position-relative {
  position: relative;
}

.site-header .navbar .navbar-toggler.position-absolute.end-0 {
  right: 0;
}

.site-header .navbar-brand {
  justify-content: center;
  text-align: center;
}

.site-header .navbar-brand .brand-text {
  text-align: center;
}

/* Mobile responsiveness for centered navbar */
@media (max-width: 991.98px) {
  .site-header .navbar .d-flex.justify-content-center.position-relative {
    justify-content: space-between !important;
  }
  
  .site-header .navbar .navbar-toggler.position-absolute.end-0 {
    position: static !important;
  }
  
  .site-header .navbar-brand {
    justify-content: flex-start;
    text-align: left;
  }
  
  .site-header .navbar-brand .brand-text {
    text-align: left;
  }
}