/* =========================================================
   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,
.btn-primary-custom.auto-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,
.btn-gold.auto-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,
.btn-kinder-pink.auto-hover,
.btn-kinder-yellow.auto-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: 11%; left: 500%; 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: 7%; font-size: 4.5rem; opacity: 0.8; color: #FF4D8D; }
.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,
.kinder-hero-img-new.auto-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,
.kinder-feature-card-new.auto-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; }
  .illus-4 { display: none !important; }
}

@media (max-width: 768px) {
  .illus-4 { display: none !important; }
}

/* ===== 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,
.feature-card1.auto-hover {
  background-color: #876325;
}

.feature-card2 {
  background: #febc37;
}

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

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

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

.feature-card4 {
  background: #e366ea;
}

.feature-card4:hover,
.feature-card4.auto-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: #ffffff !important;
}

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

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

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

.feature-card-box:hover p,
.feature-card-box.auto-hover p {
  color: #fcf7f7 !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,
.mvv-card.auto-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,
.campus-card.auto-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,
.facility-card.auto-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,
.activity-card.auto-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,
.activity-card.auto-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,
.subject-card-new.auto-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,
.subject-card-new.auto-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,
.subject-card-new.auto-hover .subject-icon-wrapper {
  background: var(--primary);
  transform: rotateY(360deg);
}

.subject-card-new:hover .subject-icon-wrapper i,
.subject-card-new.auto-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,
.grade-row.auto-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,
.achievement-card.auto-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);
}

/* ===== JOURNEY SECTION ===== */
.journey-section {
  background: #fdfdff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.journey-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.journey-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: linear-gradient(to bottom, #FF4D8D, #0096FF, #4CAF50, #9C27B0);
  transform: translateX(-50%);
  z-index: 1;
  opacity: 0.3;
}

