/* =========================================================
   DIBYA DEEP JYOTI ENGLISH SECONDARY SCHOOL
   Custom Stylesheet — Bootstrap 5 + Pure CSS
   ========================================================= */
:root {
  --primary: #1a365d;
  --primary-dark: #122540;
  --primary-light: #2a5298;
  --accent: #d4a843;
  --accent-dark: #b8892a;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8f9fb;
  --white: #ffffff;
  --border-light: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* ===== BASE ===== */
* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  scroll-behavior: smooth;
  /* Do NOT set height: 100%; - breaks position: sticky */
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background: #fff;
  line-height: 1.7;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-school-name,
.section-heading,
.hero-heading,
.page-header-title {
  font-family: "Baloo 2", sans-serif;
}

a {
  text-decoration: none;
}

.text-accent {
  color: var(--accent) !important;
}

/* ===== PAGE TRANSITION ===== */
.page-section {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  padding: 8px 0;
}

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

/* ===== NAVBAR ===== */
#mainNav {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
  transition: all 0.3s ease;
}

#mainNav.scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.navbar-school-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.navbar-school-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: 'Open Sans', sans-serif;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.show > .nav-link {
  color: var(--primary) !important;
  background: rgba(26, 54, 93, 0.06);
}

/* Dropdown Customization */
.dropdown-menu {
  border-radius: 12px;
  padding: 8px;
  min-width: 220px;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item.active {
  background: rgba(26, 54, 93, 0.06);
  color: var(--primary);
}

@media (min-width: 992px) {
  .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

/* ===== BUTTONS ===== */
.btn-primary-custom {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
  border-radius: 50px;
  padding: 10px 28px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.btn-primary-custom:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 54, 93, 0.3);
}

.btn-gold {
  background: var(--accent);
  color: var(--primary);
  border: 2px solid var(--accent);
  border-radius: 50px;
  padding: 12px 32px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-gold:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 168, 67, 0.4);
}

