:root {
  --theme-primary: #89106e;      /* Deep Plum / Magenta */
  --theme-secondary: #c41e3a;    /* Carmine Red */
  --theme-gold: #dfbd69;         /* Accent Seal Gold */
  --gradient-color: #891167;     /* Header Base Accent */
  --gradient-color1: #411b70;    /* Medium Violet Accent */
  --extra-color: #1a0833;        /* Midnight Violet */
  --cream-bg: #F5E6CA;          /* Champagne Ivory Canvas */
  --accent: #c41e3a;
  --primary-light: #F5E6CA;      /* Champagne Accent Light */
}

/* Enforce strict viewport bounds to eliminate horizontal swinging */
html, body {

  margin: 0;
  padding: 0;
  overflow-x: hidden !important;
  scroll-behavior: smooth;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  font-family: 'Rubik', sans-serif;
  background-color: var(--cream-bg);
  position: relative;
}

h1, h2, h3, h4, h5 {
  color: var(--theme-primary);
  font-family: 'Cinzel', serif;
}

h6 {
  color: #111827;
  font-family: 'Cinzel', serif;
}

a { 
  color: var(--theme-primary); 
}

/* =================== NAVBAR (FIXED ON ALL SCREENS) =================== */
.main-header {
  position: relative;
  display: block;
  width: 100%;
  z-index: 9999;
  clear: both;
}

.yello-bar-icon {
  width: 100%;
  position: fixed;
  z-index: 10001;
  top: 10px;
  max-width: 1200px;
  left: 50%;
  transform: translateX(-50%);
}

.yello-bar-icon ul { 
  float: right; 
  margin: 0; 
  padding: 0; 
}

.yello-bar-icon ul li {
  display: inline-block;
  padding: 4px 0;
  list-style: none;
}

.yello-bar-icon ul li a {
  padding: 0px 12px;
  text-decoration: none;
  color: var(--theme-secondary);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Desktop Fixed Floating Bar */
.navbar-wrapper1 {
  background: var(--gradient-color);
  border: 2px solid var(--theme-gold);
  border-radius: 14px;
  position: fixed;
  top: 52px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  width: 90%;
  max-width: 1200px;
  padding: 10px 0px;
  box-shadow: 0 10px 30px rgba(137, 16, 110, 0.45);
  transition: all 0.3s ease;
}

.navbar { 
  padding: 0; 
}

.navbar-expand-lg .navbar-nav .nav-link { 
  padding: 10px 12px; 
}

.nav-link {
  color: #fff !important;
  padding: 10px 16px;
  transition: all 0.25s;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-link:hover {
  background-color: var(--theme-secondary);
  border-radius: 8px;
  color: #fff !important;
}

.navbar-brand {
  display: flex;
  align-items: center;
  color: white;
  border: 1px solid var(--theme-gold);
  width: 40px;
  height: 40px;
  justify-content: center;
  border-radius: 50%;
  margin: 0px;
  background: rgba(255, 255, 255, 0.08);
}

#navbarNav { 
  margin: 0px 15px; 
}

.logo-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  text-align: center;
  z-index: 1002;
  pointer-events: auto;
}

