/* ==========================================
   B.B.S.S.M. MEERUT SCHOOL WEBSITE STYLESHEET
   Recreating Traditional Indian CBSE Portal Design
   ========================================== */

:root {
  --primary-maroon: #7A1016;
  --dark-burgundy: #5A090D;
  --deep-red: #8E171C;
  --gold-yellow: #E5A52B;
  --gold-dark: #C98A1B;
  --warm-cream: #FFF9F0;
  --light-cream: #FCF5E9;
  --light-gray: #F5F5F5;
  --border-color: #E3D8CF;
  --text-main: #242424;
  --text-secondary: #5D5D5D;
  --white: #FFFFFF;

  --font-main: 'Roboto', Arial, sans-serif;
  --font-hindi: 'Noto Sans Devanagari', 'Georgia', serif;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  font-family: var(--font-main);
  background-color: var(--warm-cream);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ------------------------------------------
   1. TOP UTILITY BAR
   ------------------------------------------ */
.top-bar {
  background-color: #4a0d0e;
  color: #e2d7cc;
  height: 36px;
  font-size: 11.5px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 10px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  font-weight: 400;
  white-space: nowrap;
}

.top-bar-left i {
  color: #f5a623;
  margin-right: 6px;
  font-size: 13px;
}

.affiliation-tag {
  color: #e2d7cc;
  font-size: 13.5px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-info {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #e2d7cc;
  font-size: 13.5px;
  transition: color 0.2s;
}

.top-info i {
  color: #f5a623;
}

.top-info:hover {
  color: #f5a623;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  gap: 5px;
  border-radius: 3px;
  color: #FFF;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.2s, opacity 0.2s;
}

.social-icon:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.social-icon.youtube {
  background-color: transparent;
  padding: 0;
  min-width: unset;
}

.yt-svg-icon {
  height: 26px;
  width: auto;
  display: block;
}

.social-icon.facebook {
  background-color: #1877f2;
}

.student-login-btn {
  background-color: #f5a623;
  color: #1a1a1a;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  transition: background-color 0.2s, transform 0.2s;
}

.student-login-btn:hover {
  background-color: #f7b443;
  transform: translateY(-1px);
}

/* ------------------------------------------
   2. BRANDING HEADER
   ------------------------------------------ */
.main-header {
  background-color: #FFFFFF;
  padding: 12px 0;
  border-bottom: 1px solid #dfd7ce;
  position: relative;
}

.main-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/leaf-left.png'), url('images/leaf-right.png');
  background-position: left center, right center;
  background-repeat: no-repeat, no-repeat;
  background-size: 130px auto, 130px auto;
  opacity: 0.35;
  pointer-events: none;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
}

.header-left-col {
  display: flex;
  align-items: center;
  flex: 0 0 160px;
  justify-content: flex-start;
}

.school-logo {
  height: 110px;
  width: auto;
  object-fit: contain;
}

.header-center-col {
  flex: 1;
  text-align: center;
  padding: 0 15px;
}

.hindi-title {
  font-family: var(--font-hindi);
  font-size: 30px;
  font-weight: 800;
  color: #7b1113;
  line-height: 1.15;
  letter-spacing: 0.2px;
  margin-bottom: 2px;
}

.english-title {
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 700;
  color: #0b1a30;
  margin-bottom: 3px;
  letter-spacing: 0.1px;
}

.cbse-affil-text {
  font-size: 12.5px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.25;
}

.address-text {
  font-size: 12px;
  font-weight: 600;
  color: #2a2a2a;
  line-height: 1.25;
  margin-top: 2px;
}

.header-right-col {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 0 0 260px;
}

.vb-text-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.vb-main {
  font-family: var(--font-hindi);
  font-size: 25px;
  font-weight: 800;
  color: #7b1113;
  line-height: 1.05;
}

.vb-sub {
  font-family: var(--font-hindi);
  font-size: 14.5px;
  font-weight: 700;
  color: #7b1113;
  margin-top: 1px;
  line-height: 1.1;
}

.vb-tagline {
  font-family: var(--font-hindi);
  font-size: 12px;
  color: #7b1113;
  font-weight: 700;
  margin-top: 3px;
  line-height: 1.25;
  white-space: nowrap;
}

.vb-logo {
  height: 110px;
  width: auto;
  object-fit: contain;
}

/* ------------------------------------------
   3. MAIN NAVIGATION BAR
   ------------------------------------------ */
.main-nav {
  background-color: #4a0d0e;
  height: 44px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  position: relative;
  z-index: 100;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 10px;
  height: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFF;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  align-items: center;
  height: 100%;
  flex: 1;
  justify-content: space-evenly;
  padding-right: 30px;
}

.nav-item {
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 9px;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s, background-color 0.2s;
}

.nav-item:hover .nav-link {
  color: #f5a623;
}

.nav-item.active .nav-link {
  background-color: #f5a623;
  color: #1a1a1a;
  font-weight: 700;
  border-radius: 4px;
  padding: 6px 14px;
  margin-right: 2px;
}

.nav-item.active:hover .nav-link {
  color: #1a1a1a;
}

.drop-icon {
  font-size: 10.5px;
  margin-left: 2px;
  opacity: 0.9;
}

/* Dropdown styling */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #FFFFFF;
  min-width: 195px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  border: 1px solid var(--border-color);
  border-radius: 0 0 4px 4px;
  z-index: 200;
}

.dropdown-menu li a {
  display: block;
  padding: 9px 15px;
  color: var(--text-main);
  font-size: 13px;
  border-bottom: 1px solid #F0F0F0;
  transition: background 0.2s, color 0.2s;
}

.dropdown-menu li a:hover {
  background-color: var(--light-cream);
  color: var(--primary-maroon);
  font-weight: 600;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
}