.journey-step {
  position: relative;
  z-index: 2;
  margin-bottom: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.journey-step:last-child {
  margin-bottom: 0;
}

.journey-content {
  width: 42%;
  padding: 35px;
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
}

.journey-step:nth-child(odd) .journey-content {
  margin-right: auto;
  text-align: right;
}

.journey-step:nth-child(even) .journey-content {
  margin-left: auto;
  text-align: left;
}

.journey-dot {
  width: 70px;
  height: 70px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3;
}

/* Color Themes for Steps */
.step-pink .journey-dot { color: #FF4D8D; border: 3px solid #FF4D8D; }
.step-blue .journey-dot { color: #0096FF; border: 3px solid #0096FF; }
.step-green .journey-dot { color: #4CAF50; border: 3px solid #4CAF50; }
.step-purple .journey-dot { color: #9C27B0; border: 3px solid #9C27B0; }

.journey-step:hover .journey-dot,
.journey-step.auto-hover .journey-dot {
  transform: translateX(-50%) scale(1.2) rotate(360deg);
}

.step-pink:hover .journey-dot, .step-pink.auto-hover .journey-dot { background: #FF4D8D; color: #fff; }
.step-blue:hover .journey-dot, .step-blue.auto-hover .journey-dot { background: #0096FF; color: #fff; }
.step-green:hover .journey-dot, .step-green.auto-hover .journey-dot { background: #4CAF50; color: #fff; }
.step-purple:hover .journey-dot, .step-purple.auto-hover .journey-dot { background: #9C27B0; color: #fff; }

.step-pink:hover .journey-content, .step-pink.auto-hover .journey-content { border-color: #FF4D8D; box-shadow: 0 20px 40px rgba(255, 77, 141, 0.15); }
.step-blue:hover .journey-content, .step-blue.auto-hover .journey-content { border-color: #0096FF; box-shadow: 0 20px 40px rgba(0, 150, 255, 0.15); }
.step-green:hover .journey-content, .step-green.auto-hover .journey-content { border-color: #4CAF50; box-shadow: 0 20px 40px rgba(76, 175, 80, 0.15); }
.step-purple:hover .journey-content, .step-purple.auto-hover .journey-content { border-color: #9C27B0; box-shadow: 0 20px 40px rgba(156, 39, 176, 0.15); }

.journey-step:hover .journey-content,
.journey-step.auto-hover .journey-content {
  transform: translateY(-10px);
}

.journey-content h4 {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.step-pink .journey-content h4 { color: #FF4D8D; }
.step-blue .journey-content h4 { color: #0096FF; }
.step-green .journey-content h4 { color: #4CAF50; }
.step-purple .journey-content h4 { color: #9C27B0; }

.journey-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .journey-line {
    left: 35px;
  }
  .journey-dot {
    left: 35px;
    transform: none;
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
  }
  .journey-step:hover .journey-dot,
  .journey-step.auto-hover .journey-dot {
    transform: scale(1.1) rotate(360deg);
  }
  .journey-content {
    width: calc(100% - 100px);
    margin-left: 100px !important;
    text-align: left !important;
    padding: 25px;
  }
}

/* ===== KINDER WORLD WONDERS ===== */
.kinder-wonders-section {
  padding: 100px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.kinder-wonder-card {
  border-radius: 30px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  border: none;
  position: relative;
  z-index: 1;
}

.wonder-pink { background: #FFF0F5; }
.wonder-blue { background: #F0F8FF; }
.wonder-green { background: #F0FFF0; }
.wonder-yellow { background: #FFFFF0; }

.wonder-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 25px;
  background: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
}

.wonder-pink .wonder-icon { color: #FF4D8D; }
.wonder-blue .wonder-icon { color: #0096FF; }
.wonder-green .wonder-icon { color: #4CAF50; }
.wonder-yellow .wonder-icon { color: #FFB700; }

.kinder-wonder-card:hover,
.kinder-wonder-card.auto-hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.kinder-wonder-card:hover .wonder-icon,
.kinder-wonder-card.auto-hover .wonder-icon {
  transform: rotate(20deg) scale(1.1);
}

.wonder-title {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.wonder-desc {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

.floating-object {
  position: absolute;
  z-index: 0;
  opacity: 0.15;
  pointer-events: none;
  animation: float-slow 6s ease-in-out infinite;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

.float-1 { top: 10%; left: 5%; color: #FF4D8D; font-size: 4rem; }
.float-2 { top: 15%; right: 8%; color: #0096FF; font-size: 3rem; animation-delay: 1s; }
.float-3 { bottom: 10%; left: 10%; color: #4CAF50; font-size: 3.5rem; animation-delay: 2s; }
/* ===== KINDER MOMENTS AUTO-SLIDER ===== */
.kinder-moments-section {
  padding: 80px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.slider-container {
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  position: relative;
}

.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: max-content;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-arrow:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.prev-arrow { left: 20px; }
.next-arrow { right: 20px; }

@media (max-width: 768px) {
  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .prev-arrow { left: 10px; }
  .next-arrow { right: 10px; }
}

/* Mobile Base Styles */
.kinder-moment-item {
  width: calc(100vw - 40px); /* Dynamic width for mobile */
  height: 250px;
  flex-shrink: 0;
  margin: 0 10px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
}

/* Desktop Overrides */
@media (min-width: 769px) {
  .kinder-moment-item {
    width: 550px; /* Two-part layout for desktop */
    height: 320px;
    margin: 0 15px;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
  }
}
  
  .kinder-moment-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s ease;
}

.kinder-moment-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 54, 93, 0.8), transparent);
  opacity: 0;
  transition: all 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 25px;
}

.kinder-moment-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.kinder-moment-item:hover img {
  transform: scale(1.1);
}

.kinder-moment-item:hover .kinder-moment-overlay {
  opacity: 1;
}

.moment-caption {
  color: #fff;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.kinder-moment-item:hover .moment-caption {
  transform: translateY(0);
}

.gallery-decoration {
  position: absolute;
  z-index: 0;
  opacity: 0.1;
  pointer-events: none;
}
.deco-1 { top: 5%; left: 2%; font-size: 5rem; color: #FF4D8D; }
.deco-2 { bottom: 5%; right: 2%; font-size: 6rem; color: #0096FF; }


/* Add float shapes to journey background */
.journey-shape {
  position: absolute;
  z-index: 0;
  opacity: 0.05;
  pointer-events: none;
}
.shape-1 { top: 10%; left: 5%; font-size: 8rem; color: var(--primary); }
.shape-2 { bottom: 10%; right: 5%; font-size: 10rem; color: var(--accent); }


.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: 30px;
  overflow: visible; /* Changed to visible for floating elements */
  padding: 15px;
}

.about-img-container {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(26, 54, 93, 0.15);
  z-index: 2;
  border: 8px solid #fff;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0.95; 
  margin-top: -20px;
  transform: rotate(2deg); /* Added slight counter-rotation */
}

.about-school-img-wrapper:hover .about-img-container {
  transform: scale(1.02) rotate(0deg);
  box-shadow: 0 25px 60px rgba(26, 54, 93, 0.25);
  opacity: 1;
}

.img-decoration {
  position: absolute;
  width: 120px;
  height: 120px;
  background: var(--accent);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: 1;
  opacity: 0.15;
  animation: morph-blob 8s ease-in-out infinite;
}

.deco-top {
  top: -20px;
  right: -20px;
  background: var(--accent);
}

.deco-bottom {
  bottom: -20px;
  left: -20px;
  background: var(--primary);
  animation-delay: -4s;
}

@keyframes morph-blob {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(0deg); }
  33% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
  66% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; transform: rotate(180deg); }
}

.img-badge-floating {
  position: absolute;
  top: -45px; /* Moved much higher to sit above the image */
  left: -40px; /* Moved further left to avoid faces */
  background: #fff;
  padding: 12px 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float-badge-diagonal 4s ease-in-out infinite;
  transform: rotate(-10deg);
}

@keyframes float-badge-diagonal {
  0%, 100% { transform: translateY(0) rotate(-12deg); }
  50% { transform: translateY(-10px) rotate(-12deg); }
}

.img-badge-icon {
  width: 45px;
  height: 45px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.img-badge-text {
  line-height: 1.2;
}

.img-badge-title {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.1rem;
  display: block;
}

.img-badge-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.secondary-img-wrapper {
  position: absolute;
  width: 400px; 
  height: auto;
  max-height: 300px;
  bottom: -120px; /* Increased gap from -60px */
  left: -120px;  /* Increased gap from -40px */
  border-radius: 25px;
  overflow: hidden;
  border: 10px solid #fff; /* Thicker border to separate them more */
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  z-index: 4;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0.9;
  transform: rotate(-5deg); /* Added initial rotation for dynamic look */
}

.secondary-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.about-school-img-wrapper:hover .secondary-img-wrapper {
  transform: translateY(-20px) translateX(-20px) rotate(0deg) scale(1.05); /* Moves further apart on hover */
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  opacity: 1;
}

@media (max-width: 991px) {
  .about-school-img-wrapper {
    margin-bottom: 80px; /* Add space for overlapping images */
    padding: 10px;
  }
  
  .about-img-container {
    transform: none !important;
    margin-top: 0;
  }
  
  .secondary-img-wrapper {
    width: 260px; /* Larger mobile size */
    height: auto;
    max-height: 180px;
    left: -20px;
    bottom: -50px;
    border-width: 6px;
    transform: rotate(-3deg) !important;
  }

  .img-badge-floating {
    left: -15px; 
    top: -40px;
    padding: 8px 12px;
    transform: scale(0.8) rotate(-8deg) !important;
    animation: float-badge-diagonal-mobile 4s ease-in-out infinite;
  }

  @keyframes float-badge-diagonal-mobile {
    0%, 100% { transform: scale(0.8) translateY(0) rotate(-8deg); }
    50% { transform: scale(0.8) translateY(-6px) rotate(-8deg); }
  }
}


.about-school-img {
  width: 100%;
  height: auto; /* Changed to auto to show full image */
  max-height: 450px;
  display: block;
}

.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,
.circle-box.auto-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/about.bg.jpeg') 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;
}
