/* 
 * Navjiwan Public School - Official Stylesheet
 * Affiliated to CBSE, New Delhi | Affiliation No. 530207 | School Code: 40190
 * Sector - 10, D.L.F. Block - J, Faridabad - 121006 (Haryana)
 * Fully Responsive for Mobile, Tablet, Laptop, and 4K Displays
 */

:root {
  --primary-color: #0d3b66;      /* Deep Navy Blue */
  --primary-dark: #07233f;
  --primary-light: #1d5287;
  --secondary-color: #9b2226;    /* Crimson / Trust Maroon */
  --secondary-hover: #7b1a1e;
  --accent-color: #ee9b00;       /* Golden Amber */
  --accent-light: #fbecc4;
  --gold-accent: #f59e0b;        /* Leadership Golden Accent */
  --dark-text: #1e293b;
  --muted-text: #64748b;
  --light-bg: #f8fafc;
  --border-color: #e2e8f0;
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --card-shadow-hover: 0 20px 30px -10px rgba(13, 59, 102, 0.18);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --transition-smooth: all 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--dark-text);
  background-color: #ffffff;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
}

/* ========================================================
   TOP NOTIFICATION & CONTACT BAR
   ======================================================== */
.top-bar {
  background-color: var(--primary-dark);
  color: #e2e8f0;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 2px solid var(--accent-color);
}

.top-bar a {
  color: #f1f5f9;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.top-bar a:hover {
  color: var(--accent-color);
}

.top-bar .badge-cbse {
  background: linear-gradient(135deg, #ee9b00, #ca6702);
  color: #000;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ========================================================
   MAIN NAVBAR
   ======================================================== */
.navbar-main {
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 10px 0;
  transition: var(--transition-smooth);
  position: sticky;
  top: 0;
  z-index: 1020;
}

.navbar-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--secondary-color);
  letter-spacing: 0.02em;
  margin: 0;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark) !important;
  padding: 8px 14px !important;
  margin: 0 2px;
  border-radius: 6px;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary-color) !important;
  background-color: rgba(155, 34, 38, 0.06);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 3px 3px 0 0;
}

.nav-cbse-pill {
  background: rgba(13, 59, 102, 0.08);
  color: var(--primary-color) !important;
  border: 1px solid rgba(13, 59, 102, 0.25);
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 7px 16px !important;
}

.nav-cbse-pill:hover, .nav-cbse-pill.active {
  background: var(--primary-color) !important;
  color: #ffffff !important;
  border-color: var(--primary-color);
}

.nav-cbse-pill.active::after {
  display: none;
}

.btn-nav-cta {
  background: linear-gradient(135deg, var(--secondary-color), #bb2d3b);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 20px !important;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(155, 34, 38, 0.25);
  border: none;
  white-space: nowrap;
}

.btn-nav-cta:hover {
  background: linear-gradient(135deg, #7b1a1e, var(--secondary-color));
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(155, 34, 38, 0.35);
}

/* ========================================================
   HERO CAROUSEL SLIDER (TOUCH + FULL RESPONSIVE)
   ======================================================== */
.hero-slider-section {
  position: relative;
  background-color: #0b1329;
  overflow: hidden;
}

.hero-slider .carousel-item {
  height: 75vh;
  min-height: 500px;
  max-height: 720px;
  background-color: #0b1329;
}

.hero-slider .carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  filter: brightness(0.65) contrast(1.05);
  animation: subtleZoom 14s infinite alternate;
}

@keyframes subtleZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(7, 35, 63, 0.85) 0%, rgba(7, 35, 63, 0.45) 50%, rgba(7, 35, 63, 0.25) 100%);
  pointer-events: none;
}

.carousel-caption-custom {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  text-align: left;
  z-index: 10;
  padding: 0 1rem;
}