.nav-search-btn {
  background: none;
  border: none;
  color: #FFF;
  font-size: 13px;
  padding: 4px 6px;
  cursor: pointer;
  opacity: 0.9;
  transition: opacity 0.2s, color 0.2s;
}

.nav-search-btn:hover {
  opacity: 1;
  color: #f5a623;
}

.nav-contact-btn {
  background-color: #f5a623;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: background-color 0.2s, transform 0.2s;
}

.nav-contact-btn:hover {
  background-color: #f7b443;
  transform: translateY(-1px);
}

/* ------------------------------------------
   4. HERO SECTION
   ------------------------------------------ */
.hero-section {
  position: relative;
  height: 480px;
  overflow: hidden;
  background-color: var(--light-cream);
  border-bottom: 1px solid var(--border-color);
}

.hero-slider {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--light-cream);
  background-size: cover;
  background-position: right center;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.2) 4%, rgba(0,0,0,0.85) 12%, black 20%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.2) 4%, rgba(0,0,0,0.85) 12%, black 20%);
}

.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    #FFF9F0 0%,
    #FFF9F0 30%,
    rgba(255, 249, 240, 0.96) 36%,
    rgba(255, 249, 240, 0.35) 44%,
    rgba(255, 249, 240, 0) 52%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 54px;
}

.hero-card {
  max-width: 520px;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-tagline {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 10px;
}

.hero-heading {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary-maroon);
  line-height: 1.15;
  margin-bottom: 14px;
}

.highlight-gold {
  color: var(--gold-dark);
}

.hero-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 20px;
  max-width: 480px;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--deep-red);
  color: #FFF;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 4px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.18);
  transition: background 0.2s, transform 0.2s;
  align-self: flex-start;
}

.hero-cta-btn i {
  transition: transform 0.2s;
}

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

.hero-cta-btn:hover i {
  transform: translateX(4px);
}

.hero-features-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: nowrap;
}

.hero-feat-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-feat-item:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 28px;
  background-color: rgba(0, 0, 0, 0.15);
  margin-left: 14px;
}

.hero-feat-item i {
  color: #7b1113;
  font-size: 26px;
}

.feat-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.feat-text span {
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
}

/* Hero Navigation Arrows */
.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background-color: rgba(90, 9, 13);
  color: #FFF;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, transform 0.2s;
}

.hero-nav-arrow:hover {
  background-color: rgba(90, 9, 13, 0.85);
}

.hero-prev {
  left: 12px;
}

.hero-next {
  right: 12px;
}

/* Badge Ribbon - "Better Students / Brighter India" */
.hero-badge-ribbon {
  position: absolute;
  bottom: 10px;
  right: -20px;
  background-color: transparent;
  background-image: url('images/maroon_brush.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  color: #FFF;
  padding: 50px 70px 55px 60px;
  font-family: 'Dancing Script', cursive;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.4));
  z-index: 15;
  text-align: center;
  transform: rotate(-10deg);
}

.badge-line1 {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #FFF;
  line-height: 1.1;
}

.badge-line2 {
  display: block;
  font-size: 30px;
  font-weight: 700;
  color: #FFF;
  line-height: 1.1;
}

.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(122, 16, 22, 0.35);
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}

.slider-dots .dot.active {
  background-color: var(--primary-maroon);
  width: 24px;
  border-radius: 5px;
}

/* ------------------------------------------
   5. PRINCIPAL'S MESSAGE
   ------------------------------------------ */
.principal-section {
  padding: 34px 0;
  background-color: var(--warm-cream);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.principal-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/leaf-left.png');
  background-position: 70% center;
  background-repeat: no-repeat;
  background-size: 300px auto;
  opacity: 0.15;
  pointer-events: none;
}

.principal-grid {
  display: grid;
  grid-template-columns: 220px 1fr 190px;
  gap: 24px;
  align-items: center;
}

.principal-photo-frame {
  background: #FFF;
  padding: 6px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.principal-photo-frame img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 3px;
}

.section-sublabel {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--deep-red);
  display: block;
  margin-bottom: 2px;
}

.principal-title {
  font-size: 28px;
  font-weight: 700;
  color: #000;
  margin-bottom: 4px;
}

.principal-title em {
  font-style: italic;
  color: var(--primary-maroon);
}

.principal-quote-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.quote-symbol {
  font-family: Georgia, serif;
  font-size: 38px;
  line-height: 1;
  color: var(--primary-maroon);
  font-weight: 700;
}

.quote-line {
  height: 2px;
  width: 45px;
  background-color: var(--gold-yellow);
  display: inline-block;
}

.principal-text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-main);
  margin-bottom: 12px;
}

.principal-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.principal-author {
  /* margin removed */
}

.principal-author strong {
  display: block;
  font-size: 16.5px;
  color: var(--primary-maroon);
}

.principal-author .author-role {
  font-size: 14px;
  color: var(--text-secondary);
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--primary-maroon);
  color: #FFF;
  font-size: 14.5px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 3px;
  transition: background 0.2s, transform 0.2s;
}

.read-more-btn i {
  transition: transform 0.2s;
}

.read-more-btn:hover {
  background-color: var(--dark-burgundy);
  transform: translateY(-1px);
}

.read-more-btn:hover i {
  transform: translateX(3px);
}

.quote-decorative-card {
  position: relative;
  background-color: transparent;
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  border: 1px solid rgba(201, 138, 27, 0.25);
}

.quote-decorative-card::before {
  content: "";
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 15px;
  right: 15px;
  border: 1px solid rgba(201, 138, 27, 0.4);
  z-index: 0;
}