/* ===== BADGE LABEL ===== */
.badge-label {
  background: rgba(212, 168, 67, 0.2);
  color: var(--accent);
  border: 1px solid rgba(212, 168, 67, 0.4);
  border-radius: 50px;
  padding: 6px 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== KINDER HERO SECTION (NEW) ===== */
.kinder-hero-new {
  background-color: #FFF9F0;
  position: relative;
  padding: 100px 0 160px;
  overflow: hidden;
  background-image: radial-gradient(#FFDDEE 1.5px, transparent 1.5px), radial-gradient(#DDEEFF 1.5px, transparent 1.5px);
  background-size: 50px 50px;
  background-position: 0 0, 25px 25px;
}

.kinder-hero-new::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: white;
  clip-path: ellipse(65% 100% at 50% 100%);
}

.kinder-heading-new {
  font-family: "Baloo 2", sans-serif;
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
}

.text-pink { color: #FF4D8D; }
.text-blue { color: #0096FF; }
.text-green { color: #4CAF50; }

.kinder-subtext-new {
  font-size: 1.25rem;
  color: #555;
  max-width: 500px;
  margin-bottom: 35px;
  line-height: 1.6;
}

.btn-kinder-pink {
  background: #FF4D8D;
  color: rgb(251, 251, 251) !important;
  border-radius: 50px;
  padding: 14px 32px;
  font-weight: 700;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 77, 141, 0.3);
}

.btn-kinder-yellow {
  background: #FFB700;
  color: rgb(255, 252, 252) !important;
  border-radius: 50px;
  padding: 14px 32px;
  font-weight: 700;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 183, 0, 0.3);
}

.btn-kinder-pink:hover, .btn-kinder-yellow:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  background: rgb(225, 121, 47);
}

.hero-illus {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.7;
  animation: float-illus 4s ease-in-out infinite;
}

@keyframes float-illus {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.illus-1 { top: 8%; left: 5%; color: #FFB700; font-size: 4rem; }
.illus-2 { top: 12%; left: 35%; color: #FF4D8D; font-size: 2.5rem; transform: rotate(-15deg); }
.illus-3 { top: 45%; left: 32%; color: #FF4D8D; font-size: 2rem; }
.illus-4 { top: 5%; right: 40%; font-size: 4.5rem; opacity: 0.8; }
.illus-5 { bottom: 20%; left: 6%; color: #FFB700; font-size: 1.8rem; }
.illus-6 { bottom: 12%; right: 4%; color: #FF4D8D; font-size: 3rem; transform: rotate(45deg); }
.illus-7 { bottom: 5%; right: 15%; color: #FFB700; font-size: 2.2rem; }

.kinder-hero-img-box {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kinder-img-blob-bg {
  position: absolute;
  width: 110%;
  height: 110%;
  background: rgba(255, 77, 141, 0.1);
  border-radius: 60% 40% 70% 30% / 40% 50% 60% 70%;
  z-index: 1;
  animation: blob-float 10s ease-in-out infinite;
}

@keyframes blob-float {
  0%, 100% { border-radius: 60% 40% 70% 30% / 40% 50% 60% 70%; transform: rotate(0deg) scale(1); }
  33% { border-radius: 40% 60% 30% 70% / 50% 40% 70% 60%; transform: rotate(5deg) scale(1.05); }
  66% { border-radius: 70% 30% 50% 50% / 30% 70% 40% 60%; transform: rotate(-5deg) scale(0.95); }
}

.kinder-hero-img-new {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 650px;
  border-radius: 30px;
  border: 12px solid #fff;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
  transition: all 0.4s ease;
  animation: hero-img-float 6s ease-in-out infinite;
}

.kinder-hero-img-new:hover {
  transform: translateY(-10px) rotate(2deg);
  box-shadow: 0 35px 80px rgba(0,0,0,0.18);
}

@keyframes hero-img-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(-1deg); }
}

/* Feature Bar Section */
.kinder-features-new {
  margin-top: -80px;
  position: relative;
  z-index: 10;
  padding-bottom: 60px;
}

.kinder-feature-card-new {
  background: white;
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 18px;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.02);
}

.kinder-feature-card-new:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.kinder-feature-icon-new {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.bg-soft-pink-new { background: #FFE6F0; color: #FF4D8D; }
.bg-soft-yellow-new { background: #FFF4D9; color: #FFB700; }
.bg-soft-green-new { background: #E8F5E9; color: #4CAF50; }
.bg-soft-purple-new { background: #F3E5F5; color: #9C27B0; }
.bg-soft-blue-new { background: #E3F2FD; color: #03A9F4; }

.kinder-feature-text-new h6 {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 1.1rem;
  color: #333;
}

.kinder-feature-text-new p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: #666;
  line-height: 1.4;
}

@media (max-width: 991px) {
  .kinder-heading-new { font-size: 3.2rem; }
  .kinder-hero-new { padding: 60px 0 120px; text-align: center; }
  .kinder-subtext-new { margin: 0 auto 30px; }
  .kinder-hero-img-box { margin-top: 50px; }
  .kinder-features-new { margin-top: -40px; }
}

/* ===== SECTION LABELS ===== */
.section-label {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.section-heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .section-heading {
    font-size: 1.6rem;
  }
}

/* ===== SECTION PADDING ===== */
.section-pad {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section-pad {
    padding: 50px 0;
  }
}

/* ===== HERO ===== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
      rgba(26, 54, 93, 0.88) 0%,
      rgba(26, 54, 93, 0.70) 55%,
      rgba(26, 54, 93, 0.20) 100%);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-heading {
  font-size: 3.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}

@media (max-width: 768px) {
  .hero-heading {
    font-size: 2.2rem;
  }
}

.hero-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 520px;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--primary);
  padding: 36px 0;
}

.stat-item {
  padding: 16px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* ===== FEATURE CARDS ===== */
.feature-card1 {
  background: #e7674a;
}

.feature-card1:hover {
  background-color: #876325;
}

.feature-card2 {
  background: #febc37;
}

.feature-card2:hover {
  background-color: #b84343;
}

.feature-card3 {
  background: #2ed744;
}

.feature-card3:hover {
  background-color: #137f81;
}

.feature-card4 {
  background: #e366ea;
}

.feature-card4:hover {
  background-color: #d22222;
}

.feature-card-box {
  border: 1px solid var(--border-light);
  border-radius: 45px;
  transition: all 0.3s ease;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: #fff;
}

.feature-card-box p {
  color: #e7e7e7 !important;
}

.feature-card-box:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.308);
}

.feature-card-box h4 {
  color: #fff !important;
}

.feature-card-box p {
  transition: all 0.3s ease;
}

.feature-card-box:hover p {
  color: #fff !important;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.feature-icon i {
  font-size: 1.6rem;
  color: var(--accent);
}

/* ===== CHECK LIST ===== */
.check-list li {
  padding: 4px 0;
  font-size: 0.95rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 80px 20px;
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding:100px 50px 110px;
  position: relative;
}

.page-header-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.page-header-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
}

/* Contact Header */
.contact-header {
  background: none;
  position: relative;
  overflow: hidden;
}

.contact-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/campus-building.png') center/cover no-repeat;
  z-index: 0;
}

.contact-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(55, 91, 141, 0.82);
  z-index: 1;
}

/* ===== MISSION / VISION / VALUES ===== */
.mvv-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.mvv-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.mvv-card-accent {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.mvv-card-accent h4,
.mvv-card-accent .mvv-icon {
  color: var(--accent);
}

.mvv-card-accent p {
  color: rgba(255, 255, 255, 0.85);
}

.mvv-icon {
  font-size: 2rem;
  color: var(--accent);
}

/* ===== MINI STATS ===== */
.mini-stat-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

.mini-stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.mini-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== CAMPUS CARDS ===== */
.campus-card {
  background: #fff;
  border: 2px solid var(--border-light);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.campus-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.campus-number {
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.5;
  line-height: 1;
}

.campus-location {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== FACILITY CARDS ===== */
.facility-card {
  background: #fff;
  transition: all 0.3s ease;
}

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

.facility-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.facility-img-placeholder {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.facility-icon-sm {
  width: 40px;
  height: 40px;
  background: rgba(26, 54, 93, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.facility-icon-sm i {
  color: var(--primary);
  font-size: 1.1rem;
}

/* ===== ACTIVITY CARDS ===== */
.activity-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

.activity-card:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.activity-icon {
  font-size: 2rem;
  color: var(--primary);
  transition: color 0.2s;
}

.activity-card:hover .activity-icon {
  color: var(--accent);
}

/* ===== SUBJECT CARDS ===== */
.academic-subjects-section {
  background-color: #f8faff;
  padding: 80px 0;
}

.subject-card-new {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 40px 25px 30px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  height: 100%;
  overflow: hidden;
}

.subject-card-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.subject-card-new:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(26, 54, 93, 0.1);
  border-color: rgba(212, 168, 67, 0.2);
}

.subject-card-new:hover::before {
  transform: scaleX(1);
}

.subject-icon-wrapper {
  width: 80px;
  height: 80px;
  background: #f0f4f8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.4s ease;
  position: relative;
}

.subject-icon-wrapper i {
  font-size: 2.2rem;
  color: var(--primary);
  transition: all 0.4s ease;
}

.subject-card-new:hover .subject-icon-wrapper {
  background: var(--primary);
  transform: rotateY(360deg);
}

.subject-card-new:hover .subject-icon-wrapper i {
  color: var(--accent);
}

.subject-card-new h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.subject-card-new p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 0;
}

.subject-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.5;
}

/* ===== GRADE ROWS ===== */
.grade-row {
  background: #fff;
  border: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

.grade-row:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.grade-badge {
  min-width: 60px;
  height: 60px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== ACHIEVEMENT CARDS ===== */
.achievement-card {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 32px 16px;
  transition: all 0.2s ease;
}

.achievement-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ach-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
}

.ach-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

/* ===== NEWS ===== */
.news-card {
  background: #fff;
  border: 1px solid var(--border-light);
}

.featured-post {
  border: 2px solid var(--accent);
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.04), #fff);
}

.news-badge {
  background: var(--accent);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-item {
  background: #fff;
  border: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

.news-item:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}

.news-badge-sm {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-date-box {
  width: 56px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  padding: 8px 4px;
}

.news-day {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
}

.news-month {
  font-size: 0.7rem;
  text-transform: uppercase;
  opacity: 0.8;
}

/* ===== SIDEBAR ===== */
.sidebar-card {
  background: #fff;
  border: 1px solid var(--border-light);
}

.news-categories li a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.news-categories li:last-child a {
  border-bottom: none;
}

.news-categories li a:hover {
  color: var(--accent);
}

.upcoming-date {
  min-width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
}

/* ===== CONTACT ===== */
.campus-info-card {
  background: #fff;
  border: 1px solid var(--border-light);
}

.campus-info-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
}

.contact-details li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.social-btn {
  width: 44px;
  height: 44px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

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

.contact-form-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

.form-control,
.form-select {
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

/* ===== FEATURE BAR BLUE ===== */
.feature-bar-blue {
  background: #0a2647; /* Deeper blue matching the image */
  padding: 20px 0;
  color: #fff;
}

.feature-bar-blue .container {
  max-width: 100%;
  padding-left: 40px;
  padding-right: 40px;
}

.feature-bar-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
}

.feature-bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 15px;
  position: relative;
  flex: 1;
  min-width: 0; /* Prevents flex items from overflowing */
}

/* Vertical line separator */
.feature-bar-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.feature-bar-icon {
  font-size: 2rem;
  color: #c5a059;
  line-height: 1;
  flex-shrink: 0;
}

.feature-bar-text {
  display: flex;
  flex-direction: column;
  min-width: 0; /* Important for text truncation/wrapping in flex */
}

.feature-bar-text h6 {
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 1px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feature-bar-text p {
  font-size: 0.7rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1200px) {
  .feature-bar-row {
    flex-wrap: wrap;
  }
  .feature-bar-item {
    flex: 0 0 33.33%;
    padding: 20px;
  }
  .feature-bar-item:nth-child(3)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .feature-bar-item {
    flex: 0 0 50%;
  }
  .feature-bar-item:nth-child(2n)::after {
    display: none;
  }
}

@media (max-width: 576px) {
  .feature-bar-item {
    flex: 0 0 100%;
  }
  .feature-bar-item::after {
    display: none !important;
  }
}

/* ===== ABOUT SCHOOL SECTION ===== */
.about-school-section {
  background: #fdfdfd;
  padding: 80px 0;
}

.about-school-img-wrapper {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-school-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 350px;
}

.play-btn-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.play-btn-overlay:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translate(-50%, -50%) scale(1.1);
}

.about-school-content {
  padding: 0 20px;
}

.about-school-label {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: block;
}

.about-school-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-school-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 25px 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
}

.stat-box:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  border-color: var(--accent);
}

.stat-box-icon {
  font-size: 2.2rem;
  color: var(--accent);
  line-height: 1;
}

.stat-box-info .stat-count {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  line-height: 1;
}

.stat-box-info .stat-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 1200px) {
  .about-school-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .about-school-content {
    margin-top: 40px;
  }
}

.footer-school-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.footer-school-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-heading {
  font-family: 'Poppins', sans-serif;
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

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

.footer-links li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  transition: color 0.2s ease;
  display: block;
  padding: 3px 0;
}

.footer-links li a:hover {
  color: var(--accent);
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  padding: 3px 0;
}

.footer-social {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.footer-social:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
}

.footer-admission-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 992px) {
  .col-lg-2-5 {
    flex: 0 0 auto;
    width: 20%;
  }
}

/* ===== NAVBAR & DROPDOWN HOVER ===== */
@media (min-width: 992px) {
  .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  padding: 64px 0 32px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    border-top: 1px solid var(--border-light);
    margin-top: 12px;
    padding-top: 12px;
  }

  .nav-link {
    padding: 10px 8px !important;
  }

  .hero-section {
    min-height: 70vh;
    padding-top: 60px;
  }
}

@media (max-width: 767.98px) {
  .page-header-title {
    font-size: 2rem;
  }

  .stats-bar .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .stats-bar .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .stats-bar .stat-item:last-child,
  .stats-bar .stat-item:nth-last-child(2) {
    border-bottom: none;
  }
}

.bg-kinder-yellow {
  background: #FFFBDE;
}

.circle-box1 {
  background: #F9A624;
}

.circle-box2 {
  background: #F05434;
}

.circle-box3 {
  background: #2B8CF5;
}

.circle-box4 {
  background: #7ABC3E;
}

.circle-box5 {
  background: #667C93;
}

.circle-box {
  width: 150px;
  height: 150px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 35px;
  cursor: pointer;
  transition: 0.3s ease;
  margin-bottom: 20px;

}

.circle-box:hover {
  transform: scale(1.1);
}

.circle-text {
  color: var(--primary);
}

.OB {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 0.82rem;
  margin-top: 40px;
}

.heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
  margin-top: -12px;
}
.small-img {
  width: 100px;
  height: auto;
  justify-content: end;
}
.about-header {
  background: none;
  position: relative;
  overflow: hidden;
}

.about-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/dibyaaa.png.png') center/cover no-repeat;
  z-index: 0;
}

.about-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(55, 91, 141, 0.82);
  z-index: 1;
}


.academics-header {
  background: none;
  position: relative;
  overflow: hidden;
}
.academics-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/students.png.jpg') center/cover no-repeat;
  z-index: 0;
}
.academics-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(55, 91, 141, 0.82);
  z-index: 1;
}
.facilities-header {
  background: none;
  position: relative;
  overflow: hidden;
}
.facilities-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/all.png.png') center/cover no-repeat;
  z-index: 0;
}
.facilities-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(55, 91, 141, 0.82);
  z-index: 1;
}
.contact-header {
  background: none;
  position: relative;
  overflow: hidden;
}
.contact-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/Both.png.png') center/cover no-repeat;
  z-index: 0;
}
.contact-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(55, 91, 141, 0.82);
  z-index: 1;
}