.logo-center .crest-box {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: #F5E6CA;
  padding: 4px;
  border: 3px solid var(--theme-gold);
  box-shadow: 0 8px 25px rgba(0,0,0,0.35);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.logo-center:hover .crest-box {
  transform: scale(1.05);
}

.logo-center .crest-box img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.dropdown-menu {
  width: 260px !important;
  background: #F5E6CA;
  border: 1px solid var(--theme-gold);
  border-radius: 10px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s ease-out;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.dropdown-item {
  color: #111827 !important;
  padding: 8px 12px;
  transition: 0.2s;
  white-space: normal;
}

.dropdown-item:hover {
  background-color: var(--theme-secondary) !important;
  color: #ffffff !important;
  border-radius: 6px;
}

.nav-item.dropdown:hover > .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-margin-top { 
  margin-top: 15% !important; 
}

/* =================== HERO & CAROUSEL =================== */
.hero {
  min-height: 100vh;
  background: url('../images/hero.png') center top / cover no-repeat;
  background-attachment: scroll;
  padding-top: 60px;
  padding-bottom: 0 !important;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

@keyframes cinematicZoom {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.custom-slider {
  overflow: hidden;
  border: 2px solid var(--theme-gold);
  position: relative;
}

.slider-img {
  height: 380px;
  width: 100%;
  object-fit: cover;
  animation: cinematicZoom 20s ease-in-out infinite;
}

.custom-slider .custom-ctrl,
.custom-slider .carousel-control-prev,
.custom-slider .carousel-control-next {
  width: 48px;
  height: 48px;
  background: rgba(137, 16, 110, 0.7) !important;
  border: 1px solid var(--theme-gold);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 15px;
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.25s ease;
}

.custom-slider:hover .custom-ctrl,
.custom-slider:hover .carousel-control-prev,
.custom-slider:hover .carousel-control-next {
  opacity: 1 !important;
  visibility: visible;
  pointer-events: auto;
}

.custom-ctrl:hover {
  background: var(--theme-secondary) !important;
  color: white;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--theme-gold);
}

.creative-brand-ribbon {
  position: absolute;
  bottom: 30px;
  right: -10px;
  z-index: 20;
  filter: drop-shadow(-5px 5px 15px rgba(0, 0, 0, 0.4));
}

.ribbon-content {
  background: var(--theme-primary);
  padding: 12px 35px;
  transform: skewX(-15deg);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-left: 6px solid var(--theme-secondary);
}

.ribbon-text {
  display: block;
  transform: skewX(15deg);
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.btn-motto-red {
  background: var(--theme-secondary);
  color: #fff !important;
  border: 1px solid var(--theme-gold);
  transition: 0.3s;
}

.btn-motto-red:hover {
  background: #9c122b;
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  border: 1px solid var(--theme-gold);
  transition: 0.3s;
}

.btn-outline-gold:hover {
  background: var(--theme-gold);
  color: var(--theme-primary) !important;
  transform: translateY(-2px);
}

/* =================== NEWS SECTION =================== */
.section-news-padding {
  padding: 60px 0;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.news-heading {
  text-transform: uppercase;
  font-weight: 800;
  color: var(--theme-primary);
}

.news-card {
  border-radius: 60px;
  padding: 8px 14px 8px 8px;
  box-shadow: 0 8px 20px rgba(137, 16, 110, 0.08);
  border: 1px solid var(--theme-gold);
  width: 93%;
  background: #F5E6CA;
}

.news-card .d-flex > div:last-child {
  min-width: 0;
  flex: 1;
}

.news-card h6 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  margin-bottom: 2px;
}

.news-card p.small {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-card .side-round {
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
  width: 85px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  border-radius: 50%;
  border: 2px solid var(--theme-gold);
  flex-shrink: 0;
}

.side-round h1 { color: #fff; margin: 0; font-size: 1.6rem; }
.side-round p { color: #fff; font-size: 11px; margin: 0; text-transform: uppercase; }

#news-slider-section .btn-prev,
#news-slider-section .btn-next {
  border: 1px solid var(--theme-gold);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 14px;
  background: var(--theme-primary);
  color: #fff;
  transition: 0.3s;
}

#news-slider-section .btn-prev:hover,
#news-slider-section .btn-next:hover {
  background: var(--theme-secondary);
}

.news-text-white {
  position: absolute;
  width: 520px;
  height: 100%;
  background: #F5E6CA;
  right: -150px;
  top: 0px;
  border-radius: 24px;
  z-index: -1;
  border: 1px solid #dfbd69;
}

.viewall-gallery {
  color: var(--theme-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s;
}

.viewall-gallery:hover { color: var(--theme-primary); }

.hero-building-cutout {
  width: 100%;
  margin-top: auto;
  line-height: 0;
  display: block;
}

.hero-building-cutout img {
  width: 100%;
  display: block;
  vertical-align: bottom;
  object-fit: cover;
}

/* =================== ABOUT US (BENTO GRID) =================== */
.about-section {
  padding: 60px 0;
  background-color: var(--cream-bg);
  overflow: hidden;
}

.bento-container { 
  display: flex; 
  gap: 16px; 
  width: 100%; 
  justify-content: center; 
}

.bento-column { 
  display: flex; 
  flex-direction: column; 
  gap: 16px; 
}

.featured-box {
  width: 350px;
  height: 500px;
  border-radius: 25px;
  overflow: hidden;
  border: 2px solid var(--theme-gold);
  transition: transform 0.3s, border-color 0.3s;
}

.video-box {
  width: 250px;
  height: 242px;
  border-radius: 25px;
  overflow: hidden;
  border: 1px solid #ddd;
  background: #000;
  transition: transform 0.3s, border-color 0.3s;
}

.bento-item img, .bento-item video { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
}

.bento-item:hover { 
  transform: translateY(-4px); 
  border-color: var(--theme-secondary); 
}

.btn-santhome {
  padding: 10px 24px;
  border-radius: 50rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  transition: 0.3s;
}

.btn-admission {
  background-color: var(--theme-primary);
  color: #fff;
  border: 1px solid var(--theme-gold);
}

.btn-admission:hover { background-color: var(--theme-secondary); color: #fff; }

.btn-read-more-custom {
  border: 2px solid var(--theme-primary);
  color: var(--theme-primary);
  background: transparent;
}

.btn-read-more-custom:hover { background: var(--theme-primary); color: #fff; }

/* =================== LEADERSHIP =================== */
.leadership-section {
  background-color: var(--theme-primary);
  padding: 60px 0;
  color: #fff;
  overflow: hidden;
  position: relative;
}

.heading-container { text-align: center; margin-bottom: 40px; }
.title-heading {
  font-family: 'Cinzel', serif;
  font-size: 2.3rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
}

.heading-separator {
  width: 220px;
  height: 3px;
  background-color: var(--theme-secondary);
  margin: 10px auto 0;
  position: relative;
}

.heading-separator::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 25%;
  width: 50%;
  height: 3px;
  background-color: var(--theme-gold);
}

.custom-blockquote {
  border-left: 5px solid var(--theme-secondary);
  padding-left: 25px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
}

.leader-info-footer h5 { color: var(--theme-gold); margin: 0; font-weight: 700; }
.leader-info-footer p { color: #f1e5d1; margin: 0; font-size: 0.85rem; text-transform: uppercase; }

.leadership-section .author-row {
  position: relative;
  z-index: 5;
}

.viewall-gallery1 {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--theme-gold);
  padding: 8px 20px;
  border-radius: 50px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 6;
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
}

.viewall-gallery1:hover { 
  background: var(--theme-secondary); 
  border-color: var(--theme-secondary); 
  color: #fff; 
}

.portrait-container {
  display: flex;
  align-items: center;
  gap: 25px;
}

.main-img-frame {
  width: 350px;
  height: 350px;
  border-radius: 20px;
  border: 4px solid var(--theme-gold);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.main-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.side-thumbnails { display: flex; flex-direction: column; gap: 12px; }

.thumb-nav {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  border: 3px solid var(--theme-secondary);
  cursor: pointer;
  overflow: hidden;
  opacity: 0.6;
  transition: 0.3s;
}

.thumb-nav.active, .thumb-nav:hover {
  opacity: 1;
  transform: scale(1.1);
  border-color: var(--theme-gold);
}

.thumb-nav img { width: 100%; height: 100%; object-fit: cover; }

/* =================== GALLERY & BIRTHDAY =================== */
.gallery-birthday {
  padding: 60px 0;
  background-color: var(--cream-bg);
  overflow: hidden;
}
.heading-container1 { text-align: center; margin-bottom: 30px; }
.title-heading1 {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--theme-primary);
}

.heading-separator1 {
  width: 180px;
  height: 3px;
  background-color: var(--theme-secondary);
  margin: 8px auto 0;
}

.gallery-showcase-box {
  background: rgba(137, 16, 110, 0.04);
  border: 1.5px solid var(--theme-gold);
  border-radius: 28px;
  padding: 24px 20px;
  box-shadow: 0 12px 30px rgba(137, 16, 110, 0.08);
}

.gallery-swiper {
  width: 100%;
  padding-top: 10px;
  padding-bottom: 25px;
}

.gallery-swiper-slide {
  border-radius: 20px;
  border: 2px solid var(--theme-gold);
  overflow: hidden;
  position: relative;
  height: 340px;
  box-shadow: 0 12px 28px rgba(43, 18, 76, 0.18);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-swiper-slide:hover img {
  transform: scale(1.08);
}

.gallery-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(43, 18, 76, 0.92) 0%, rgba(43, 18, 76, 0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.gallery-tag {
  background: var(--theme-primary);
  border: 1px solid var(--theme-gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 6px;
  align-self: flex-start;
}

.gallery-title {
  color: #ffffff;
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.gallery-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  padding: 0 5px;
}

.gal-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--theme-primary);
  background: #F5E6CA;
  color: var(--theme-primary);
  transition: 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.gal-btn:hover {
  background: var(--theme-primary);
  color: #fff;
  transform: translateY(-2px);
  border-color: var(--theme-gold);
}

.gallery-swiper .swiper-pagination-bullet {
  background: var(--theme-primary);
  opacity: 0.35;
}

.gallery-swiper .swiper-pagination-bullet-active {
  background: var(--theme-primary);
  opacity: 1;
  width: 22px;
  border-radius: 6px;
}

/* =================== BIRTHDAY CARD =================== */
.birthday-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: #F5E6CA;
  padding: 30px 25px;
  border-radius: 24px;
  border: 1.5px solid var(--theme-gold);
  box-shadow: 0 10px 30px rgba(137, 16, 110, 0.08);
  height: 480px;
}

.bday-svg-decoration {
  position: absolute;
  width: 58px;
  height: 80px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.birthday-card:hover .bday-svg-decoration {
  opacity: 0.7;
  transform: scale(1.08) rotate(3deg);
}

.bday-svg-left { top: 20px; left: 12px; }
.bday-svg-right { top: auto; bottom: 25px; right: 12px; transform: scaleX(-1); }

.bday-header-text {
  color: var(--theme-primary);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 2px;
  position: relative;
  z-index: 2;
}

.pink-divider {
  width: 45px;
  height: 4px;
  background: var(--theme-secondary);
  margin: 0 auto 18px;
  border-radius: 6px;
  position: relative;
  z-index: 2;
}

.topper-img-wrap {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 4px solid var(--theme-gold);
  box-shadow: 0 8px 20px rgba(137, 16, 110, 0.2);
  position: relative;
  z-index: 2;
}

.topper-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.bday-name {
  color: var(--theme-primary);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}

.bday-wish {
  color: #4b1a41;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
  margin: 12px auto 0;
  max-width: 320px;
  font-family: 'Playfair Display', serif;
  position: relative;
  z-index: 2;
}

.bday-nav {
  position: absolute;
  top: 48%;
  width: 100%;
  left: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  pointer-events: none;
  z-index: 10;
}

.bday-nav button {
  pointer-events: auto;
  background: var(--theme-primary);
  border: 1px solid var(--theme-gold);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bday-nav button:hover { background: var(--theme-secondary); }

/* =================== DASHBOARD & QUICK LINKS =================== */
.sacs-dashboard {
  padding: 60px 0;
  background: linear-gradient(rgba(137, 16, 110, 0.94), rgba(137, 16, 110, 0.94)), url('Frontend/images/quick-link.png') center/cover scroll;
  overflow: hidden;
}

.admission-wrapper {
  position: relative;
  height: 480px;
  border-radius: 20px;
  border: 2px solid var(--theme-gold);
  overflow: hidden;
  background: transparent;
}

.admission-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-stack { border-left: 2px solid rgba(223, 189, 105, 0.4); padding-left: 25px; }
.info-item { margin-bottom: 25px; }
.info-item h3 { color: var(--theme-gold); font-size: 1.3rem; margin-bottom: 8px; text-shadow: 0 2px 4px rgba(0,0,0,0.6); }
.info-item p { color: #ffffff; margin: 0; font-size: 0.95rem; text-shadow: 0 1px 3px rgba(0,0,0,0.6); }

.link-pill {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border: 1px solid var(--theme-gold);
  padding: 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
  height: 100%;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.link-pill i {
  background: var(--theme-secondary);
  color: #fff;
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.link-pill:hover { background: var(--theme-secondary); color: #fff; transform: translateY(-3px); }

/* =================== ACADEMIC EXCELLENCE & TOPPERS =================== */
.topper-achievement {
  padding: 60px 0;
  background-color: var(--cream-bg);
  position: relative;
  overflow: hidden;
}

.heading-container2 {
  text-align: center;
  margin-bottom: 40px;
}

.title-heading2 {
  font-family: 'Cinzel', serif;
  font-size: 2.3rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--theme-primary);
  letter-spacing: 1.5px;
}

.heading-separator2 {
  width: 140px;
  height: 3px;
  background-color: var(--theme-secondary);
  margin: 10px auto 0;
  position: relative;
  border-radius: 2px;
}

.heading-separator2::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 25%;
  width: 50%;
  height: 3px;
  background-color: var(--theme-gold);
  border-radius: 2px;
}

/* Header & Switch Buttons */
.column-slider-header {
  padding: 0 4px;
  margin-bottom: 12px;
}

.topper-swiper-btn-mini {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--theme-gold);
  background: var(--theme-primary);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
  flex-shrink: 0;
}

.topper-swiper-btn-mini:hover {
  background: var(--theme-secondary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(196, 30, 58, 0.3);
  border-color: var(--theme-gold);
}

.topper-swiper-btn-mini:active {
  transform: translateY(0);
}

/* ============================================================== */
/* SWIPER BOUNDS (overflow: hidden PREVENTS OVERLAYS & BLEEDING)  */
/* ============================================================== */
.topperXSwiper,
.topperXIISwiper,
.achievementSwiper {
  width: 100%;
  border-radius: 24px;
  overflow: hidden !important;
  position: relative;
  height: 100%;
}

.topperXSwiper .swiper-wrapper,
.topperXIISwiper .swiper-wrapper,
.achievementSwiper .swiper-wrapper {
  height: 100%;
  align-items: stretch;
}

.topperXSwiper .swiper-slide,
.topperXIISwiper .swiper-slide,
.achievementSwiper .swiper-slide {
  height: auto;
  display: flex;
  width: 100%;
  box-sizing: border-box;
}

/* Topper Card Layout & Unclipped Score Display */
.topper-card-v2 {
  background: #ffffff;
  border: 1.5px solid rgba(223, 189, 105, 0.45);
  border-radius: 24px;
  padding: 24px 18px 24px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  max-height: 390px;
  box-sizing: border-box;
  box-shadow: 0 10px 25px rgba(137, 16, 110, 0.06);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.topper-card-v2:hover {
  transform: translateY(-4px);
  border-color: var(--theme-gold);
  box-shadow: 0 16px 36px rgba(137, 16, 110, 0.16);
}

.topper-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(137, 16, 110, 0.08);
  color: var(--theme-primary);
  border: 1px solid rgba(223, 189, 105, 0.4);
  margin-bottom: 16px;
}

.topper-avatar-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 14px;
}

.topper-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3.5px solid var(--theme-gold);
  box-shadow: 0 8px 20px rgba(137, 16, 110, 0.15);
  transition: transform 0.35s ease;
}

.topper-card-v2:hover .topper-avatar-wrap img {
  transform: scale(1.04);
}

.topper-medal {
  position: absolute;
  bottom: 0;
  right: 4px;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--theme-gold) 0%, #b8860b 100%);
  border: 2px solid #ffffff;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.topper-name-v2 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--theme-primary);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.topper-stream {
  font-size: 0.82rem;
  color: #6c757d;
  margin-bottom: 14px;
}

/* Score Box Fully Contained */
.topper-score-box {
  background: linear-gradient(135deg, rgba(137, 16, 110, 0.06), rgba(196, 30, 58, 0.06));
  border: 1.5px dashed var(--theme-gold);
  border-radius: 14px;
  padding: 12px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: auto;
  box-sizing: border-box;
}

.topper-score-box .score-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--theme-secondary);
  font-family: 'Rubik', sans-serif;
  line-height: 1;
}

.topper-score-box .score-lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--theme-primary);
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
}

.achievement-showcase {
  position: relative;
  height: 100%;
  max-height: 390px;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--theme-gold);
  box-shadow: 0 12px 30px rgba(137, 16, 110, 0.15);
}

.achievement-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.achievement-showcase:hover img {
  transform: scale(1.05);
}

.achievement-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 8, 51, 0.94) 0%, rgba(137, 16, 110, 0.55) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 28px;
  color: #ffffff;
}

.achievement-tag {
  background: var(--theme-secondary);
  border: 1px solid var(--theme-gold);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.achievement-title-v2 {
  font-family: 'Cinzel', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.achievement-desc-v2 {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin-bottom: 16px;
}

.achievement-stats-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(223, 189, 105, 0.5);
  border-radius: 12px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #ffffff;
}

.stat-pill i {
  color: var(--theme-gold);
}

/* =================== MILESTONE STATS COUNTERS =================== */
.stats-counter-wrapper {
  padding-top: 15px;
}

.stat-milestone-card {
  background: #ffffff;
  border: 1.5px solid rgba(223, 189, 105, 0.45);
  border-radius: 20px;
  padding: 24px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(137, 16, 110, 0.05);
  transition: all 0.35s ease;
  height: 100%;
}

.stat-milestone-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--theme-primary), var(--theme-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-milestone-card:hover {
  transform: translateY(-5px);
  border-color: var(--theme-gold);
  box-shadow: 0 14px 30px rgba(137, 16, 110, 0.12);
}

.stat-milestone-card:hover::before {
  opacity: 1;
}

.stat-icon-wrap {
  width: 50px;
  height: 50px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(137, 16, 110, 0.1), rgba(196, 30, 58, 0.1));
  border: 1px solid rgba(223, 189, 105, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--theme-primary);
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.stat-milestone-card:hover .stat-icon-wrap {
  transform: scale(1.1) rotate(5deg);
  background: var(--theme-primary);
  color: #ffffff;
}

.stat-number-box {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--theme-primary);
  font-family: 'Cinzel', serif;
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-number-box .suffix {
  color: var(--theme-secondary);
  font-size: 1.7rem;
  font-family: 'Rubik', sans-serif;
  margin-left: 2px;
}

.stat-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a0833;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}

.stat-sub {
  font-size: 0.75rem;
  color: #6c757d;
  margin: 0;
}

/* =================== PATRONESS SECTION =================== */
.patron-banner-section {
  padding: 80px 0;
  background: linear-gradient(145deg, var(--extra-color) 0%, var(--theme-primary) 100%);
  position: relative;
  overflow: hidden;
}

.patron-banner-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 189, 105, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.patron-heading-wrapper {
  text-align: center;
  margin-bottom: 45px;
  position: relative;
  z-index: 2;
}

.patron-quote-title {
  font-family: 'Cinzel', serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 8px;
}

.patron-heading-sep {
  width: 140px;
  height: 3px;
  background-color: var(--theme-secondary);
  margin: 10px auto 0;
  position: relative;
}

.patron-heading-sep::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 25%;
  width: 50%;
  height: 3px;
  background-color: var(--theme-gold);
}

.patron-card-glass {
  background: rgba(245, 230, 202, 0.96);
  border: 2px solid var(--theme-gold);
  border-radius: 26px;
  padding: 40px 45px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 2;
}

.patron-avatar-frame {
  width: 190px;
  height: 230px;
  border-radius: 18px;
  border: 3.5px solid var(--theme-gold);
  box-shadow: 0 12px 28px rgba(137, 16, 110, 0.25);
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

.patron-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.patron-card-glass:hover .patron-avatar-frame img {
  transform: scale(1.04);
}

.patron-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 16px;
  background: var(--theme-primary);
  color: var(--theme-gold);
  border: 1px solid var(--theme-gold);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.patron-main-name {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--theme-primary);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.patron-subtitle {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--theme-secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.patron-message-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  line-height: 1.75;
  color: #2b124c;
  font-style: italic;
  position: relative;
  padding-left: 22px;
  border-left: 4px solid var(--theme-gold);
  margin-bottom: 22px;
}

.patron-virtue-pill {
  background: rgba(137, 16, 110, 0.08);
  border: 1px solid rgba(223, 189, 105, 0.55);
  color: var(--theme-primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* =================== FACILITIES SLIDER =================== */
.facilities-section {
  background-color: var(--cream-bg);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.facility-left-panel {
  padding-right: 20px;
}

.facility-subtitle-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(137, 16, 110, 0.08);
  color: var(--theme-primary);
  border: 1px solid var(--theme-gold);
  margin-bottom: 12px;
}

.facility-card-v2 {
  position: relative;
  height: 440px;
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid rgba(223, 189, 105, 0.45);
  box-shadow: 0 12px 30px rgba(137, 16, 110, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  background: #000;
}

.facility-card-v2:hover {
  transform: translateY(-8px);
  border-color: var(--theme-gold);
  box-shadow: 0 20px 40px rgba(137, 16, 110, 0.2);
}

.facility-card-v2 .facility-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.facility-card-v2:hover .facility-bg-img {
  transform: scale(1.08);
}

.facility-glass-content {
  position: absolute;
  inset: auto 14px 14px 14px;
  background: rgba(26, 8, 51, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(223, 189, 105, 0.45);
  border-radius: 16px;
  padding: 18px;
  color: #fff;
  transition: all 0.35s ease;
  z-index: 2;
}

.facility-card-v2:hover .facility-glass-content {
  background: rgba(137, 16, 110, 0.92);
  border-color: var(--theme-gold);
}

.facility-icon-pill {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--theme-secondary) 0%, var(--theme-primary) 100%);
  border: 1px solid var(--theme-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.facility-title-v2 {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.facility-desc-v2 {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
  margin-bottom: 0;
}

.facility-nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
}

.facility-custom-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--theme-gold);
  background: var(--theme-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.facility-custom-btn:hover {
  background: var(--theme-secondary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(196, 30, 58, 0.3);
}

.facility-slider-container {
  padding-bottom: 35px;
}

.facility-slider .swiper-pagination-bullet {
  background: var(--theme-primary);
  opacity: 0.3;
  width: 8px;
  height: 8px;
  transition: all 0.3s;
}

.facility-slider .swiper-pagination-bullet-active {
  background: var(--theme-primary);
  opacity: 1;
  width: 24px;
  border-radius: 6px;
}

/* =================== FOOTER =================== */
.site-footer {
  background: linear-gradient(135deg, var(--extra-color) 0%, var(--theme-primary) 100%);
  color: #fff;
  position: relative;
  padding-top: 100px;
  overflow: hidden;
}

.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.footer-wave svg { 
  display: block; 
  width: 100%; 
  height: 50px; 
}
.footer-wave .shape-fill { fill: var(--cream-bg); }

.logo-box {
  background: #F5E6CA;
  width: 85px;
  height: 85px;
  border-radius: 50%;
  padding: 4px;
  border: 2px solid var(--theme-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  overflow: hidden;
}

.logo-box img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.footer-brand h2 { font-size: 1.5rem; color: var(--theme-gold); margin-bottom: 10px; }
.footer-brand p { font-size: 0.88rem; opacity: 0.8; line-height: 1.6; }

.f-heading {
  font-size: 1.2rem;
  color: var(--theme-gold);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.f-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 30px;
  height: 2px;
  background: var(--theme-secondary);
}

.f-links { list-style: none; padding: 0; margin: 0; }
.f-links li { margin-bottom: 10px; }
.f-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.88rem;
  transition: 0.3s;
}

.f-links a:hover { color: var(--theme-gold); transform: translateX(5px); display: inline-block; }
.c-item { display: flex; align-items: flex-start; margin-bottom: 15px; }

.c-item i {
  background: var(--theme-secondary);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  height: 120px;
  margin-bottom: 15px;
  border: 1px solid var(--theme-gold);
}

.map-container iframe { width: 100%; height: 100%; border: 0; }

.social-row a {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 6px;
  transition: 0.3s;
  text-decoration: none;
}

.social-row a:hover { background: var(--theme-secondary); transform: translateY(-3px); }

.bottom-bar {
  background: var(--extra-color);
  padding: 15px 0;
  text-align: center;
  font-size: 0.85rem;
  border-top: 1px solid rgba(223, 189, 105, 0.2);
}

.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 44px;
  height: 44px;
  background: var(--theme-secondary);
  color: #fff;
  border: 1px solid var(--theme-gold);
  border-radius: 50%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.3s;
}

.back-to-top:hover { background: var(--theme-primary); color: #fff; }

/* ============================================================== */
/* MEDIA QUERIES & MOBILE RESPONSIVENESS                          */
/* ============================================================== */
@media (max-width: 991px) {
  html, body {
    overflow-x: hidden !important;
    position: relative;
    width: 100vw;
  }

  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }

  .yello-bar-icon {
    display: none !important;
  }

  .navbar-wrapper1 {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 10px 16px !important;
    border-radius: 0 0 16px 16px !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    z-index: 99999 !important;
  }

  .navbar-wrapper1 .container,
  .navbar-wrapper1 .container-fluid,
  .navbar-wrapper1 .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    padding: 0;
  }

  .navbar-brand {
    position: relative;
    z-index: 1003;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1.5px solid var(--theme-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 1.1rem;
    margin: 0;
  }

  .logo-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1003;
    width: auto;
    margin: 0;
  }

  .logo-center .crest-box {
    width: 58px;
    height: 68px;
    border-radius: 0 0 16px 16px;
    background: #ffffff;
    border: 2px solid var(--theme-gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logo-center .crest-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
  }

  .navbar-toggler {
    position: relative;
    z-index: 1003;
    border: 1.5px solid rgba(223, 189, 105, 0.6) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px;
    padding: 6px 10px;
    color: #fff;
    outline: none;
    box-shadow: none;
    margin: 0;
  }

  .navbar-toggler-icon {
    filter: invert(1);
  }

  .navbar-collapse {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    background: var(--gradient-color);
    border: 1.5px solid var(--theme-gold);
    border-radius: 16px;
    padding: 15px 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    max-height: 80vh;
    overflow-y: auto;
  }

  .navbar-nav {
    text-align: center;
    gap: 4px;
    margin: 0 !important;
  }

  .navbar-nav .nav-link {
    padding: 10px 14px;
    border-radius: 8px;
  }

  .dropdown-menu {
    position: static !important;
    float: none;
    width: 100% !important;
    background: rgba(245, 230, 202, 0.95);
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: 5px;
    display: none;
  }

  .dropdown-menu.show {
    display: block !important;
  }

  .hero {
    min-height: auto;
    padding-top: 90px !important;
  }

  .custom-margin-top { 
    margin-top: 20px !important; 
  }

  .slider-img {
    height: 260px;
  }

  .news-text-white {
    display: none !important;
  }

  .about-section {
    padding: 40px 0;
  }
  .bento-container {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    gap: 15px;
  }
  .featured-box {
    width: 100% !important;
    max-width: 480px;
    height: auto !important;
    aspect-ratio: 16 / 10;
    border-radius: 20px;
  }
  .bento-column {
    flex-direction: row;
    width: 100%;
    max-width: 480px;
    gap: 15px;
  }
  .video-box {
    width: 50% !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
  }

  .leadership-section {
    padding: 40px 0;
  }
  
  .leadership-section .author-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
    margin-top: 20px !important;
  }

  .leadership-section .viewall-gallery1 {
    width: 100%;
    text-align: center;
    margin-left: 0 !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .portrait-container {
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
  }
  .main-img-frame {
    width: 240px;
    height: 240px;
  }

  .admission-wrapper {
    height: auto !important;
    max-height: 260px;
  }

  .patron-card-glass {
    padding: 30px 20px;
    text-align: center;
  }
  .patron-message-quote {
    padding-left: 0;
    border-left: none;
    border-top: 2px solid var(--theme-gold);
    padding-top: 14px;
  }

  .facility-left-panel {
    text-align: center;
    padding-right: 0;
    margin-bottom: 15px;
  }
  .facility-nav-controls {
    justify-content: center;
    margin-top: 15px;
  }
}

@media (max-width: 576px) {
  .hero {
    padding-bottom: 15px !important;
  }
  .creative-brand-ribbon {
    display: none !important;
  }
  .hero h1.display-4 {
    font-size: 2rem;
  }

  .featured-box {
    aspect-ratio: 4 / 3;
    max-width: 100%;
  }
  .bento-column {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }
  .video-box {
    width: 100% !important;
    aspect-ratio: 16 / 9;
  }

  .birthday-card {
    height: auto;
    padding: 25px 15px;
  }

  .stat-milestone-card {
    padding: 16px 8px;
  }
  .stat-number-box {
    font-size: 1.6rem;
  }
  .stat-number-box .suffix {
    font-size: 1.3rem;
  }
  .stat-label {
    font-size: 0.8rem;
  }

  .topper-score-box {
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }
  .topper-score-box .score-lbl {
    text-align: center;
  }

  .back-to-top {
    bottom: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
  }
}








/* Page Css  */


/* ================================Page Css======================================= */
/* ============================================================================== */

/* Banners & Overlays */
.universal-banner,
.hero-banner {
    /* Replaced dark brownish overlay tones with midnight violet and deep plum */
    background: linear-gradient(
        to right,
        rgba(26, 8, 51, 0.92),
        rgba(137, 16, 110, 0.85),
        rgba(26, 8, 51, 0.92)
    ), url('../images/news.png') center/cover no-repeat;
    height: 430px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--extra-color);
    opacity: 0.75;
    z-index: 1;
}

/* ============================================================================== */
/* Enhanced Banner & Title Design */
/* ============================================================================== */

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
}

/* Upgraded Page Title */
.banner-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 4px 15px rgba(26, 8, 51, 0.6);
    margin-bottom: 15px;
}

/* Glowing Gold/Primary Gradient Separator */
.heading-separator {
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--theme-gold), var(--theme-primary));
    border-radius: 5px;
    margin: 0 auto 25px;
    box-shadow: 0 0 12px rgba(223, 189, 105, 0.45);
}

/* Footer layout for lines and pill */
.banner-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

/* Fading Lines on the sides */
.decorative-line {
    height: 2px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--theme-gold), transparent);
}