.quote-decorative-card::after {
  content: "";
  position: absolute;
  top: 11px;
  bottom: 11px;
  left: 11px;
  right: 11px;
  border: 1px solid transparent;
  background: 
    linear-gradient(#C98A1B, #C98A1B) top left / 12px 2px no-repeat,
    linear-gradient(#C98A1B, #C98A1B) top left / 2px 12px no-repeat,
    linear-gradient(#C98A1B, #C98A1B) top right / 12px 2px no-repeat,
    linear-gradient(#C98A1B, #C98A1B) top right / 2px 12px no-repeat,
    linear-gradient(#C98A1B, #C98A1B) bottom left / 12px 2px no-repeat,
    linear-gradient(#C98A1B, #C98A1B) bottom left / 2px 12px no-repeat,
    linear-gradient(#C98A1B, #C98A1B) bottom right / 12px 2px no-repeat,
    linear-gradient(#C98A1B, #C98A1B) bottom right / 2px 12px no-repeat;
  z-index: 0;
}

.card-quote-top, .card-quote-bottom {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 900;
  color: #C98A1B;
  line-height: 1;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--warm-cream);
  padding: 0 10px;
  z-index: 1;
  letter-spacing: 1px;
}

.card-quote-top {
  top: 3px;
}

.card-quote-bottom {
  bottom: 3px;
}

.quote-decorative-card h3 {
  font-family: var(--font-main);
  font-size: 22px;
  color: #7A1016;
  line-height: 1.4;
  margin: 0;
  font-weight: 600;
  z-index: 1;
  position: relative;
  letter-spacing: 0.5px;
}

/* ------------------------------------------
   6. THREE-COLUMN INFORMATION PANELS WITH SWIPER
   ------------------------------------------ */
.info-panels-section {
  padding: 32px 0;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
}

.info-panels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.panel-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.panel-header {
  background-color: #FFFFFF;
  padding: 12px 18px;
  border-bottom: 1px solid #F0E8E1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.trophy-bg {
  background-color: #FFF3D9;
  color: #D48806;
}

.cake-bg {
  background-color: #7A1016;
  color: #FFFFFF;
}

.panel-header h3 {
  font-size: 19px;
  font-weight: 800;
  color: #1A253C;
  letter-spacing: -0.2px;
}

.header-icon {
  color: var(--deep-red);
}

.view-all-link {
  font-size: 14px;
  font-weight: 700;
  color: #8E171C;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.view-all-link:hover {
  color: var(--primary-maroon);
  text-decoration: underline;
}

/* Notices Swiper Body */
.notices-swiper-body {
  padding: 12px 14px;
  height: 190px;
  overflow: hidden;
}

.noticesSwiper {
  height: 100%;
}

.notice-slide {
  height: auto !important;
}

.notice-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px dashed #EAEAEA;
}

.date-badge {
  background-color: #FDF0F0;
  border: 1px solid #F6D0D0;
  color: var(--deep-red);
  border-radius: 4px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.date-day {
  font-size: 19px;
  font-weight: 700;
}

.date-month {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 2px;
}

.notice-info a {
  font-size: 15px;
  color: var(--text-main);
  font-weight: 500;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notice-info a:hover {
  color: var(--primary-maroon);
}

/* Downloads Swiper Body */
.downloads-swiper-body {
  padding: 10px 14px;
  height: 190px;
  overflow: hidden;
}

.downloadsSwiper {
  height: 100%;
}

.download-slide {
  height: auto !important;
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 4px;
  border-bottom: 1px solid #F0F0F0;
  font-size: 15px;
  transition: background 0.2s;
}

.download-item:hover {
  background-color: #FFF9F7;
}

.pdf-icon {
  color: var(--deep-red);
  font-size: 18px;
  margin-right: 10px;
}

.download-title {
  flex-grow: 1;
  color: var(--text-main);
  font-weight: 500;
}

.download-btn {
  color: var(--text-secondary);
  padding: 3px 8px;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}

.download-btn:hover {
  color: var(--primary-maroon);
  background-color: var(--light-cream);
}

/* Video Gallery Column */
.video-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.video-thumbnail-container {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  height: 165px;
  background-color: #000;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.3s;
}

.video-thumbnail-container:hover .video-thumb {
  transform: scale(1.03);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background-color: var(--deep-red);
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  transition: transform 0.2s, background-color 0.2s;
}

.play-button i {
  margin-left: 3px;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.12);
  background-color: #E62117;
}

.video-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 6px;
}

.video-caption {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
}

.carousel-arrow {
  background: var(--light-gray);
  border: 1px solid var(--border-color);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-main);
  transition: background 0.2s, color 0.2s;
}

.carousel-arrow:hover {
  background: var(--primary-maroon);
  color: #FFF;
}

/* ------------------------------------------
   6.5 OUR TOPPERS & STUDENTS BIRTHDAY SECTION (SWIPER JS INFINITE LOOP)
   ------------------------------------------ */
.student-highlights-section {
  padding: 24px 0;
  background-color: var(--warm-cream);
  border-bottom: 1px solid var(--border-color);
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Toppers Panel */
.toppers-body {
  padding: 16px 12px;
  position: relative;
  background-color: #FFFFFF;
}

.toppersSwiper, .birthdaySwiper, .noticesSwiper, .downloadsSwiper {
  width: 100%;
  overflow: hidden;
  cursor: grab;
}

.toppersSwiper:active, .birthdaySwiper:active, .noticesSwiper:active, .downloadsSwiper:active {
  cursor: grabbing;
}

.noticesSwiper .swiper-wrapper,
.downloadsSwiper .swiper-wrapper,
.toppersSwiper .swiper-wrapper,
.birthdaySwiper .swiper-wrapper {
  transition-timing-function: linear !important;
  -webkit-transition-timing-function: linear !important;
}

.topper-slide, .birthday-slide {
  height: auto;
}

.topper-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Laurel Frame around Topper Photo */
.topper-laurel-frame {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.laurel-ring-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.topper-photo {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  border: 3px solid #E5A52B;
}

.rank-badge.rank-gold {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F3C35C 0%, #E5A52B 100%);
  color: #5A090D;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 5px rgba(0,0,0,0.25);
}

.topper-name {
  font-size: 13px;
  font-weight: 800;
  color: #1A253C;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 3px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.topper-score {
  font-size: 15.5px;
  font-weight: 800;
  color: #1A253C;
  line-height: 1.1;
  margin-bottom: 2px;
  text-align: center;
}

.topper-year {
  font-size: 12px;
  color: #8E171C;
  font-weight: 700;
  text-align: center;
  display: block;
}

/* Birthday Panel */
.birthday-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.birthday-dropdown-select {
  font-size: 11px;
  font-weight: 600;
  color: #1A253C;
  background-color: #FFFFFF;
  border: 1px solid #DCD0C7;
  border-radius: 5px;
  padding: 4px 10px;
  cursor: pointer;
  outline: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.birthday-body {
  padding: 16px 12px;
  position: relative;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
}

.balloon-graphics {
  position: absolute;
  top: 12px;
  z-index: 1;
  pointer-events: none;
}

.left-balloons {
  left: 10px;
}

.right-balloons {
  right: 10px;
}

.balloon {
  width: 14px;
  height: 18px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  display: inline-block;
  position: relative;
  margin-right: 4px;
}

.blue-1 { background-color: #42A5F5; transform: rotate(-10deg); }
.blue-2 { background-color: #90CAF9; transform: rotate(15deg); }
.red-1 { background-color: #EF5350; transform: rotate(10deg); }
.red-2 { background-color: #FF8A80; transform: rotate(-12deg); }

.side-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #7A1016;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  z-index: 20;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background 0.2s, transform 0.2s;
}

.side-arrow:hover {
  background-color: #5A090D;
  transform: translateY(-50%) scale(1.08);
}

.side-arrow.left { left: 4px; }
.side-arrow.right { right: 4px; }

.birthday-item-card {
  background: #FFFFFF;
  border: 1px solid #F0E8E1;
  border-radius: 6px;
  padding: 10px 4px 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.birthday-item-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.07);
}

.birthday-avatar-frame {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  padding: 3px;
  border: 3px solid #E5A52B;
  margin-bottom: 12px;
}

.birthday-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.birthday-student-name {
  font-size: 15px;
  font-weight: 700;
  color: #1A253C;
  line-height: 1.15;
  margin-bottom: 4px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.birthday-date-tag {
  font-size: 16px;
  font-weight: 700;
  color: #8E171C;
  text-align: center;
}

/* ------------------------------------------
   7. PHOTO GALLERY
   ------------------------------------------ */
.gallery-section {
  padding: 32px 0;
  background-color: var(--warm-cream);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-maroon);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-icon {
  color: var(--deep-red);
}

.gallery-wrapper {
  position: relative;
}

.gallerySwiper {
  overflow: hidden;
}

.gallerySwiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.gallery-item {
  height: 180px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: #FFF;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

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

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background-color: var(--dark-burgundy);
  color: #FFF;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  transition: background 0.2s, transform 0.2s;
}

.gallery-nav-btn:hover {
  background-color: var(--primary-maroon);
  transform: translateY(-50%) scale(1.08);
}

.gallery-nav-btn.prev {
  left: -16px;
}

.gallery-nav-btn.next {
  right: -16px;
}

/* ------------------------------------------
   8. RECENT ACHIEVEMENTS TICKER STRIP
   ------------------------------------------ */
.achievements-strip {
  background-color: #FDF7F0;
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  font-size: 14.5px;
}

.achievements-container {
  display: flex;
  align-items: center;
  gap: 15px;
  overflow: hidden;
}

.ticker-badge {
  background-color: var(--gold-yellow);
  color: #3A1800;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 13.5px;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  overflow-x: auto;
  color: var(--text-main);
}

.ticker-divider {
  color: var(--gold-dark);
  font-weight: 700;
}

/* ------------------------------------------
   9. QUICK LINKS SECTION (WITH ACCENT BORDERS)
   ------------------------------------------ */
.quick-links-section {
  padding: 32px 0;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}

.ql-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  border-radius: 4px;
  text-align: center;
  border: none;
  transition: transform 0.25s, box-shadow 0.25s;
}

.ql-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.09);
}

.ql-icon {
  font-size: 34px;
  margin-bottom: 8px;
}

.ql-title {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  line-height: 1.25;
}

.ql-blue { background-color: #EAF3FF; }
.ql-blue .ql-icon { color: #1E88E5; }

.ql-pink { background-color: #FFECEF; }
.ql-pink .ql-icon { color: #E91E63; }

.ql-green { background-color: #EAF8EF; }
.ql-green .ql-icon { color: #2E7D32; }

.ql-yellow { background-color: #FFF3D9; }
.ql-yellow .ql-icon { color: #F57F17; }

.ql-purple { background-color: #F2EAFE; }
.ql-purple .ql-icon { color: #7B1FA2; }

.ql-lightblue { background-color: #E3F2FD; }
.ql-lightblue .ql-icon { color: #0288D1; }

.ql-orange { background-color: #FFF3E0; }
.ql-orange .ql-icon { color: #E65100; }

.ql-mint { background-color: #E8F5E9; }
.ql-mint .ql-icon { color: #388E3C; }

/* ------------------------------------------
   10. ABOUT OUR SCHOOL
   ------------------------------------------ */
.about-section {
  padding: 34px 0;
  background-color: var(--warm-cream);
  border-bottom: 1px solid var(--border-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr 300px;
  gap: 24px;
  align-items: center;
}

.about-campus-img {
  width: 100%;
  height: 165px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.about-title-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.about-title-wrapper h2 {
  font-size: 26px;
  font-weight: 800;
  color: #1a1a2e; /* dark blue/black as in image */
}

.gold-line {
  height: 2px;
  width: 45px;
  background-color: #f5a623;
  margin-top: 2px;
}

.about-text {
  font-size: 15.5px;
  line-height: 1.6;
  color: #4b5563; /* slightly lighter text */
  margin-bottom: 16px;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #800000;
  color: #FFF;
  font-size: 14.5px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 6px; /* rounded corners as in image */
  transition: background 0.2s, transform 0.2s;
}

.about-btn i {
  transition: transform 0.2s;
}

.about-btn:hover {
  background-color: var(--dark-burgundy);
  transform: translateY(-1px);
}

.about-btn:hover i {
  transform: translateX(3px);
}

.features-box {
  background-color: #f8fafc; /* very light blue/grey */
  border-radius: 6px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px; /* spacing between items */
}

.feat-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.feat-icon {
  font-size: 24px; /* larger icons */
}

.icon-green { color: #16a34a; }
.icon-teal { color: #0d9488; }
.icon-purple { color: #a855f7; }
.icon-blue { color: #2563eb; }

.feat-name {
  font-size: 15.5px;
  font-weight: 600;
  color: #334155;
}

/* ------------------------------------------
   11. ADMISSION CTA STRIP
   ------------------------------------------ */
.admission-cta-strip {
  background-color: var(--primary-maroon);
  color: #FFFFFF;
  padding: 22px 0;
  border-bottom: 1px solid var(--dark-burgundy);
}

.admission-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.admission-text h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold-yellow);
  margin-bottom: 4px;
}

.admission-text p {
  font-size: 15.5px;
  color: #F5EAE0;
}

.admission-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cta-gold-btn {
  background-color: var(--gold-yellow);
  color: #3A1800;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 3px;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background 0.2s;
}

.cta-gold-btn:hover {
  background-color: #f1b748;
}

.cta-outline-btn {
  background-color: transparent;
  border: 1.5px solid #FFFFFF;
  color: #FFFFFF;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 3px;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, color 0.2s;
}

.cta-outline-btn:hover {
  background-color: #FFFFFF;
  color: var(--primary-maroon);
}

/* ------------------------------------------
   12. INSTITUTIONAL BURGUNDY FOOTER
   ------------------------------------------ */
.main-footer {
  background-color: var(--dark-burgundy);
  color: #F5EAE0;
  padding-top: 32px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1fr 1.2fr;
  padding-bottom: 28px;
}

.footer-col {
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-col:first-child {
  padding-left: 0;
}

.footer-col:last-child {
  padding-right: 0;
  border-right: none;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.footer-logo {
  height: 120px;
  width: auto;
  object-fit: contain;
}

.footer-brand-text h3 {
  font-size: 19px;
  font-weight: 700;
  color: #FFF;
}

.footer-slogan {
  font-family: var(--font-hindi);
  font-size: 14px;
  color: var(--gold-yellow);
}

.footer-desc-text {
  font-size: 14px;
  line-height: 1.5;
  color: #D6C4B8;
  margin-top: 8px;
}

.footer-heading {
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.footer-quick-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

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

.footer-links a {
  font-size: 14.5px;
  color: #D6C4B8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, transform 0.2s;
}

.footer-links a i {
  font-size: 12px;
  color: var(--gold-yellow);
}

.footer-links a:hover {
  color: var(--gold-yellow);
  transform: translateX(2px);
}

.contact-info-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: #D6C4B8;
  margin-bottom: 9px;
  line-height: 1.45;
}

.contact-icon {
  color: #FFFFFF;
  font-size: 16px;
  margin-top: 2px;
}

.footer-social-btns {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.social-sq {
  width: 28px;
  height: 28px;
  border-radius: 3px;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: transform 0.2s;
}

.social-sq:hover {
  transform: translateY(-2px);
}

.social-sq.youtube { background-color: transparent; width: auto; height: auto; display: block; }
.social-sq.facebook { background-color: #1877F2; }

/* Map card mock */
.map-card-wrapper {
  background-color: #FFF;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.map-embed-placeholder {
  background-color: #E5E3DF;
  height: 155px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px;
  font-size: 12.5px;
  position: relative;
}

.map-header-bar {
  background: rgba(255,255,255,0.92);
  padding: 4px 8px;
  border-radius: 3px;
  color: #1A73E8;
  font-weight: 600;
  width: max-content;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.map-graphic {
  text-align: center;
}

.map-pin {
  color: #EA4335;
  font-size: 28px;
}

.map-pin-label {
  display: block;
  font-weight: 700;
  color: #202124;
  background: rgba(255,255,255,0.9);
  padding: 3px 6px;
  border-radius: 3px;
  width: max-content;
  margin: 3px auto 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.map-footer-bar {
  display: flex;
  justify-content: space-between;
  color: #5F6368;
  font-size: 11.5px;
}

.google-logo {
  font-weight: 700;
  color: #4285F4;
}

/* Bottom Footer Bar */
.footer-bottom-strip {
  padding: 12px 0;
  font-size: 13.5px;
  color: #B59F93;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.heart-icon {
  color: #E62117;
  font-size: 13px;
}

/* ------------------------------------------
   RESPONSIVE DESIGN BREAKPOINTS
   ------------------------------------------ */
@media (max-width: 1024px) {
  .main-header {
    padding: 10px 0;
  }
  .header-container {
    padding: 0 20px;
  }
  .header-left-col {
    flex: 0 0 120px;
  }
  .school-logo {
    height: 85px;
  }
  .hindi-title {
    font-size: 24px;
  }
  .english-title {
    font-size: 14.5px;
  }
  .cbse-affil-text {
    font-size: 11.5px;
  }
  .address-text {
    font-size: 11px;
  }
  .header-right-col {
    flex: 0 0 200px;
    gap: 8px;
  }
  .vb-main {
    font-size: 20px;
  }
  .vb-sub {
    font-size: 12.5px;
  }
  .vb-tagline {
    font-size: 10.5px;
  }
  .vb-logo {
    height: 85px;
  }
  .hero-section {
    height: 480px;
  }
  .hero-heading {
    font-size: 44px;
  }
  .hero-card {
    max-width: 440px;
  }
  .hero-container {
    padding: 0 44px;
  }
  .hero-bg-img {
    width: 56%;
  }
  .slide::before {
    width: 100%;
    background: linear-gradient(
      90deg,
      #FFF9F0 0%,
      #FFF9F0 40%,
      rgba(255, 249, 240, 0.94) 48%,
      rgba(255, 249, 240, 0.35) 58%,
      rgba(255, 249, 240, 0) 68%
    );
  }
  .hero-badge-ribbon {
    transform: scale(0.8);
    transform-origin: bottom right;
    right: -10px;
    bottom: 5px;
  }
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  .quick-links-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  .footer-col {
    padding: 20px 0;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .footer-col:last-child {
    border-bottom: none;
  }
  .about-grid {
    grid-template-columns: 240px 1fr;
  }
  .about-features-col {
    grid-column: span 2;
  }
  .admission-container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .top-bar {
    height: auto;
    padding: 4px 0;
  }
  .top-bar-left {
    display: none;
  }
  .top-bar-container {
    justify-content: center;
    padding: 0 10px;
  }
  .top-bar-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 12px;
    font-size: 11.5px;
  }
  .student-login-btn {
    padding: 3px 9px;
    font-size: 11.5px;
  }
  .main-header {
    padding: 12px 0;
  }
  .main-header::before {
    display: none;
  }
  .header-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 0 14px;
  }
  .header-left-col {
    justify-content: center;
    flex: none;
  }
  .school-logo {
    height: 64px;
    width: auto;
  }
  .header-center-col {
    padding: 0;
    max-width: 100%;
  }
  .hindi-title {
    font-size: 21px;
    line-height: 1.25;
    margin-bottom: 2px;
    letter-spacing: 0;
  }
  .english-title {
    font-size: 13.5px;
    line-height: 1.3;
    margin-bottom: 3px;
  }
  .cbse-affil-text {
    font-size: 11.5px;
    line-height: 1.2;
  }
  .address-text {
    font-size: 11px;
    line-height: 1.2;
    color: #555;
    margin-top: 1px;
  }
  .header-right-col {
    justify-content: center;
    align-items: center;
    flex: none;
    gap: 8px;
    margin-top: 4px;
    padding-top: 6px;
    border-top: 1px dashed rgba(122, 16, 22, 0.2);
    width: 100%;
    max-width: 320px;
  }
  .vb-text-group {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 8px;
  }
  .vb-main {
    font-size: 14px;
    line-height: 1.1;
  }
  .vb-sub {
    font-size: 12px;
    line-height: 1.1;
    margin-top: 0;
  }
  .vb-tagline {
    font-size: 11px;
    width: 100%;
    margin-top: 2px;
    white-space: normal;
  }
  .vb-logo {
    height: 36px;
    width: auto;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--primary-maroon);
    height: auto;
    z-index: 100;
  }
  .nav-menu.show {
    display: flex;
  }
  .nav-item {
    width: 100%;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    background-color: var(--dark-burgundy);
  }
  .dropdown-menu li a {
    color: #FFF;
  }
  .hero-section {
    height: auto;
    min-height: 490px;
    padding: 0;
    overflow: hidden;
  }
  .hero-slider {
    min-height: 490px;
  }
  .slide {
    height: 100%;
  }
  .slide::before {
    width: 100%;
    background: linear-gradient(
      90deg,
      rgba(255,249,240,0.97) 0%,
      rgba(255,249,240,0.94) 55%,
      rgba(255,249,240,0.88) 100%
    );
  }
  .hero-bg-img {
    width: 100%;
    opacity: 0.22;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-container {
    height: 100%;
    padding: 24px 16px;
  }
  .hero-card {
    max-width: 100%;
    padding: 10px 0;
  }
  .hero-tagline {
    font-size: 11.5px;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
  }
  .hero-heading {
    font-size: 32px;
    line-height: 1.18;
    margin-bottom: 12px;
  }
  .hero-desc {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 18px;
    max-width: 100%;
  }
  .hero-cta-btn {
    padding: 10px 20px;
    font-size: 13.5px;
  }
  .hero-features-row {
    margin-top: 20px;
    gap: 12px;
  }
  .hero-feat-item {
    gap: 8px;
  }
  .hero-feat-item i {
    font-size: 20px;
  }
  .hero-feat-item:not(:last-child)::after {
    display: none;
  }
  .hero-nav-arrow {
    display: none;
  }
  .hero-badge-ribbon {
    display: none;
  }
  .principal-grid {
    grid-template-columns: 1fr;
  }
  .info-panels-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .quick-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .main-header {
    padding: 10px 0;
  }
  .header-container {
    gap: 4px;
    padding: 0 10px;
  }
  .school-logo {
    height: 52px;
  }
  .hindi-title {
    font-size: 18px;
    line-height: 1.25;
  }
  .english-title {
    font-size: 12px;
    line-height: 1.3;
  }
  .cbse-affil-text {
    font-size: 10.5px;
  }
  .address-text {
    font-size: 10px;
  }
  .header-right-col {
    max-width: 270px;
    gap: 6px;
  }
  .vb-main {
    font-size: 13px;
  }
  .vb-sub {
    font-size: 11px;
  }
  .vb-tagline {
    font-size: 10px;
  }
  .vb-logo {
    height: 30px;
  }
  .hero-section {
    min-height: 520px;
  }
  .hero-slider {
    min-height: 520px;
  }
  .hero-heading {
    font-size: 26px;
    line-height: 1.22;
  }
  .hero-desc {
    font-size: 13px;
    line-height: 1.5;
  }
  .hero-features-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
  }
  .feat-text span {
    font-size: 11px;
  }
  .hero-nav-arrow {
    display: none;
  }
}

/* ================================================
   CONTENT PAGE STYLES
   Typography, Tables, Sidebar, Breadcrumb, Alerts
   ================================================ */

/* BREADCRUMB BAR */
.breadcrumb-bar {
  background-color: #FDF7F0;
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  font-size: 14px;
}

.breadcrumb-list li a {
  color: var(--primary-maroon);
  font-weight: 600;
  transition: color 0.2s;
}

.breadcrumb-list li a:hover {
  color: var(--gold-dark);
}

.breadcrumb-list .separator {
  color: #B0A090;
  font-size: 10px;
  margin: 0 8px;
}

.breadcrumb-list .active {
  color: #666;
  font-weight: 500;
}

/* PAGE TITLE BANNER */
.page-title-banner {
  background: linear-gradient(135deg, #5A090D 0%, #7B1113 50%, #4a0d0e 100%);
  color: #FFFFFF;
  padding: 36px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-title-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/leaf-left.png');
  background-position: right center;
  background-repeat: no-repeat;
  background-size: 200px auto;
  opacity: 0.08;
  pointer-events: none;
}

.page-main-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 4px;
  position: relative;
}

.page-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
  position: relative;
}

/* MAIN CONTENT LAYOUT */
.content-page-main {
  padding: 32px 0 48px;
  background-color: #FFFFFF;
  width: 100%;
  overflow-x: clip;
}

.content-layout {
  display: block;
  max-width: 1050px;
  margin: 0 auto;
  width: 100%;
}

.content-body {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

/* CONTENT BODY */
.content-section {
  margin-bottom: 44px;
  width: 100%;
  max-width: 100%;
  text-align: center;
}

.content-heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
  text-align: center;
}

.content-heading i {
  font-size: 20px;
  color: var(--gold-dark);
}

.content-divider {
  height: 3px;
  width: 80px;
  background: var(--gold-primary, #C59B27);
  margin: 16px auto 24px auto;
  border-radius: 2px;
}

.content-subheading {
  font-size: 19px;
  font-weight: 700;
  color: #1A253C;
  margin-bottom: 12px;
}

/* TYPOGRAPHY DEMOS */
.typo-demo {
  color: #1A253C;
  margin-bottom: 10px;
  font-weight: 700;
  border-left: 3px solid var(--gold-yellow);
  padding-left: 12px;
}

h1.typo-demo { font-size: 32px; }
h2.typo-demo { font-size: 26px; }
h3.typo-demo { font-size: 22px; }
h4.typo-demo { font-size: 18px; }
h5.typo-demo { font-size: 16px; }
h6.typo-demo { font-size: 14px; }

/* PARAGRAPH & TEXT */
.content-text {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 16px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.content-link {
  color: var(--primary-maroon);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.content-link:hover {
  color: var(--gold-dark);
}

mark {
  background-color: #FFF3D9;
  padding: 1px 4px;
  border-radius: 2px;
}

/* BLOCKQUOTE */
.content-blockquote {
  background-color: #FDF7F0;
  border-left: 4px solid var(--primary-maroon);
  padding: 20px 24px;
  border-radius: 0 6px 6px 0;
  position: relative;
  margin: 16px 0;
}

.content-blockquote .quote-icon {
  color: var(--gold-dark);
  font-size: 18px;
  margin-bottom: 6px;
  display: block;
}

.content-blockquote p {
  font-size: 16px;
  font-style: italic;
  color: #333;
  line-height: 1.7;
  margin-bottom: 8px;
}

.content-blockquote cite {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-maroon);
  font-style: normal;
}

/* LISTS */
.lists-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

.list-label {
  font-size: 15px;
  font-weight: 700;
  color: #555;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.content-ordered-list,
.content-unordered-list {
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

.content-ordered-list li,
.content-unordered-list li {
  margin-bottom: 4px;
}

.content-unordered-list {
  list-style: none;
  padding-left: 0;
}

.content-unordered-list li::before {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px;
  color: var(--primary-maroon);
  margin-right: 8px;
}

/* ALERT / NOTICE BOXES */
.content-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 12px;
  font-size: 14.5px;
  line-height: 1.5;
  border-left: 4px solid;
}

.alert-icon {
  font-size: 18px;
  margin-top: 1px;
  flex-shrink: 0;
}

.alert-info {
  background-color: #EAF3FF;
  border-left-color: #1E88E5;
  color: #1565C0;
}
.alert-info .alert-icon { color: #1E88E5; }

.alert-success {
  background-color: #E8F5E9;
  border-left-color: #2E7D32;
  color: #1B5E20;
}
.alert-success .alert-icon { color: #2E7D32; }

.alert-warning {
  background-color: #FFF3E0;
  border-left-color: #E65100;
  color: #BF360C;
}
.alert-warning .alert-icon { color: #E65100; }

.alert-danger {
  background-color: #FFEBEE;
  border-left-color: #C62828;
  color: #B71C1C;
}
.alert-danger .alert-icon { color: #C62828; }

/* ================================================
   TABLES
   ================================================ */
.table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  display: block;
}

.content-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  font-size: 14px;
}

.content-table thead {
  background: linear-gradient(135deg, #5A090D 0%, #7B1113 100%);
  color: #FFFFFF;
}

.content-table thead th {
  padding: 12px 14px;
  font-weight: 700;
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.content-table thead th:last-child {
  border-right: none;
}

.content-table tbody td {
  padding: 11px 16px;
  color: #333;
  border-bottom: 1px solid #F0E8E0;
  vertical-align: middle;
  text-align: center;
}

.content-table tbody tr:last-child td {
  border-bottom: none;
}

.content-table tbody tr:hover {
  background-color: #FDF7F0;
}

.highlight-cell {
  font-weight: 700;
  color: var(--primary-maroon);
}

/* Striped Table Variant */
.table-striped tbody tr:nth-child(even) {
  background-color: #FAF5EF;
}

.table-striped tbody tr:nth-child(even):hover {
  background-color: #F5EBE0;
}

/* Bordered Table Variant */
.table-bordered {
  border: 1px solid var(--border-color);
}

.table-bordered th,
.table-bordered td {
  border: 1px solid var(--border-color);
}

.table-bordered thead th {
  border-bottom: 2px solid var(--border-color);
}

/* Table Badges & Footer */
.table-badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.table-badge.badge-primary {
  background-color: #FDF0E6;
  color: var(--primary-maroon);
  border: 1px solid rgba(123, 17, 19, 0.2);
}
.table-badge.badge-success {
  background-color: #E8F5E9;
  color: #2E7D32;
}

.content-table tfoot td {
  background-color: #FAF4EE;
  font-weight: 700;
  color: #1A253C;
  border-top: 2px solid var(--border-color);
  padding: 12px 16px;
  text-align: center;
}

/* ================================================
   CONTENT IMAGES & GALLERIES
   ================================================ */
.content-featured-img {
  max-width: 860px;
  margin: 20px auto 24px auto;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  background: #FFF;
}

.content-featured-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.content-featured-img .img-caption {
  padding: 12px 18px;
  font-size: 14px;
  color: #555;
  background-color: #FDFAF6;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.content-featured-img .img-caption i {
  color: var(--gold-dark);
}

/* 3-Column Image Grid */
.content-img-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 24px;
  width: 100%;
}

.content-img-item {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.content-img-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.content-img-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.content-img-item .item-caption {
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #333;
  background-color: #FDFAF6;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 6px;
}

.content-img-item .item-caption i {
  color: var(--primary-maroon);
  font-size: 12px;
}

@media (max-width: 768px) {
  .content-img-grid {
    grid-template-columns: 1fr;
  }
  .content-featured-img img {
    height: 220px;
  }
}

/* ================================================
   SIDEBAR
   ================================================ */
.content-sidebar {
  position: sticky;
  top: 20px;
}

.sidebar-card {
  background-color: #FDF7F0;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 16px;
}

.sidebar-principal-photo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  margin-bottom: 10px;
}

.sidebar-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-maroon);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold-yellow);
}

.sidebar-heading i {
  color: var(--gold-dark);
}

.sidebar-list {
  list-style: none;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.sidebar-list li {
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.sidebar-icon {
  color: var(--primary-maroon);
  font-size: 13px;
  margin-top: 3px;
  flex-shrink: 0;
}

.sidebar-links {
  list-style: none;
}

.sidebar-links li {
  margin-bottom: 6px;
}

.sidebar-links a {
  font-size: 14px;
  color: #444;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  transition: color 0.2s, padding-left 0.2s;
}

.sidebar-links a i {
  font-size: 10px;
  color: var(--primary-maroon);
  transition: transform 0.2s;
}

.sidebar-links a:hover {
  color: var(--primary-maroon);
  padding-left: 4px;
}

.sidebar-links a:hover i {
  transform: translateX(3px);
}

/* Sidebar CTA */
.sidebar-cta {
  background: linear-gradient(135deg, #5A090D 0%, #7B1113 100%);
  color: #FFFFFF;
  border: none;
}

.sidebar-cta .sidebar-heading {
  color: #FFFFFF;
  border-bottom-color: rgba(255,255,255,0.25);
}

.sidebar-cta .sidebar-heading i {
  color: var(--gold-yellow);
}

.sidebar-cta p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
  margin-bottom: 14px;
}

.sidebar-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--gold-yellow);
  color: #1A1A1A;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 4px;
  transition: background 0.2s, transform 0.2s;
}

.sidebar-btn:hover {
  background-color: #F7B443;
  transform: translateY(-1px);
}

/* ================================================
   FACULTY TABLE STYLES
   ================================================ */
.faculty-photo-cell {
  width: 110px;
  text-align: center;
}

.faculty-thumb {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold-yellow);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.14);
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.faculty-thumb:hover {
  transform: scale(1.08);
}

.faculty-avatar-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FAF0E6 0%, #F5E6D3 100%);
  color: var(--primary-maroon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: 2px solid var(--gold-yellow);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* CONTENT PAGE RESPONSIVE */
@media (max-width: 992px) {
  .content-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .content-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-main-title {
    font-size: 24px;
  }

  .page-subtitle {
    font-size: 14px;
    padding: 0 10px;
  }

  .content-heading {
    font-size: 20px;
    gap: 8px;
  }

  .content-text {
    font-size: 14px;
    line-height: 1.7;
    padding: 0 4px;
  }

  .content-featured-img img {
    height: 220px;
  }

  .faculty-thumb {
    width: 58px;
    height: 58px;
  }

  .faculty-photo-cell {
    width: 80px;
  }

  .lists-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .content-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .content-img-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .content-table {
    font-size: 13px;
  }

  .content-table thead th,
  .content-table tbody td {
    padding: 8px 10px;
  }
}

