#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader-wrapper.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* Overlay Menu */
.menu-overlay {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 90%;
  background: #f9f9f9;
  color: #000;
  transition: top 0.5s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.menu-overlay.active {
  top: 105px;
}

/* Content Grid */
.menu-content {
  display: grid;
  grid-template-columns: 0.4fr 0.2fr 0.4fr;
  padding: 14px 2px 0px 80px;
  gap: 20px;
}

.menu-section h3 {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 15px;
  font-family: "worksans", sans-serif;
  color: #7f2730;
}

.font-worksans {
  font-family: "worksans", sans-serif;
}

.menu-section p,
.menu-section a {
  font-size: 16px;
  line-height: 1.2;
  color: #333;
  text-decoration: none;
  display: inline-block;
  /* important for scale transform */
  transition: transform 0.3s ease, color 0.3s ease, font-size 0.3s ease;
}

.menu-section a:hover {
  transform: scale(1.1);
  color: #5a5858;
  font-weight: 600;
}

/* Admissions Right Box */
.admissions {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.admissions img {
  width: 100%;
}

.admissions h3 {
  font-size: 26px;
  font-weight: bold;
  color: #7f2730;
}

.admissions p {
  font-size: 16px;
  line-height: 1.3;
}

/* Bottom Buttons */
.menu-buttons {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 20px;
  border-top: 1px solid #ddd;
}

.menu-buttons a {
  padding: 15px 40px;
  background: #222;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.3s;
}

.menu-buttons a:hover {
  background: #5a5858;
}

.admissions {
  width: 100%;
}

.admissions img {
    width: 100%;
    display: block;
    border-radius: 10px;
    margin-top: -50px;
}

.admissions-text {
  color: #222;
  top: 0;
}

.menu-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-section li {
  margin-bottom: 8px;
}

.menuclose-btn {
  background-color: red;
  color: white;
  border: none;
  border-radius: 0 !important;
  padding: 0 20px;
}

.custom-header {
  background: #fff;
}

.line {
  border-bottom: 2px solid #e0e0e0;
}

.school-logo {
  height: 90px;
  object-fit: contain;
  padding: 10px;
}

.divider {
  width: 1px;
  height: 50px;
  background: #ccc;
}

.btn-warning {
  background-color: #ffd900;
  border: none;
  color: #000;
  font-size: 14px;
  letter-spacing: 1px;
}

.choose-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.choose-heading h2 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.choose-heading h2 span {
  color: #702c3a;
}

.choose-heading p {
  margin-top: 20px;
  color: #555;
}

.carousel-inner {
  display: flex;
}

.carousel-item {
  flex: 0 0 85%;
  margin-right: 20px;
  transition: transform 0.6s ease-in-out;
}

.carousel-item img {
  width: 100%;
  border-radius: 8px;
}

.carousel-indicators {
  bottom: -40px;
}

.carousel-control-prev,
.carousel-control-next {
  position: static;
  display: inline-block;
  width: auto;
  height: auto;
  margin: 10px;
}

.carousel-controls {
  text-align: center;
  margin-top: 20px;
}

.carousel-content {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  margin-top: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.carousel-content h5 {
  font-weight: 600;
}

.carousel-content p {
  font-size: 0.9rem;
  color: #666;
}

:root {
  --page-pad: 6vw;
  /* white margins on left/right similar to screenshot */
  --hero-width: 100vw;
  /* central carousel width */
  --slide-width: 86%;
  /* center slide width (slidesPerView:auto uses this) */
  --hero-height: 95vh;
  /* visual height like screenshot */
  --maroon: #7b1315;
  /* cards color */
  --yellow: #f79320;
  /* CTA */
}

/* reset */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #fff;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
}

/* Hero wrapper keeps space for overlapping cards */
.hero-wrap {
  position: relative;
  padding-top: 24px;
  display: flex;
  justify-content: center;
}

/* SWIPER container centered and not full-bleed */
.hero-swiper {
  width: var(--hero-width);
  max-width: 1400px;
  height: var(--hero-height);
  position: relative;
  margin: 0 auto;
  overflow: visible;

  /* allow side slides to peek */
}

/* allow wrapper to show overflow for peeking slides */
.hero-swiper .swiper-wrapper {
  display: flex;
  align-items: center;
  overflow: visible !important;
}

/* each slide uses a full background; width is controlled for peek */
.hero-swiper .swiper-slide {
  width: var(--slide-width);
  height: 100%;
  position: relative;

  overflow: hidden;
  transform: scale(0.9);
  /* make side slides visually smaller */
  opacity: 0.75;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.4s ease,
    filter 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* center slide = full size & visible */
.hero-swiper .swiper-slide-active {
  transform: scale(1);
  opacity: 1;
  z-index: 3;
  filter: none;
}

/* slide background layer (so borders & overlay behave reliably) */
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  pointer-events: none;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* bottom -> top decreasing black gradient for readability (strong) */
.slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.82) 30%,
    rgba(0, 0, 0, 0.55) 60%,
    rgba(0, 0, 0, 0.06) 100%
  );
}