/* Glassmorphism Description/Location Pill */
.location-tag {
    margin: 0;
    padding: 5px 10px;
    background: rgba(137, 16, 110, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(223, 189, 105, 0.5);
    border-radius: 40px;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(26, 8, 51, 0.3);
}

/* Responsive adjustments for banner on mobile */
@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 2.5rem;
    }

    .decorative-line {
        display: none;
    }

    .location-tag {
        font-size: 0.95rem;
        padding: 8px 18px;
    }
}

/* ============================================================================== */
/* General Content Styles */
/* ============================================================================== */

.about-content {
    padding: 50px 0px;
    background: var(--cream-bg);
}

.page-heading {
    text-transform: uppercase;
    position: relative;
    color: var(--theme-primary);
    font-weight: 700;
}

.about-quote {
    text-transform: uppercase;
    position: relative;
    color: var(--theme-secondary);
    font-weight: 600;
}

.yellow-divider {
    width: 200px;
    height: 6px;
    background: linear-gradient(90deg, var(--theme-gold), var(--theme-secondary));
    margin: 10px auto;
    border-radius: 1px;
}

/* Swiper full size */
.heroSwiper {
    width: 100%;
    height: 100%;
}

.heroSwiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.heroSwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================================== */
/* Cards */
/* ============================================================================== */
.custom-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: var(--card-radius, 8px);
    border: 1px solid rgba(137, 16, 110, 0.15);
    background: #ffffff;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(137, 16, 110, 0.15);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
    border-top-left-radius: var(--card-radius, 8px);
    border-top-right-radius: var(--card-radius, 8px);
}