.hero-content-box {
  max-width: 800px;
  padding: 20px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(238, 155, 0, 0.95);
  color: #000000;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 6px 15px;
  border-radius: 30px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  color: #f1f5f9;
  font-size: clamp(0.95rem, 1.6vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  max-width: 660px;
  margin-bottom: 1.8rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--secondary-color), #b22a2e);
  color: #ffffff;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(155, 34, 38, 0.3);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-custom:hover {
  background: linear-gradient(135deg, #7b1a1e, var(--secondary-color));
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(155, 34, 38, 0.4);
}

.btn-outline-custom {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 11px 26px;
  border-radius: 30px;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-custom:hover {
  background: #ffffff;
  color: var(--primary-dark);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.carousel-control-prev, .carousel-control-next {
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 15px;
  opacity: 0.85;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.carousel-control-prev:hover, .carousel-control-next:hover {
  background: var(--accent-color);
  opacity: 1;
  color: #000;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 5px;
  background-color: #ffffff;
  opacity: 0.6;
  border: none;
}

.carousel-indicators .active {
  width: 28px;
  border-radius: 6px;
  background-color: var(--accent-color);
  opacity: 1;
}

/* ========================================================
   QUICK TICKER & MOTTO
   ======================================================== */
.ticker-bar {
  background-color: #f1f5f9;
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
}

.ticker-badge {
  background-color: var(--secondary-color);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-text {
  font-size: 0.88rem;
  color: var(--primary-dark);
  font-weight: 500;
  margin: 0;
}

.motto-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: #ffffff;
  padding: 24px 0;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.15);
}

.motto-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(238, 155, 0, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.motto-quote {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin: 0;
  font-style: italic;
  text-align: center;
}

.motto-highlight {
  color: var(--accent-color);
  font-weight: 700;
}

/* ========================================================
   LEADERSHIP SECTIONS (NEW: THREE LEADERSHIP CARDS)
   ======================================================== */
.leader-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-bottom: 45px;
  transition: var(--transition-smooth);
}

.leader-card:hover {
  box-shadow: 0 22px 45px rgba(13, 59, 102, 0.12);
}

.leader-profile-dark {
  background: linear-gradient(180deg, #07233f 0%, #0d3b66 100%);
  color: #ffffff;
  position: relative;
  padding: 40px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.leader-profile-dark.warm-tone {
  background: linear-gradient(180deg, #1c1917 0%, #292524 100%);
}

.quote-icon-decor {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.12);
  font-family: serif;
  line-height: 1;
  pointer-events: none;
}

.leader-photo-frame {
  width: 150px;
  height: 165px;
  margin: 0 auto 18px auto;
  border-radius: 16px;
  border: 3.5px solid var(--gold-accent);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  background-color: #000;
}

.leader-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-profile-name {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.leader-profile-role {
  color: var(--gold-accent);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.leader-profile-sub {
  color: #cbd5e1;
  font-size: 0.8rem;
  margin-bottom: 15px;
  opacity: 0.9;
}

.leader-school-tag {
  color: var(--gold-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 14px;
  margin-top: 15px;
}

.leader-content-box {
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.badge-outline-gold {
  border: 1px solid #f59e0b;
  color: #b45309;
  background: rgba(245, 158, 11, 0.08);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
}

.badge-outline-blue {
  border: 1px solid #0284c7;
  color: #0369a1;
  background: rgba(2, 132, 199, 0.08);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
}

.badge-fill-soft-gold {
  background: #fef3c7;
  color: #92400e;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
}

.badge-fill-soft-blue {
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
}

.quote-highlight-box {
  border-left: 4px solid var(--gold-accent);
  padding: 14px 18px;
  background-color: #fffbeb;
  border-radius: 0 12px 12px 0;
  margin-bottom: 20px;
}

.quote-highlight-box.blue {
  border-left: 4px solid #0284c7;
  background-color: #f0f9ff;
}

.quote-highlight-text {
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.leader-body-p {
  color: #475569;
  font-size: 0.94rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Sacred Pillars Box */
.sacred-pillars-container {
  background: #fffdfa;
  border: 1px solid #fde68a;
  border-radius: 14px;
  padding: 18px 20px;
  margin: 20px 0;
}

.sacred-pillars-title {
  color: #b45309;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.pillar-mini-card {
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 12px 6px;
  text-align: center;
  transition: var(--transition-smooth);
}

.pillar-mini-card:hover {
  transform: translateY(-3px);
  border-color: #f59e0b;
  box-shadow: 0 6px 15px rgba(245, 158, 11, 0.15);
}

.pillar-icon {
  font-size: 1.4rem;
  margin-bottom: 4px;
  display: block;
}

.pillar-name-hi {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: #07233f;
  margin-bottom: 2px;
}

.pillar-name-en {
  font-size: 0.72rem;
  color: #64748b;
  margin: 0;
}

/* Vision & Mission Boxes */
.vision-mission-box {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 16px;
  transition: var(--transition-smooth);
}

.vision-mission-box:hover {
  background-color: #f0f9ff;
  border-color: #bae6fd;
}

.vm-box-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.vm-box-text {
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

/* Leader Card Footer */
.leader-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.leader-footer-name {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.leader-footer-title {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0;
}

.leader-footer-badge {
  background: #fef3c7;
  color: #b45309;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid #fde68a;
}

.leader-footer-badge.blue {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

/* ========================================================
   SECTION HEADERS & LAYOUTS
   ======================================================== */
.section-padding {
  padding: 70px 0;
}

.section-padding-sm {
  padding: 45px 0;
}

.section-header {
  margin-bottom: 40px;
}

.section-subtitle {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.section-title-line {
  width: 50px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
  margin: 0 auto 16px auto;
}

.section-title-line.left-align {
  margin: 0 0 16px 0;
}

/* Feature Cards */
.feature-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 22px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--secondary-color);
  transition: var(--transition-smooth);
}

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

.feature-card:hover::before {
  height: 100%;
}

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(13, 59, 102, 0.08);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 18px;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--secondary-color);
  color: #ffffff;
  transform: scale(1.05);
}

/* Facility Card */
.facility-card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background: #ffffff;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.facility-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 210px;
}

.facility-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.facility-card:hover .facility-img-wrapper img {
  transform: scale(1.06);
}

.facility-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(13, 59, 102, 0.92);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.facility-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.facility-body h4 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.facility-body p {
  color: var(--muted-text);
  font-size: 0.9rem;
  margin-bottom: 14px;
  flex: 1;
}

/* Stat Box */
.stat-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 24px 16px;
  box-shadow: var(--card-shadow);
  text-align: center;
  border-bottom: 4px solid var(--accent-color);
  transition: var(--transition-smooth);
  height: 100%;
}

.stat-box:hover {
  transform: translateY(-4px);
  border-bottom-color: var(--secondary-color);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted-text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

/* ========================================================
   CBSE MANDATORY DISCLOSURE PAGE STYLING
   ======================================================== */
.disclosure-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  color: #ffffff;
  padding: 50px 0;
  position: relative;
}

.disclosure-hero h1 {
  color: #ffffff;
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
}

.disclosure-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
  overflow: hidden;
}

.disclosure-header {
  background: linear-gradient(90deg, #f8fafc, #ffffff);
  border-bottom: 2px solid var(--primary-color);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.disclosure-header h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Responsive Table */
.table-responsive {
  margin-bottom: 0;
  border: none;
  -webkit-overflow-scrolling: touch;
}

.disclosure-table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: collapse;
}

.disclosure-table th {
  background-color: #f1f5f9;
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e2e8f0;
  padding: 12px 16px;
  white-space: nowrap;
}

.disclosure-table td {
  padding: 13px 16px;
  vertical-align: middle;
  font-size: 0.92rem;
  border-bottom: 1px solid #f1f5f9;
}

.disclosure-table tr:hover td {
  background-color: #f8fafc;
}

.btn-doc-view {
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 6px 12px;
  border-radius: 6px;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.btn-doc-view:hover {
  background-color: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-doc-download {
  background-color: #ffffff;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 5px 12px;
  border-radius: 6px;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
}

.btn-doc-download:hover {
  background-color: #f1f5f9;
  color: var(--primary-dark);
}

.badge-status-verified {
  background-color: #d1e7dd;
  color: #0f5132;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 4px 8px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ========================================================
   GALLERY & LIGHTBOX
   ======================================================== */
.gallery-filter-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.btn-filter {
  background: #ffffff;
  color: var(--primary-dark);
  border: 1px solid #cbd5e1;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 7px 18px;
  border-radius: 30px;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-filter:hover, .btn-filter.active {
  background: var(--secondary-color);
  color: #ffffff;
  border-color: var(--secondary-color);
  box-shadow: 0 4px 12px rgba(155, 34, 38, 0.25);
}

.gallery-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  cursor: pointer;
  height: 250px;
  background-color: #e2e8f0;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(13, 59, 102, 0.92) 0%, rgba(13, 59, 102, 0.2) 65%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: #ffffff;
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card-overlay h5 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.gallery-card-overlay span {
  font-size: 0.75rem;
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========================================================
   MODAL VIEWER FOR CBSE CERTIFICATES & GALLERY
   ======================================================== */
.modal-viewer-content {
  border-radius: 14px;
  overflow: hidden;
  border: none;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-viewer-header {
  background-color: var(--primary-dark);
  color: #ffffff;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-viewer-header .modal-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-viewer-body {
  padding: 15px;
  background-color: #0b1329;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  max-height: 80vh;
  overflow: auto;
}

.modal-viewer-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

/* ========================================================
   CONTACT & FORMS
   ======================================================== */
.contact-info-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 26px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  height: 100%;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(155, 34, 38, 0.1);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-form-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
}

.form-control, .form-select {
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 0.92rem;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(13, 59, 102, 0.15);
}

.map-container {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  height: 350px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========================================================
   FOOTER
   ======================================================== */
.footer-main {
  background-color: var(--primary-dark);
  color: #cbd5e1;
  padding: 60px 0 20px 0;
  border-top: 5px solid var(--accent-color);
}

.footer-brand h4 {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-links h5 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-links h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--accent-color);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--accent-color);
  transform: translateX(3px);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: #94a3b8;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--secondary-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  border: none;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

/* ========================================================
   COMPREHENSIVE RESPONSIVE MEDIA QUERIES
   ======================================================== */

/* Large screens and Desktops (lg, xl, xxl) */
@media (min-width: 992px) {
  .hero-slider .carousel-item {
    height: 75vh;
  }
}

/* Tablets and below (max 991.98px) */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin-top: 10px;
  }
  
  .nav-link {
    padding: 10px 14px !important;
    margin: 3px 0;
  }
  
  .nav-cbse-pill {
    margin: 8px 0;
    text-align: center;
  }
  
  .btn-nav-cta {
    margin-top: 8px;
    text-align: center;
    display: block;
    width: 100%;
  }
  
  .hero-slider .carousel-item {
    height: 60vh;
    min-height: 440px;
  }
  
  .section-padding {
    padding: 55px 0;
  }
  
  .carousel-control-prev, .carousel-control-next {
    width: 38px;
    height: 38px;
    margin: 0 8px;
  }

  .leader-content-box {
    padding: 28px 20px;
  }
}

/* Small tablets & Large mobiles (max 767.98px) */
@media (max-width: 767.98px) {
  .top-bar-contact {
    display: none !important;
  }
  
  .hero-slider .carousel-item {
    height: 55vh;
    min-height: 400px;
  }
  
  .hero-badge {
    font-size: 0.72rem;
    padding: 4px 10px;
    margin-bottom: 0.6rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .hero-btns .btn {
    padding: 9px 18px;
    font-size: 0.85rem;
  }
  
  .section-padding {
    padding: 45px 0;
  }
  
  .gallery-card {
    height: 210px;
  }
  
  .disclosure-table th, .disclosure-table td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  .leader-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .leader-photo-frame {
    width: 130px;
    height: 145px;
  }
}

/* Extra small mobile screens (max 575.98px) */
@media (max-width: 575.98px) {
  .brand-title {
    font-size: 1.05rem;
  }
  
  .brand-subtitle {
    font-size: 0.62rem;
  }
  
  .navbar-brand img {
    height: 44px;
  }
  
  .hero-slider .carousel-item {
    height: 62vh;
    min-height: 390px;
  }
  
  .hero-title {
    font-size: 1.55rem;
    margin-bottom: 0.6rem;
  }
  
  .hero-btns {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }
  
  .facility-img-wrapper {
    height: 180px;
  }
  
  .contact-form-card {
    padding: 20px 16px;
  }
  
  .contact-info-card {
    padding: 20px 16px;
  }
  
  .disclosure-header {
    padding: 12px 14px;
  }

  .quote-highlight-text {
    font-size: 0.95rem;
  }
}