/* center text block (vertical center) */
.slide-content {
  position: absolute;
  bottom: 25%;
  left: 50%;
  width: 78%;
  text-align: center;
  z-index: 5;
  color: #fff;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(150px);
  /* start 20px lower */
  transition: all 0.1s ease;
}

.slide-eyebrow {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: clamp(11px, 0.9vw, 13px);
  margin-bottom: 12px;
  opacity: 0.95;
}

.slide-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  margin: 0 0 26px;
  font-size: 5rem;
  /* responsive big headline */
  color: #fff;
  text-transform: uppercase;
}

.btn-apply {
  background: var(--yellow);
  color: #111;
  border: 0;
  padding: 14px 48px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 0;
  letter-spacing: 0.12em;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.btn-apply:hover {
  filter: brightness(0.98);
}

/* pagination — numbered circles like screenshot */
.hero-swiper .swiper-pagination {
  position: absolute;
  z-index: 6;
  bottom: 160px;
  /* slightly above overlapping cards as in screenshot */
  left: calc(60% - (var(--hero-width) / 2) + 90px);
  /* roughly aligns under left third of slide */
  display: flex;
  gap: 14px;
  transform: none !important;
}

.hero-swiper .swiper-pagination-bullet {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: rgba(0, 0, 0, 0.15);
  /* subtle dark inner */
  border: 2px solid rgba(255, 255, 255, 0.45);
  box-shadow: none;
  opacity: 1;
  transition: all 0.25s ease;
}

/* active bullet: white ring + slightly brighter inner */
.hero-swiper .swiper-pagination-bullet-active {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
  /* subtle light inside like screenshot */
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.03) inset;
  color: #fff;
  transform: scale(1.02);
}

/* overlapping cards (exact maroon tone, centered, overlapping the hero) */
.overlap-cards {
  position: relative;
  bottom: 146px;
  /* overlap amount — adjust if needed */
  left: 50%;
  transform: translateX(-50%);
  width: 95vw;
  max-width: 1285px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  z-index: 7;
  pointer-events: auto;
}

.card {
  background: var(--maroon);
  color: #fff;
  padding: 34px 22px;
  min-height: 220px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  transition: background 1s ease, color 2s ease;
}

.card p {
  margin-bottom: 0;
}

.card-eyebrow {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 30px;
  font-size: 14px;
}

/* animated white border overlay */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  border: 1px solid #fff;
  transition: left 0.1s ease;
  pointer-events: none;
}

/* hover effect */
.card:hover::before {
  left: 0;
}

.card:hover {
  background: #fff;
  /* card bg turns white */
  color: var(--maroon);
  /* text turns maroon */
  border: 5px solid var(--maroon);
}

.card:hover .card-eyebrow,
.card:hover h3,
.card:hover p {
  color: var(--maroon);
  /* ensure all text inside also turns maroon */
}

.card-title {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 0.1;
  margin: 0;
}

.card h3 {
  letter-spacing: 0.14em;
  font-weight: 700;
}

.slide-bg {
  transition: transform 0.3s ease-out;
  will-change: transform;
}

/* prevent any page-level horizontal overflow */
/* html,
body {
  overflow-x: hidden;
} */