/* ============================================================================== */
/* Lists */
/* ============================================================================== */
.list-styling-arrow {
    padding: 0% 0% 0% 1%;
    margin: 0;
}

.list-styling-arrow li {
    position: relative;
    line-height: 28px;
    padding: 0px 0 0px 32px;
    list-style: none;
    margin: 8px 0;
    color: var(--extra-color);
}

.list-styling-arrow li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 14px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-gold);
    color: var(--extra-color);
    font-size: 11px;
    border-radius: 20px;
}

ol li {
    line-height: 28px;
    padding: 0px !important;
    list-style-type: disc !important;
    background: none !important;
    list-style: none;
    margin: 8px 0px;
    vertical-align: middle;
    color: var(--extra-color);
}

/* ============================================================================== */
/* Tables */
/* ============================================================================== */
thead th {
    background: linear-gradient(135deg, var(--gradient-color), var(--gradient-color1)) !important;
    color: #ffffff !important;
    border-color: var(--gradient-color1) !important;
    text-align: center;
    vertical-align: middle;
    font-weight: 700;
}

table td {
    font-size: 15px;
    background: #ffffff !important;
    color: var(--extra-color);
    border-color: rgba(137, 16, 110, 0.15);
}

/* ============================================================================== */
/* Accordion */
/* ============================================================================== */

.accordion-item {
    border: none;
    background: transparent;
    margin-bottom: 10px;
}

/* Default state buttons */
.accordion-button {
    background: linear-gradient(135deg, var(--gradient-color), var(--gradient-color1));
    color: #ffffff;
    border-radius: 10px !important;
    padding: 15px 20px;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
    font-weight: 700;
}

/* Remove Bootstrap arrow */
.accordion-button::after {
    display: none;
}

/* Arrow */
.arrow-icon {
    transition: transform 0.3s ease;
    font-size: 14px;
    color: #ffffff;
}

/* Rotate when open */
.accordion-button:not(.collapsed) .arrow-icon {
    transform: rotate(180deg);
}

/* OPEN STATE HEADER */
.accordion-button:not(.collapsed) {
    border-radius: 10px 10px 0 0 !important;
    background: var(--theme-gold);
    color: var(--extra-color);
}

/* Arrow color updates to dark when open */
.accordion-button:not(.collapsed) .arrow-icon {
    color: var(--extra-color);
}

/* BODY STYLE */
.accordion-body {
    background: var(--cream-bg);
    border: 1px solid rgba(137, 16, 110, 0.2);
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 20px;
    color: var(--extra-color);
}

/* Remove gap between header & body */
.accordion-collapse {
    border: none;
    margin-top: -5px;
}

.accordion-button:focus {
    box-shadow: none;
}