/* ==========================================================================
   BRITISH FORT FOUNDATION - SITE STYLES
   Theme: Black + Royal Blue (#275fac) - matches britishfortfoundation.com
   ========================================================================== */

/* Anchor jumps (back-to-top, same-page links) smooth scroll karein -
   jhatke se nahi; reduced-motion users ke liye instant hi rahega */
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  /* Footer ke niche ka area bhi footer bottom (#050b1e) se blend rahe - black gap nahi dikhega */
  background: #050b1e;
  color: #ffffff !important;
  overflow-x: hidden;
  /* Sticky footer - page chhota ho to bhi footer+copyright screen bottom pe rahe */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

/* Footer ko bottom pe chipkao - upar ka content jitna bhi ho */
footer.footer { margin-top: auto; }

/* Small utilities used by the original site */
.mt-n2 { margin-top: -0.5rem; }
.mt-n3 { margin-top: -1rem; }
.text-justify { text-align: justify; }

/* ==========================================================================
   BRAND STRIP (Premium White Patti - Bada Logo + Bada School Name)
   ========================================================================== */
.brand-strip {
  background: linear-gradient(160deg, #f0f9ff 0%, #e0f2fe 30%, #dbeafe 55%, #e8f4fd 80%, #fdf8e7 100%);
  box-shadow: 0 6px 24px rgba(8, 20, 50, 0.15);
  position: relative;
  z-index: 15;
  overflow: hidden;
}

/* APN jaisa - soft radial glows */
.brand-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 35%, rgba(14, 165, 233, 0.14) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(255, 205, 57, 0.12) 0%, transparent 40%),
    radial-gradient(ellipse 70% 45% at 50% 110%, rgba(43, 63, 135, 0.1) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}

/* Diamond pattern overlay - APN style */
.brand-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M25 0 L50 25 L25 50 L0 25 Z' fill='none' stroke='%23275fac' stroke-opacity='0.09' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.brand-strip .container-fluid {
  position: relative;
  z-index: 2;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-top {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* crest - bada, deep shadow + soft gold aura */
.brand-crest {
  height: 5.4rem;
  width: auto;
  margin-right: 18px;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 16px rgba(255, 205, 57, 0.2));
  flex-shrink: 0;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.brand-lockup:hover .brand-crest {
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 22px rgba(255, 205, 57, 0.35));
  transform: translateY(-2px);
}

.brand-text {
  display: block;
  line-height: 1.1;
  text-align: left;
}

/* School name - ek line me, navy + gold Foundation (premium) */
.brand-name {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.1rem, 3.8vw, 3.1rem);
  font-weight: 800;
  font-style: normal;
  color: #12265a;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 2px 5px rgba(13, 27, 69, 0.18);
}

.brand-name-em {
  font-size: inherit;
  letter-spacing: 0.05em;
  color: #12265a;
}

.brand-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.8rem, 1.15vw, 1rem);
  font-weight: 600;
  font-style: italic;
  color: #8c6d1f;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  margin-top: 7px;
  white-space: nowrap;
}

/* Tagline ke dono taraf gold lines - poore logo+name ko cover karti hain */
.brand-tagline::before,
.brand-tagline::after {
  content: "";
  height: 1px;
  flex: 1;
}

.brand-tagline::before {
  background: linear-gradient(90deg, transparent, rgba(255, 205, 57, 0.9));
}

.brand-tagline::after {
  background: linear-gradient(90deg, rgba(255, 205, 57, 0.9), transparent);
}

.brand-affil {
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-size: 0.92rem;
  line-height: 1.35;
  gap: 0.6rem;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  padding-right: 1.4rem;
}

.brand-affil i {
  font-size: 2rem;
  color: #ffcd39;
}

.brand-affil small {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
}

.brand-helpline {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
  text-decoration: none;
}

.brand-helpline i {
  font-size: 1.7rem;
  color: #ffcd39;
}

.brand-helpline span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-family: 'Nunito', sans-serif;
}

.brand-helpline small {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
}

.brand-helpline strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

/* ==========================================================================
   NAVBAR PATTI (Slim Blue Strip + Hanging Crest + Center Menu)
   ========================================================================== */
.main-nav {
  position: relative;
  z-index: 1020;
  background: linear-gradient(135deg, #7dd3fc 0%, #bae6fd 50%, #e0f2fe 100%);
  padding: 0;
  box-shadow: 0 8px 32px rgba(125, 211, 252, 0.35), inset 0 -1px 0 rgba(12, 74, 110, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  overflow: visible;
}

/* Scroll pe thoda deep sky (APN scrolled jaisa) */
.main-nav.nav-fixed {
  background: linear-gradient(135deg, #38bdf8 0%, #7dd3fc 50%, #bae6fd 100%);
  box-shadow: 0 12px 40px rgba(56, 189, 248, 0.4);
}

/* crest ke red color ka subtle accent - nav ke niche thin line */
.main-nav::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c8102e 15%, #c8102e 85%, transparent);
  opacity: 0.85;
  pointer-events: none;
}

/* Scroll pe navbar upar se slide-down hoke aata hai (crest ke sath) */
.main-nav.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  animation: navSlideDown 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes navSlideDown {
  0% {
    transform: translateY(-110%);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes navSlideUp {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  60% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-110%);
    opacity: 0;
  }
}

.main-nav .container-fluid {
  position: relative;
  overflow: visible;
}

/* Hanging crest - sirf scroll pe fixed navbar ke sath dikhe */
.crest-hang {
  position: absolute;
  top: 100%;
  left: 1.4rem;
  transform: translateY(-30%);
  z-index: 1030;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.main-nav.nav-fixed .crest-hang {
  opacity: 1;
  visibility: visible;
}

.crest-badge {
  display: block;
  position: relative;
}

.crest-badge img {
  height: 120px;
  width: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 12px rgba(255, 205, 57, 0.25));
  transform: translateZ(0);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.crest-hang:hover .crest-badge img {
  transform: scale(1.05);
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 20px rgba(255, 205, 57, 0.45));
}



.navbar-toggler {
  margin-right: 16px !important;
  border-color: rgba(255, 255, 255, 0.4);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.main-nav .navbar-nav .nav-link {
  color: #16295e !important;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 1.05rem 1rem !important;
  text-decoration: none !important;
  transition: color 0.45s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.main-nav .navbar-nav .nav-link > i {
  font-size: 0.85rem;
  opacity: 0.9;
}

.main-nav .navbar-nav .nav-link .dropdown-arrow {
  font-size: 0.62rem;
  margin-left: 0.1rem;
  transition: transform 0.25s ease;
}

.main-nav .nav-item.has-submenu:hover .dropdown-arrow,
.main-nav .nav-item.has-submenu.open .dropdown-arrow {
  transform: rotate(180deg);
}

/* Hover: text gold + framed pointer (corners animation - cambridgeheights.in style) */
.main-nav .navbar-nav {
  position: relative;
}

.main-nav .navbar-nav > .nav-item > .nav-link:hover,
.main-nav .navbar-nav > .nav-item > .nav-link.active {
  color: #b8860b !important;
}

/* Framed box: sirf 2 corners (top-left + bottom-right) se line trace hoti hai
   ::before = top-left corner (top + left edges), ::after = bottom-right corner */
.main-nav .navbar-nav > .nav-item > .nav-link::before,
.main-nav .navbar-nav > .nav-item > .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-color: #f0b429;
  border-style: solid;
  border-width: 0;
  opacity: 0;
  pointer-events: none;
}

.main-nav .navbar-nav > .nav-item > .nav-link::before {
  top: 7px;
  left: 6px;
  border-top-width: 2px;
  border-left-width: 2px;
  transition: width 0.4s cubic-bezier(0.25, 1, 0.35, 1), height 0.4s cubic-bezier(0.25, 1, 0.35, 1) 0.4s, opacity 0s 0.85s;
}

.main-nav .navbar-nav > .nav-item > .nav-link::after {
  bottom: 7px;
  right: 6px;
  border-bottom-width: 2px;
  border-right-width: 2px;
  transition: width 0.4s cubic-bezier(0.25, 1, 0.35, 1) 0.1s, height 0.4s cubic-bezier(0.25, 1, 0.35, 1) 0.5s, opacity 0s 0.95s;
}

/* corners pe thoda overlap taaki dots/gaps na dikhe */
.main-nav .navbar-nav > .nav-item > .nav-link:hover::before,
.main-nav .navbar-nav > .nav-item > .nav-link.active::before {
  width: calc(100% - 10px);
  height: calc(100% - 12px);
  opacity: 1;
  transition: width 0.4s cubic-bezier(0.25, 1, 0.35, 1), height 0.4s cubic-bezier(0.25, 1, 0.35, 1) 0.4s, opacity 0s;
}

.main-nav .navbar-nav > .nav-item > .nav-link:hover::after,
.main-nav .navbar-nav > .nav-item > .nav-link.active::after {
  width: calc(100% - 10px);
  height: calc(100% - 12px);
  opacity: 1;
  transition: width 0.4s cubic-bezier(0.25, 1, 0.35, 1) 0.1s, height 0.4s cubic-bezier(0.25, 1, 0.35, 1) 0.5s, opacity 0s;
}

/* Admission button upar wali brand patti me alag se dikhta hai */
.admission-btn {
  margin-left: 0.5rem;
}

/* Affiliation No. - absolute left */
.brand-left {
  position: absolute;
  left: clamp(0.5rem, 3vw, 3rem);
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  color: #ffffff;
}

.brand-left small {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.brand-left strong {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffcd39;
}

/* Login button - absolute right, lockup ko center rakhta hai */
.brand-strip .container-fluid > .d-flex {
  position: relative;
  justify-content: center;
}

.brand-right {
  position: absolute;
  right: clamp(0.5rem, 3vw, 3rem);
  top: 50%;
  transform: translateY(-50%);
}

/* OnCampus Login button - Briarcrest style (green outline, hover fill) */
.erp-btn {
  position: relative;
  overflow: hidden;
  background: transparent;
  color: #12265a !important;
  padding: 0.85rem 1.6rem;
  border-radius: 4px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  font-size: 0.72rem;
  border: 1.5px solid #d99a12;
  display: inline-flex;
  align-items: center;
  transition: padding 0.3s ease, border 0.3s ease, color 0.3s ease, background 0.3s ease;
  white-space: nowrap;
}

.erp-btn:hover,
.erp-btn:focus-visible {
  background: #f0b429;
  border-color: #f0b429;
  color: #12265a !important;
}

/* Navbar right icons: search + hamburger */
.nav-icons {
  gap: 0.4rem;
  margin-left: auto;
}

@media (min-width: 992px) {
  .nav-icons {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
  }
}

.nav-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  border: none;
  background: transparent;
  color: #16295e;
  font-size: 1.05rem;
  cursor: pointer;
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-icon-btn:hover {
  color: #d99a12;
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px rgba(217, 154, 18, 0.5));
}

/* Inline search - nav patti ke andar hi expand hota hai */
.nav-search {
  display: flex;
  align-items: center;
}

.nav-search-input {
  width: 0;
  padding: 0;
  border: 1.5px solid #d7e3f5;
  border-radius: 50px;
  background: #ffffff;
  color: #12265a;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  opacity: 0;
  outline: none;
  margin-right: 0;
  transition: width 0.35s ease, opacity 0.25s ease, padding 0.35s ease, margin-right 0.35s ease;
}

.nav-search.open .nav-search-input {
  width: 200px;
  padding: 0.42rem 1rem;
  opacity: 1;
  margin-right: 0.5rem;
}

.nav-search.open .nav-icon-btn {
  color: #d99a12;
}

/* ==========================================================================
   SIDE MENU - Offcanvas (Mount Litera style: carved edge + portal buttons)
   ========================================================================== */
.nav-side-carve-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

#sideMenu {
  width: min(360px, 90vw) !important;
  border: none;
  background-color: #0a2c66;
  background-image:
    linear-gradient(180deg, rgba(10, 35, 90, 0.4) 0%, rgba(8, 22, 55, 0.55) 100%);
  color: #ffffff;
  padding-left: 30px;
  clip-path: url(#navSideCarveClip);
  -webkit-clip-path: url(#navSideCarveClip);
  filter: drop-shadow(-16px 0 28px rgba(2, 12, 24, 0.45));
  overflow: hidden;
}

/* top accent gradient line */
#sideMenu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #9FB0FF, #E8232A 48%, #2244CC);
  z-index: 2;
}

.nav-side-carve {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.nav-side-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 44px 14px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  flex-shrink: 0;
}

.nav-side-head strong {
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #9FB0FF;
  text-align: center;
  text-shadow: 0 0 18px rgba(96, 118, 255, 0.35);
}

.nav-side-close {
  appearance: none;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-side-close:hover {
  background: rgba(232, 35, 42, 0.18);
  border-color: rgba(232, 35, 42, 0.55);
  transform: translateY(-50%) rotate(90deg);
}

/* ERP + Portal buttons - header ke just niche */
.nav-side-foot {
  position: relative;
  z-index: 1;
  padding: 10px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

@keyframes bffErpGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* left % -> translateX: shine width 55%, isliye 190% parent-move =
   190/0.55 = 345.45% apni width. Same positions, GPU-composited */
@keyframes bffErpShine {
  0% { transform: translateX(0); }
  55%, 100% { transform: translateX(345.45%); }
}

@keyframes bffPortalGradient {
  0% { background-position: 100% 40%; }
  50% { background-position: 0% 60%; }
  100% { background-position: 100% 40%; }
}

/* right % -> -translateX: right badhna = left move. Same math, GPU-composited */
@keyframes bffPortalShine {
  0% { transform: translateX(0); }
  55%, 100% { transform: translateX(-345.45%); }
}

.nav-erp-side-btn,
.nav-portal-btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(100%, 260px);
  margin: 0 auto;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  padding: 9px 14px;
  border-radius: 12px;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-erp-side-btn {
  background: linear-gradient(135deg, #0A0F2E 0%, #16278C 40%, #2244CC 80%, #1D3FBF 100%);
  background-size: 250% 250%;
  animation: bffErpGradient 4s ease infinite;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(232, 35, 42, 0.45);
  box-shadow:
    0 8px 20px rgba(10, 15, 46, 0.4),
    0 0 0 1px rgba(34, 68, 204, 0.18) inset;
}

.nav-erp-side-btn::before,
.nav-portal-btn::before {
  content: "";
  position: absolute;
  top: 0;
  width: 55%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.nav-erp-side-btn::before {
  left: -70%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  animation: bffErpShine 3.4s ease-in-out infinite;
}

.nav-erp-side-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(34, 68, 204, 0.45);
}

.nav-portal-btn {
  background: linear-gradient(135deg, #7A1216 0%, #E8232A 32%, #16278C 68%, #2244CC 100%);
  background-size: 260% 260%;
  animation: bffPortalGradient 5.2s ease infinite;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(232, 35, 42, 0.5);
  box-shadow:
    0 10px 24px rgba(10, 15, 46, 0.32),
    0 0 18px rgba(232, 35, 42, 0.2);
}

.nav-portal-btn::before {
  right: -70%;
  background: linear-gradient(120deg, transparent, rgba(255, 248, 220, 0.38), transparent);
  animation: bffPortalShine 3.8s ease-in-out infinite;
}

.nav-portal-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow:
    0 16px 30px rgba(10, 15, 46, 0.38),
    0 0 22px rgba(232, 35, 42, 0.3);
}

.nav-erp-side-btn i,
.nav-portal-btn i,
.nav-erp-side-btn span,
.nav-portal-btn span {
  position: relative;
  z-index: 1;
}

/* Body - centered pill links */
.nav-side-body {
  position: relative;
  z-index: 1;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  overflow-y: auto;
}

.nav-side-body .nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e8f1f8 !important;
  text-decoration: none;
  padding: 6px 16px !important;
  margin: 0 auto;
  width: 100%;
  max-width: 250px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

/* "More" group separator - dropdown items se pehle divider label */
.nav-side-sep {
  margin: 6px auto 2px;
  padding: 0 10px;
  font: 800 .6rem/1 'Poppins', sans-serif;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #f3c969;
  opacity: .9;
}

.nav-side-body .nav-link:hover {
  background: rgba(34, 68, 204, 0.35);
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Bottom contact */
.nav-side-contact {
  position: relative;
  z-index: 1;
  padding: 10px 18px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.nav-side-contact p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.nav-side-contact i {
  color: #9FB0FF;
  margin-top: 3px;
}

.nav-side-contact a {
  color: #ffffff;
  text-decoration: none;
}

/* Home submenu */
.nav-item.has-submenu {
  position: relative;
}

.submenu {
  background-color: #ffffff !important;
  border: 1px solid rgba(18, 38, 90, 0.15);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(18, 38, 90, 0.28);
  list-style-type: none;
  margin: 0;
  padding: 7px;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1030;
  display: none;
  min-width: 200px;
}

.submenu.show {
  display: block;
}

.submenu li {
  padding: 0;
}

/* strong selector: nav ke white color ko override karne ke liye */
.main-nav .navbar-nav .submenu li .nav-link {
  color: #12265a !important;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  display: flex !important;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.95rem !important;
  border-radius: 6px;
  letter-spacing: 0.02em;
  text-shadow: none !important;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.main-nav .navbar-nav .submenu li .nav-link i {
  color: #275fac;
  font-size: 0.9rem;
  width: 18px;
  text-align: center;
  transition: color 0.2s ease;
}

.main-nav .navbar-nav .submenu li .nav-link::after {
  display: none;
}

.main-nav .navbar-nav .submenu li .nav-link:hover {
  background-color: #eaf1fb !important;
  color: #275fac !important;
  transform: translateX(4px);
}

.main-nav .navbar-nav .submenu li .nav-link:hover i {
  color: #ffcd39;
}

/* Desktop: open submenu on hover too */
@media (min-width: 992px) {
  .nav-item.has-submenu:hover .submenu {
    display: block;
  }
}

/* Mobile: submenu inline inside collapsed menu */
@media (max-width: 991.98px) {
  .main-nav .navbar-nav {
    padding: 0.5rem 0;
  }
  .submenu {
    position: static;
    background: rgba(0, 0, 0, 0.15) !important;
    border: none;
    box-shadow: none;
    margin: 0 0 0 1rem;
  }
  .main-nav .navbar-nav .submenu li .nav-link {
    color: #ffffff !important;
  }
  .main-nav .navbar-nav .submenu li .nav-link i {
    color: #ffcd39;
  }
}

/* Admission CTA button */
.admission-btn {
  background: linear-gradient(135deg, #ffcd39 0%, #f0b429 55%, #d99a12 100%);
  color: #12265a !important;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 50px;
  padding: 0.65rem 1.5rem !important;
  margin: 0.55rem 0.5rem;
  box-shadow: 0 4px 14px rgba(255, 205, 57, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.admission-btn:hover {
  background: linear-gradient(135deg, #ffd95c 0%, #ffcd39 55%, #e6ab1c 100%);
  color: #12265a !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 205, 57, 0.5);
}

/* ==========================================================================
   TOP BAR: Marquee + Social Icons
   ========================================================================== */
.headWrapper {
  background-image: linear-gradient(90deg, #080808 10%, #101010);
  border-bottom: 1px solid rgba(255, 205, 57, 0.28);
  padding: 3px 0;
  position: relative;
  z-index: 20;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 205, 57, 0.28);
}

.marquee-item {
  color: #fb151a;
  display: inline-block;
  margin-right: 15px;
}

.marquee-item:before {
  color: #fb151a;
  content: "\2022";
  font-weight: 700;
  margin-right: 5px;
}

.headerSocial {
  display: flex;
}

.headerSocial i {
  color: #ffffff;
  font-size: 20px;
  transition: color 0.3s ease;
}

.headerSocial .bi-facebook {
  color: #275fac !important;
}

.headerSocial .bi-instagram {
  color: rgba(253, 29, 29, 0.82) !important;
}

.headerSocial .bi-houses {
  color: #ffffff !important;
  cursor: pointer;
  padding: 3px;
}

.headerSocial .bi-facebook:hover {
  background-color: #275fac;
  border-radius: 50%;
  color: #ffffff !important;
}

.headerSocial .bi-twitter-x:hover {
  background-color: #ffffff;
  border-radius: 50%;
  color: #275fac !important;
}

.headerSocial .bi-instagram:hover {
  background-color: rgba(253, 29, 29, 0.82);
  border-radius: 50%;
  color: #ffffff !important;
}

.headerSocial .bi-houses:hover {
  background-color: #151515;
  border-radius: 50%;
  color: #ffffff !important;
}

.modal-dialog button {
  background-color: initial !important;
}

.modalImage img {
  height: 100%;
  width: 100%;
}

/* ==========================================================================
   HERO VIDEO
   ========================================================================== */
.video-container {
  overflow: hidden;
  position: relative;
  width: 100vw;
  height: 100vh;
  background: #0a1734;
  z-index: 1;
}

/* Cinematic vignette - upar header ke liye halki shade; bottom pe transparent
   rakha hai taaki cream deck ke saath seam line na bane */
.video-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 15, 46, 0.22) 0%,
    transparent 16%,
    transparent 78%,
    rgba(10, 15, 46, 0.08) 94%,
    transparent 100%);
  pointer-events: none;
  z-index: 4;
}

.video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .video {
    object-fit: cover !important;
  }
  .video-container {
    height: 60vh !important;
    overflow: hidden;
    position: relative;
    width: 100vw;
  }
}

/* ==========================================================================
   FOOTER - ultra-premium (deep navy + gold hairline + glass accents)
   ========================================================================== */
.footer {
  position: relative;
  /* overflow:visible taaki ft-wave top se bahar carve kare */
  margin-top: 0;
  padding: 2.5rem 0 0;
  color: #e8ecf8;
  z-index: 10;
  /* Wallpaper bg (school/campus scene) + dark overlay - text readable rahe */
  background:
    radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1.6px),
    linear-gradient(180deg, rgba(8, 18, 48, 0.78) 0%, rgba(6, 13, 36, 0.85) 55%, rgba(3, 8, 26, 0.92) 100%),
    url('../images/footer_bg.png') center bottom / cover no-repeat,
    #0a1638;
  background-size: 26px 26px, auto, cover, auto;
}

/* LIVE 3D waves - 3 parallax layers alag speed pe + moving gold crest */
.ft-wave {
  position: absolute;
  top: -88px;
  left: 0;
  right: 0;
  height: 90px;
  /* 200% wide svgs page ko wide na kare - local clip */
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
}

.ftw {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;
  height: 100%;
  display: block;
  will-change: transform;
}

/* Parallax speeds - 3D depth feel */
.ftw-1 { animation: ftWaveMove 22s linear infinite; }
.ftw-2 { animation: ftWaveMove 14s linear infinite; }
.ftw-3 { animation: ftWaveMove 9s linear infinite; }

@keyframes ftWaveMove {
  to { transform: translateX(-50%); }
}

@media (max-width: 767.98px) {
  .ft-wave { top: -58px; height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .ftw { animation: none; }
}

/* soft ambient glow behind footer */
.ft-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  top: -160px;
  left: -120px;
  border-radius: 50%;
  background: rgba(39, 95, 172, 0.22);
  filter: blur(90px);
  pointer-events: none;
}

.ft-wrap {
  position: relative;
  z-index: 2;
}

.ft-grid {
  row-gap: 1.5rem;
}

.footer a {
  text-decoration: none;
}

/* --- Brand column --- */
.ft-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}

.ft-crest {
  display: inline-block;
  position: relative;
}

.footer-logo img {
  max-height: 118px;
  width: auto;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.55));
  transition: transform 0.4s ease;
}

.ft-crest:hover img {
  transform: translateY(-4px) scale(1.03);
}

.ft-brandname {
  display: block;
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin-bottom: 6px;
}
.ft-brandname em {
  font-style: italic;
  color: #ffcd39;
}

.ft-tag {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.58) !important;
  max-width: 320px;
  margin: 0;
}

/* social circles */
.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.social-icons a .bi {
  font-size: 16px;
  color: inherit !important;
}

.social-icons a:hover {
  transform: translateY(-4px);
  color: #12265a !important;
  background: linear-gradient(135deg, #ffe27a, #f0b429);
  border-color: rgba(255, 205, 57, 0.8);
  box-shadow: 0 12px 24px rgba(240, 180, 41, 0.4);
}

/* --- Column titles --- */
.ft-title {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 1.2rem;
}

.ft-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #f0b429, #ffe27a);
  box-shadow: 0 0 10px rgba(255, 205, 57, 0.55);
}

/* Underline ke end pe chhota gold diamond */
.ft-title::before {
  content: "";
  position: absolute;
  left: 56px;
  bottom: -2px;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: #f0b429;
  box-shadow: 0 0 8px rgba(255, 205, 57, 0.7);
}

/* --- Link columns --- */
.footer ul {
  list-style: none;
  padding-left: 0 !important;
  margin-bottom: 0;
}

.ft-links li {
  margin-bottom: 0.55rem;
}

.ft-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72) !important;
  transition: color 0.3s ease, transform 0.3s ease;
}

.ft-links a i {
  font-size: 0.55rem;
  color: #f0b429;
  transition: transform 0.3s ease;
}

.ft-links a:hover {
  color: #ffffff !important;
  transform: translateX(6px);
}

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

/* --- Contact column - clean raised chips --- */
.ft-contact li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.7rem;
  padding: 9px 13px;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.ft-contact li:hover {
  transform: translateX(5px);
  border-color: rgba(255, 205, 57, 0.35);
  background: rgba(255, 255, 255, 0.07);
}

.ft-contact a {
  padding-top: 0;
}

.ft-ic {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: #ffcd39;
  background: rgba(255, 205, 57, 0.1);
  border: 1px solid rgba(255, 205, 57, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.ft-contact a {
  color: rgba(255, 255, 255, 0.72) !important;
  transition: color 0.3s ease;
  word-break: break-word;
  padding-top: 0;
}

.ft-contact a:hover {
  color: #ffcd39 !important;
}

/* gold pill CTA */
.ft-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0.35rem;
  padding: 0.72rem 1.5rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #12265a !important;
  background: linear-gradient(120deg, #ffe27a 0%, #f0b429 100%);
  box-shadow: 0 10px 26px rgba(240, 180, 41, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ft-cta:hover {
  transform: translateY(-3px);
  color: #12265a !important;
  box-shadow: 0 16px 36px rgba(240, 180, 41, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

/* --- Bottom bar --- */
.ft-bottom {
  position: relative;
  margin-top: 1rem;
  padding: 0.7rem 0;
  /* Footer se alag - darker full-width strip + gold hairline */
  background: #03081a;
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(255, 205, 57, 0.4) 50%, transparent) 1;
}
.ft-bottom .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.ft-copy {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55) !important;
}

.ft-copy a,
.footer p a {
  color: rgba(255, 255, 255, 0.55) !important;
}

.footer p a:hover {
  color: #ffcd39 !important;
}

/* Full-menu login buttons row */
.fm-login-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ft-copy strong {
  color: #ffcd39;
}

/* back to top circular button */
/* Floating back-to-top - viewport ke bottom-right, scroll pe appear */
.ft-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 205, 57, 0.5);
  background: rgba(10, 22, 56, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffcd39;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.ft-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  box-shadow: 0 10px 24px rgba(6, 13, 36, 0.5);
}

.ft-top:hover {
  transform: translateY(-4px);
  color: #12265a;
  background: linear-gradient(135deg, #ffe27a, #f0b429);
  box-shadow: 0 12px 26px rgba(240, 180, 41, 0.45);
}

/* ==========================================================================
   HOME PAGE SECTIONS
   ========================================================================== */

/* Main intro */
.main-content-container p {
  color: #ffffff !important;
}

/* Learning section */
.learning h3,
.learning p {
  color: #ffffff !important;
}

.bgTile {
  background-color: #275fac;
  color: #ffffff;
}

.student {
  overflow: hidden;
}

.student img {
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease-in;
  width: 100%;
}

.learning:hover .student > img {
  transform: scale(1.1);
}

/* Vision / Chairman */
.vision h4,
.vision h3,
.vision h5 {
  color: #275fac !important;
}

.visionImage {
  width: 17rem;
}

.visionImage img {
  border: 8px solid #275fac;
  border-radius: 130px 130px 10px 10px;
  height: 100%;
  width: 100%;
}

/* Benefits grid */
.benefitsImage img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.overlayx {
  background-image: linear-gradient(#ffffff00 55%, #151515);
  bottom: 0;
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  visibility: hidden;
  width: 100%;
}

.benefitBox {
  overflow: hidden;
}

.benefitBox img {
  transition: transform 0.3s ease;
}

.benefitBox:hover .overlayx {
  opacity: 1;
  visibility: visible;
}

.benefitBox:hover img {
  transform: scale(1.1);
}

/* School News */
.schoolnews {
  position: relative;
}

.schoolnews:before {
  background: url(../images/m1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  filter: blur(5px);
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.schoolnewshead h3 {
  color: #ffffff !important;
  z-index: 10;
  position: relative;
}

.schoolnewsBox {
  overflow: hidden;
  padding: 20px;
  position: relative;
  z-index: 10;
}

.news-slider {
  overflow: hidden;
  position: relative;
}

.news-track {
  display: flex;
  transition: transform 0.5s ease;
}

.slider-item {
  align-items: center;
  display: flex !important;
  justify-content: center;
  flex: 0 0 50%;
  min-width: 0;
}

.box {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  padding: 15px;
  text-align: center;
  width: 90%;
  overflow: hidden;
  position: relative;
  transition: all 0.6s ease-in;
}

.box img {
  border-radius: 8px;
  height: auto;
  margin-bottom: 10px;
  width: 100%;
  transition: all 0.6s ease-in;
}

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

.box h3 {
  color: #12265a;
}

.news-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 26px;
  z-index: 11;
  cursor: pointer;
  padding: 0 10px;
}

.news-nav.prev {
  left: 0;
}

.news-nav.next {
  right: 0;
}

@media (max-width: 768px) {
  .slider-item {
    flex: 0 0 100%;
  }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
  .crest-hang {
    left: 0.75rem;
  }
  .crest-badge img {
    height: 80px;
    filter: drop-shadow(0 6px 7px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 10px rgba(255, 205, 57, 0.25));
  }
  .main-content-container {
    transform: none !important;
    transition: none;
  }
  .student img {
    clip-path: none !important;
  }
  .student {
    width: auto !important;
  }
}

/* ==========================================================================
   LATEST UPDATES TICKER (hero ke niche - premium strip)
   ========================================================================== */
.updates-ticker {
  background: linear-gradient(90deg, #0d1b45 0%, #16295e 50%, #0d1b45 100%);
  border-top: 1px solid rgba(255, 205, 57, 0.25);
  border-bottom: 1px solid rgba(255, 205, 57, 0.25);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* Label chip - gold gradient, angled right edge */
.ticker-label {
  background: linear-gradient(135deg, #ffcd39 0%, #f0b429 55%, #d99a12 100%);
  color: #0d1b45;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.55rem 1.4rem 0.55rem 1.1rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  gap: 8px;
  flex-shrink: 0;
}

.ticker-label i {
  font-size: 0.85rem;
}

/* Scrolling body */
.ticker-body {
  flex: 1;
  overflow: hidden;
  padding: 0.55rem 0;
}

.ticker-body marquee {
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.ticker-item {
  margin-right: 3rem;
  white-space: nowrap;
}

.ticker-item i {
  color: #ffcd39;
  font-size: 0.6rem;
  margin-right: 6px;
  vertical-align: middle;
}

/* More button - right side, gold outline */
.ticker-more {
  flex-shrink: 0;
  gap: 7px;
  padding: 0 1.2rem;
  background: rgba(255, 205, 57, 0.12);
  border-left: 1px solid rgba(255, 205, 57, 0.3);
  color: #ffcd39;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease;
}

.ticker-more:hover {
  background: rgba(255, 205, 57, 0.22);
  color: #ffe27a;
}

.more-arrow {
  font-size: 0.65rem;
  transition: transform 0.3s ease;
}

.ticker-more[aria-expanded="true"] .more-arrow {
  transform: rotate(180deg);
}

/* Slide-down panel */
.more-updates-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 20, 50, 0.6);
}

.more-update-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.75rem 1.4rem;
  color: #e8f1f8;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.2s ease, color 0.2s ease;
}

.more-update-item:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.more-update-item i {
  color: #ffcd39;
  font-size: 0.7rem;
}

.more-update-item:hover {
  background: rgba(255, 205, 57, 0.08);
  color: #ffffff;
}

@media (max-width: 575.98px) {
  .ticker-label {
    font-size: 0.62rem;
    padding: 0.5rem 1rem 0.5rem 0.8rem;
    letter-spacing: 0.08em;
  }
  .ticker-label span {
    display: none;
  }
  .ticker-label i {
    font-size: 1rem;
  }
  .ticker-body marquee {
    font-size: 0.75rem;
  }
  .ticker-more {
    padding: 0 0.8rem;
    font-size: 0.62rem;
  }
  .more-updates-list {
    grid-template-columns: 1fr;
  }
  .more-update-item:nth-child(odd) {
    border-right: none;
  }
}

/* ==========================================================================
   OUR PROGRAMMES (Heritage Experiential style - image card grid)
   ========================================================================== */
.our_programs {
  padding: 3.2rem 0 2.5rem;
  background: #ffffff;
}

.our_pro_box h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #12265a;
  text-align: center;
  margin-bottom: 2.2rem;
  position: relative;
  padding-bottom: 0.9rem;
}

.our_pro_box h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, #ffcd39, transparent);
}

.our_lr ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}

.our_lr ul li {
  flex: 0 0 calc(33.333% - 1.1rem);
  max-width: calc(33.333% - 1.1rem);
}

.our_lr ul li a {
  display: block;
  position: relative;
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.our_lr ul li a span {
  display: block;
  overflow: hidden;
}

.our_lr ul li a span img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.our_lr ul li a p {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 1.6rem 1rem 0.85rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 50, 0.92) 70%);
}

.our_lr ul li a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) scaleX(0);
  width: 70%;
  height: 3px;
  background: #ffcd39;
  border-radius: 3px;
  transition: transform 0.35s ease;
  z-index: 2;
}

.our_lr ul li a:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
}

.our_lr ul li a:hover span img {
  transform: scale(1.08);
}

.our_lr ul li a:hover::before {
  transform: translateX(-50%) scaleX(1);
}

.our_lr ul li a:hover p {
  color: #ffcd39;
}

@media (max-width: 991.98px) {
  .our_lr ul li {
    flex: 0 0 calc(50% - 0.8rem);
    max-width: calc(50% - 0.8rem);
  }
}

@media (max-width: 575.98px) {
  .our_lr ul li {
    flex: 0 0 100%;
    max-width: 420px;
  }
  .our_lr ul li a span img {
    height: 210px;
  }
}

/* ==========================================================================
   STICKY SIDE BUTTONS - Heritage style (right edge APPLY + ENQUIRE)
   ========================================================================== */
.sticky_side_btns {
  position: fixed;
  right: 0;
  bottom: 168px;  /* WhatsApp float (bottom:108 + 46px size) ke just upar stack */
  z-index: 1040;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.5s cubic-bezier(0.22, 0.9, 0.3, 1);
}

/* Brochure auto-hide (10s) - PURA ander slide ho jata hai; scroll pe wapas
   nahi aata, sirf refresh pe phir dikhta hai */
.sticky-side-btn.ssb-bro-hide {
  transform: translateX(105%);
  opacity: 0;
  pointer-events: none;
}

.sticky-side-btn {
  display: block;
  background: #ffffff;
  color: #275fac;
  border: 1.5px solid #275fac;
  border-radius: 6px;
  margin-right: -2px;
  padding: 12px 20px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  transition: background 0.25s ease, color 0.25s ease, transform 0.5s cubic-bezier(0.22, 0.9, 0.3, 1), opacity 0.5s ease;
}

.sticky-side-btn:hover {
  background: #275fac;
  color: #ffffff;
}

/* E-Brochure variant - gold accent, brochure stand out */
.sticky-side-btn.sticky-side-gold {
  color: #0d1b45;
  border-color: #d4a853;
  background: linear-gradient(135deg, #ffe27a, #e6a91c);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.sticky-side-btn.sticky-side-gold:hover {
  background: linear-gradient(135deg, #f5d06f, #cf8f0f);
  color: #0d1b45;
}

/* Mobile pe bhi dikhenge - compact mini pills, edge pe chipke (content cover
   na ho isliye chhote, screen ke side me) */
@media (max-width: 991.98px) {
  .sticky_side_btns { gap: 6px; }
  .sticky-side-btn {
    padding: 9px 10px;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    border-radius: 5px 0 0 5px;
    margin-right: 0;
    border-right: none;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
  }
}
}

/* ==========================================================================
   CAMPUS FACILITIES (premium animated grid)
   ========================================================================== */
.campus-facilities {
  padding: calc(3.5rem + clamp(80px, 12vw, 170px)) 0 4.5rem;
  background:
    radial-gradient(700px 420px at 85% 12%, rgba(255, 205, 57, 0.14), transparent 60%),
    radial-gradient(600px 400px at 8% 92%, rgba(39, 95, 172, 0.09), transparent 60%),
    linear-gradient(160deg, #ffffff 0%, #f4f7fc 100%);
  position: relative;
  overflow: hidden;
  /* Learn banner ke bottom carve mein ye section dikhta hai */
  margin-top: calc(-1 * clamp(80px, 12vw, 170px));
}

/* Soft ambient glows */
.fac-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.fac-glow-1 {
  width: 480px;
  height: 480px;
  background: rgba(255, 205, 57, 0.13);
  top: -160px;
  right: -120px;
}

.fac-glow-2 {
  width: 420px;
  height: 420px;
  background: rgba(39, 95, 172, 0.1);
  bottom: -150px;
  left: -90px;
}

.campus-facilities .our_pro_box {
  text-align: center;
  position: relative;
  z-index: 1;
}

.fac-title {
  font-family: 'Cinzel', serif;
  color: #101D5F;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.1;
}

.fac-title em {
  font-style: normal;
  background: linear-gradient(90deg, #d99a12, #f0b429);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fac-sub {
  text-align: center;
  color: #4a5568;
  font-family: 'Nunito', sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  max-width: 620px;
  margin: 0.9rem auto 0;
  position: relative;
  z-index: 1;
}

/* ------------------ Bento grid - featured tile + mixed photo tiles ------------------ */
.fac-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 155px;
  gap: 14px;
  margin-top: 2.4rem;
  position: relative;
  z-index: 1;
}

.fac-tile {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.4s ease;
}

/* Featured bada tile (2x2) aur wide tile (2x1) */
.fac-feat {
  grid-column: span 2;
  grid-row: span 2;
}

.fac-wide {
  grid-column: span 2;
}

.fac-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Niche readable gradient */
.fac-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 14, 34, 0) 28%, rgba(6, 14, 34, 0.5) 60%, rgba(6, 14, 34, 0.92) 100%);
}

.fac-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.95rem 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

/* Gold icon chip */
.fac-info i {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 205, 57, 0.16);
  border: 1px solid rgba(255, 205, 57, 0.5);
  color: #ffcd39;
  font-size: 1rem;
  backdrop-filter: blur(4px);
}

.fac-info b {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.2;
}

/* Description - hover pe reveal */
.fac-info small {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  opacity: 0;
  transform: translateY(6px);
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.35s ease;
}

.fac-tile:hover {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), inset 0 0 0 2px rgba(240, 180, 41, 0.85);
}

.fac-tile:hover img {
  transform: scale(1.09);
}

.fac-tile:hover .fac-info small {
  opacity: 1;
  transform: translateY(0);
  max-height: 2.4em;
}

/* Featured tile pe bada title */
.fac-feat .fac-info {
  padding: 1.4rem 1.5rem;
}

.fac-feat .fac-info b {
  font-size: 1.35rem;
}

.fac-feat .fac-info i {
  width: 46px;
  height: 46px;
  font-size: 1.25rem;
}

@media (max-width: 991.98px) {
  .fac-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 130px;
    gap: 12px;
  }
}

@media (max-width: 575.98px) {
  .fac-grid {
    grid-auto-rows: 115px;
    gap: 10px;
  }
  .fac-info {
    padding: 0.7rem 0.8rem;
    gap: 0.55rem;
  }
  .fac-info i {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
    border-radius: 9px;
  }
  .fac-info b {
    font-size: 0.74rem;
  }
  .fac-feat .fac-info b {
    font-size: 1.05rem;
  }
  .fac-feat .fac-info i {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}

/* ==========================================================================
   BRIARCREST STYLE - Trajan typography + scroll reveal animations
   ========================================================================== */

/* Trajan Pro style headings (Cinzel is Trajan's twin) */
.bff-title {
  font-family: 'Cinzel', serif !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Scroll reveal - ISZL style: buttery rise + scale settle */
.bff-reveal {
  opacity: 0;
  transform: translateY(42px) scale(0.965);
  transition: opacity 1s ease, transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.bff-reveal.bff-shown {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ISZL text mask-slide: text neeche se mask ke andar se slide hota hai */
.bff-mask {
  clip-path: inset(-2% -5% 105% -5%);
  transform: translateY(60px);
  opacity: 0;
  transition: clip-path 1.15s cubic-bezier(0.16, 1, 0.3, 1), transform 1.15s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  transition-delay: var(--reveal-delay, 0s);
  will-change: clip-path, transform, opacity;
}

.bff-mask.bff-shown {
  clip-path: inset(-10% -5% -15% -5%);
  transform: translateY(0);
  opacity: 1;
}

/* !important zaroori hai - .aboutus-text.bff-mask jaisi custom hidden-state
   rules (0,2,0 specificity) is reset ko override karke RM users ko
   permanently blank section dikhati thi */
@media (prefers-reduced-motion: reduce) {
  .bff-reveal,
  .bff-mask {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   MOBILE RESPONSIVE - Premium (Tablet & Phone)
   ========================================================================== */
@media (max-width: 991.98px) {

  /* Top marquee compact */
  .headWrapper {
    padding: 2px 0;
  }
  .headWrapper marquee {
    font-size: 0.78rem;
  }
  .headerSocial {
    margin-right: 0.4rem !important;
  }
  .headerSocial i {
    font-size: 0.85rem;
  }

  /* Brand strip - logo+name left, Campus Login button right */
  .brand-strip .container-fluid > .d-flex {
    padding: 0.9rem 0 1rem;
    justify-content: space-between;
  }
  .brand-lockup {
    margin-left: 0;
    align-items: flex-start;
  }
  .brand-top {
    justify-content: flex-start;
  }
  .brand-right {
    position: static;
    transform: none;
    flex-shrink: 0;
  }
  /* Mobile pe sirf "Login" - text bilkul centered */
  .erp-btn {
    padding: 0.6rem 1rem;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .erp-full {
    display: none;
  }
  .brand-crest {
    height: 88px;
    margin-right: 14px;
  }
  .brand-name {
    font-size: clamp(1.2rem, 5.2vw, 1.6rem);
    letter-spacing: 0.02em;
    line-height: 1.05;
    display: block;
  }
  /* Mobile pe FOUNDATION niche line mein */
  .brand-name-em {
    display: block;
    font-size: clamp(0.98rem, 4.4vw, 1.3rem);
    letter-spacing: 0.18em;
    line-height: 1.05;
    margin-top: 1px;
  }
  /* Tagline - name ke karib, ek line me fit */
  .brand-tagline {
    font-size: clamp(0.56rem, 2.4vw, 0.68rem);
    margin-top: 3px;
    letter-spacing: 0.04em;
    gap: 10px;
    white-space: nowrap;
  }
  .brand-tagline::before,
  .brand-tagline::after {
    flex: 0 0 auto;
    width: min(40px, 10vw);
    height: 1.5px;
  }

  /* Slim nav - mobile pe bordered toggler nahi, sirf plain hamburger icon */
  .main-nav .container-fluid {
    min-height: 52px;
  }
  .navbar-toggler {
    display: none;
  }

  /* Search + hamburger dono chhote plain icons, side by side */
  .nav-icons {
    gap: 0.2rem;
  }
  .nav-icon-btn {
    padding: 0.35rem 0.5rem;
    font-size: 1.05rem;
    min-width: 32px;
  }

  /* Collapsed menu - dark glass panel */
  .main-nav .navbar-collapse {
    background: rgba(10, 22, 50, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    margin: 6px 0 10px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  }
  .main-nav .navbar-nav .nav-link {
    padding: 0.7rem 0.9rem !important;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #ffffff !important;
  }
  .main-nav .navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffcd39 !important;
  }
  .main-nav .navbar-nav .nav-link::after,
  .main-nav .navbar-nav .nav-link::before {
    display: none;
  }

  /* Hanging crest compact */
  .crest-hang {
    left: 0.75rem;
  }
  .crest-badge img {
    height: 74px;
  }

  /* Inline search mobile width */
  .nav-search.open .nav-search-input {
    width: 140px;
    font-size: 0.82rem;
  }

  /* Section titles scale down */
  .learning h1,
  .learning h2,
  .vision h2,
  .schoolnewshead h2,
  .schoolnewshead h3 {
    font-size: 1.35rem !important;
  }
  p.fs-4 {
    font-size: 1.05rem !important;
  }
  .p-md-5 {
    padding: 1.25rem !important;
  }

  /* Cards full-width feel with spacing */
  .benefitBox {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .student {
    max-width: 420px;
  }

  /* Footer compact - logo side me, sab left-aligned aur chhota */
  .footer {
    text-align: left;
    padding-top: 2.2rem;
  }
  .ft-grid {
    row-gap: 1.6rem;
  }
  /* Brand row: logo left side, tagline uske baaju me */
  .ft-brand {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 16px;
  }
  .footer-logo img {
    max-width: 64px;
  }
  /* Name + tagline block logo ke baaju me */
  .ft-brandtext {
    flex: 1;
    min-width: 200px;
  }
  .ft-brandname {
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
  }
  .ft-tag {
    max-width: none;
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.5;
  }
  .social-icons {
    justify-content: flex-start;
    gap: 8px;
  }
  .social-icons a {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }
  /* Titles left-aligned, chhote */
  .ft-title {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    margin-bottom: 12px;
  }
  .ft-title::after {
    left: 0;
    transform: none;
    width: 30px;
  }
  .ft-title::before { display: none; }
  .ft-links a {
    justify-content: flex-start;
    font-size: 0.78rem;
  }
  .ft-links li { margin-bottom: 6px; }
  .ft-contact li {
    justify-content: flex-start;
    font-size: 0.78rem;
    margin-bottom: 8px;
  }
  .ft-contact li .ft-ic {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
  .ft-cta { display: none; } /* mobile pe Enquire Now button nahi */
  /* Bottom bar ke upar ka dead space kam - copyright ke pehle gap tight */
  .ft-bottom { margin-top: 10px; }
  .ft-bottom .container { justify-content: center; }
  /* Mobile copyright - premium do-line stack */
  .ft-copy { font-size: 0.76rem; letter-spacing: 0.04em; line-height: 1.85; text-align: center; font-weight: 600; color: rgba(232,236,248,0.7) !important; }
  .ft-copy .mx-1 { display: none; }
  .ft-copy-l1, .ft-copy-l2 { display: block; }
  .ft-copy-l1 { font-size: 0.84rem; color: rgba(232,236,248,0.85); letter-spacing: 0.02em; }
  .ft-copy-l2 { font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 3px; opacity: .75; }
  .ft-copy-l2 strong { font-weight: 800; letter-spacing: 0.1em; }
}

@media (max-width: 480px) {

  /* Extra small phones - lockup bada aur readable rahe */
  .brand-crest {
    height: 72px;
    margin-right: 10px;
  }
  .brand-name {
    font-size: clamp(1.15rem, 5.8vw, 1.45rem);
    letter-spacing: 0.01em;
  }
  .brand-name-em {
    font-size: clamp(0.92rem, 4.6vw, 1.15rem);
    letter-spacing: 0.14em;
  }
  .brand-tagline {
    font-size: clamp(0.62rem, 2.9vw, 0.72rem);
    gap: 10px;
    margin-top: 8px;
    white-space: normal;
  }
  .brand-tagline::before,
  .brand-tagline::after {
    width: min(44px, 11vw);
  }

  /* Nav icons tighter */
  .nav-icon-btn {
    padding: 0.3rem;
    font-size: 1rem;
  }
  .nav-search.open .nav-search-input {
    width: 120px;
  }

  /* Hanging crest smaller */
  .crest-badge img {
    height: 62px;
  }

  /* News arrows inside edges */
  .news-nav.prev {
    left: 4px;
  }
  .news-nav.next {
    right: 4px;
  }
}

/* ==========================================================================
   MVA BURHANPUR STYLE HEADER - transparent over hero, logo LEFT + menu RIGHT
   ========================================================================== */
.header-zone {
  position: relative;
  z-index: 1030;
}

.mva-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1020;
  /* Premium cinematic scrim - video ke upar soft dark fade */
  background: linear-gradient(180deg, rgba(3, 8, 22, 0.88) 0%, rgba(3, 8, 22, 0.52) 58%, rgba(3, 8, 22, 0) 100%);
  padding-bottom: 1.6rem;
}

.mva-header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.35rem 0 0.9rem;
}

/* Top pe wapas pahunchne pe logo + buttons smoothly slide-in (pop nahi) */
.mva-header:not(.nav-fixed) .mva-header-inner {
  animation: headerRowIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

@keyframes headerRowIn {
  0% {
    opacity: 0;
    transform: translateY(-16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Logo lockup */
.mva-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.mva-logo-crest {
  height: 84px;
  width: auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 14px rgba(255, 205, 57, 0.18));
  transition: transform 0.3s ease;
}

.mva-logo:hover .mva-logo-crest {
  transform: translateY(-2px);
}

.mva-logo-text {
  display: block;
}

.mva-logo-name {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
  line-height: 1.08;
}

/* FOUNDATION hamesha niche apni line me - gold gradient text */
.mva-logo-name em {
  display: block;
  font-style: normal;
  font-size: 0.9em;
  letter-spacing: 0.18em;
  margin-top: 1px;
  background: linear-gradient(90deg, #ffe9a8 0%, #ffcd39 45%, #e6a91c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.mva-logo-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.7rem;
  color: #fdf6e3;
  letter-spacing: 0.12em;
  margin-top: 6px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Tagline ke dono taraf thin gold hairlines - premium touch */
.mva-logo-tag::before,
.mva-logo-tag::after {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #f0b429);
}

.mva-logo-tag::after {
  background: linear-gradient(90deg, #f0b429, transparent);
}

/* Right menu - sirf scrolled white bar me dikhega */
.mva-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}

/* Top pe (transparent header) menu options hide */
.mva-header:not(.nav-fixed) .mva-menu {
  display: none;
}

.mva-menu li {
  position: relative;
}

.mva-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 0.65rem 0.7rem;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
  transition: color 0.25s ease;
}

/* Golden 2-corner frame - dono kone se line trace hoti hai */
.mva-link {
  position: relative;
}

.mva-link::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 0;
  height: 0;
  border-top: 2px solid #f0b429;
  border-left: 2px solid #f0b429;
  opacity: 0;
  transition: width 0.3s ease, height 0.3s ease 0.28s, opacity 0s;
}

.mva-link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 0;
  height: 0;
  border-bottom: 2px solid #f0b429;
  border-right: 2px solid #f0b429;
  opacity: 0;
  transition: width 0.3s ease, height 0.3s ease 0.28s, opacity 0s;
}

.mva-link:hover {
  color: #ffe27a;
}

.mva-link:hover::before,
.mva-link:hover::after {
  opacity: 1;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  transition: width 0.32s ease, height 0.32s ease 0.3s, opacity 0s;
}

/* Scrolled bar pe deep gold frame + text */
.mva-header.nav-fixed .mva-link:hover {
  color: #b8860b;
}

.dropdown-arrow {
  font-size: 0.55rem;
  transition: transform 0.25s ease;
}

.mva-menu .has-submenu:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Right items - hamesha right edge pe */
.mva-right {
  gap: 0.6rem;
  flex-shrink: 0;
  margin-left: auto;
}

/* Hamburger - Login jaisa bordered rounded button + "MENU" text */
.mva-hamburger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  padding: 0 1.4rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1;
  height: 46px;
  box-sizing: border-box;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

/* icon ki wajah se button bada na ho - icon fixed size */
.mva-hamburger i {
  font-size: 0.9rem;
  line-height: 1;
}

.mva-hamburger:hover {
  background: #ffffff;
  color: #12265a;
  border-color: #ffffff;
  transform: none;
  filter: none;
}

.mva-header.nav-fixed .mva-hamburger {
  color: #12265a;
  border-color: #16295e;
}

.mva-header.nav-fixed .mva-hamburger:hover {
  background: #16295e;
  color: #ffffff;
  border-color: #16295e;
}

.mva-header .nav-icon-btn {
  color: #ffffff;
  font-size: 1.25rem;
}

.mva-header .nav-icon-btn:hover {
  color: #ffcd39;
}

.mva-header .erp-btn {
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  padding: 0 1.4rem;
  font-size: 0.78rem;
  line-height: 1;
  height: 46px;
  box-sizing: border-box;
  transition: all 0.25s ease;
}

.mva-header .erp-btn:hover {
  background: #ffffff;
  color: #12265a !important;
  border-color: #ffffff;
}

/* Scroll pe white fixed bar (MVA .fixed jaisa) */
.mva-header.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding-bottom: 0;
  background: linear-gradient(90deg, #4a9ade 0%, #2b6cb8 35%, #1a3a7c 65%, #0d1b45 100%);
  box-shadow: 0 12px 34px rgba(6, 18, 40, 0.3);
  animation: navSlideDown 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

/* Wapas upar scroll pe - butter-smooth slide-up fade out */
.mva-header.nav-fixed.nav-hiding {
  animation: navSlideUp 0.75s cubic-bezier(0.55, 0.06, 0.35, 0.95) forwards;
}

/* Scrolled patti thodi badi - breathing room */
.mva-header.nav-fixed .mva-header-inner {
  padding: 1rem 0;
}

/* Scrolled patti ke niche gold accent line - premium */
.mva-header.nav-fixed::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f0b429 20%, #ffcd39 50%, #f0b429 80%, transparent);
  pointer-events: none;
}

.mva-header.nav-fixed .mva-logo-crest {
  height: 58px;
}

.mva-header.nav-fixed .mva-logo-name {
  color: #ffffff;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  text-shadow: none;
}

.mva-header.nav-fixed .mva-logo-name em {
  letter-spacing: 0.14em;
}

.mva-header.nav-fixed .mva-logo-tag {
  color: #ffcd39;
  text-shadow: none;
  font-size: 0.58rem;
}

.mva-header.nav-fixed .mva-link {
  color: #ffffff;
  text-shadow: none;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 0.9rem 0.65rem;
}

.mva-header.nav-fixed .mva-link:hover {
  color: #ffcd39;
}

.mva-header.nav-fixed .nav-icon-btn {
  color: #ffffff;
}

.mva-header.nav-fixed .nav-icon-btn:hover {
  color: #ffcd39;
}

.mva-header.nav-fixed .erp-btn {
  color: #ffffff !important;
  border-color: #ffcd39;
}

.mva-header.nav-fixed .erp-btn:hover {
  background: #ffcd39;
  border-color: #ffcd39;
  color: #0d1b45 !important;
}

.mva-header.nav-fixed .mva-hamburger {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.8);
}

.mva-header.nav-fixed .mva-hamburger:hover {
  background: #ffffff;
  color: #0d1b45;
  border-color: #ffffff;
}

/* Home submenu - mva-menu ke andar */
.mva-menu .submenu li .nav-link {
  color: #12265a !important;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex !important;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.95rem !important;
  border-radius: 6px;
  letter-spacing: 0.02em;
  text-shadow: none !important;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mva-menu .submenu li .nav-link i {
  color: #275fac;
  font-size: 0.9rem;
  width: 18px;
  text-align: center;
  transition: color 0.2s ease;
}

.mva-menu .submenu li .nav-link:hover {
  background-color: #eaf1fb !important;
  color: #275fac !important;
  transform: translateX(4px);
}

.mva-menu .submenu li .nav-link:hover i {
  color: #ffcd39;
}

@media (min-width: 992px) {
  .mva-menu li.has-submenu:hover .submenu {
    display: block;
  }
}

/* Scrolled bar me bhi chhoti screen pe menu hide - hamburger rahega */
@media (max-width: 1299.98px) {
  .mva-menu {
    display: none !important;
  }
}

/* Briarcrest style - side panel half page tak slide karta hai */
.offcanvas.side-panel {
  width: min(50vw, 620px) !important;
  min-width: 340px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@media (max-width: 575.98px) {
  .offcanvas.side-panel {
    width: 88vw !important;
  }
}

@media (max-width: 991.98px) {
  .mva-logo-crest {
    height: 62px;
  }
  .mva-logo-name {
    font-size: clamp(1.25rem, 5.4vw, 1.55rem);
    line-height: 1.08;
  }
  /* Mobile pe FOUNDATION niche alag line */
  .mva-logo-name em {
    display: block;
    font-size: 0.85em;
    letter-spacing: 0.14em;
    margin-top: 1px;
  }
  .mva-logo-tag {
    font-size: 0.58rem;
    margin-top: 4px;
  }
  .mva-header .erp-btn {
    padding: 0 0.9rem;
    font-size: 0.66rem;
    height: 42px;
  }
  .mva-header .mva-hamburger {
    height: 42px;
    padding: 0 0.9rem;
    font-size: 0.66rem;
  }
  .mva-header .nav-icon-btn {
    font-size: 1.15rem;
    padding: 0.4rem;
  }
}

@media (max-width: 575.98px) {
  .mva-header-inner {
    gap: 0.7rem;
    padding: 0.5rem 0;
  }
  .mva-logo-crest {
    height: 52px;
  }
  .mva-logo-name {
    font-size: clamp(1.05rem, 5.6vw, 1.3rem);
    letter-spacing: 0.03em;
  }
  .mva-logo-name em {
    font-size: 0.85em;
    letter-spacing: 0.12em;
  }
  .mva-logo-tag {
    font-size: 0.54rem;
    letter-spacing: 0.08em;
  }
  .mva-header .erp-btn {
    padding: 0.55rem 0.85rem;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }
  .mva-header .nav-icon-btn {
    font-size: 1.1rem;
    padding: 0.35rem;
  }
  .nav-search.open .nav-search-input {
    width: 110px;
  }
}

/* ==========================================================================
   FULLSCREEN MENU - Briarcrest split layout (left cream panel + right image)
   ========================================================================== */
.full-menu {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: #f7f4ee;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

.full-menu.open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.fm-split {
  display: flex;
  height: 100%;
}

/* LEFT: cream panel */
.fm-left {
  width: 55%;
  padding: 1.4rem 3rem 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.fm-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

/* Close button - gold/navy box X + "Close" */
.full-menu-close {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.fm-close-box {
  width: 46px;
  height: 46px;
  background: #16295e;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  border-radius: 4px 0 0 4px;
  transition: background 0.3s ease;
}

.fm-close-txt {
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0 16px;
  border: 1.5px solid #16295e;
  border-left: none;
  border-radius: 0 4px 4px 0;
  color: #16295e;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.full-menu-close:hover .fm-close-box {
  background: #E8232A;
}

/* Login button top-right - outline */
.fm-login-btn {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #16295e;
  border-radius: 4px;
  padding: 0.7rem 1.4rem;
  color: #16295e;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
}

.fm-login-btn:hover {
  background: #16295e;
  color: #ffffff;
}

/* Big links - Briarcrest jaisa stacked uppercase */
.fm-nav {
  display: flex;
  flex-direction: column;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(22, 41, 94, 0.15);
}

.fm-nav > a,
.fm-more-toggle {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600;
  color: #16295e;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-decoration: none;
}

.fm-nav > a,
.fm-nav > .fm-more {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), color 0.25s ease;
}

.full-menu.open .fm-nav > a,
.full-menu.open .fm-nav > .fm-more {
  opacity: 1;
  transform: translateY(0);
}

.full-menu.open .fm-nav > :nth-child(1) { transition-delay: 0.08s; }
.full-menu.open .fm-nav > :nth-child(2) { transition-delay: 0.14s; }
.full-menu.open .fm-nav > :nth-child(3) { transition-delay: 0.2s; }
.full-menu.open .fm-nav > :nth-child(4) { transition-delay: 0.26s; }
.full-menu.open .fm-nav > :nth-child(5) { transition-delay: 0.32s; }
.full-menu.open .fm-nav > :nth-child(6) { transition-delay: 0.38s; }
.full-menu.open .fm-nav > :nth-child(7) { transition-delay: 0.44s; }
.full-menu.open .fm-nav > :nth-child(8) { transition-delay: 0.5s; }

.fm-nav > a:hover {
  color: #E8232A;
}

/* MORE item - hover pe side me vertical line draw hoti hai,
   line ke aage dropdown options staggered fade-in hote hain */
.fm-more {
  position: relative;
}

.fm-more-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  position: relative;
  cursor: pointer;
  transition: color 0.25s ease;
}

.fm-more-toggle i {
  font-size: 0.5em;
  transition: transform 0.3s ease;
}

/* MORE text ke niche gradient underline sweep */
.fm-more-toggle::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #E8232A 0%, #16295e 100%);
  transition: width 0.32s ease;
}

.fm-more:is(:hover, .open, :focus-within) .fm-more-toggle {
  color: #E8232A;
}

.fm-more:is(:hover, .open, :focus-within) .fm-more-toggle::after {
  width: 100%;
}

.fm-more:is(:hover, .open, :focus-within) .fm-more-toggle i {
  transform: rotate(90deg);
}

/* Flyout panel - MORE ke aage, vertical line ke us paar */
.fm-more-panel {
  position: absolute;
  left: clamp(165px, 38%, 320px);
  top: -0.5rem;
  min-width: 175px;
  padding: 0.85rem 1.3rem 0.9rem 1.7rem;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(34, 68, 204, 0.12);
  border-radius: 12px;
  box-shadow: 0 16px 44px rgba(10, 15, 46, 0.13);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-14px);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.3s;
  z-index: 5;
}

/* Vertical gradient line - hover pe top se niche draw hoti hai */
.fm-more-line {
  position: absolute;
  left: 0.7rem;
  top: 0.85rem;
  bottom: 0.85rem;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, #E8232A 0%, #16295e 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.06s;
}

.fm-more-links {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.fm-more-links a {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.9rem, 1.15vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #16295e;
  text-decoration: none;
  line-height: 1.55;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
}

.fm-more-links a:hover {
  color: #E8232A;
}

.fm-more:is(:hover, .open, :focus-within) .fm-more-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.fm-more:is(:hover, .open, :focus-within) .fm-more-line {
  transform: scaleY(1);
}

.fm-more:is(:hover, .open, :focus-within) .fm-more-links a {
  opacity: 1;
  transform: translateX(0);
}

.fm-more:is(:hover, .open, :focus-within) .fm-more-links a:nth-child(1) { transition-delay: 0.12s; }
.fm-more:is(:hover, .open, :focus-within) .fm-more-links a:nth-child(2) { transition-delay: 0.18s; }
.fm-more:is(:hover, .open, :focus-within) .fm-more-links a:nth-child(3) { transition-delay: 0.24s; }
.fm-more:is(:hover, .open, :focus-within) .fm-more-links a:nth-child(4) { transition-delay: 0.3s; }
.fm-more:is(:hover, .open, :focus-within) .fm-more-links a:nth-child(5) { transition-delay: 0.36s; }

/* Gold bottom bar - Enquire + Visit */
.fm-goldbar {
  margin-top: auto;
  display: flex;
  background: linear-gradient(135deg, #E8232A, #B01622);
}

.fm-gold-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1.1rem;
  color: #16295e;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease;
}

.fm-gold-item + .fm-gold-item {
  border-left: 1px solid rgba(13, 27, 69, 0.25);
}

.fm-gold-item:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #0d1b45;
}

/* RIGHT: rounded image card */
.fm-right {
  width: 45%;
  padding: 0.8rem 0.8rem 0.8rem 0;
}

.fm-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* Desktop only */
@media (max-width: 991.98px) {
  .full-menu {
    display: none;
  }
}

/* Laptop fit fix - 1300-1530px pe compact spacing */
@media (min-width: 1300px) and (max-width: 1530px) {
  .mva-header-inner {
    gap: 0.8rem;
  }
  .mva-header .container-fluid {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
  .mva-logo-crest {
    height: 64px;
  }
  .mva-logo-name {
    font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  }
  .mva-logo-tag {
    font-size: 0.56rem;
  }
  .mva-menu {
    gap: 0;
  }
  .mva-header.nav-fixed .mva-link {
    font-size: 0.88rem;
    padding: 0.9rem 0.55rem;
    letter-spacing: 0.02em;
  }
  .mva-header .erp-btn,
  .mva-hamburger {
    padding: 0 1rem;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }
}

/* Animated counter numbers - gold pop */
.bff-count {
  color: #ffcd39;
  font-weight: 900;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   SHARED SECTION HEAD (eyebrow chip + Cinzel title + sub)
   ========================================================================== */
.sec-head {
  text-align: center;
  margin-bottom: 2.4rem;
}

.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #b8860b;
  background: rgba(255, 205, 57, 0.14);
  border: 1px solid rgba(240, 180, 41, 0.45);
  border-radius: 50px;
  padding: 0.4rem 1.1rem;
  margin-bottom: 0.9rem;
}

.sec-head-light .sec-eyebrow {
  color: #ffcd39;
}

.sec-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #12265a;
  margin-bottom: 0.8rem;
  position: relative;
  padding-bottom: 0.9rem;
}

.sec-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, #ffcd39, transparent);
}

.sec-head-light .sec-title {
  color: #ffffff;
}

.sec-sub {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #5a6a92;
  max-width: 620px;
  margin: 0.4rem auto 0;
}

.sec-head-light .sec-sub {
  color: rgba(255, 255, 255, 0.68);
}

/* ==========================================================================
   STATS BAND - navy strip, gold animated counters
   ========================================================================== */
/* Photo banner ↔ stats band divider - cream pe gold ornament line
   (banner ke upar wali cream gap jaisa hi niche bhi cream gap) */
.stats-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  /* Full-width cream strip - body ka dark bg nahi dikhta */
  margin: 0;
  margin-top: calc(-1 * clamp(80px, 12vw, 170px));
  /* Top padding me carve notch ki height add - learn-banner ke bottom-right
     carve ke peeche ye cream dikhta hai (top notch jaisa, #F8F4EC) */
  padding: calc(clamp(1.8rem, 4vw, 3.2rem) + clamp(80px, 12vw, 170px)) 20px clamp(1.8rem, 4vw, 3.2rem);
  width: 100%;
  background: linear-gradient(180deg, #F6F1E7 0%, #F8F4EC 100%);
}
.stats-divider span {
  flex: 1;
  /* Ornament ~420px se wide nahi ho (pehle width: min(420px,70vw) tha) */
  max-width: 190px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.65));
}
.stats-divider span:last-child {
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.65), transparent);
}
.stats-divider i {
  color: #C9A227;
  font-size: 0.85rem;
  filter: drop-shadow(0 0 8px rgba(201, 162, 39, 0.35));
}

.stats-band {
  position: relative;
  z-index: 2;
  background:
    radial-gradient(ellipse 60% 120% at 50% 0%, rgba(255, 205, 57, 0.12) 0%, transparent 60%),
    linear-gradient(90deg, #0d1b45 0%, #16295e 50%, #0d1b45 100%);
  border-top: 1px solid rgba(255, 205, 57, 0.25);
  border-bottom: 1px solid rgba(255, 205, 57, 0.25);
  padding: 2.6rem 0;
  /* Niche dono corners carve */
  border-radius: 0 0 42px 42px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.75rem;
  top: 50%;
  transform: translateY(-50%);
  height: 60%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 205, 57, 0.4), transparent);
}

/* .bgTile override - transparent, sirf counter JS ke liye class reuse */
.stats-band .stat-num.bgTile {
  background: none;
  font-family: 'Cinzel', serif;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
}

.stat-label {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffcd39;
  margin-top: 0.55rem;
}

.stat-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.15rem;
}

/* ==========================================================================
   CBSE RESULTS - ultra-premium dark 3D podium (glass cards + metallic slabs)
   ========================================================================== */
.results-section {
  position: relative;
  overflow: hidden;
  /* Stats-band ke carve ke andar iska light bg dikhe - upar pull */
  margin-top: -42px;
  padding: calc(4.2rem + 42px) 0 4.6rem;
  /* Ultra-premium WHITE live theme - halka ice gradient + gold/blue ambient glows */
  background:
    radial-gradient(ellipse 60% 40% at 50% -6%, rgba(240, 180, 41, 0.10) 0%, transparent 62%),
    radial-gradient(ellipse 40% 36% at 96% 78%, rgba(39, 95, 172, 0.08) 0%, transparent 65%),
    linear-gradient(180deg, #f7faff 0%, #eef3fb 55%, #ffffff 100%);
}



/* Spiral texture - bottom half pe (invert karke light lines on white) */
.res-spiral {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 55%;
  background: url('../images/live-spiral.png') no-repeat center bottom;
  background-size: cover;
  filter: invert(0.92) brightness(0.28) sepia(0.65) saturate(4) hue-rotate(190deg);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}



/* Light bg pe normal heading colors - eyebrow thoda elevated */
.results-section .sec-eyebrow {
  background: rgba(255, 205, 57, 0.18);
  box-shadow: 0 6px 18px rgba(240, 180, 41, 0.18);
}

/* floating ambient orbs */
.res-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.res-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  animation: resOrbFloat 14s ease-in-out infinite;
}

.ro-1 {
  width: 340px;
  height: 340px;
  top: -110px;
  left: -80px;
  background: rgba(240, 180, 41, 0.18);
}

.ro-2 {
  width: 300px;
  height: 300px;
  bottom: -90px;
  right: -60px;
  background: rgba(39, 95, 172, 0.16);
  animation-delay: -5s;
}

.ro-3 {
  width: 190px;
  height: 190px;
  top: 34%;
  left: 46%;
  background: rgba(255, 205, 57, 0.14);
  animation-delay: -9s;
}

@keyframes resOrbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -26px, 0) scale(1.07); }
}

.results-section .container {
  position: relative;
  z-index: 1;
}

.results-highlight {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 2.8rem;
}

.rh-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 160px;
  padding: 1rem 1.6rem;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
  border: 1px solid rgba(18, 38, 90, 0.1);
  box-shadow: 0 12px 30px rgba(13, 27, 69, 0.1), inset 0 1px 0 #ffffff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.rh-chip:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 180, 41, 0.6);
  box-shadow: 0 20px 40px rgba(13, 27, 69, 0.16), 0 0 24px rgba(255, 205, 57, 0.18);
}

.rh-chip strong {
  font-family: 'Cinzel', serif;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(120deg, #16295e 0%, #275fac 55%, #4a63dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rh-chip strong em {
  font-style: normal;
  font-size: 1.05rem;
}

.rh-chip > span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a97b8;
  margin-top: 3px;
}

.results-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.res-group {
  background: linear-gradient(170deg, #ffffff 0%, #f6f9ff 100%);
  border: 1px solid rgba(18, 38, 90, 0.09);
  border-radius: 24px;
  padding: 1.7rem 1.4rem 0;
  box-shadow: 0 26px 60px rgba(13, 27, 69, 0.13), inset 0 1px 0 #ffffff;
}

.res-group-title {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #12265a;
  text-align: center;
  margin-bottom: 2rem;
}

.res-group-title i {
  color: #ffcd39;
  margin-right: 6px;
  text-shadow: 0 0 14px rgba(255, 205, 57, 0.6);
}

/* --- 3D podium row: [2] [1] [3] - winner elevated centre --- */
.podium-row {
  display: grid;
  grid-template-columns: 1fr 1.16fr 1fr;
  align-items: end;
  gap: 0.7rem;
  position: relative;
  perspective: 1400px;
}

/* floor reflection glow under podium */
.podium-row::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -14px;
  height: 46px;
  background: radial-gradient(ellipse 50% 100% at 50% 0%, rgba(240, 180, 41, 0.2) 0%, rgba(39, 95, 172, 0.12) 45%, transparent 75%);
  filter: blur(4px);
  pointer-events: none;
}

.topper-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
}

.topper-card.rank-2 { order: 1; }
.topper-card.rank-1 { order: 2; z-index: 3; }
.topper-card.rank-3 { order: 3; }

/* glass card body - gets JS tilt, children float on translateZ layers */
.tc-inner {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 1.5rem 0.75rem 1.3rem;
  text-align: center;
  transform-style: preserve-3d;
  transform: translateZ(var(--tz, 0px)) translateY(var(--lift, 0px));
  background: linear-gradient(170deg, #ffffff 0%, #f7faff 60%);
  border: 1px solid rgba(18, 38, 90, 0.1);
  box-shadow: 0 18px 42px rgba(13, 27, 69, 0.13), inset 0 1px 0 #ffffff;
  transition: transform 0.28s ease-out, box-shadow 0.4s ease, border-color 0.4s ease;
  will-change: transform;
}

.topper-card:hover .tc-inner {
  box-shadow: 0 30px 60px rgba(13, 27, 69, 0.2), 0 0 34px rgba(240, 180, 41, 0.18), inset 0 1px 0 #ffffff;
  border-color: rgba(240, 180, 41, 0.5);
}

.rank-1 .tc-inner {
  --tz: 46px;
  --lift: -14px;
  padding-top: 1.9rem;
  padding-bottom: 1.5rem;
  border-color: rgba(240, 180, 41, 0.65);
  background: linear-gradient(170deg, #fff9e2 0%, #ffffff 55%);
  box-shadow: 0 26px 54px rgba(13, 27, 69, 0.17), 0 0 30px rgba(255, 205, 57, 0.2), inset 0 1px 0 #ffffff;
}

.rank-2 .tc-inner { --tz: 16px; }
.rank-3 .tc-inner { --tz: 8px; }

/* moving light sweep across glass */
.tc-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}

.tc-shine::before {
  content: "";
  position: absolute;
  top: -60%;
  bottom: -60%;
  left: -45%;
  width: 32%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(39, 95, 172, 0.07), transparent);
  animation: tcShine 6s ease-in-out infinite;
}

.rank-1 .tc-shine::before {
  background: linear-gradient(90deg, transparent, rgba(255, 205, 57, 0.3), transparent);
}

/* left % -> translateX: shine width 32% hai, isliye 180% parent-move =
   180/0.32 = 562.5% apni width. Position bilkul same, GPU-composited */
@keyframes tcShine {
  0%, 58% { transform: translateX(0) skewX(-18deg); }
  92%, 100% { transform: translateX(562.5%) skewX(-18deg); }
}

/* rank pill floating on card top edge */
.topper-rank {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(90deg, #275fac, #16295e);
  border-radius: 50px;
  padding: 0.3rem 0.8rem;
  margin-bottom: 0.9rem;
  transform: translateZ(40px);
  box-shadow: 0 6px 16px rgba(13, 27, 69, 0.3);
}

.rank-1 .topper-rank {
  background: linear-gradient(90deg, #d99a12, #ffcd39);
  color: #12265a;
  box-shadow: 0 6px 18px rgba(217, 154, 18, 0.45);
}

.rank-1 .topper-rank i { color: #12265a; }
.rank-3 .topper-rank { background: linear-gradient(90deg, #a5672f, #7c4a1d); }

/* circular photo with rotating medal ring */
.topper-photo {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  transform: translateZ(34px);
}

.topper-photo::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #f0b429, rgba(240, 180, 41, 0.18) 30%, #ffe27a 50%, rgba(240, 180, 41, 0.18) 70%, #f0b429);
  animation: resRingSpin 7s linear infinite;
  filter: drop-shadow(0 8px 16px rgba(13, 27, 69, 0.22));
}

.rank-2 .topper-photo::before {
  background: conic-gradient(from 0deg, #9fb2d8, rgba(159, 178, 216, 0.18) 30%, #dbe4f5 50%, rgba(159, 178, 216, 0.18) 70%, #9fb2d8);
}

.rank-3 .topper-photo::before {
  background: conic-gradient(from 0deg, #c98a4e, rgba(201, 138, 78, 0.18) 30%, #f6cf9f 50%, rgba(201, 138, 78, 0.18) 70%, #c98a4e);
}

@keyframes resRingSpin {
  to { transform: rotate(360deg); }
}

.topper-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 10px 26px rgba(13, 27, 69, 0.22);
  transition: transform 0.45s ease;
}

.topper-card:hover .topper-photo img {
  transform: scale(1.08);
}

.topper-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  color: #12265a;
  transform: translateZ(26px);
}

.topper-stream {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a97b8;
  margin-top: 0.2rem;
  transform: translateZ(22px);
}

/* counting score - metallic gradient per rank */
.topper-score {
  font-family: 'Cinzel', serif;
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1.05;
  margin-top: 0.3rem;
  transform: translateZ(38px);
  background: linear-gradient(120deg, #a57608 0%, #e6a91c 45%, #b8860b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 10px rgba(230, 169, 28, 0.3));
}

.topper-score em {
  font-style: normal;
  font-size: 1.05rem;
}

.rank-2 .topper-score {
  background: linear-gradient(120deg, #45598c 0%, #8496bd 55%, #5a6f9e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 3px 10px rgba(132, 150, 189, 0.3));
}

.rank-3 .topper-score {
  background: linear-gradient(120deg, #8d5527 0%, #d99c62 50%, #a5672f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 3px 10px rgba(201, 138, 78, 0.3));
}

/* score bar fills when card scrolls into view */
.score-bar {
  height: 5px;
  border-radius: 5px;
  background: rgba(18, 38, 90, 0.1);
  margin: 0.65rem 0.4rem 0;
  overflow: hidden;
  transform: translateZ(20px);
}

.score-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #f0b429, #ffe27a);
  box-shadow: 0 0 12px rgba(255, 205, 57, 0.65);
  transition: width 1.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.rank-2 .score-bar i {
  background: linear-gradient(90deg, #9fb2d8, #e8eefb);
  box-shadow: 0 0 12px rgba(219, 228, 245, 0.5);
}

.rank-3 .score-bar i {
  background: linear-gradient(90deg, #b5763a, #e0a76a);
  box-shadow: 0 0 12px rgba(224, 167, 106, 0.5);
}

.topper-card.bff-shown .score-bar i {
  width: var(--score);
}

/* metallic podium slab under each card */
.tc-base {
  position: relative;
  height: var(--bh, 30px);
  margin: -3px 8px 0;
  border-radius: 5px 5px 12px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f6c945 0%, #b97f0e 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.6), inset 0 -9px 14px rgba(0, 0, 0, 0.28), 0 12px 26px rgba(13, 27, 69, 0.25);
}

/* slab top face - pseudo-3D bevel */
.tc-base::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 7px;
  right: 7px;
  height: 9px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #fff0bd, #f2c230);
  transform: perspective(120px) rotateX(38deg);
  transform-origin: bottom;
}

.tc-base b {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 1rem;
  color: rgba(6, 13, 36, 0.72);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.rank-1 .tc-base { --bh: 48px; }
.rank-1 .tc-base b { font-size: 1.25rem; }

.rank-2 .tc-base {
  --bh: 30px;
  background: linear-gradient(180deg, #c8d3e8 0%, #7f92b8 100%);
}

.rank-2 .tc-base::before {
  background: linear-gradient(180deg, #f2f6fd, #aebdd9);
}

.rank-3 .tc-base {
  --bh: 24px;
  background: linear-gradient(180deg, #d99c62 0%, #8d5527 100%);
}

.rank-3 .tc-base::before {
  background: linear-gradient(180deg, #f6cf9f, #c98a4e);
}

@media (prefers-reduced-motion: reduce) {
  .res-orb,
  .topper-photo::before,
  .tc-shine::before {
    animation: none;
  }
  .score-bar i {
    transition: none;
    width: var(--score);
  }
}

/* ==========================================================================
   WHY BFF - dark feature icon cards
   ========================================================================== */
.why-section {
  padding: 3.6rem 0 3.8rem;
  background:
    radial-gradient(ellipse 70% 90% at 50% 0%, rgba(39, 95, 172, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, #081226 0%, #0d1b45 100%);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.why-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1.7rem 1.4rem;
  text-align: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 205, 57, 0.55);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
  color: #0d1b45;
  background: linear-gradient(135deg, #ffe27a 0%, #ffcd39 55%, #e6a91c 100%);
  box-shadow: 0 8px 20px rgba(255, 205, 57, 0.35);
  transition: transform 0.35s ease;
}

.why-card:hover .why-icon {
  transform: rotateY(360deg) scale(1.08);
}

.why-card h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* --- Growth tree split - ek side tree, dusri side chips --- */
.why-split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2.4rem;
  align-items: center;
}
.why-tree-img {
  display: block;
  width: 100%;
  height: auto;
  /* Black background transparent - navy section se blend */
  mix-blend-mode: screen;
}
.why-groups-side {
  text-align: left;
  display: flex;
  flex-direction: column;
}

/* Har group ek glass card - left edge pe accent bar (crown=green, roots=gold) */
.why-group {
  position: relative;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1.2rem 1.35rem 1.35rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}
.why-group:hover {
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
}
.why-group::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 3px;
}
.why-group-crown::before {
  background: linear-gradient(180deg, #b8f58a 0%, #57b34a 100%);
  box-shadow: 0 0 12px rgba(126, 217, 87, 0.45);
}
.why-group-roots::before {
  background: linear-gradient(180deg, #ffe27a 0%, #d99a1f 100%);
  box-shadow: 0 0 12px rgba(255, 205, 57, 0.45);
}
.why-group-crown:hover { border-color: rgba(165, 233, 126, 0.3); }
.why-group-roots:hover { border-color: rgba(255, 205, 57, 0.3); }

.why-group-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffcd39;
  margin-bottom: 0.85rem;
}
.why-group-tag i { font-size: 0.7rem; }
.why-group-crown .why-group-tag { color: #a5e97e; }
.why-group-roots .why-group-tag { color: #ffcd39; }

.why-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
}
.why-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #e8ecf8;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 7px 14px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.why-chip i {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s ease;
}
.why-chip:hover {
  border-color: rgba(255, 205, 57, 0.55);
  background: rgba(255, 205, 57, 0.1);
  color: #ffe27a;
}
.why-chip:hover i { color: inherit; }
.why-group-crown .why-chip:hover {
  border-color: rgba(165, 233, 126, 0.55);
  background: rgba(126, 217, 87, 0.12);
  color: #d9ffb9;
}

/* Trunk ke outcomes - crown group me gold highlighted chips */
.why-chip-gold {
  background: rgba(255, 205, 57, 0.12);
  border-color: rgba(255, 205, 57, 0.38);
  color: #ffe27a;
}
.why-chip-gold i { color: #ffcd39; }
.why-chip-gold:hover,
.why-group-crown .why-chip-gold:hover {
  background: rgba(255, 205, 57, 0.18);
  border-color: rgba(255, 205, 57, 0.6);
  color: #fff3c4;
}

/* Mobile-only "View All Offerings" toggle - desktop pe hidden (rules media query me) */
.why-more-btn { display: none; cursor: pointer; }

@keyframes whyChipIn {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Trunk connector - dono groups ke beech growth line */
.why-trunk-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0.9rem 0;
  padding: 0 0.4rem;
}
.wtl-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 205, 57, 0.4), transparent);
}
.wtl-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.62rem;
  color: #0d1b45;
  background: linear-gradient(135deg, #ffe27a 0%, #e6a91c 100%);
  box-shadow: 0 4px 12px rgba(255, 205, 57, 0.35);
}

/* --- Premium curved divider - dark why-section se light gallery me transition --- */
.why-bottom-curve {
  position: relative;
  margin-bottom: -3.8rem; /* section ki bottom padding consume kare - curve flush edge pe rahe */
  line-height: 0;
}
.why-bottom-curve svg {
  display: block;
  width: 100%;
  height: 90px;
}
.why-curve-gem {
  position: absolute;
  left: 50%;
  top: 26%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.85rem;
  color: #ffcd39;
  background: #0d1b45;
  border: 1.5px solid rgba(255, 205, 57, 0.75);
  box-shadow: 0 0 14px rgba(255, 205, 57, 0.4);
  animation: whyGemGlow 3s ease-in-out infinite;
}
@keyframes whyGemGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(255, 205, 57, 0.35); }
  50% { box-shadow: 0 0 26px rgba(255, 205, 57, 0.65); }
}

@media (max-width: 991.98px) {
  .why-bottom-curve svg { height: 56px; }
  .why-curve-gem {
    width: 30px;
    height: 30px;
    font-size: 0.7rem;
  }
}

/* ==========================================================================
   GALLERY - filter chips + grid + lightbox
   ========================================================================== */
.gallery-section {
  background: #f5f8fd;
  padding: 3.6rem 0 3.8rem;
  overflow: hidden;
}

/* ==========================================================================
   SCROLLING MARQUEE GALLERY - 2 rows opposite directions, infinite loop
   ========================================================================== */
.gal-marquee {
  margin-top: 0.4rem;
  /* Edge se edge full width marquee */
}

.gal-row {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  padding: 0.6rem 0;
  animation: galScrollL 42s linear infinite;
}

.gal-row-right {
  animation-name: galScrollR;
}

/* Marquee hover pe pause */
.gal-marquee:hover .gal-row {
  animation-play-state: paused;
}

@keyframes galScrollL {
  to {
    transform: translateX(-50%);
  }
}

@keyframes galScrollR {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

/* Reduced motion - scroll off, manual scroll on */
@media (prefers-reduced-motion: reduce) {
  .gal-row {
    animation: none;
  }
  .gal-marquee {
    overflow-x: auto;
  }
}

.gal-item {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: clamp(240px, 26vw, 360px);
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 10px 26px rgba(13, 27, 69, 0.14);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Premium shine sweep on hover */
.gal-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.gal-item:hover::after {
  transform: translateX(110%);
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gal-cap {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 1.4rem 0.7rem 0.75rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 50, 0.9) 75%);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.gal-cap i {
  color: #ffcd39;
}

.gal-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(13, 27, 69, 0.22);
}

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

.gal-item:hover .gal-cap {
  opacity: 1;
  transform: translateY(0);
}

.gal-item.gal-hide {
  display: none;
}

/* Lightbox */
.gal-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 8, 20, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}

.gal-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.gal-lb-figure {
  margin: 0;
  max-width: 88vw;
  text-align: center;
}

.gal-lb-figure img {
  max-width: 88vw;
  max-height: 78vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  border: 3px solid rgba(255, 205, 57, 0.35);
  transform: scale(0.94);
  transition: transform 0.35s ease, opacity 0.18s ease;
}

.gal-lightbox.open .gal-lb-figure img {
  transform: scale(1);
}

.gal-lb-figure figcaption {
  margin-top: 0.9rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.gal-lb-btn {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 2;
}

.gal-lb-btn:hover {
  background: #ffcd39;
  border-color: #ffcd39;
  color: #0d1b45;
}

.gal-lb-close { top: 1.4rem; right: 1.4rem; }
.gal-lb-prev { left: 1.4rem; top: 50%; transform: translateY(-50%); }
.gal-lb-next { right: 1.4rem; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   GALLERY PAGE - category tabs -> album folder cards -> album photos
   (gold ornament frames + hero first album - premium MLZS style)
   ========================================================================== */
.gpage [hidden] { display: none !important; }

/* Category tabs - centered text tabs with gold underline */
.gpage .gal-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  margin: 0 auto 34px;
  max-width: 720px;
  border-bottom: 1px solid rgba(13, 27, 69, 0.1);
}
.gpage .gal-nav-rule {
  width: 1px;
  background: rgba(13, 27, 69, 0.1);
  margin: 8px 4px;
}
.gpage .gal-cat {
  flex: 1;
  border: 0;
  background: transparent;
  color: #8b9bb8;
  padding: 8px 14px 12px;
  cursor: pointer;
  text-align: center;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.25s ease;
}
.gpage .gal-cat:hover { color: #0d1b45; }
.gpage .gal-cat::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -1px;
  height: 2px;
  background: transparent;
  border-radius: 2px;
}
.gpage .gal-cat.is-active { color: #0d1b45; }
.gpage .gal-cat.is-active::after {
  background: linear-gradient(90deg, #2a4a9e, #ffcd39);
}

/* Back bar - album khulne pe top pe dikhta hai */
.gpage .gal-back {
  display: flex;
  align-items: baseline;
  gap: 22px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(13, 27, 69, 0.08);
}
.gpage .gal-back h3 {
  margin: 0;
  color: #0d1b45;
  font-family: 'Nunito', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.gpage .gal-back p {
  margin: 4px 0 0;
  color: #d99a1f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.gpage .gal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #0d1b45;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s ease;
}
.gpage .gal-back-btn:hover { color: #d99a1f; }

/* Album folder grid - first visible album hero (bada card) */
.gpage .gal-folders {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.gpage .gal-folder {
  position: relative;
  grid-column: span 4;
  height: 280px;
  border: 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #0d1b45;
  text-align: left;
  box-shadow: 0 16px 36px rgba(13, 27, 69, 0.14);
}
.gpage .gal-folder.is-hero {
  grid-column: span 8;
  height: 420px;
}
.gpage .gal-folder.is-hidden { display: none; }
.gpage .gal-folder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  transition: transform 0.7s ease;
}
.gpage .gal-folder:hover img { transform: scale(1.1); }

/* Gold ornament frame - rim + 4 corner brackets + diamond dots */
.gpage .gal-orn {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.gpage .gal-rim {
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(255, 205, 57, 0.42);
  border-radius: 8px;
  transition: border-color 0.3s ease;
}
.gpage .gal-c {
  position: absolute;
  width: 22px;
  height: 22px;
}
.gpage .gal-c::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  background: #ffcd39;
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(255, 205, 57, 0.85);
}
.gpage .gal-c--tl { top: 11px; left: 11px; border-top: 2px solid #ffcd39; border-left: 2px solid #ffcd39; }
.gpage .gal-c--tr { top: 11px; right: 11px; border-top: 2px solid #ffcd39; border-right: 2px solid #ffcd39; }
.gpage .gal-c--bl { bottom: 11px; left: 11px; border-bottom: 2px solid #ffcd39; border-left: 2px solid #ffcd39; }
.gpage .gal-c--br { bottom: 11px; right: 11px; border-bottom: 2px solid #ffcd39; border-right: 2px solid #ffcd39; }
.gpage .gal-c--tl::before { top: -4px; left: -4px; }
.gpage .gal-c--tr::before { top: -4px; right: -4px; }
.gpage .gal-c--bl::before { bottom: -4px; left: -4px; }
.gpage .gal-c--br::before { bottom: -4px; right: -4px; }
.gpage .gal-folder.is-hero .gal-c { width: 28px; height: 28px; }
.gpage .gal-folder.is-hero .gal-rim { inset: 14px; }
.gpage .gal-folder.is-hero .gal-c--tl,
.gpage .gal-folder.is-hero .gal-c--tr { top: 14px; }
.gpage .gal-folder.is-hero .gal-c--bl,
.gpage .gal-folder.is-hero .gal-c--br { bottom: 14px; }
.gpage .gal-folder.is-hero .gal-c--tl,
.gpage .gal-folder.is-hero .gal-c--bl { left: 14px; }
.gpage .gal-folder.is-hero .gal-c--tr,
.gpage .gal-folder.is-hero .gal-c--br { right: 14px; }
.gpage .gal-folder:hover .gal-rim { border-color: rgba(255, 205, 57, 0.75); }

/* Bottom veil - meta + title + count */
.gpage .gal-folder-veil {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 26px 24px;
  background: linear-gradient(180deg, transparent 32%, rgba(6, 14, 34, 0.9) 100%);
  color: #ffffff;
}
.gpage .gal-folder-meta {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #ffcd39;
  margin-bottom: 6px;
}
.gpage .gal-folder-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.gpage .gal-folder.is-hero .gal-folder-title { font-size: clamp(1.5rem, 2.4vw, 2.05rem); }
.gpage .gal-folder.is-hero .gal-folder-veil { padding: 34px 32px 28px; }
.gpage .gal-folder-count {
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: rgba(255, 255, 255, 0.72);
}

/* Opened album photos - 4 column grid, har 5th thoda tall (rhythm) */
.gpage .gal-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gpage .gal-photo {
  position: relative;
  height: 210px;
  border: 0;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #0d1b45;
  box-shadow: 0 10px 24px rgba(13, 27, 69, 0.12);
}
.gpage .gal-photo .gal-c { width: 16px; height: 16px; }
.gpage .gal-photo .gal-rim { inset: 8px; border-radius: 6px; }
.gpage .gal-photo .gal-c--tl { top: 8px; left: 8px; }
.gpage .gal-photo .gal-c--tr { top: 8px; right: 8px; }
.gpage .gal-photo .gal-c--bl { bottom: 8px; left: 8px; }
.gpage .gal-photo .gal-c--br { bottom: 8px; right: 8px; }
.gpage .gal-photo .gal-c::before { width: 5px; height: 5px; }
.gpage .gal-photo:nth-child(5n) { height: 260px; }
.gpage .gal-photo.is-hidden { display: none; }
.gpage .gal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
}
.gpage .gal-photo:hover img {
  transform: scale(1.06);
  filter: saturate(1.08);
}

.gpage .gal-empty {
  text-align: center;
  color: #64748b;
  padding: 40px 12px;
  font-size: 1rem;
}

/* Awards tab - flat cards with permanent caption strip */
.gpage .gal-photo.gal-award { height: 230px; }
.gpage .gal-award-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 22px 14px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 14, 34, 0.92) 100%);
  color: #ffffff;
  text-align: left;
}
.gpage .gal-award-cap b {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.3;
}
.gpage .gal-award-cap i {
  color: #ffcd39;
  margin-right: 7px;
  font-size: 0.78rem;
}
.gpage .gal-award-cap small {
  display: block;
  margin-top: 3px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 990px) {
  .gpage .gal-folder { grid-column: span 6; height: 240px; }
  .gpage .gal-folder.is-hero { grid-column: span 12; height: 320px; }
  .gpage .gal-photos { grid-template-columns: 1fr 1fr; }
  .gpage .gal-photo,
  .gpage .gal-photo.gal-award,
  .gpage .gal-photo:nth-child(5n) { height: 180px; }
}
@media (max-width: 900px) {
  .gpage .gal-back { flex-direction: column; gap: 10px; }
  .gpage .gal-nav { flex-direction: column; border-bottom: 0; }
  .gpage .gal-nav-rule { display: none; }
  .gpage .gal-cat { border-bottom: 1px solid rgba(13, 27, 69, 0.08); }
}
@media (max-width: 640px) {
  .gpage .gal-folder,
  .gpage .gal-folder.is-hero { grid-column: span 12; height: 260px; }
  .gpage .gal-photo { height: 140px; }
  .gpage .gal-photo.gal-award { height: 160px; }
  .gpage .gal-award-cap { padding: 14px 10px 9px; }
  .gpage .gal-award-cap b { font-size: 0.72rem; }
}
@media (prefers-reduced-motion: reduce) {
  .gpage .gal-folder img,
  .gpage .gal-photo img {
    transition: none;
    transform: none !important;
  }
}

/* ==========================================================================
   TESTIMONIALS - navy gradient, rotating quote cards
   ========================================================================== */
.testi-section {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 4.4rem;
  /* Light premium ivory - upar white (edu-zone se seamless), niche warm cream */
  background:
    radial-gradient(ellipse 55% 70% at 8% 0%, rgba(34, 68, 204, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 65% at 95% 100%, rgba(240, 180, 41, 0.10) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f6f1e8 50%, #fdfbf7 100%);
}

/* Decorative SVG layer - section ke peeche */
.testi-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.testi-section .container {
  position: relative;
  z-index: 1;
}

.testi-stage {
  display: grid;
  max-width: 760px;
  /* floating quote badge ke liye upar space */
  margin: 1.6rem auto 0;
}

.testi-stage > .testi-card {
  grid-area: 1 / 1;
}

.testi-card {
  position: relative;
  /* Light premium card - white glass on cream */
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(240, 180, 41, 0.09), transparent 60%),
    #ffffff;
  border: 1px solid rgba(34, 68, 204, 0.12);
  border-radius: 28px;
  padding: 3.4rem 3rem 2.4rem;
  text-align: center;
  box-shadow: 0 26px 60px rgba(16, 24, 48, 0.12);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
  transform-style: preserve-3d;
}

/* Card ke top pe gold accent line */
.testi-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, transparent, #ffcd39, transparent);
}

.testi-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Quote badge - card ke top border pe float karta hai */
.testi-quote-icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #0d1b45;
  background: linear-gradient(135deg, #ffe27a, #f0b429);
  border-radius: 50%;
  border: 3px solid rgba(13, 27, 69, 0.6);
  box-shadow: 0 10px 26px rgba(255, 205, 57, 0.4), 0 0 0 6px rgba(255, 205, 57, 0.12);
}

.testi-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.14rem;
  line-height: 1.85;
  color: #33415e;
  margin-bottom: 0.9rem;
}

/* 5-star rating row */
.testi-stars {
  display: flex;
  justify-content: center;
  gap: 5px;
  color: #ffcd39;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(255, 205, 57, 0.4);
}

.testi-person {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
}

/* Badi photo - gold ring + glow */
.testi-avatar {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.testi-avatar::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 205, 57, 0.5);
  animation: avatarSpin 14s linear infinite;
}

@keyframes avatarSpin {
  to { transform: rotate(360deg); }
}

.testi-person img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3.5px solid #ffcd39;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 0 5px rgba(255, 205, 57, 0.16);
}

.testi-person strong {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: #101d5f;
  text-align: left;
}

.testi-person span {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b8860b;
  text-align: left;
}

.testi-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.6rem;
}

.testi-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(16, 29, 95, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testi-dot.active {
  width: 26px;
  border-radius: 6px;
  background: linear-gradient(90deg, #ffe27a, #f0b429);
  box-shadow: 0 0 12px rgba(255, 205, 57, 0.6);
}

/* ==========================================================================
   ADMISSIONS CTA - parallax campus banner
   ========================================================================== */
/* Top curve - white section ka scalloped dip into dark CTA */
.cta-curve {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  z-index: 2;
  pointer-events: none;
  line-height: 0;
}
.cta-curve svg {
  width: 100%;
  height: auto;
  display: block;
}

.admit-cta {
  position: relative;
  padding: 8rem 0 5rem; /* top curve ke liye extra space */
  background-image: url("../images/hero_campus.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.admit-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 38, 0.88) 0%, rgba(13, 27, 69, 0.82) 100%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cta-crest {
  height: 92px;
  width: auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 18px rgba(255, 205, 57, 0.25));
  margin-bottom: 1.2rem;
}

.cta-inner h2 {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.7rem;
}

.cta-inner p {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.8rem;
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  padding: 0.95rem 2rem;
  transition: all 0.25s ease;
}

.cta-btn-gold {
  background: linear-gradient(135deg, #ffe27a 0%, #ffcd39 55%, #e6a91c 100%);
  color: #0d1b45;
  box-shadow: 0 10px 26px rgba(255, 205, 57, 0.4);
}

.cta-btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(255, 205, 57, 0.55);
  color: #0d1b45;
}

.cta-btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  color: #ffffff;
}

.cta-btn-ghost:hover {
  background: #ffffff;
  color: #0d1b45;
  border-color: #ffffff;
}

/* ==========================================================================
   NEW SECTIONS - responsive
   ========================================================================== */
@media (max-width: 991.98px) {
  /* Stats ek hi line me - 4 items compact, chhota text */
  .stats-band { padding: 1.2rem 0; }
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
  }
  .stats-band .stat-num.bgTile {
    font-size: 1.2rem;
    line-height: 1.1;
  }
  .stat-label {
    font-size: 0.5rem;
    letter-spacing: 0.04em;
    line-height: 1.35;
    margin-top: 0.3rem;
  }
  .stat-sub {
    font-size: 0.55rem;
    line-height: 1.3;
    margin-top: 0.15rem;
  }
  /* Beech ke divider lines sab dikhein */
  .stat-item:not(:last-child)::after { right: -0.2rem; }
  .results-groups {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Tree split - mobile pe stack: tree upar, chips niche centered */
  .why-split {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .why-groups-side { text-align: center; }
  .why-chips { justify-content: center; }
  .why-tree-img { width: min(440px, 100%); margin: 0 auto; }

  /* Crown chips - mobile pe sirf main (gold) outcomes dikhte hain,
     baaki 15 offerings "View All" toggle ke peeche smooth-expand hote hain */
  .why-group-crown .why-chip:not(.why-chip-gold):not(.why-more-btn) { display: none; }
  .why-group-crown.why-open .why-chip:not(.why-chip-gold):not(.why-more-btn) {
    display: inline-flex;
    animation: whyChipIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  /* Batch-wise stagger - chips group me cascade lagte hain */
  .why-group-crown.why-open .why-chip:nth-child(n+4):nth-child(-n+8) { animation-delay: 0.06s; }
  .why-group-crown.why-open .why-chip:nth-child(n+9):nth-child(-n+13) { animation-delay: 0.14s; }
  .why-group-crown.why-open .why-chip:nth-child(n+14) { animation-delay: 0.22s; }
  .why-more-btn {
    display: inline-flex;
    border-style: dashed;
    border-color: rgba(255, 205, 57, 0.5);
    background: rgba(255, 205, 57, 0.07);
    color: #ffe27a;
  }
  .why-more-btn i { color: #ffcd39; }
  .why-more-btn:hover {
    border-color: rgba(255, 205, 57, 0.8);
    background: rgba(255, 205, 57, 0.14);
    color: #fff3c4;
  }
  .gal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .testi-card {
    padding: 2rem 1.4rem 1.7rem;
  }
}

@media (max-width: 575.98px) {
  /* Chhote phones pe bhi stats 4-per-row, aur thoda chhota text */
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .stats-band .stat-num.bgTile { font-size: 1.05rem; }
  .stat-label { font-size: 0.46rem; }
  .stat-sub { font-size: 0.5rem; }
  .podium-row {
    /* Desktop jaisa - 3 cards side by side (rank1 center, sabse bada) */
    grid-template-columns: 1fr 1.16fr 1fr;
    align-items: end;
    gap: 7px;
    max-width: none;
    margin: 0;
    perspective: none;
  }
  .topper-card.rank-2 { order: 1; }
  .topper-card.rank-1 { order: 2; z-index: 3; }
  .topper-card.rank-3 { order: 3; }
  .tc-inner {
    --tz: 0px !important;
    --lift: 0px !important;
    padding: 0.7rem 0.35rem 0.65rem;
    border-radius: 12px;
  }
  .topper-rank {
    font-size: 0.4rem;
    padding: 0.2rem 0.5rem;
    gap: 3px;
    margin-bottom: 0.45rem;
    letter-spacing: 0.06em;
  }
  .topper-photo {
    width: 52px;
    height: 52px;
    margin-bottom: 0.45rem;
  }
  .topper-photo::before { inset: -3px; }
  .topper-name { font-size: 0.6rem; }
  .topper-stream { font-size: 0.46rem; margin-top: 2px; }
  .topper-score {
    font-size: 1.15rem;
    margin-top: 2px;
  }
  .topper-score em { font-size: 0.66rem; }
  .score-bar {
    height: 4px;
    margin: 0.4rem 0.3rem 0;
  }
  .tc-base { --bh: 22px !important; margin: -3px 5px 0; }
  .tc-base b { font-size: 0.8rem; }
  .rank-1 .tc-base { --bh: 32px !important; }
  .rank-1 .tc-base b { font-size: 0.92rem; }
  .rank-3 .tc-base { --bh: 18px !important; }
  .podium-row::after { bottom: -8px; height: 30px; }
  .why-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }
  .gal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gal-lb-prev { left: 0.6rem; }
  .gal-lb-next { right: 0.6rem; }
  .admit-cta {
    background-attachment: scroll;
    padding: 3.5rem 0;
  }
}

/* ==========================================================================
   THE BFF PROMISE - Sapphire style (arch image + overlap circle + vision/mission)
   ========================================================================== */
.promise-section {
  background: #ffffff;
  padding: 3.5rem 0 4.5rem;
}

.promise-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

/* Left image stack */
.promise-imgs {
  position: relative;
  padding-bottom: 2.5rem;
  padding-right: 2.5rem;
}

/* Badi arch image - Sapphire jaisa rounded-top capsule shape */
.promise-img-main {
  border-radius: 999px 999px 20px 20px;
  overflow: hidden;
  aspect-ratio: 3.4 / 4;
  box-shadow: 0 24px 50px rgba(13, 27, 69, 0.18);
}

.promise-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Niche-right overlapping circular image */
.promise-img-overlap {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid #ffffff;
  box-shadow: 0 16px 36px rgba(13, 27, 69, 0.25);
}

.promise-img-overlap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right content */
.promise-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #12265a;
  margin-bottom: 1.8rem;
}

.promise-block {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  margin-bottom: 1.6rem;
}

.promise-block:last-child {
  margin-bottom: 0;
}

/* Circular gold icon chip */
.promise-icon {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #b8860b;
  background: rgba(255, 205, 57, 0.14);
  border: 1.5px solid rgba(240, 180, 41, 0.55);
  transition: transform 0.3s ease, background 0.3s ease;
}

.promise-block:hover .promise-icon {
  transform: rotateY(360deg);
  background: rgba(255, 205, 57, 0.28);
}

.promise-block h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #12265a;
  margin: 0.35rem 0 0.5rem;
}

.promise-block p {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #5a6a92;
  margin: 0;
  max-width: 520px;
}

/* Mission checklist - hairline separated items */
.promise-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 520px;
}

.promise-list li {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #5a6a92;
  padding: 0.55rem 0 0.55rem 1.7rem;
  position: relative;
  border-bottom: 1px solid #e4ebf7;
}

.promise-list li:last-child {
  border-bottom: none;
}

.promise-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.72rem;
  font-size: 0.7rem;
  color: #1B8D49;
}

@media (max-width: 991.98px) {
  .promise-wrap {
    grid-template-columns: 1fr;
  }
  .promise-imgs {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 575.98px) {
  .promise-section {
    padding: 3rem 0 3.4rem;
  }
  .promise-imgs {
    padding-bottom: 1.6rem;
    padding-right: 1.6rem;
  }
  .promise-icon {
    width: 46px;
    height: 46px;
    font-size: 1.05rem;
  }
}

/* ==========================================================================
   WORLD CLASS EDUCATION CARD - Sapphire ORIGINAL replica
   (purple card + darker right panel + orange counters + line-graphic patti)
   ========================================================================== */
.wc-section {
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  /* white se niche lavender/purple depth gradient (3D premium feel) */
  background-image:
    radial-gradient(ellipse 120% 60% at 50% 118%, rgba(138, 32, 175, 0.30) 0%, transparent 68%),
    linear-gradient(180deg, #ffffff 0%, #f4effc 42%, #ecddf9 74%, #dfc9f4 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: center bottom, center;
  padding: 3rem 0 1.5rem;
}

/* ==========================================================================
   PREMIUM ORBITAL SIDE DECO - concentric rings + rotating dashed arc + glow
   (line-graphic patti ki jagah)
   ========================================================================== */
.wc-side {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  pointer-events: none;
  z-index: 0;
}

.wc-side-l { left: -180px; }
.wc-side-r { right: -180px; }

/* Ring 1 - solid thin orbit */
.wc-r1 {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(138, 32, 175, 0.30);
}

/* Ring 2 - dashed orbit, slowly rotating */
.wc-r2 {
  position: absolute;
  inset: 52px;
  border-radius: 50%;
  border: 1.5px dashed rgba(240, 180, 41, 0.6);
  animation: wcRingSpin 50s linear infinite;
}

/* Ring 3 - inner hairline via pseudo */
.wc-side::before {
  content: '';
  position: absolute;
  inset: 96px;
  border-radius: 50%;
  border: 1px solid rgba(138, 32, 175, 0.18);
}

/* Gold glowing bead ring pe */
.wc-side::after {
  content: '';
  position: absolute;
  top: 7%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, #f0b429 70%);
  box-shadow: 0 0 0 5px rgba(240, 180, 41, 0.22), 0 0 18px rgba(240, 180, 41, 0.8);
}

/* Soft center glow orb */
.wc-orb {
  position: absolute;
  inset: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 180, 41, 0.16), rgba(138, 32, 175, 0.10) 55%, transparent 72%);
}

/* Right side mirrored colors */
.wc-side-r .wc-r1 { border-color: rgba(240, 180, 41, 0.38); }
.wc-side-r .wc-r2 { border-color: rgba(138, 32, 175, 0.45); }
.wc-side-r::before { border-color: rgba(240, 180, 41, 0.22); }

@keyframes wcRingSpin {
  to { transform: rotate(360deg); }
}

/* Card decos ke upar rahe */
.wc-card { z-index: 1; }

@media (max-width: 991.98px) {
  .wc-side { width: 320px; height: 320px; }
  .wc-side-l { left: -140px; }
  .wc-side-r { right: -140px; }
}

@media (max-width: 575.98px) {
  .wc-side { width: 240px; height: 240px; opacity: 0.7; }
}

.wc-card {
  position: relative;
  display: flex;
  justify-content: space-between;
  border-radius: 64px;
  background: #8A20AF;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(117, 27, 148, 0.3);
}

/* Left half - heading + text + icon carousel */
.wc-left {
  padding: 64px;
  width: 100%;
  max-width: 770px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wc-title {
  font-family: 'Bayon', sans-serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 64px;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
  max-width: 450px;
}

.wc-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin: 24px 0 0;
}

/* Icon carousel - Sapphire original: rounded image tiles + labels */
.wc-carousel {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 40px;
}

.wc-viewport {
  overflow: hidden;
  flex: 1;
  max-width: 580px;
  margin: 0 auto;
}

.wc-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.wc-item {
  flex: 0 0 25%;
  text-align: center;
  padding: 0 10px;
}

/* Rounded image tile icon (original Sapphire style) */
.wc-icon-box {
  width: 80px;
  height: 80px;
  margin: 0 auto 12px;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wc-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wc-item:hover .wc-icon-box {
  transform: translateY(-5px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.3);
}

.wc-item span {
  display: block;
  font-family: 'Bayon', sans-serif;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  line-height: 1.35;
  color: #ffffff;
}

/* Orange circle arrows - Sapphire original */
.wc-arrow {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #F90;
  color: #ffffff;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease;
}

.wc-arrow:hover {
  background: #ffaa33;
  transform: scale(1.12);
}

/* Right darker purple panel - Bayon counters */
.wc-right {
  background: #751B94;
  width: 100%;
  max-width: 630px;
  padding: 24px 64px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
}

.wc-num {
  font-family: 'Bayon', sans-serif;
  font-weight: 400;
  font-size: 56px;
  line-height: 1.1;
  color: #F90;
}

.wc-stat p {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #ffffff;
  margin: 10px 0 0;
  max-width: 400px;
}

/* Responsive - mobile pe card compact, lamba nahi */
@media (max-width: 991.98px) {
  .wc-card {
    flex-direction: column;
    border-radius: 30px;
  }
  .wc-left {
    padding: 30px 24px 26px;
    max-width: none;
  }
  .wc-title {
    font-size: 26px;
    line-height: 34px;
  }
  .wc-text {
    font-size: 0.84rem;
    line-height: 1.65;
    margin-top: 14px;
  }
  .wc-carousel { margin-top: 22px; }
  .wc-item {
    flex-basis: 33.333%;
    padding: 0 6px;
  }
  .wc-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    margin-bottom: 8px;
  }
  .wc-item span {
    font-size: 11px;
    line-height: 1.3;
  }
  .wc-arrow {
    width: 32px;
    height: 32px;
    font-size: 0.7rem;
  }
  /* Stats ek compact row me - niche lambi list nahi */
  .wc-right {
    max-width: none;
    padding: 22px 24px 26px;
    flex-direction: row;
    gap: 18px;
  }
  .wc-stat { flex: 1 1 0; }
  .wc-num {
    font-size: 30px;
    line-height: 1.05;
  }
  .wc-stat p {
    font-size: 0.7rem;
    line-height: 1.45;
    margin-top: 6px;
  }
}

@media (max-width: 575.98px) {
  .wc-left {
    padding: 26px 18px 22px;
  }
  .wc-title {
    font-size: 22px;
    line-height: 30px;
  }
  .wc-text { font-size: 0.8rem; }
  .wc-item {
    flex-basis: 33.333%;
  }
  .wc-icon-box {
    width: 52px;
    height: 52px;
  }
  .wc-right {
    padding: 18px 16px 20px;
    gap: 12px;
  }
  .wc-num {
    font-size: 26px;
  }
  .wc-stat p { font-size: 0.64rem; }
}

/* ==========================================================================
   WHY BFF FLIP CARDS - Sapphire original (pill card hover flip → photo)
   ========================================================================== */
.wf-section {
  background: #FFF6E8;
  padding: 4rem 0 calc(4.5rem + clamp(80px, 12vw, 170px));
  overflow: hidden;
}

.wf-title {
  font-family: 'Bayon', sans-serif;
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  line-height: 1.25;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 3rem;
}

/* Horizontal slider - edge se cards cut hote hain (Sapphire swiper jaisa) */
.wf-slider {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 4vw 1rem;
}

.wf-slider::-webkit-scrollbar {
  display: none;
}

.wf-track {
  display: flex;
  gap: 24px;
  width: max-content;
  margin: 0 auto;
}

/* Pill/stadium card - 3D flip */
.wf-card {
  flex: 0 0 auto;
  width: clamp(240px, 24vw, 340px);
  aspect-ratio: 41 / 55;
  perspective: 1400px;
  scroll-snap-align: center;
  outline: none;
}

.wf-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0.1, 0.2, 1);
}

.wf-card:hover .wf-inner,
.wf-card:focus .wf-inner {
  transform: rotateY(180deg);
}

.wf-front,
.wf-back {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1.5px solid #F90;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Front - cream gradient pill (Sapphire original) */
.wf-front {
  background: linear-gradient(180deg, #FFDFAF 0%, #FFF4E4 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.6rem;
}

.wf-num {
  font-family: 'Bayon', sans-serif;
  font-size: 56px;
  line-height: 1.1;
  color: #F90;
  display: block;
}

.wf-front h3 {
  font-family: 'Bayon', sans-serif;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  letter-spacing: 0.24px;
  text-transform: uppercase;
  color: #1a1a1a;
  line-height: 1.3;
  max-width: 290px;
  margin: 0.6rem 0 0;
}

.wf-front p {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.65;
  color: #444444;
  max-width: 260px;
  margin: 1.2rem 0 0;
}

/* Back - photo reveal on flip */
.wf-back {
  transform: rotateY(180deg);
  background-size: cover;
  background-position: center;
}

@media (max-width: 575.98px) {
  .wf-section {
    padding: 3rem 0 3.5rem;
  }
  .wf-card {
    width: min(76vw, 300px);
  }
  .wf-track {
    gap: 16px;
  }
  .wf-num {
    font-size: 46px;
  }
}

/* ==========================================================================
   LEARN MORE BANNER - photo bg + left dark gradient overlay
   ========================================================================== */
.learn-banner {
  position: relative;
  z-index: 1;
  background-image: url("../images/learn_banner_bg.png");
  background-size: cover;
  background-position: center;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  overflow: hidden;
  /* Carve dono sides - top-right aur bottom-right corners curve (left pe text hai) */
  border-radius: 0 clamp(80px, 12vw, 170px) clamp(80px, 12vw, 170px) 0;
}

/* Banner ka text thoda left edge ki taraf - photo ke students ko space de */
.learn-banner .container {
  margin-left: clamp(1rem, 4vw, 4.5rem);
  margin-right: auto;
}

/* Left dark → right transparent gradient (screenshot jaisa) */
.learn-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 14, 34, 0.94) 0%, rgba(13, 27, 69, 0.78) 42%, rgba(13, 27, 69, 0.25) 75%, rgba(13, 27, 69, 0.1) 100%);
}

/* Top-right carve notch fill - banner ke pehle zero-height wrapper,
   fill banner ke top-right notch ke peeche cream color deta hai */
.lb-notchwrap {
  position: relative;
  height: 0;
  z-index: 0;
}

.lb-notch-fill {
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(80px, 12vw, 170px);
  height: clamp(80px, 12vw, 170px);
  background: #F8F4EC;
}

.lb-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.lb-eyebrow {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: #ffffff;
  margin-bottom: 0.9rem;
}

.lb-title {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.28;
  color: #ffffff;
  margin: 0 0 1.2rem;
}

.lb-title em {
  font-style: italic;
  font-weight: 600;
  color: #ffcd39;
}

.lb-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.8rem;
}

.lb-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #0d1b45;
  background: linear-gradient(135deg, #ffe27a 0%, #ffcd39 55%, #e6a91c 100%);
  border-radius: 8px;
  padding: 0.85rem 1.7rem;
  box-shadow: 0 10px 26px rgba(255, 205, 57, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lb-btn i {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.lb-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(255, 205, 57, 0.5);
  color: #0d1b45;
}

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

/* Mobile-only chhota side text (desktop pe hidden) */
.lb-mtag { display: none; }

/* Mobile pe Learn banner - photo strip + side me chhota text + button.
   Cover jyada zoom karta tha - fixed height + upper position se photo sahi dikhe */
@media (max-width: 767.98px) {
  .learn-banner {
    height: 240px;
    padding: 0;
    background-position: center 28%;
    border-radius: 0 56px 56px 0;
  }
  /* Left dark zone (text ke liye) → photo right side dikhe → bottom halka dark (button) */
  .learn-banner::before {
    background:
      linear-gradient(90deg, rgba(6, 14, 34, 0.92) 0%, rgba(6, 14, 34, 0.55) 38%, rgba(6, 14, 34, 0.06) 62%, rgba(6, 14, 34, 0.02) 100%),
      linear-gradient(180deg, rgba(6, 14, 34, 0.05) 55%, rgba(6, 14, 34, 0.45) 100%);
  }
  .lb-eyebrow, .lb-title, .lb-text { display: none; }
  .learn-banner .container {
    margin: 0;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 24px;
  }
  /* Chhota text sirf left dark side me - photo ke upar nahi aata */
  .lb-mtag {
    display: block;
    position: absolute;
    left: 18px;
    top: 40%;
    transform: translateY(-50%);
    max-width: 118px;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.15rem;
    line-height: 1.32;
    color: #ffffff;
    z-index: 2;
  }
  .lb-mtag em { font-style: italic; color: #ffcd39; }
  .lb-btn { padding: 0.8rem 1.6rem; }
}

/* ==========================================================================
   COMMUNITY OF EDUCATORS - Sapphire original (purple card + values cluster)
   ========================================================================== */
/* Card ke around white zone - black body nahi dikhe */
.edu-zone {
  background: #ffffff;
  padding: 3rem 0 4.5rem;
}

.edu-section {
  width: calc(100% - 3rem);
  max-width: 1776px;
  margin: 0 auto;
  background-color: #8A20AF;
  background-image: url("../images/bg-texture.svg");
  background-repeat: repeat;
  border-radius: 80px;
  padding: 80px 0;
}

.edu-wrap {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  /* Card ka size waise hi bada rahe (content baad mein aayega) */
  min-height: 380px;
}

/* Left - values bubble cluster (center crest + orange translucent bubbles) */
.edu-visual {
  flex: 1 1 46%;
  min-width: 0;
}

.edu-cluster {
  position: relative;
  width: min(470px, 100%);
  aspect-ratio: 1 / 1.02;
  margin: 0 auto;
}

.edu-bub {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(231, 124, 41, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  color: #ffffff;
  transition: transform 0.35s ease, background 0.35s ease;
}

.edu-bub:hover {
  background: rgba(231, 124, 41, 0.7);
  z-index: 3;
}

.edu-bub i {
  font-size: 1.5rem;
  margin-bottom: 0.45rem;
}

.edu-bub span {
  font-family: 'Bayon', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.3;
}

/* Center crest bubble */
.edu-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 2;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

.edu-core img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Right content */
.edu-content {
  flex: 1 1 54%;
  max-width: 642px;
}

.edu-title {
  font-family: 'Bayon', sans-serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.3;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
}

.edu-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.88);
  margin: 1.4rem 0 0;
}

/* Pill button - Sapphire original (white border + glass dark bg + arrow right) */
.edu-btn-wrap {
  margin-top: 3rem;
}

.edu-btn {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 6px;
  height: 56px;
  padding: 0 12px 0 26px;
  border: 1px solid #ffffff;
  border-radius: 32px;
  background: rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  color: #ffffff;
  font-family: 'Bayon', sans-serif;
  font-size: 18px;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.edu-btn:hover {
  background: rgba(0, 0, 0, 0.42);
  color: #ffffff;
  transform: translateY(-2px);
}

.edu-btn-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.edu-btn-icon img {
  width: 100%;
}

/* Responsive */
@media (max-width: 991.98px) {
  .edu-section {
    border-radius: 44px;
    padding: 56px 0;
    margin: 2rem auto 3.5rem;
  }
  .edu-wrap {
    flex-direction: column;
  }
  .edu-content {
    max-width: 640px;
    text-align: center;
    margin: 0 auto;
  }
}

@media (max-width: 575.98px) {
  .edu-section {
    border-radius: 32px;
    padding: 44px 0;
    width: calc(100% - 1.5rem);
  }
  .edu-bub {
    width: 108px;
    height: 108px;
    font-size: 1rem;
    padding: 8px;
  }
  .edu-bub i {
    font-size: 1.05rem;
  }
  .edu-bub span {
    font-size: 0.56rem;
  }
  .edu-core {
    width: 96px;
    height: 96px;
    padding: 11px;
  }
  .edu-btn {
    font-size: 15px;
    height: 50px;
  }
}


/* ==========================================================================
   3-PART SITE HEADER (MLZS Jabalpur style - new.mountliterajabalpur.edu.in)
   Theme: school crest ke colors - Royal Blue (#2244CC) + Red (#E8232A) + Navy (#0A0F2E)
   1) Top contact bar  2) School name strip  3) Nav patti under school name
   ========================================================================== */
.site-header-wrap {
  position: relative;
  z-index: 1000;
  background: #ffffff;
  color: #1F2937;
  font-family: 'Outfit', 'Nunito', sans-serif;
}

.site-header-wrap .container {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------- PART 1: Top contact bar -------------------- */
.top-header {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(90deg, #05081C 0%, #16278C 45%, #2244CC 55%, #05081C 100%);
  color: #ffffff;
  font-size: 0.85rem;
  padding: 8px 0;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Niche premium accent hairline - royal -> red -> royal */
.top-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #2244CC 22%, #E8232A 50%, #2244CC 78%, transparent 100%);
  opacity: 0.85;
  pointer-events: none;
}

.top-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-contact-info {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
}

.top-contact-info a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.92) !important;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.25s ease;
}

.top-contact-info a:hover {
  color: #9FB0FF !important;
}

.top-contact-info i {
  color: #9FB0FF;
  font-size: 0.88rem;
}

.location-text {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

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

.top-social-links {
  display: flex;
  gap: 10px;
}

.top-social-links a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 0.78rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.top-social-links a:hover {
  background: #E8232A;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.top-admission-badge {
  background: linear-gradient(135deg, #E8232A 0%, #FF6B6B 100%);
  color: #ffffff !important;
  padding: 6px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.8rem;
  box-shadow:
    0 3px 14px rgba(232, 35, 42, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.28) inset,
    0 -1px 4px rgba(120, 10, 20, 0.35) inset;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
  text-decoration: none;
  animation: bffBadgePulse 2s infinite;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.top-admission-badge:hover {
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow:
    0 8px 22px rgba(232, 35, 42, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.35) inset;
}

@keyframes bffBadgePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* -------------------- PART 2: School name / logo strip -------------------- */
.brand-center-strip {
  background: linear-gradient(160deg, #EEF3FE 0%, #E4EBFD 25%, #ECF2FF 50%, #F2EFFF 75%, #FCEEEF 100%);
  padding: 24px 0;
  position: relative;
  z-index: 100;
  overflow: hidden;
}

/* Radial color glows - royal left, red right, navy bottom */
.brand-center-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 35%, rgba(34, 68, 204, 0.14) 0%, transparent 42%),
    radial-gradient(circle at 86% 65%, rgba(232, 35, 42, 0.10) 0%, transparent 42%),
    radial-gradient(ellipse 70% 45% at 50% 110%, rgba(16, 29, 95, 0.10) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}

/* Diamond tile pattern (APN jaisa subtle svg grid) */
.brand-center-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M25 0 L50 25 L25 50 L0 25 Z' fill='none' stroke='%232244CC' stroke-opacity='0.10' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* Particle canvas - floating dots + connecting lines */
.brand-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.55;
}

/* Bottom multi-color decor hairline */
.brand-decor-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(34, 68, 204, 0.28) 18%, rgba(232, 35, 42, 0.34) 50%, rgba(34, 68, 204, 0.28) 82%, transparent 100%);
  z-index: 2;
}

.brand-center-container {
  position: relative;
  z-index: 3;
}

.site-header-wrap .brand-center-container {
  max-width: none;
  width: 100%;
  padding-left: 28px;
  padding-right: 28px;
}

.brand-center-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 24px;
}

.brand-affil-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  grid-column: 1;
  justify-self: start;
  align-self: center;
  font-family: 'Outfit', 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #16278C;
  line-height: 1;
  white-space: nowrap;
  background: #ffffff;
  border: 1.5px solid #2244CC;
  border-radius: 999px;
  height: 48px;
  padding: 0 1.6rem;
  box-sizing: border-box;
  /* subtle 3D bevel bottom edge */
  box-shadow: 0 3px 0 rgba(34, 68, 204, 0.3), 0 10px 20px rgba(34, 68, 204, 0.16);
}

.brand-affil-left i {
  color: #E8232A;
  font-size: 1rem;
  flex-shrink: 0;
}


.brand-center-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  grid-column: 2;
  justify-self: center;
  flex-wrap: nowrap;
}

/* Campus Login - rounded pill cover */
.brand-erp-btn {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #16278C;
  border-radius: 999px;
  padding: 0 1.8rem;
  height: 48px;
  font-family: 'Outfit', 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #16278C !important;
  background: transparent;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  /* 3D bevel - niche navy edge + soft shadow */
  box-shadow: 0 4px 0 #0A0F2E, 0 12px 24px rgba(10, 15, 46, 0.16);
  transition: all 0.25s ease;
}

.brand-erp-btn:hover {
  background: #16278C;
  color: #ffffff !important;
  border-color: #16278C;
  transform: translateY(2px);
  box-shadow: 0 2px 0 #0A0F2E, 0 8px 18px rgba(10, 15, 46, 0.2);
}

/* Campus Login + MENU dono buttons ka group - brand strip right */
.brand-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-actions .brand-erp-btn {
  grid-column: auto;
}

/* MENU button - bina cover, sirf MENU text + 2-line bars */
.brand-menu-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: none;
  padding: 0 0.4rem;
  height: 48px;
  font-family: 'Outfit', 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #16278C;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  text-shadow: 0 2px 0 rgba(10, 15, 46, 0.14);
  transition: color 0.25s ease;
}

.brand-menu-btn:hover {
  color: #E8232A;
}

/* Custom MENU icon - 2 lines: upar lambi, niche chhoti */
.menu-bars {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  line-height: 0;
}

.menu-bars i {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  box-shadow: 0 1.5px 0 rgba(10, 15, 46, 0.2);
  transition: width 0.25s ease;
}

.menu-bars i:first-child { width: 26px; }
.menu-bars i:last-child { width: 16px; }

.brand-menu-btn:hover .menu-bars i:last-child {
  width: 26px;
}

/* Mobile-only: brand row ka right side menu icon - desktop pe hidden */
.brand-m-menu { display: none; }

.brand-side {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-side--left { justify-content: flex-end; }
.brand-side--right { justify-content: flex-start; }

.brand-side--left .brand-logo-img {
  display: block;
  height: 132px;
  width: auto;
  max-width: 145px;
  object-fit: contain;
}

.logo-brand-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.brand-logo-img {
  display: block;
  height: 132px;
  width: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 5px 3px rgba(34, 68, 204, 0.25))
    drop-shadow(0 18px 34px rgba(10, 15, 46, 0.25));
}

.brand-text-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 6px;
}

.brand-title {
  font-family: 'Cinzel', 'Playfair Display', serif;
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.12;
  margin: 0;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(180deg, #4A4F5E 0%, #16181F 45%, #000000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #16181F;
  /* Clean metallic text - hard extrusion hataya (laptop pe letters ke
     edges thorn/jagged lagte the), sirf soft depth shadow */
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.18),
    0 10px 24px rgba(0, 0, 0, 0.22);
}

.brand-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
}

/* Royal blue hairline rules dono taraf - premium award-tagline look */
.brand-subtitle::before,
.brand-subtitle::after {
  content: "";
  height: 1px;
  width: clamp(45px, 7vw, 110px);
  background: linear-gradient(90deg, transparent, #2244CC);
}

.brand-subtitle::after {
  background: linear-gradient(90deg, #2244CC, transparent);
}

.sub-location {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: 0.5px;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  /* Royal blue ribbon gradient text - award theme ke saath */
  background: linear-gradient(90deg, #14246E 0%, #2244CC 45%, #5E79DE 55%, #14246E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub-location i {
  font-size: 0.95rem;
  color: #2244CC;
  -webkit-text-fill-color: #2244CC;
}

/* -------------------- PART 3: Nav patti (light royal-blue strip) --------------------
   Navbar alag rakha hai - top pe hidden, scroll pe upar se slide hokar aata hai */
.main-header.nav-strip-header {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(90deg, #0A0F2E 0%, #16278C 45%, #2244CC 55%, #0A0F2E 100%);
  position: fixed;
  /* -2px: viewport ke bilkul top se overlap - hairline gap/line nahi dikhegi */
  top: -2px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1040;
  /* Sirf bottom dono corners pe halka carve */
  border-radius: 0 0 36px 36px;
  border-bottom: 2px solid #E8232A;
  box-shadow: 0 14px 36px rgba(10, 15, 46, 0.42);
  transform: translateY(-110%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  will-change: transform;
}

.main-header.nav-strip-header.is-scrolled {
  transform: translateY(0);
  box-shadow: 0 18px 44px rgba(10, 15, 46, 0.55);
}

.site-header-wrap .nav-container {
  max-width: none;
  width: 100%;
  padding: 0 30px;
}

.nav-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
  min-height: 56px;
}

.nav-part {
  display: flex;
  align-items: center;
}

.nav-part--left {
  display: none;
  grid-column: 1;
  justify-self: start;
}

.nav-erp-btn {
  display: none;
}

.nav-part--center,
.nav-strip-header .nav-menu {
  grid-column: 2;
  justify-self: center;
}

.nav-part--right {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-tool-btn {
  appearance: none;
  border: 0;
  background: transparent;
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-tool-btn:hover,
.nav-tool-btn[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.nav-tool-btn i {
  font-size: 1.15rem;
  line-height: 1;
  color: inherit;
}

.mobile-menu-toggle {
  display: none;
}

/* Mobile-only action patti (Campus Login + MENU) - desktop pe hidden */
.mact-strip {
  display: none;
}

/* Search panel */
.nav-search-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(360px, calc(100vw - 32px));
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(10, 15, 46, 0.18);
  border: 1px solid #e5e9f5;
  padding: 12px;
  z-index: 30;
}

.nav-search-panel[hidden] {
  display: none;
}

.nav-search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f3f5fb;
  border: 1px solid #d9dff0;
  border-radius: 10px;
  padding: 8px 12px;
}

.nav-search-field i {
  color: #2244CC;
}

.nav-search-field input {
  border: 0;
  background: transparent;
  width: 100%;
  outline: none;
  font-size: 0.95rem;
  color: #16278C;
}

.nav-search-results {
  margin-top: 8px;
  max-height: 280px;
  overflow-y: auto;
}

.nav-search-results a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  color: #16278C !important;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

.nav-search-results a:hover {
  background: #E9EDFF;
}

.nav-search-empty {
  padding: 10px;
  color: #64748b;
  font-size: 0.88rem;
}

/* -------------------- Nav menu (center) -------------------- */
.nav-strip-header .nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
}

.nav-strip-header .nav-menu .nav-link {
  font-family: 'Outfit', 'Nunito', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92) !important;
  padding: 12px 12px;
  position: relative;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.15px;
  line-height: 1.2;
  border-radius: 6px;
  background: transparent;
  text-decoration: none;
}

.nav-strip-header .nav-menu .nav-link > i:not(.drop-arrow) {
  font-size: 0.82rem;
  color: #9FB0FF;
}

.nav-strip-header .nav-menu .nav-link:hover {
  color: #ffffff !important;
}

.nav-strip-header .nav-menu .nav-link.active {
  color: #ffffff !important;
  /* Red underline - background-image rakha hai taaki ::after gold frame ke liye free rahe */
  background-image: linear-gradient(#E8232A, #E8232A);
  background-size: calc(100% - 20px) 2px;
  background-position: center bottom 3px;
  background-repeat: no-repeat;
}

/* Golden corner-trace frame - hover pe dono kone se gold line chal ke frame banati hai */
.nav-strip-header .nav-menu .nav-link::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 0;
  height: 0;
  border-top: 2px solid #E8A91C;
  border-left: 2px solid #E8A91C;
  opacity: 0;
  pointer-events: none;
  transition: width 0.3s ease, height 0.3s ease 0.28s, opacity 0s;
}

.nav-strip-header .nav-menu .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 0;
  height: 0;
  border-bottom: 2px solid #E8A91C;
  border-right: 2px solid #E8A91C;
  opacity: 0;
  pointer-events: none;
  transition: width 0.3s ease, height 0.3s ease 0.28s, opacity 0s;
}

.nav-strip-header .nav-menu .nav-link:hover::before,
.nav-strip-header .nav-menu .nav-link:hover::after {
  opacity: 1;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  transition: width 0.32s ease, height 0.32s ease 0.3s, opacity 0s;
}

.nav-strip-header .nav-menu .drop-arrow {
  font-size: 0.7rem;
  margin-left: 3px;
  color: #9FB0FF;
  transition: transform 0.3s ease;
}

.nav-strip-header .nav-item-dropdown:hover .drop-arrow {
  transform: rotate(180deg);
}

/* -------------------- Dropdown panels -------------------- */
.nav-strip-header .nav-item-dropdown {
  position: relative;
  perspective: 820px;
}

.nav-strip-header .nav-item-dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}

.nav-strip-header .dropdown-menu {
  display: block;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform-origin: top center;
  transform: translateX(-50%) rotateX(-55deg);
  width: 268px;
  max-width: min(268px, 92vw);
  max-height: min(72vh, 520px);
  overflow-x: hidden;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 18px 50px rgba(10, 15, 46, 0.18),
    0 2px 0 rgba(255, 255, 255, 0.8) inset;
  border-radius: 16px;
  padding: 10px 6px 6px;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.28s;
  z-index: 2000;
  border: 1px solid rgba(34, 68, 204, 0.16);
  border-top: 3px solid #E8232A;
  font-size: 1rem;
  min-width: 0;
  text-align: left;
  list-style: none;
}

.nav-strip-header .dropdown-menu::before {
  display: none;
}

.nav-strip-header .dropdown-menu--lg {
  width: max-content;
  max-width: min(460px, 94vw);
  max-height: none;
  overflow: visible;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  column-gap: 6px;
  row-gap: 2px;
  padding: 10px 8px 8px;
}

.nav-strip-header .dropdown-menu--lg a {
  min-width: 210px;
  max-width: 220px;
  width: 210px;
}

.nav-strip-header .dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.nav-strip-header .dropdown-menu::-webkit-scrollbar-thumb {
  background: #C9D3FC;
  border-radius: 99px;
}

.nav-strip-header .nav-item-dropdown:hover .dropdown-menu,
.nav-strip-header .nav-item-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) rotateX(0deg);
}

/* Last dropdowns right-edge se khule (screen ke bahar na jaye) */
.nav-strip-header .nav-item-dropdown:nth-last-child(-n+3) .dropdown-menu {
  left: auto;
  right: 0;
  transform-origin: top right;
  transform: translateX(0) rotateX(-55deg);
}

.nav-strip-header .nav-item-dropdown:nth-last-child(-n+3):hover .dropdown-menu,
.nav-strip-header .nav-item-dropdown:nth-last-child(-n+3).open .dropdown-menu {
  transform: translateX(0) rotateX(0deg);
}

.nav-strip-header .dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  margin: 0;
  font-size: 0.82rem;
  color: #1A2650 !important;
  font-weight: 600;
  line-height: 1.25;
  white-space: normal;
  border-radius: 8px;
  text-decoration: none;
  position: relative;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-strip-header .dropdown-menu a:hover {
  background: #E9EDFF;
  color: #16278C !important;
}

.nav-strip-header .dd-ico {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #E9EDFF 0%, #F0F4FF 100%);
  color: #2244CC;
  box-shadow: inset 0 0 0 1px rgba(34, 68, 204, 0.12);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-strip-header .dd-ico i {
  font-size: 0.82rem;
  color: inherit;
}

.nav-strip-header .dd-txt {
  flex: 1;
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
}

.nav-strip-header .dd-txt::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2244CC 0%, #E8232A 100%);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-strip-header .dropdown-menu a:hover .dd-txt::after {
  width: 100%;
}

.nav-strip-header .dropdown-menu a:hover .dd-ico {
  background: linear-gradient(180deg, #2244CC 0%, #16278C 100%);
  color: #ffffff;
  transform: scale(1.06);
}

/* -------------------- Responsive -------------------- */
@media (min-width: 1600px) {
  .site-header-wrap .brand-center-container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* Laptop view: single row rahega - compact sizes taaki sab fit ho */
@media (max-width: 1599.98px) {
  .brand-center-strip { padding: 20px 0; }
  .brand-affil-left { font-size: 0.85rem; height: 46px; padding: 0 1.3rem; }
  .brand-center-group { gap: 18px; }
  .brand-title {
    font-size: 2.4rem;
    letter-spacing: 1.6px;
    /* same clean soft shadow - extrusion nahi */
    text-shadow:
      0 1px 2px rgba(0, 0, 0, 0.18),
      0 9px 20px rgba(0, 0, 0, 0.22);
  }
  .sub-location { font-size: 1.1rem; }
  .brand-logo-img,
  .brand-side--left .brand-logo-img { height: 108px; max-width: 120px; }
  .brand-erp-btn { font-size: 0.85rem; height: 46px; padding: 0 1.3rem; }
  .brand-menu-btn { font-size: 0.85rem; height: 46px; }
  .menu-bars i:first-child { width: 24px; }
  .menu-bars i:last-child { width: 15px; }
}

@media (max-width: 1400px) {
  .brand-center-container { column-gap: 16px; }
  .brand-center-strip { padding: 18px 0; }
  .brand-affil-left { font-size: 0.78rem; height: 42px; padding: 0 1.05rem; letter-spacing: 0.06em; }
  .brand-title {
    font-size: 2.05rem;
    letter-spacing: 1.2px;
    text-shadow:
      0 1px 2px rgba(0, 0, 0, 0.16),
      0 7px 16px rgba(0, 0, 0, 0.2);
  }
  .sub-location { font-size: 1.02rem; }
  .brand-logo-img,
  .brand-side--left .brand-logo-img { height: 98px; max-width: 110px; }
  .brand-erp-btn { font-size: 0.78rem; height: 42px; padding: 0 1.05rem; letter-spacing: 0.1em; }
  .brand-menu-btn { font-size: 0.78rem; height: 42px; letter-spacing: 0.1em; }
  .brand-actions { gap: 10px; }
  .nav-strip-header .nav-menu .nav-link { font-size: 0.95rem; padding: 11px 10px; }
}

@media (max-width: 1250px) {
  .nav-strip-header .nav-menu .nav-link { font-size: 0.9rem; padding: 11px 8px; }
  .top-contact-info { flex-wrap: wrap; gap: 8px 16px; }
  .brand-center-group { gap: 14px; }
  .brand-title {
    font-size: 1.85rem;
    letter-spacing: 1px;
    text-shadow:
      0 1px 2px rgba(0, 0, 0, 0.16),
      0 6px 14px rgba(0, 0, 0, 0.2);
  }
  .sub-location { font-size: 0.95rem; }
  .brand-logo-img,
  .brand-side--left .brand-logo-img { height: 90px; max-width: 102px; }
  .brand-erp-btn {
    font-size: 0.72rem;
    height: 38px;
    padding: 0 0.9rem;
    letter-spacing: 0.08em;
    gap: 6px;
  }
  .brand-menu-btn { font-size: 0.72rem; height: 38px; letter-spacing: 0.08em; gap: 8px; }
  .menu-bars i:first-child { width: 20px; }
  .menu-bars i:last-child { width: 13px; }
  .brand-affil-left { font-size: 0.72rem; height: 38px; padding: 0 0.9rem; }
  .brand-affil-left i { font-size: 0.85rem; }
}

/* Tablet pinned-nav: links thode compact taaki strip overflow na kare */
@media (min-width: 992px) and (max-width: 1279.98px) {
  .site-header-wrap .nav-container { padding: 0 16px; }
  .nav-strip-header .nav-menu .nav-link { font-size: 0.82rem; padding: 11px 6px; }
}

/* Tablet landscape (iPad 1080-1194) tak stacked layout - single row pe
   Campus Login + Menu title ke saath squeeze/crowd ho jate the */
@media (max-width: 1279.98px) {
  .brand-center-strip { padding: 12px 0; }
  .brand-center-container {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
  }
  .brand-affil-left {
    order: -1;
    justify-self: center;
    align-self: center;
    font-size: 0.82rem;
    height: 40px;
    padding: 0 1.1rem;
  }
  .brand-center-group { order: 0; }
  .brand-actions {
    order: 3;
    margin-left: 0;
  }
  .brand-center-group {
    width: 100%;
    justify-content: center;
  }
  .brand-erp-btn {
    font-size: 0.8rem;
    height: 40px;
    padding: 0 1.1rem;
    letter-spacing: 0.12em;
  }
  .brand-actions {
    justify-self: center;
    align-self: center;
    flex-wrap: wrap;
    justify-content: center;
  }
  .brand-menu-btn {
    font-size: 0.8rem;
    padding: 0 0.3rem;
    height: 38px;
    letter-spacing: 0.12em;
  }
  .brand-title {
    font-size: 1.7rem;
    letter-spacing: 1px;
    text-shadow:
      0 1px 2px rgba(0, 0, 0, 0.16),
      0 6px 14px rgba(0, 0, 0, 0.2);
  }
}

@media (max-width: 991.98px) {
  .top-header { padding: 6px 0; }
  .top-header-content {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 8px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .top-contact-info {
    flex-wrap: nowrap;
    gap: 6px;
  }
  .top-contact-label,
  .location-text { display: none !important; }
  .top-contact-info a {
    width: 26px;
    height: 26px;
    padding: 0;
    gap: 0;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
  }
  .top-contact-info a i {
    color: #9FB0FF;
    font-size: 0.72rem;
  }
  .top-right { gap: 6px; }
  .top-social-links { gap: 5px; }
  /* Mobile top patti: saare icons - chips thodi chhoti taaki sab fit ho */
  .top-social-links a {
    width: 26px;
    height: 26px;
    font-size: 0.72rem;
  }
  .top-admission-badge {
    font-size: 0.55rem;
    padding: 4px 8px;
    letter-spacing: 0.1px;
    /* Badge kabhi compress/cut na ho */
    flex-shrink: 0;
  }

  .brand-center-strip { padding: 22px 0; }
  /* Mobile: ek hi row - [logo + name + tagline] LEFT, MENU RIGHT */
  .brand-center-container {
    gap: 4px;
    padding-left: 8px;
    padding-right: 8px;
    flex-direction: row;
    align-items: center;
    /* MENU ab niche wali mobile patti me - brand group center */
    justify-content: center;
  }
  .brand-affil-left { font-size: 0.76rem; height: 36px; padding: 0 0.9rem; }
  .brand-center-group {
    order: 0;
    width: auto;
    flex: 0 1 auto;
    min-width: 0;
    justify-content: center;
    /* Name logo ke side/paas - gap kam */
    gap: 3px;
  }
  .logo-brand-centered {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
  }
  /* Column ko definite width do - warna h1/subtitle max-content leke
     viewport ke bahar overflow karke cut dikhte hain.
     padding-top hataya - text logo ke vertically barabar/center rahe */
  .brand-text-centered { width: 100%; min-width: 0; padding-top: 0; }
  .brand-subtitle { margin-top: 6px; }
  /* Mobile pe MENU nayi patti me gaya - brand row ka actions group hide */
  .brand-actions { display: none !important; }
  .brand-logo-img,
  .brand-side--left .brand-logo-img {
    height: 86px;
    max-width: 96px;
    /* Mobile pe logo ke peeche drop-shadow na dikhe */
    filter: none;
  }
  .brand-title {
    font-size: 1.58rem;
    letter-spacing: 0.3px;
    white-space: normal;
    /* Column ki poori width leke wrap ho - ek line me bahar nahi jayega */
    width: 100%;
    line-height: 1.18;
    text-shadow:
      0 1px 2px rgba(0, 0, 0, 0.16),
      0 4px 10px rgba(0, 0, 0, 0.18);
  }
  /* Tagline name ke niche ek hi line me - gold side-lines mobile pe hata di */
  .brand-subtitle { margin-top: 4px; gap: 8px; }
  .brand-subtitle::before,
  .brand-subtitle::after { display: none; }
  .sub-location { font-size: 0.7rem; white-space: nowrap; }
  .brand-erp-btn { display: none !important; }

  /* Nav strip -> mobile mode: ERP pill LEFT, tools RIGHT, menu side panel me */
  .site-header-wrap .nav-container {
    grid-template-columns: 1fr auto;
    padding: 8px 16px;
    min-height: auto;
    gap: 10px;
  }
  .nav-part--left {
    display: flex !important;
    grid-column: 1;
    justify-self: start;
  }
  .nav-erp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: #ffffff !important;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 9px 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    white-space: nowrap;
    transition: all 0.25s ease;
  }
  .nav-erp-btn:hover {
    background: #ffffff;
    color: #16278C !important;
  }
  .nav-part--center,
  .nav-strip-header .nav-menu {
    display: none !important;
  }
  .nav-part--right {
    grid-column: 2;
    justify-self: end;
  }
  .mobile-menu-toggle { display: inline-flex; }

  /* Purani nav patti mobile pe nahi dikhegi - iski jagah .mact-strip ne li */
  .main-header.nav-strip-header { display: none !important; }

  /* Mobile action patti - brand strip ke just niche: Login | MENU
     Sticky: scroll karne pe ye patti upar chipak ke ruk jati hai.
     site-header-wrap ke bahar body direct child hai, isliye sticky
     pure page scroll pe kaam karti hai */
  /* Brand row ka right side menu icon - patti wala 2-line style,
     box/button look nahi, sirf navy bars (premium) */
  .brand-m-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-left: auto;
    /* Optically center - logo ke bilkul barabar dikhe */
    align-self: center;
    margin-top: -4px;
    width: 36px;
    height: 40px;
    border: none;
    background: transparent;
    color: #16278C;
    padding: 0;
    cursor: pointer;
  }

  /* 3 navy lines - left aligned staggered: middle sabse badi,
     niche sabse choti (reference jaisa) */
  .brand-m-menu .menu-bars { align-items: flex-start; gap: 5px; }
  .brand-m-menu .menu-bars i {
    box-shadow: none;
    height: 3px;
    /* Perfect pill caps - rounded ends */
    border-radius: 99px;
  }
  .brand-m-menu .menu-bars i:first-child { width: 17px; }
  .brand-m-menu .menu-bars i:nth-child(2) { width: 27px; }
  .brand-m-menu .menu-bars i:last-child { width: 11px; }
  /* Tap pe saari lines barabar - subtle premium interaction */
  .brand-m-menu:active .menu-bars i { width: 27px; }

  .mact-strip {
    display: block;
    /* Scroll pe upar se slide aaye - top pe hidden rahe */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 990;
    transform: translateY(-110%);
    transition: transform 0.35s ease;
    will-change: transform;
    backface-visibility: hidden;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0) 60%),
      linear-gradient(90deg, #0A0F2E 0%, #16278C 45%, #2244CC 55%, #0A0F2E 100%);
    border-bottom: 2px solid #E8232A;
    /* Nav-strip wala carve - niche dono corners rounded */
    border-radius: 0 0 24px 24px;
    box-shadow: 0 10px 26px rgba(10, 15, 46, 0.35);
  }

  /* Scroll karne pe patti upar se slide aayegi (JS class lagata hai) */
  .mact-strip.mact-show { transform: translateY(0); }
  .mact-in {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 16px;
  }
  /* Logo medallion - aadha patti par, aadha niche hanging (3D look) */
  .mact-logo {
    position: absolute;
    left: 14px;
    bottom: -41px;
    display: block;
    height: 80px;
    width: auto;
    z-index: 2;
    /* 3D depth - drop shadow se upar taya hua lage */
    filter: drop-shadow(0 6px 10px rgba(10, 15, 46, 0.55));
  }
  /* Logo absolute hai to MENU right edge pe */
  .mact-menu { margin-left: auto; }
  .mact-menu {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    height: 32px;
    padding: 0 0.3rem;
    /* Halka sa center-ward - edge se thoda andar */
    margin-right: 12px;
    white-space: nowrap;
  }
  .mact-menu .menu-bars i { box-shadow: none; }
  .mact-menu .menu-bars i:first-child { width: 22px; }
  .mact-menu .menu-bars i:last-child { width: 14px; }
}

/* Bahut chhote phones (≤360px) - header row fit rahe */
@media (max-width: 360px) {
  .brand-logo-img,
  .brand-side--left .brand-logo-img { height: 68px; max-width: 78px; }
  .brand-title { font-size: 1.28rem; }
  .sub-location { font-size: 0.62rem; }
}

/* ==========================================================================
   DIRECTOR QUOTE + STORY SLIDES (scroll-pinned horizontal carousel)
   ========================================================================== */
.tq-section {
  position: relative;
}

.tq-pin {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #132A3E;
  transition: background-color 0.6s ease;
}

.tq-track {
  display: flex;
  flex-wrap: nowrap;
  height: 100%;
  will-change: transform;
}

.tq-slide {
  flex: 0 0 100vw;
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* ---- Slide 1: Director quote ---- */
.tq-intro {
  display: flex;
  align-items: center;
}

.tq-intro-inner {
  display: flex;
  align-items: center;
  gap: 90px;
  width: 88%;
  margin: 0 auto;
  padding: 0 40px;
}

.tq-photo {
  position: relative;
  flex: 0 0 30vw;
  min-width: 280px;
  height: calc(100vh - 160px);
  min-height: 420px;
  overflow: hidden;
}

.tq-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.tq-photo-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 36px 32px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent);
  color: #ffffff;
}

.tq-photo-meta p {
  margin: 0 0 4px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.tq-photo-meta span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.06em;
}

.tq-quote-wrap {
  position: relative;
  flex: 1;
  padding-right: 40px;
}

.tq-mark {
  position: absolute;
  top: -52px;
  left: -8px;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.14);
}

.tq-quote {
  font-family: 'Cinzel', 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3.1vw, 2.9rem);
  font-weight: 500;
  line-height: 1.35;
  color: #ffffff;
  margin: 0 0 44px;
  max-width: 900px;
}

/* Scroll pe word-by-word highlight - dim -> white */
.tq-quote .tq-w {
  opacity: 0.15;
}

.tq-line {
  position: relative;
  height: 1px;
  width: min(50vw, 720px);
  background: rgba(255, 255, 255, 0.18);
}

.tq-line span {
  position: absolute;
  inset: 0;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
}

/* ---- Photo slides ---- */
.tq-bgimg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Group/portrait photos me faces upar hote hain - top portion poora dikhe */
  object-position: center 16%;
  transform: scale(1.12);
  will-change: transform;
}

.tq-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, transparent 45%);
  pointer-events: none;
}

.tq-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--tqc, transparent);
  opacity: 0.38;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 2;
}

.tq-slide[data-color="#A0202C"] { --tqc: #A0202C; }
.tq-slide[data-color="#123B7A"] { --tqc: #123B7A; }
.tq-slide[data-color="#146B5D"] { --tqc: #146B5D; }

.tq-titles {
  position: absolute;
  top: 9%;
  left: 6%;
  z-index: 5;
  pointer-events: none;
}

.tq-from,
.tq-to {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 600;
  line-height: 1.05;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}

.tq-to {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(24px);
  font-weight: 700;
}

.tq-student {
  position: absolute;
  left: 6%;
  bottom: 11%;
  width: min(34%, 480px);
  z-index: 5;
  color: #ffffff;
}

.tq-student blockquote {
  font-family: 'Outfit', 'Nunito', sans-serif;
  font-size: 1.18rem;
  line-height: 1.65;
  font-weight: 500;
  margin: 0 0 14px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.tq-student p {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* Watch story - circular play button */
.tq-play {
  position: absolute;
  right: 7%;
  bottom: 11%;
  z-index: 6;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: #E8232A;
  color: #ffffff !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.3;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.35s ease, background 0.35s ease;
}

.tq-play i {
  font-size: 1rem;
  margin-bottom: 2px;
}

.tq-play::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  transition: transform 0.35s ease;
}

.tq-play:hover {
  transform: scale(1.08);
  background: #C11620;
}

.tq-play:hover::before {
  transform: scale(1.06);
}

/* Progress bar bottom */
/* Admin toggle OFF (tq_slider_desktop/mobile) - section static:
   sirf pehli slide dikhe, horizontal swipe/pin kuch nahi - page normal scroll */
.tq-section.tq-off { height: auto !important; }
.tq-off .tq-pin { position: relative !important; height: auto !important; min-height: 0; }
.tq-off .tq-track {
  overflow: hidden !important;
  transform: none !important;
  scroll-snap-type: none;
  height: auto;
}
.tq-off .tq-slide { display: none !important; }
.tq-off .tq-slide:first-child {
  display: flex !important;
  flex: none;
  width: 100%;
  height: auto;
  min-height: 0;
}
.tq-off .tq-progress { display: none; }
.tq-off .tq-line { display: none; }

.tq-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 10;
}

.tq-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #E8232A, #FF8A8F);
  transition: none;
}

/* ---- Sticky pin (desktop only) ---- */
@media (min-width: 992px) {
  .tq-pin {
    position: sticky;
    top: 0;
  }
}

/* ---- Tablet / Mobile: native swipe carousel - page scroll normal rahe,
   slides touch-drag se aaye. Slide ~78svh (pura screen na bhare) ---- */
@media (max-width: 991.98px) {
  .tq-pin {
    position: relative;
    height: 100vh;
    /* Section bada - slide lagbhag poori screen le */
    height: 93svh;
    overflow: hidden;
  }

  .tq-track {
    flex-direction: row;
    flex-wrap: nowrap;
    height: 100%;
    /* Native horizontal swipe - vertical page scroll unaffected */
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    transform: none !important;
  }

  .tq-track::-webkit-scrollbar { display: none; }

  .tq-slide {
    flex: 0 0 100vw;
    width: 100vw;
    height: 100%;
    scroll-snap-align: start;
  }

  /* Intro slide: photo upar (~46%), quote niche - 100vh slide me vertical fit */
  .tq-intro { align-items: stretch; }
  .tq-intro-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  }

  .tq-photo {
    flex: none;
    width: 100%;
    min-width: 0;
    /* Photo 1024x1024 square hai - same aspect rakho to
       poori photo dikhe, top-bottom kuch cut na ho */
    aspect-ratio: 1 / 1;
    height: auto;
    min-height: 0;
  }

  .tq-photo-meta { padding: 40px 18px 14px; }

  .tq-quote-wrap {
    flex: 1;
    min-height: 0;
    width: 100%;
    /* Right side extra padding - floating buttons (WhatsApp/Apply)
       ke neeche text na chhupe. Bottom padding - niche wali line
       endwave ke upar rahe (sabhi phones pe cut na ho) */
    padding: 18px 64px 46px 20px;
    /* Niche ki khali jagah me quote vertically center ho */
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .tq-mark {
    top: 10px;
    left: 14px;
    font-size: 1.9rem;
  }

  .tq-quote {
    font-size: 1.03rem;
    line-height: 1.4;
    margin-bottom: 12px;
    max-width: none;
  }

  .tq-line { width: 100%; }

  /* Mobile pe quote words already highlighted - scroll reveal nahi */
  .tq-quote .tq-w { opacity: 1 !important; }

  /* Photo slides - content mobile fit (from->to crossfade JS chalayega) */
  .tq-titles { top: 8%; left: 6%; }

  .tq-from,
  .tq-to {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
  }

  .tq-student {
    left: 6%;
    bottom: 8%;
    width: 62%;
  }

  .tq-student blockquote {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .tq-play {
    right: 6%;
    bottom: 8%;
    width: 86px;
    height: 86px;
    font-size: 0.62rem;
  }

  .tq-play::before { inset: -6px; }
}


/* ==========================================================================
   ABOUT US (ultra premium - cream bg + crest watermark + ornaments)
   ========================================================================== */
.aboutus-section {
  position: relative;
  margin-top: -1px; /* hero curve ki last pixel row cover - seam hairline na dikhe */
  padding: 56px 0 96px;
  background:
    radial-gradient(900px 520px at 8% 45%, rgba(34, 68, 204, 0.06), transparent 60%),
    radial-gradient(640px 400px at 96% 95%, rgba(232, 35, 42, 0.05), transparent 60%),
    linear-gradient(180deg, #F8F4EC 0%, #F5F1EA 55%, #F2EDE3 100%);
  overflow: hidden;
  text-align: center;
}

/* subtle dot texture */
.aboutus-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(22, 39, 140, 0.08) 1px, transparent 1.6px);
  background-size: 26px 26px;
  opacity: 0.35;
  pointer-events: none;
}

/* Curve ke neeche theme-color band - tint centers niche rakhe hain taaki
   section ki top edge pure #F8F4EC rahe aur hero deck se seam na dikhe */
.aboutus-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 85% at 84% 68%, rgba(232, 35, 42, 0.07), transparent 65%),
    radial-gradient(65% 90% at 16% 62%, rgba(34, 68, 204, 0.09), transparent 70%),
    linear-gradient(180deg,
      rgba(34, 68, 204, 0) 0%,
      rgba(34, 68, 204, 0.07) 30%,
      rgba(34, 68, 204, 0.03) 55%,
      transparent 78%);
  pointer-events: none;
}

/* Subtle geometric shapes */
.aboutus-deco {
  position: absolute;
  pointer-events: none;
}

.aboutus-deco-1 {
  top: -90px;
  left: -110px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 68, 204, 0.10) 0%, rgba(34, 68, 204, 0.03) 55%, transparent 72%);
}

.aboutus-deco-2 {
  bottom: -120px;
  right: -90px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 35, 42, 0.08) 0%, rgba(232, 35, 42, 0.02) 55%, transparent 72%);
}

.aboutus-deco-3 {
  top: 16%;
  right: 5%;
  width: 190px;
  height: 190px;
  border-radius: 28px;
  transform: rotate(18deg);
  background: linear-gradient(135deg, rgba(34, 68, 204, 0.07), rgba(34, 68, 204, 0.015));
  border: 1px solid rgba(34, 68, 204, 0.08);
}

.aboutus-inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}

/* Faint crest watermark behind content */
.aboutus-watermark {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, 80vw);
  opacity: 0.045;
  pointer-events: none;
  z-index: -1;
}

.aboutus-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #16278C;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(34, 68, 204, 0.25);
  border-radius: 999px;
  padding: 11px 24px;
  margin-bottom: 10px;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 22px rgba(22, 39, 140, 0.12);
}

.aboutus-kicker i { color: #E8232A; font-size: 0.92rem; }

/* Social icon row - 'The School Of Happiness' kicker ke just upar.
   'CLICK HERE' label upar (yellow highlight), brand-color circular
   icons neeche (Instagram / Call / WhatsApp) */
.au-social-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: -18px 0 12px;
  position: relative;
  top: -6px;
}
.au-social-btns { display: flex; align-items: center; gap: 18px; }
.au-social-btns a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #ffffff;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  /* Section ke generic link underline ko cancel */
  border-bottom: 0 !important;
}
.au-social-btns a::after, .au-social-btns a::before { display: none !important; }
.au-social-btns a i { text-decoration: none !important; }
.au-social-btns a:hover { transform: translateY(-4px) scale(1.08); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28); }
/* Brand colors */
.au-social-btns .au-ig {
  background: linear-gradient(45deg, #FDCB58 0%, #F26B3A 30%, #DC2743 55%, #C837AB 80%, #6F3DD8 100%);
}
.au-social-btns .au-call { background: #1E9E52; }
.au-social-btns .au-wa   { background: #25D366; }
.au-social-row .au-social-txt {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #16278C;
  background: linear-gradient(90deg, #FFE066, #F0B429);
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(240, 180, 41, 0.35);
}
@media (max-width: 575.98px) {
  .au-social-row { gap: 10px; margin: -14px 0 10px; }
  .au-social-btns { gap: 16px; }
  .au-social-btns a { width: 48px; height: 48px; font-size: 1.15rem; }
  .au-social-txt { font-size: 0.62rem; padding: 4px 12px; }
}

@media (max-width: 767.98px) {
  .aboutus-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    gap: 7px;
    padding: 8px 14px;
    margin-bottom: 8px;
    text-align: center;
    justify-content: center;
  }
  .aboutus-kicker i { font-size: 0.78rem; }
}

.aboutus-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 5vw, 3.9rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.06;
  color: #101D5F;
  margin: 0;
  position: relative;
  display: block;
}

/* "What Sets" - chhota intro line */
.aboutus-title .au-t-small {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #6B7280;
  margin-bottom: 2px;
}

/* "British Fort Foundation" - gradient royal main line */
.aboutus-title .au-t-main {
  background: linear-gradient(135deg, #2244CC 0%, #101D5F 70%, #0A0F2E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 14px 30px rgba(22, 39, 140, 0.18);
}

/* "Apart?" - red italic accent, apni clean line pe centered */
.aboutus-title em {
  display: block;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 0.58em;
  color: #E8232A;
  margin-top: 6px;
}

/* Ornament divider: line - diamond - line */
.aboutus-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px auto 0;
  width: 220px;
}

.aboutus-ornament span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 68, 204, 0.55));
}

.aboutus-ornament span:last-child {
  background: linear-gradient(90deg, rgba(34, 68, 204, 0.55), transparent);
}

.aboutus-ornament i {
  width: 10px;
  height: 10px;
  background: #E8232A;
  transform: rotate(45deg);
  border-radius: 2px;
  box-shadow: 0 0 0 4px rgba(232, 35, 42, 0.15);
}

.aboutus-text {
  font-family: 'Nunito', 'Outfit', sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.85;
  color: #3F4756;
  margin: 14px auto 0;
  max-width: 950px;
}

/* Paragraphs side se slide-in (odd left se, even right se) */
.aboutus-text.bff-mask {
  clip-path: inset(0 100% 0 0);
  transform: translateX(-60px);
}

.aboutus-text:nth-of-type(even).bff-mask {
  clip-path: inset(0 0 0 100%);
  transform: translateX(60px);
}

.aboutus-text.bff-mask.bff-shown {
  clip-path: inset(-5% -3%);
  transform: translateX(0);
}

.aboutus-text:first-of-type { margin-top: 38px; }

/* Drop-cap on first paragraph - centered text mein inline red serif C */
.aboutus-dropcap::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 2.15em;
  font-weight: 700;
  font-style: italic;
  color: #E8232A;
  line-height: 1;
  padding-right: 2px;
}

/* Closing pull-quote */
.aboutus-pullquote {
  position: relative;
  font-family: 'Playfair Display', 'Cinzel', serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.7;
  color: #16278C;
  max-width: 860px;
  margin: 30px auto 0;
  padding: 30px 44px;
}

.aboutus-pullquote::before,
.aboutus-pullquote::after {
  content: '';
  position: absolute;
  width: 54px;
  height: 54px;
  border-color: rgba(232, 35, 42, 0.5);
  border-style: solid;
}

.aboutus-pullquote::before {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
}

.aboutus-pullquote::after {
  bottom: 0;
  right: 0;
  border-width: 0 2px 2px 0;
}

.aboutus-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 46px;
  padding: 0 2rem;
  height: 48px;
  border: 1.5px solid #16278C;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #16278C !important;
  text-decoration: none;
  background: transparent;
  box-shadow: 0 4px 0 rgba(10, 15, 46, 0.18), 0 12px 24px rgba(22, 39, 140, 0.1);
  transition: all 0.25s ease;
}

.aboutus-btn i {
  font-size: 0.8rem;
  transition: transform 0.25s ease;
}

.aboutus-btn:hover {
  background: #16278C;
  color: #ffffff !important;
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(10, 15, 46, 0.18);
}

.aboutus-btn:hover i {
  transform: translateX(5px);
}

/* Mobile-only "Read More" toggle - desktop pe hidden */
.au-more-btn { display: none; }

@media (max-width: 991.98px) {
  .aboutus-section { padding: 72px 0 80px; }
  .aboutus-inner { padding: 0 16px; } /* mobile pe text screen edges ko touch na kare */
  .aboutus-text { font-size: 0.98rem; line-height: 1.85; }
  .aboutus-dropcap::first-letter { font-size: 1.9em; }
  .aboutus-pullquote { padding: 24px 26px; }

  /* Mobile pe sirf pehla paragraph dikhta hai; baaki paras + pullquote
     "Read More" toggle ke peeche - full text tap pe aata hai */
  .aboutus-inner .aboutus-text:not(.aboutus-dropcap),
  .aboutus-inner .aboutus-pullquote { display: none; }
  .aboutus-inner.au-open .aboutus-text:not(.aboutus-dropcap),
  .aboutus-inner.au-open .aboutus-pullquote {
    display: block;
    animation: whyChipIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .aboutus-inner.au-open .aboutus-pullquote { animation-delay: 0.15s; }
  /* Mobile pe Read More button nahi - sirf Know More rahega */
  .au-more-btn { display: none !important; }

  /* Pehli paragraph ki lines alternate sides se aati hain
     (JS word-split karke visual lines banata hai) */
  .aboutus-text .au-line {
    display: block;
    opacity: 0;
    transform: translateX(48px);
    transition: transform .6s cubic-bezier(.16,1,.3,1), opacity .6s ease;
  }
  .aboutus-text .au-line.from-l { transform: translateX(-48px); }
  .aboutus-text .au-line.in { opacity: 1; transform: none; }
  /* Unique dropcap - inline bada red C (float nahi, line ka hissa) */
  .aboutus-text .au-cap {
    font-family: 'Playfair Display', serif;
    font-size: 1.9em; font-weight: 900; line-height: .8;
    color: #C8102E; margin-right: 1px;
    text-shadow: 0 2px 6px rgba(200,16,46,.18);
  }
  /* Mobile pe dropcap band - float se lines toot jati hain (C door, orphan words).
     Normal text rahega - clean lines, no gap. */
  .aboutus-dropcap::first-letter,
  .aboutus-dropcap .au-line:first-child::first-letter {
    float: none; font-size: inherit; font-weight: inherit;
    font-family: inherit; color: inherit; line-height: inherit; padding: 0;
  }
  .au-more-btn-legacy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 20px auto 4px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #16278C;
    background: rgba(34, 68, 204, 0.07);
    border: 1.5px dashed rgba(34, 68, 204, 0.45);
    border-radius: 999px;
    padding: 10px 22px;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  }
  .au-more-btn i { color: #E8232A; font-size: 0.68rem; transition: transform 0.25s ease; }
  .au-more-btn:hover {
    background: rgba(34, 68, 204, 0.13);
    border-color: rgba(34, 68, 204, 0.75);
    color: #0d1b45;
  }
}

/* ==========================================================================
   HERO CURVE (banner ke end me stylish wave carve + accent line)
   ========================================================================== */
.video-container {
  position: relative;
}

.hero-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(170px, 19vw, 265px);
  pointer-events: none;
  z-index: 5;
}

.hero-curve svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 991.98px) {
  /* Mobile pe wave flatter - video ka bottom kam dhake */
  .hero-curve { height: clamp(60px, 14vw, 105px); }
}

/* ==========================================================================
   SECTION-CHANGE WAVES (ek section se dusre me smooth curve transition)
   ========================================================================== */
.au-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 110px;
  pointer-events: none;
  z-index: 6;
}

.tq-endwave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 100px;
  pointer-events: none;
  z-index: 12;
}

.au-wave svg,
.tq-endwave svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 991.98px) {
  .au-wave { height: 64px; }
  .tq-endwave { height: 58px; }
}

/* Section junction emblem - wave ke center pe medallion */
.sec-emblem {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  width: 76px;
  height: 76px;
  z-index: 7;
  pointer-events: none;
}

.sec-emblem svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 18px rgba(10, 15, 46, 0.35));
}

@media (max-width: 991.98px) {
  .sec-emblem { width: 58px; height: 58px; bottom: 22px; }
}

/* ==========================================================================
   LIFE AT BRITISH FORT - premium editorial photo grid
   ========================================================================== */
/* Ornamental medallion divider - branches → plife transition
   (wave divider se alag: horizontal ruled lines + center award medal) */
.life-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 34px 20px 10px;
  background: linear-gradient(180deg, #F8F4EC 0%, #FBF7EF 100%);
}

/* Dono taraf double-effect lines - navy se gold fade, ends pe transparent */
.ld-line {
  flex: 1;
  max-width: 400px;
  height: 2px;
  position: relative;
  background: linear-gradient(90deg, transparent, #0d1b45 45%, #C9A227 100%);
  box-shadow: 0 3px 6px rgba(13, 27, 69, 0.14);
}

.ld-line.ld-r {
  background: linear-gradient(90deg, #C9A227 0%, #0d1b45 55%, transparent 100%);
}

/* Line ke end pe chhota gold dot */
.ld-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #C9A227;
  transform: translateY(-50%);
}

.ld-line.ld-l::after { left: 0; }
.ld-line.ld-r::after { right: 0; }

/* Medal ke sides pe chhote diamonds */
.ld-dot {
  width: 8px;
  height: 8px;
  background: #F0B429;
  transform: rotate(45deg);
  border-radius: 2px;
  box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.25);
}

/* Center award medallion - gold ring + navy disc */
.ld-medal {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 32% 28%, #1a2f63 0%, #0d1b45 78%);
  color: #F0B429;
  font-size: 1.15rem;
  border: 2px solid #C9A227;
  box-shadow:
    0 0 0 4px rgba(201, 162, 39, 0.18),
    inset 0 2px 6px rgba(255, 255, 255, 0.15),
    0 8px 18px rgba(13, 27, 69, 0.3);
}

.plife-section {
  position: relative;
  padding: 48px 0 110px;
  background: linear-gradient(180deg, #FBF7EF 0%, #F6F1E7 100%);
  overflow: hidden;
}

.plife-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.plife-deco-1 {
  width: 420px;
  height: 420px;
  top: -140px;
  right: -120px;
  background: radial-gradient(circle, rgba(34, 68, 204, 0.08), transparent 65%);
}

.plife-deco-2 {
  width: 360px;
  height: 360px;
  bottom: -120px;
  left: -110px;
  background: radial-gradient(circle, rgba(232, 35, 42, 0.06), transparent 65%);
}

.plife-head { text-align: center; margin-bottom: 52px; position: relative; z-index: 2; }

.plife-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: #101D5F;
  margin: 0;
}

.plife-title em {
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: #E8232A;
}

.plife-sub {
  font-family: 'Nunito', 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #5A6472;
  margin: 16px auto 0;
  max-width: 560px;
}

/* Editorial grid - mixed tile sizes */
.plife-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 148px;
  gap: 18px;
  position: relative;
  z-index: 2;
  grid-template-areas:
    "a a a a a b b b b i i i"
    "a a a a a b b b b i i i"
    "c c c c d d d e e i i i"
    "f f f g g g g g g i i i"
    "j j j j h h h h h h h h"
    "j j j j h h h h h h h h";
}

.plife-item {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(16, 24, 48, 0.10);
  background: #101D5F;
}

.plife-a { grid-area: a; }
.plife-b { grid-area: b; }
.plife-c { grid-area: c; }
.plife-d { grid-area: d; }
.plife-e { grid-area: e; }
.plife-f { grid-area: f; }
.plife-g { grid-area: g; }
.plife-h { grid-area: h; }
.plife-i { grid-area: i; }
.plife-j { grid-area: j; }

.plife-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Archery tile - desktop pe group shot (faces upar hain), mobile pe portrait photo */
.plife-item picture { display: block; width: 100%; height: 100%; }
.plife-h img { object-position: center 22%; }
/* Auditorium tile - portrait photo, bachchon ke faces upar-center me hain */
.plife-b img { object-position: center 32%; }
/* ATAL tile - robot photo ke bottom-center me hai: thoda neeche se dikhe */
.plife-f img { object-position: center 55%; }

/* Hover: zoom + lift + accent frame */
.plife-item:hover img { transform: scale(1.09); }

.plife-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0);
  transition: box-shadow 0.4s ease;
  z-index: 2;
  pointer-events: none;
}

.plife-item:hover::before {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85), inset 0 0 0 5px rgba(34, 68, 204, 0.35);
}

.plife-item:hover {
  box-shadow: 0 22px 50px rgba(16, 24, 48, 0.22);
}

.plife-item { transition: box-shadow 0.45s ease; }

/* Caption - bottom gradient + pill label */
.plife-item::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(180deg, transparent, rgba(10, 15, 46, 0.72));
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 1;
}

.plife-item:hover::after { opacity: 1; }

.plife-item figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(34, 68, 204, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 7px 16px;
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  z-index: 3;
}

.plife-item figcaption i { color: #FFB3B6; font-size: 0.8rem; }

.plife-item:hover figcaption {
  transform: translateY(0);
  opacity: 1;
}

/* Feature tile ka caption hamesha visible (bigger label) */
.plife-a figcaption {
  opacity: 1;
  transform: none;
  font-size: 0.95rem;
  padding: 10px 22px;
}

.plife-a::after { opacity: 1; }

@media (max-width: 991.98px) {
  .plife-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 170px;
    grid-template-areas:
      "a a a a i i"
      "a a a a i i"
      "b b b b i i"
      "c c c d d d"
      "e e f f j j"
      "g g g h h h";
  }
}

@media (max-width: 575.98px) {
  .plife-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
    gap: 12px;
    grid-template-areas:
      "a a"
      "a a"
      "b c"
      "d e"
      "f g"
      "h i"
      "h i"
      "j j"
      "j j";
  }
  .plife-item { border-radius: 14px; }

  /* Faces mobile pe na kate - portrait photos me upar wala hissa dikhe */
  .plife-h img { object-position: center 12%; }  /* Archery mobile - portrait photo, coach+girl faces upar */
  .plife-i img { object-position: center 12%; }  /* Skating - helmets/faces upar hain */
  .plife-j img { object-position: center 28%; }  /* Gun shooting - shooter ka face */
  .plife-b img { object-position: center 25%; }  /* Auditorium - bachche upar */

  /* Caption pills chhoti - mobile tile me bade lagte the */
  .plife-item figcaption {
    left: 8px;
    bottom: 8px;
    gap: 5px;
    font-size: 0.62rem;
    letter-spacing: 0.07em;
    padding: 4px 10px;
    border-width: 1px;
  }
  .plife-item figcaption i { font-size: 0.6rem; }
  .plife-a figcaption { font-size: 0.72rem; padding: 6px 14px; }
}

/* ==========================================================================
   HERO PHOTO SLIDESHOW (4K photos - crossfade + slow Ken Burns zoom)
   ========================================================================== */
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Upar ka ek pixel bhi crop na ho - top edge full dikhe, crop neeche se jaye */
  object-position: center top;
  /* Zoom upar-anchored rahe - scale hote waqt top edge bahar na nikle */
  transform-origin: center top;
  opacity: 0;
  animation: heroFade 18s ease-in-out infinite, heroZoom 36s linear infinite alternate;
}

.hero-photo.hp-2 { animation-delay: 9s, 0s; }

/* Mobile-only hero video - desktop/tablet pe hidden (photos wahi rahenge) */
.hero-video-m { display: none; }

@media (max-width: 991.98px) {
  .hero-video-m {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* Aspect ratio same rahega - stretch/distort nahi hoga */
    object-fit: cover;
    object-position: center top;
    z-index: 1;
    /* Photo nahi - video buffer hone tak navy hero bg, phir fade-in */
    background: #0a1638;
    opacity: 0;
    transition: opacity .5s ease;
  }
  .hero-video-m.vid-on { opacity: 1; }
  /* Mobile pe photos ki jagah video - photo animation bhi band */
  .hero-photo { display: none; }
  /* Mobile pe hero compact - video apni poori frame me (crop nahi),
     height video ke exact aspect ratio (16:9) pe - letterbox gap nahi */
  .video-container { height: 56.25vw !important; background: #0a1638; }
  .hero-video-m { object-fit: contain !important; object-position: center !important; }
}

@keyframes heroFade {
  0%   { opacity: 0; }
  6%   { opacity: 1; }
  50%  { opacity: 1; }
  58%  { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.12); }
}


/* ==========================================================================
   OUR CAMPUSES - 7 branches (LIGHT ULTRA-PREMIUM: 3D tilt cards, shine
   sweep, navy glass feature panel, ghost numbers, pill buttons)
   ========================================================================== */
/* Section-change wave divider - white → cream premium carve */
.br-divider {
  position: relative;
  height: 88px;
  background: #ffffff;
  margin-bottom: -1px;
}

.br-divider svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* 3D depth - crest line ka soft shadow niche cream fill pe */
.br-wave-line {
  filter: drop-shadow(0 6px 8px rgba(13, 27, 69, 0.28));
}

/* Center gem pe halki glow */
.br-wave-gem {
  filter: drop-shadow(0 3px 5px rgba(240, 180, 41, 0.6));
}

/* Wave fill ko halka 3D lift - upar white pe soft shadow */
.br-wave-fill {
  filter: drop-shadow(0 -8px 14px rgba(13, 27, 69, 0.1));
}

/* ==========================================================================
   CONTACT SECTION - head office card (navy panel, no photos)
   ========================================================================== */
.contact-section {
  position: relative;
  padding: 36px 0 64px;
  background: linear-gradient(180deg, #FDFAF4 0%, #F8F4EC 100%);
  overflow: hidden;
}

/* ---------- Featured: Head Office card ---------- */
.contact-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(34, 68, 204, 0.10);
  box-shadow: 0 28px 70px rgba(16, 24, 48, 0.16);
  margin: 44px 0 34px;
  position: relative;
  transition: box-shadow 0.5s;
}

.contact-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2244CC, #E8232A 55%, #101D5F);
  z-index: 3;
}

.contact-feature:hover {
  box-shadow: 0 42px 95px rgba(16, 24, 48, 0.24), 0 0 0 1px rgba(34, 68, 204, 0.18);
}

/* Left navy side - icon + tag + note */
.contact-feature-side {
  position: relative;
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  background:
    radial-gradient(420px 320px at 110% -20%, rgba(124, 147, 238, 0.18), transparent 70%),
    radial-gradient(300px 260px at -10% 115%, rgba(255, 205, 57, 0.12), transparent 70%),
    linear-gradient(150deg, #14246E 0%, #101D5F 55%, #0A1238 100%);
  overflow: hidden;
}

/* Photo variant (home page) - campus photo upar, tag + note neeche alag navy strip me */
.contact-feature-side--photo {
  padding: 0;
  gap: 0;
  justify-content: flex-start;
}

.contact-feature-photo {
  flex: 1 1 auto;
  min-height: 240px;
  background: url("../images/campus_office.jpg") center 35%/cover no-repeat;
}

.contact-feature-side-foot {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 38px 26px;
}

.contact-feature-side::before {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border: 2px dashed rgba(255, 205, 57, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.contact-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffdf7a;
  background: rgba(255, 205, 57, 0.12);
  border: 1px solid rgba(255, 205, 57, 0.4);
  border-radius: 999px;
  padding: 7px 16px;
}

.contact-feature-icon {
  width: 86px;
  height: 86px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #ffcd39;
  background: rgba(255, 205, 57, 0.12);
  border: 1.5px solid rgba(255, 205, 57, 0.45);
}

.contact-feature-note {
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 300px;
  position: relative;
  z-index: 1;
}

/* Right info side */
.contact-feature-info {
  position: relative;
  padding: 42px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-feature-info::after {
  content: '01';
  position: absolute;
  right: 20px;
  bottom: -16px;
  font-family: 'Cinzel', serif;
  font-size: 9.5rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(34, 68, 204, 0.16);
  pointer-events: none;
}

.contact-feature-info > * { position: relative; z-index: 1; }

.contact-num {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #E8232A;
  margin-bottom: 10px;
}

.contact-feature-info h3 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 800;
  color: #101D5F;
  line-height: 1.25;
  margin: 0 0 20px;
}

/* Meta chips */
.contact-meta {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #475066;
  padding: 10px 16px;
  margin-bottom: 9px;
  background: rgba(34, 68, 204, 0.05);
  border: 1px solid rgba(34, 68, 204, 0.1);
  border-radius: 12px;
}

.contact-meta i { color: #E8232A; margin-top: 3px; }

.contact-meta a {
  color: #16278C;
  text-decoration: none;
  transition: color 0.25s;
}

.contact-meta a:hover { color: #E8232A; }

/* Directions button */
.contact-dir {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  margin-top: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2244CC, #101D5F);
  box-shadow: 0 10px 24px rgba(22, 39, 140, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-dir i { transition: transform 0.3s; }

.contact-dir:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(22, 39, 140, 0.42);
  color: #ffffff;
}

.contact-dir:hover i { transform: translateX(4px) rotate(-8deg); }

/* ---------- 6 office cards grid ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(34, 68, 204, 0.09);
  box-shadow: 0 14px 36px rgba(16, 24, 48, 0.1);
  padding: 28px 24px 26px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s, border-color 0.4s;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2244CC, #E8232A);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.contact-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 60px rgba(16, 24, 48, 0.2);
  border-color: rgba(34, 68, 204, 0.22);
}

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

/* Card top - icon chip + number badge */
.contact-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.contact-card-top > i {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #ffcd39;
  background: linear-gradient(135deg, #16295e, #0d1b45);
  box-shadow: 0 10px 22px rgba(13, 27, 69, 0.28);
}

.contact-num-chip {
  font-family: 'Cinzel', serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.3px rgba(34, 68, 204, 0.35);
  line-height: 1;
  transition: color 0.3s, -webkit-text-stroke 0.3s;
}

.contact-card:hover .contact-num-chip {
  color: #E8232A;
  -webkit-text-stroke: 1.3px transparent;
}

.contact-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: #101D5F;
  margin: 0 0 16px;
}

.contact-card .contact-dir {
  font-size: 0.72rem;
  padding: 10px 20px;
  margin-top: 8px;
  color: #16278C;
  background: transparent;
  border: 1.5px solid #16278C;
  box-shadow: none;
}

.contact-card .contact-dir:hover {
  background: #16278C;
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(22, 39, 140, 0.35);
}

@media (max-width: 991.98px) {
  /* Featured card - clean premium upgrade */
  .contact-feature {
    grid-template-columns: 1fr;
    border-radius: 22px;
    margin: 28px 0 22px;
    /* Gold frame + navy double-outline ring - premium border design */
    border: 1.5px solid rgba(240, 180, 41, 0.5);
    outline: 1px solid rgba(34, 68, 204, 0.15);
    outline-offset: 3px;
  }
  /* Navy top area - centered, thoda bada */
  .contact-feature-side {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 24px 18px 20px;
  }
  /* Photo variant - photo upar full-width, text neeche centered */
  .contact-feature-side--photo {
    padding: 0;
    gap: 0;
  }
  .contact-feature-photo {
    width: 100%;
    min-height: 200px;
  }
  .contact-feature-side-foot {
    align-items: center;
    padding: 16px 18px 20px;
  }
  /* HEAD OFFICE tag - alag glowing gold pill */
  .contact-tag {
    padding: 6px 16px;
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    color: #ffe28a;
    background: rgba(255, 205, 57, 0.16);
    border-color: rgba(255, 205, 57, 0.65);
    box-shadow: 0 0 18px rgba(255, 205, 57, 0.18);
  }
  .contact-feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    font-size: 1.3rem;
    border-color: rgba(255, 205, 57, 0.6);
    box-shadow: 0 0 22px rgba(255, 205, 57, 0.15);
  }
  .contact-feature-note {
    flex: none;
    font-size: 0.74rem;
    line-height: 1.55;
    max-width: 300px;
    margin: 0 auto;
  }
  .contact-feature-info { padding: 18px 16px 20px; }
  .contact-feature-info::after { font-size: 5.5rem; bottom: -10px; }
  /* OFFICE 01 - alag navy pill, gold text */
  .contact-num {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 4px 13px;
    font-size: 0.58rem;
    letter-spacing: 0.26em;
    color: #ffcd39;
    background: #101D5F;
    border-radius: 999px;
    margin-bottom: 8px;
  }
  .contact-feature-info h3 {
    font-size: 1.02rem;
    margin-bottom: 10px;
  }
  .contact-meta {
    padding: 7px 11px;
    margin-bottom: 6px;
    font-size: 0.78rem;
    gap: 8px;
    border-radius: 10px;
  }
  .contact-dir {
    padding: 9px 18px;
    font-size: 0.7rem;
    margin-top: 6px;
  }
  /* Grid cards bhi compact - premium side accents ke saath */
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .contact-card {
    padding: 16px 14px 14px;
    border-radius: 16px;
    /* Soft gold corner glow + right edge subtle navy tint */
    background:
      radial-gradient(130px 100px at 0% 0%, rgba(240, 180, 41, 0.10), transparent 70%),
      #ffffff;
    box-shadow:
      inset -3px 0 0 rgba(34, 68, 204, 0.16),
      0 14px 36px rgba(16, 24, 48, 0.1);
  }
  /* Left edge: gold->red->navy gradient accent strip */
  .contact-card::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: linear-gradient(180deg, #F0B429 0%, #E8232A 55%, #2244CC 100%);
  }
  .contact-card-top { margin-bottom: 10px; }
  /* Icon chip premium: gold ring + inner glow */
  .contact-card-top > i {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    font-size: 1rem;
    border: 1.5px solid rgba(240, 180, 41, 0.45);
    box-shadow:
      0 10px 22px rgba(13, 27, 69, 0.28),
      inset 0 0 10px rgba(240, 180, 41, 0.22);
  }
  .contact-num-chip { font-size: 1.3rem; }
  .contact-card h3 {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  .contact-card .contact-dir {
    font-size: 0.6rem;
    padding: 7px 14px;
    margin-top: 4px;
  }

  /* CBSE result chips - mobile pe 2-per-row compact premium */
  .results-highlight {
    gap: 10px;
    margin-bottom: 1.6rem;
  }
  .rh-chip {
    flex: 1 1 calc(50% - 10px);
    min-width: 0;
    padding: 0.8rem 0.6rem;
    border-radius: 14px;
    /* Gold top accent - premium touch */
    border-top: 2px solid rgba(240, 180, 41, 0.6);
  }
  .rh-chip strong { font-size: 1.45rem; }
  .rh-chip strong em { font-size: 0.95rem; }
  .rh-chip > span {
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 575.98px) {
  .contact-panel { border-radius: 28px; }
  .contact-item small { font-size: 0.88rem; }
}

/* ==========================================================================
   TEACHER VIDEOS - portrait cards, hover pe play
   ========================================================================== */
.teach-section {
  padding: 3.6rem 0 4rem;
  background: linear-gradient(180deg, #f5f8fd 0%, #ffffff 100%);
}

.teach-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.teach-card {
  position: relative;
  overflow: hidden;
  flex: 1 1 0;
  height: 430px;
  background: #0d1b45;
  box-shadow: 0 18px 44px rgba(13, 27, 69, 0.25);
  cursor: pointer;
}

.teach-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Niche readability shade */
.teach-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 14, 34, 0.12) 40%, rgba(6, 14, 34, 0.82) 100%);
  transition: opacity 0.4s ease;
}

.teach-card:hover .teach-shade {
  opacity: 0.55;
}

.teach-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1.3rem;
  z-index: 1;
}

.teach-info b {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: #ffffff;
}

.teach-info span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffcd39;
  margin-top: 3px;
}

/* Teach card sub-caption - main role ke neeche chhota line
   (e.g. 'PARENTS FEEDBACK' under 'OUR PROUD PARENTS') */
.teach-info .tpc-sub {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 4px;
}

/* Teach photo cards (home) - video nahi, sirf photo + category tag.
   Saare photos portrait crop hain - cover se full-bleed fill, koi cut nahi */
.teach-card.tpc { cursor: default; }
.tpc-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.teach-card.tpc:hover .tpc-img { transform: scale(1.045); }
.teach-card.tpc .teach-shade {
  background: linear-gradient(180deg, rgba(6, 14, 34, 0.05) 50%, rgba(6, 14, 34, 0.72) 100%);
  z-index: 1;
}
.teach-card.tpc .teach-info { z-index: 2; text-align: center; }
.teach-card.tpc .teach-info span { font-size: 0.82rem; letter-spacing: 0.16em; }

/* Center play badge - dark glass circle + white play triangle */
.teach-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 14, 34, 0.55);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 1.15rem;
  padding-left: 5px; /* play icon ko visually center karne ke liye */
  backdrop-filter: blur(4px);
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* video chalte waqt ya fullscreen me play badge gayab */
.teach-card.is-playing .teach-play,
.teach-card:fullscreen .teach-play,
.teach-card:-webkit-full-screen .teach-play {
  opacity: 0;
  transform: scale(0.75);
}

/* Duration badge - bottom right dark chip (JS se m:ss barta hai) */
.teach-dur {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 2;
  padding: 0.22rem 0.65rem;
  border-radius: 8px;
  background: rgba(6, 14, 34, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

/* Fullscreen state - tap pe card pura screen, video poora dikhe */
.teach-card:fullscreen,
.teach-card:-webkit-full-screen {
  border-radius: 0;
  background: #000;
}
.teach-card:fullscreen .teach-video,
.teach-card:-webkit-full-screen .teach-video {
  /* Fullscreen me poori video dikhe - cut na ho */
  object-fit: contain;
}

/* View All Videos button - teach grid ke neeche centered */
.teach-more {
  text-align: center;
  margin-top: 2.2rem;
}

/* ==========================================================================
   VIDEOS PAGE - saare teacher videos, 4-column grid
   Card design home wala hi (.teach-card reuse - hover play + fullscreen JS)
   ========================================================================== */
.vids-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.vids-grid .teach-card {
  flex: none;
  height: 380px;
  border-radius: 16px;
}
/* Duration badge ke liye teach-info me right side space */
.vids-grid .teach-info { right: 66px; }

@media (max-width: 1199.98px) {
  .vids-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991.98px) {
  .vids-grid { grid-template-columns: repeat(2, 1fr); }
  .vids-grid .teach-card { height: 340px; }
}
@media (max-width: 575.98px) {
  /* Mobile pe 2-2 video cards ek saath - compact thumbnail cards */
  .vids-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .vids-grid .teach-card { height: 195px; border-radius: 12px; }
  .vids-grid .teach-info { padding: .6rem .7rem; right: 0; }
  .vids-grid .teach-info b { font-size: .72rem; }
  .vids-grid .teach-info span { font-size: .56rem; margin-top: 1px; }
  .vids-grid .teach-play { width: 42px; height: 42px; font-size: .8rem; }
  .vids-grid .teach-dur { bottom: 8px; right: 8px; font-size: .6rem; padding: .12rem .4rem; }
}
@media (max-width: 370px) {
  .vids-grid .teach-card { height: 175px; }
}

@media (max-width: 991.98px) {
  .teach-grid { flex-wrap: wrap; gap: 1rem; }
  .teach-card { flex: 0 0 calc(50% - 0.5rem); height: 380px; }
}

@media (max-width: 767.98px) {
  /* Mobile: horizontal swipe carousel - card aate hi video chale,
       side swipe se agla card aaye. Card design same rahega */
  .teach-grid {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    /* Gap 24px - next card scrollport se bahar rahe, sliver na dikhe */
    gap: 24px;
    max-width: none;
    /* Card beech me, dono side jagah - next card fir bhi na dikhe */
    margin: 0;
    padding: 0 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .teach-grid::-webkit-scrollbar { display: none; }
  .teach-card {
    /* Full width card - sirf ek dikhega, swipe se agla aayega.
       Card ke ander inner card - video framed inset panel */
    flex: 0 0 100%;
    width: 100%;
    height: 430px;
    scroll-snap-align: start;
    border-radius: 18px;
    /* Outer card - patli navy frame */
    padding: 5px;
    background: linear-gradient(160deg, #16295e 0%, #0d1b45 100%);
    border: 1px solid rgba(240, 180, 41, 0.35);
    /* Shadow chhota - agle card ki shadow bhi sliver na dikhe */
    box-shadow: 0 14px 30px rgba(13, 27, 69, 0.22);
  }
  /* Inner card - video framed panel */
  .teach-video {
    inset: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
      0 10px 28px rgba(0, 0, 0, 0.4),
      inset 0 0 0 1px rgba(0, 0, 0, 0.2);
  }
  .teach-shade {
    inset: 5px;
    border-radius: 10px;
  }
  .teach-info {
    left: 5px;
    right: 5px;
    bottom: 5px;
    padding: 0.9rem 1rem;
  }
}

/* Testimonial bg rings - dashed ring slowly rotate */
.tb-spin {
  transform-box: fill-box;
  transform-origin: center;
  animation: tbSpin 44s linear infinite;
}

.tb-spin-rev { animation-direction: reverse; }

@keyframes tbSpin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   WHATSAPP FLOAT - back-to-top ke upar green chat button
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 108px;  /* sticky buttons ke saath align - thoda upar shift */
  z-index: 1050;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 23px;
  background: linear-gradient(145deg, #2ee07f, #1ebe5b);
  box-shadow: 0 12px 28px rgba(30, 190, 91, 0.5);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Soft pulse ring */
.wa-float::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(46, 224, 127, 0.55);
  animation: waPulse 2.4s ease-out infinite;
}

@keyframes waPulse {
  0%   { transform: scale(0.85); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}

.wa-float:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 16px 34px rgba(30, 190, 91, 0.6);
}

/* Hover pe "Chat on WhatsApp" bubble left mein slide */
.wa-bubble {
  position: absolute;
  right: 58px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: #0a1638;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 9px 15px;
  border-radius: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 10px 26px rgba(6, 13, 36, 0.4);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.wa-bubble::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #0a1638;
}

.wa-float:hover .wa-bubble {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 575.98px) {
  /* Mobile: WhatsApp pehle hidden - first scroll pe side se slide-in,
     uske baad scroll ke saath dikhta rahta hai (JS .wa-in deta hai) */
  .wa-float {
    width: 44px; height: 44px; font-size: 21px; bottom: 100px; right: 24px;
    opacity: 0;
    transform: translateX(90px);
    pointer-events: none;
    transition: transform 0.55s cubic-bezier(0.22, 0.9, 0.3, 1.15), opacity 0.4s ease;
  }
  .wa-float.wa-in { opacity: 1; transform: translateX(0); pointer-events: auto; }
  .wa-float.wa-in:hover { transform: translateY(-4px) scale(1.06); }
}

/* ==========================================================================
   INNER PAGES - shared premium page styles (.pg-*)
   ========================================================================== */

/* --- Page hero: royal violet band + carved corners + live wallpaper --- */
.pg-hero {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 2.6rem 0 2.4rem;
  text-align: center;
  /* left-right dono side se niche carve */
  border-radius: 0 0 32px 32px;
  /* Deep navy → royal blue premium palette + royal/gold ambient glows */
  background:
    radial-gradient(ellipse 55% 90% at 8% 0%, rgba(34, 68, 204, 0.5) 0%, transparent 62%),
    radial-gradient(ellipse 45% 80% at 94% 100%, rgba(240, 180, 41, 0.18) 0%, transparent 60%),
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.6px),
    linear-gradient(150deg, #0a1638 0%, #16295e 48%, #0d1b45 100%);
  background-size: auto, auto, 26px 26px, auto;
}

/* LIVE WALLPAPER - cube-grid pattern jo continuously scroll hoti hai.
   Pseudo-element ko hero se 2x lamba rakha hai aur transform se slide hota
   hai (GPU-composited) - background-position animation har frame repaint
   karti thi = scroll jank. Movement/speed bilkul wahi hai. */
.pg-hero::before {
  content: "";
  position: absolute;
  inset: -100% 0 0 0;
  background: url('../images/live-bg-pattern.png') repeat center top;
  opacity: 0.26;
  animation: pgBgMove 30s linear infinite;
  pointer-events: none;
}

@keyframes pgBgMove {
  to { transform: translateY(50%); }
}

/* Aurora glow layer - soft violet/gold glows jo dheere drift karte hain */
.pg-hero::after {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 28% 40% at 30% 60%, rgba(34, 68, 204, 0.45) 0%, transparent 65%),
    radial-gradient(ellipse 24% 34% at 72% 35%, rgba(240, 180, 41, 0.22) 0%, transparent 65%);
  animation: pgAurora 16s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes pgAurora {
  0%   { transform: translate(-3%, -2%) scale(1); }
  100% { transform: translate(3%, 3%) scale(1.06); }
}

/* Sirf 2 dashed rings - dono opposite direction me continuously spin hote hain,
   dashes ko chalti hui line jaisa effect deta hai */
.pg-hero-rings.r-a, .pg-hero-rings.r-c { display: none; }
.pg-hero-rings.r-b { animation: pgRingSpin 24s linear infinite; }
.pg-hero-rings.r-d { animation: pgRingSpinR 30s linear infinite; }

@keyframes pgRingSpin  { to { transform: rotate(360deg); } }
@keyframes pgRingSpinR { to { transform: rotate(-360deg); } }

@keyframes pgRingDrift {
  to { transform: translateY(26px); }
}

/* content live wallpaper ke upar */
.pg-hero .container { position: relative; z-index: 1; }

/* carved bottom curve hata diya - sirf corner carves rahenge */

.pg-hero-light {
  /* section ke bg ke saath blend - default white curve */
}

/* hero decorative rings */
.pg-hero-rings {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.pg-hero-rings.r-a { left: -90px; top: -60px; width: 320px; height: 320px; border: 1.5px solid rgba(255,205,57,0.18); }
.pg-hero-rings.r-b { left: -40px; top: -10px; width: 220px; height: 220px; border: 1.5px dashed rgba(255,255,255,0.14); }
.pg-hero-rings.r-c { right: -110px; bottom: -40px; width: 360px; height: 360px; border: 1.5px solid rgba(255,255,255,0.09); }
.pg-hero-rings.r-d { right: -60px; bottom: 10px; width: 240px; height: 240px; border: 1.5px dashed rgba(255,205,57,0.2); }

.pg-crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.3rem;
}
.pg-crumb a { color: #ffcd39 !important; text-decoration: none; }
.pg-crumb a:hover { text-decoration: underline; }
.pg-crumb i { font-size: 0.6rem; color: rgba(255, 205, 57, 0.8); }

.pg-hero h1 {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  color: #ffffff;
  letter-spacing: 0.02em;
  margin: 0;
  position: relative;
  z-index: 1;
}
.pg-hero h1 em {
  font-style: italic;
  background: linear-gradient(100deg, #ffe27a, #f0b429);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pg-hero p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 500;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* thin gold accent under title */
.pg-hero .pg-hero-line {
  width: 80px;
  height: 2px;
  margin: 0.5rem auto 0.55rem;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, #ffcd39, transparent);
}

/* --- Page body sections - default WHITE bg + animated side rings --- */
.pg-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 4rem 0;
  background: #ffffff;
}

/* Hero ke carve ke andar section ka white bg dikhe - notch fill */
.pg-hero + .pg-section {
  margin-top: -32px;
  padding-top: calc(4rem + 32px);
}

/* Left edge - rotating dashed ring peeking */
.pg-section::before {
  content: "";
  position: absolute;
  left: -110px;
  top: 12%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1.5px dashed rgba(34, 68, 204, 0.12);
  animation: pgSideSpin 46s linear infinite;
  pointer-events: none;
  z-index: 0;
}

/* Right edge - thin solid ring drifting */
.pg-section::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: 10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1.5px solid rgba(240, 180, 41, 0.16);
  box-shadow: 0 0 0 30px rgba(240, 180, 41, 0.05);
  animation: pgSideDrift 16s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.pg-section .container { position: relative; z-index: 1; }

@keyframes pgSideSpin {
  to { transform: rotate(360deg); }
}

@keyframes pgSideDrift {
  to { transform: translateY(-34px); }
}

.pg-section.bg-cream { background: linear-gradient(180deg, #ffffff 0%, #f7f2ea 60%, #fbf8f2 100%); }
.pg-section.bg-ice   { background: linear-gradient(180deg, #f7faff 0%, #eef3fb 60%, #ffffff 100%); }
.pg-section.bg-navy  {
  background:
    radial-gradient(ellipse 50% 60% at 90% 0%, rgba(240, 180, 41, 0.10), transparent 60%),
    linear-gradient(180deg, #0a1638 0%, #0d1b45 60%, #081226 100%);
  color: #fff;
}
.pg-section.bg-navy h1, .pg-section.bg-navy h2, .pg-section.bg-navy h3 { color: #fff; }

/* split row: image + text */
.pg-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.6rem);
  align-items: center;
}
.pg-split + .pg-split { margin-top: 4rem; }
.pg-split .pg-img {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(16, 24, 48, 0.2);
}
.pg-split .pg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.pg-split .pg-img:hover img { transform: scale(1.05); }

.pg-lead {
  font-size: 1.02rem;
  line-height: 1.9;
  color: #3d4767;
  font-weight: 500;
}
.bg-navy .pg-lead { color: rgba(255,255,255,0.78); }

/* --- Feature cards grid --- */
.pg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.pg-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.pg-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.pg-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(34, 68, 204, 0.10);
  border-radius: 20px;
  padding: 1.8rem 1.6rem;
  box-shadow: 0 14px 34px rgba(16, 24, 48, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
}
.pg-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2244cc, #f0b429);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}
.pg-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 52px rgba(16, 24, 48, 0.14);
  border-color: rgba(240, 180, 41, 0.45);
}
.pg-card:hover::before { transform: scaleX(1); }

.pg-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #ffffff;
  background: linear-gradient(135deg, #2244cc, #101d5f);
  box-shadow: 0 10px 22px rgba(34, 68, 204, 0.35);
  margin-bottom: 1.1rem;
}
.pg-card.gold .pg-card-icon {
  background: linear-gradient(135deg, #ffe27a, #f0b429);
  color: #12265a;
  box-shadow: 0 10px 22px rgba(240, 180, 41, 0.4);
}
.pg-card h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  color: #101d5f;
  margin-bottom: 0.5rem;
}
.pg-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #5a6480;
  margin: 0;
}

/* photo cards (facilities/sports) */
.pg-photo-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(16, 24, 48, 0.16);
  aspect-ratio: 4 / 3;
}
.pg-photo-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s ease;
}
.pg-photo-card:hover img { transform: scale(1.07); }
.pg-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 15, 46, 0.85) 100%);
}
.pg-photo-card .pg-photo-label {
  position: absolute;
  left: 1.2rem;
  bottom: 1.1rem;
  z-index: 2;
  color: #fff;
}
.pg-photo-card .pg-photo-label b {
  display: block;
  font-size: 1rem;
  font-weight: 800;
}
.pg-photo-card .pg-photo-label small {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  letter-spacing: 0.04em;
}
/* Squarish/portrait photos - cover crop me subjects na katen, action zone anchor */
.pg-photo-card[data-title="Ball Grounds"] img { object-position: center 12%; }
.pg-photo-card[data-title="Archery Academy"] img { object-position: center 32%; }
.pg-photo-card[data-title="Athletics Track"] img { object-position: center 14%; }
.pg-photo-card .pg-photo-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffcd39;
  font-size: 1rem;
}

/* numbered list rows (mandatory disclosure) */
.pg-doc-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid rgba(34, 68, 204, 0.10);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.pg-doc-row:hover {
  transform: translateX(6px);
  border-color: rgba(240, 180, 41, 0.5);
  box-shadow: 0 12px 28px rgba(16, 24, 48, 0.1);
}
.pg-doc-row .pg-doc-ic {
  flex: 0 0 46px;
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(34, 68, 204, 0.08);
  color: #2244cc;
  font-size: 1rem;
}
.pg-doc-row .pg-doc-name { flex: 1; font-weight: 700; color: #1d2a52; font-size: 0.92rem; }
.pg-doc-row .pg-doc-name small { display: block; color: #7a84a3; font-weight: 600; font-size: 0.76rem; }
.pg-doc-row .pg-doc-btn {
  flex-shrink: 0;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #101d5f;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe27a, #f0b429);
  box-shadow: 0 8px 18px rgba(240, 180, 41, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pg-doc-row .pg-doc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(240, 180, 41, 0.5);
  color: #101d5f;
}

/* --- Info chips strip (quick highlight pills under pg-lead) --- */
.pg-info-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}
.pg-info-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: #101d5f;
  background: #ffffff;
  border: 1px solid rgba(34, 68, 204, 0.2);
  border-radius: 999px;
  padding: 0.55rem 1.05rem;
  box-shadow: 0 8px 20px rgba(16, 24, 48, 0.08);
}
.pg-info-chip i { color: #2244cc; font-size: 0.9rem; }

/* --- Form card (contact / registration) --- */
.pg-form-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(34, 68, 204, 0.12);
  border-radius: 22px;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: 0 24px 55px rgba(16, 24, 48, 0.12);
}
.pg-form-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2244cc, #f0b429);
}
.pg-form-card label {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1d2a52;
  margin-bottom: 0.35rem;
}
.pg-form-card label .req {
  color: #d99a1f;
  font-size: 0.9rem;
  margin-left: 2px;
}
.pg-form-card label .opt {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a8a9a;
  background: rgba(13, 27, 69, 0.06);
  padding: 0.14rem 0.55rem;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: 1px;
}
.pg-form-card .form-control,
.pg-form-card .form-select {
  border: 1.5px solid rgba(34, 68, 204, 0.16);
  border-radius: 12px;
  padding: 0.65rem 0.9rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: #1d2a52;
  background: #f8faff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.pg-form-card .form-control:focus,
.pg-form-card .form-select:focus {
  border-color: #2244cc;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(34, 68, 204, 0.12);
}
.pg-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 14px;
  padding: 0.95rem 1.4rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #101d5f;
  background: linear-gradient(135deg, #ffe27a, #f0b429);
  box-shadow: 0 14px 30px rgba(240, 180, 41, 0.4);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pg-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(240, 180, 41, 0.55);
}

/* --- CTA band (page-bottom navy panel + gold/ghost buttons) --- */
.pg-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: 26px;
  padding: clamp(2.4rem, 5vw, 3.6rem) clamp(1.4rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse 60% 90% at 90% 0%, rgba(240, 180, 41, 0.18), transparent 60%),
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.6px),
    linear-gradient(135deg, #12265a 0%, #0d1b45 55%, #0a1638 100%);
  background-size: auto, 26px 26px, auto;
  box-shadow: 0 30px 70px rgba(13, 27, 69, 0.35);
}
.pg-cta h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin: 0 0 0.6rem;
}
.pg-cta p {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  max-width: 620px;
  margin: 0 auto 1.8rem;
}
.pg-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}
.pg-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.pg-btn-gold {
  color: #101d5f;
  background: linear-gradient(135deg, #ffe27a, #f0b429);
  box-shadow: 0 14px 30px rgba(240, 180, 41, 0.4);
}
.pg-btn-gold:hover {
  color: #101d5f;
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(240, 180, 41, 0.55);
}
.pg-btn-ghost {
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}
.pg-btn-ghost:hover {
  color: #ffcd39;
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}

/* ==========================================================================
   DIRECTOR SECTION - premium portrait + quote (about page)
   ========================================================================== */
.dir-split {
  display: flex;
  gap: clamp(2rem, 4vw, 3.6rem);
  align-items: center;
}

.dir-split > .dir-photo { flex: 0 0 380px; }
.dir-split > .dir-copy { flex: 1 1 0; min-width: 0; }

/* Photo - offset gold frame + ring + floating badge (compact portrait) */
.dir-photo {
  position: relative;
  max-width: 380px;
}

.dir-frame {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 34px 70px rgba(16, 24, 48, 0.28);
  border: 3px solid rgba(240, 180, 41, 0.5);
}
.dir-frame img {
  width: 100%;
  display: block;
  aspect-ratio: 4/4.4;
  object-fit: cover;
}
/* offset gold border behind */
.dir-photo::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid rgba(240, 180, 41, 0.55);
  border-radius: 26px;
  z-index: -1;
}
/* decorative dashed ring top-right */
.dir-ring {
  position: absolute;
  top: -46px;
  right: -30px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 1.5px dashed rgba(34, 68, 204, 0.25);
  animation: pgSideSpin 40s linear infinite;
  z-index: 2;
  pointer-events: none;
}

/* name plate - photo ke bilkul niche centered chip */
.dir-badge {
  position: relative;
  margin: -24px auto 0;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(240, 180, 41, 0.45);
  border-radius: 16px;
  padding: 0.7rem 1.3rem;
  box-shadow: 0 16px 40px rgba(16, 24, 48, 0.22);
  z-index: 3;
}
.dir-badge i {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: #12265a;
  background: linear-gradient(135deg, #ffe27a, #f0b429);
  box-shadow: 0 8px 18px rgba(240, 180, 41, 0.45);
}
.dir-badge span b { display: block; font-size: 0.9rem; color: #101d5f; font-weight: 800; }
.dir-badge span small { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #b8860b; }
.dir-badge span small.dir-badge-sub { display: block; font-size: 0.6rem; letter-spacing: 0.05em; text-transform: none; color: #8a93b0; font-weight: 600; margin-top: 0.15rem; }

/* Right copy */
.dir-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: #101d5f;
  line-height: 1.6;
  position: relative;
  padding-left: 3rem;
  margin: 0.4rem 0 1.2rem;
}
.dir-quote::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -12px;
  font-size: 3.4rem;
  line-height: 1;
  color: #f0b429;
  text-shadow: 0 4px 14px rgba(240, 180, 41, 0.4);
}

.dir-sign {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(34, 68, 204, 0.14);
}
.dir-sign b {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  color: #101d5f;
  letter-spacing: 0.03em;
}
.dir-sign span {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8860b;
  margin-top: 4px;
}
/* Director social icons row - X + Facebook + Instagram */
.dir-sign .dir-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 0.95rem;
}
.dir-sign .dir-socials .dir-x { margin-top: 0; }
/* X (Twitter) social link - name ke niche */
.dir-sign .dir-x {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 0.95rem;
  text-decoration: none;
}
.dir-sign .dir-x i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #ffffff;
  background: #0d1b45;
  border: 1px solid rgba(13, 27, 69, 0.2);
  box-shadow: 0 6px 14px rgba(13, 27, 69, 0.18);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.dir-sign .dir-x span {
  display: inline-block;
  margin-top: 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: none;
  color: #16295e;
  transition: color 0.3s ease;
}
.dir-sign .dir-x:hover i {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #ffe27a, #f0b429);
  color: #0d1b45;
  border-color: rgba(255, 205, 57, 0.8);
  box-shadow: 0 10px 22px rgba(240, 180, 41, 0.4);
}
.dir-sign .dir-x:hover span { color: #b8860b; }

@media (max-width: 859.98px) {
  .dir-split { flex-direction: column; }
  .dir-photo { max-width: 340px; }
}

/* ==========================================================================
   INNER PAGES - tablet/mobile fit (pg-* grids stack cleanly)
   ========================================================================== */
@media (max-width: 991.98px) {
  .pg-split { grid-template-columns: 1fr; }
  .pg-split .pg-img { max-width: 560px; }
  /* Registration intro column - mobile pe sab center (form card left hi rahe) */
  .pg-split-center { text-align: center; }
  .pg-split-center .plife-title { text-align: center !important; }
  .pg-split-center .pg-lead { text-align: center; margin-left: auto; margin-right: auto; }
  .pg-split-center .pg-info-strip { align-items: center !important; }
  .pg-split-center .pg-form-card { text-align: left; }
  .pg-grid { grid-template-columns: repeat(2, 1fr); }
  .pg-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .pg-section { padding: 3.2rem 0; }
  .pg-hero { padding: 2.2rem 0 2rem; }
}

@media (max-width: 575.98px) {
  .pg-hero h1 { font-size: clamp(1.35rem, 6.2vw, 1.7rem); }
  .pg-hero p { font-size: 0.82rem; padding: 0 8px; }
  .plife-head { margin-bottom: 34px; }
  .plife-title { font-size: clamp(1.5rem, 6.4vw, 1.9rem); }
  .pg-grid,
  .pg-grid.cols-2,
  .pg-grid.cols-4 { grid-template-columns: 1fr; }
  .pg-photo-card { aspect-ratio: 16 / 10; }
  .pg-card { padding: 1.4rem 1.2rem; }
  .pg-lead { font-size: 0.94rem; }
  .pg-info-strip { gap: 0.5rem; margin-top: 1.1rem; }
  .pg-info-chip { font-size: 0.73rem; padding: 0.45rem 0.85rem; }
  .pg-cta { border-radius: 20px; padding: 2.2rem 1.2rem; }
  .pg-cta-btns { flex-direction: column; }
  .pg-btn { width: 100%; justify-content: center; }
  .dir-split { gap: 2.6rem; }
  .dir-photo { max-width: 300px; margin: 0 auto; }
  .dir-photo::before { inset: 12px -12px -12px 12px; }
  .dir-ring { top: -30px; right: -18px; width: 110px; height: 110px; }
  .dir-quote { padding-left: 2.2rem; font-size: 1.08rem; }
  .dir-quote::before { font-size: 2.6rem; }
  .pg-form-card { padding: 1.3rem 1.1rem; border-radius: 18px; }
  .pg-doc-row { padding: 0.85rem 0.9rem; gap: 0.75rem; }
  .pg-doc-row .pg-doc-name { font-size: 0.84rem; }
  .pg-doc-row .pg-doc-btn { padding: 0.42rem 0.95rem; font-size: 0.68rem; }
  /* Office cards: mobile pe bhi 2 aaju-baju, chhote + chhota text */
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .contact-card {
    padding: 12px 10px 12px;
    border-radius: 14px;
  }
  .contact-card-top { margin-bottom: 8px; }
  .contact-card-top > i {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    font-size: 0.85rem;
  }
  .contact-num-chip { font-size: 1.05rem; }
  .contact-card h3 {
    font-size: 0.78rem;
    line-height: 1.3;
    margin-bottom: 8px;
  }
  .contact-card .contact-meta {
    padding: 6px 8px;
    margin-bottom: 5px;
    font-size: 0.68rem;
    line-height: 1.45;
    gap: 6px;
    border-radius: 8px;
  }
  .contact-card .contact-dir {
    font-size: 0.55rem;
    padding: 6px 10px;
    gap: 6px;
    margin-top: 3px;
    letter-spacing: 0.08em;
  }
}

/* ==========================================================================
   MANDATORY DISCLOSURE PAGE - CBSE format (lettered sections A-E)
   info tiles + numbered doc cards + premium tables (navy/gold)
   ========================================================================== */

/* Section head - gold letter badge + title */
.mdp-head {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-bottom: 2.4rem;
  text-align: center;
}
.mdp-num {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: #0d1b45;
  background: linear-gradient(135deg, #ffe27a 0%, #ffcd39 55%, #e6a91c 100%);
  box-shadow: 0 10px 22px rgba(217, 154, 31, 0.35);
}
.mdp-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  color: #0d1b45;
  margin: 0;
}
.mdp-title em {
  font-style: italic;
  background: linear-gradient(100deg, #d99a1f, #f0b429);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mdp-sub-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: #16295e;
  margin: 2rem 0 0.8rem;
}
.mdp-sub-title em { font-style: italic; color: #d99a1f; }

/* --- A: info tiles --- */
.mdp-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}
.mdp-info {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #f6f9ff 100%);
  border: 1px solid rgba(13, 27, 69, 0.1);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 2px 12px rgba(13, 27, 69, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}
.mdp-info::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #ffe27a, #e6a91c);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mdp-info:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 154, 31, 0.35);
  box-shadow: 0 10px 26px rgba(13, 27, 69, 0.12);
}
.mdp-info:hover::before { opacity: 1; }
.mdp-info-ic {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: #0d1b45;
  background: linear-gradient(135deg, rgba(255, 205, 57, 0.2), rgba(255, 226, 122, 0.1));
  transition: all 0.3s ease;
}
.mdp-info:hover .mdp-info-ic {
  background: linear-gradient(135deg, #ffe27a, #e6a91c);
  color: #0d1b45;
}
.mdp-info-data { display: flex; flex-direction: column; min-width: 0; }
.mdp-info-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #7a8a9a;
  margin-bottom: 3px;
}
.mdp-info-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0d1b45;
  word-break: break-word;
}

/* --- B: numbered doc cards --- */
.mdp-doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}
.mdp-doc {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(160deg, #f7faff 0%, #eef3fc 55%, #e8eefb 100%);
  border: 1px solid rgba(13, 27, 69, 0.1);
  border-radius: 18px;
  padding: 24px;
  min-height: 210px;
  box-shadow: 0 4px 20px rgba(13, 27, 69, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.mdp-doc::before {
  content: attr(data-num);
  position: absolute;
  top: 12px;
  right: 18px;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1;
  color: rgba(13, 27, 69, 0.07);
}
.mdp-doc::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #9fb4e8, #ffcd39, #9fb4e8);
}
.mdp-doc-bar {
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #ffcd39, #e6a91c);
}
.mdp-doc:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 154, 31, 0.4);
  box-shadow: 0 14px 40px rgba(13, 27, 69, 0.14);
}
.mdp-doc-ic {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #0d1b45;
  background: rgba(255, 255, 255, 0.65);
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}
.mdp-doc:hover .mdp-doc-ic {
  background: linear-gradient(135deg, #ffe27a, #e6a91c);
  color: #0d1b45;
}
.mdp-doc h4 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.98rem;
  color: #16295e;
  margin: 0;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}
.mdp-doc-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.72rem;
  font-weight: 700;
  color: #6a7d99;
}
.mdp-doc-meta i { color: #d99a1f; margin-right: 4px; }
.mdp-doc-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  position: relative;
  z-index: 1;
}
.mdp-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 10px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.25s ease;
}
.mdp-btn-view { background: rgba(13, 27, 69, 0.07); color: #16295e; }
.mdp-btn-view:hover { background: rgba(13, 27, 69, 0.13); color: #0d1b45; }
.mdp-btn-dl {
  background: linear-gradient(135deg, #ffe27a, #ffcd39);
  color: #0d1b45;
  box-shadow: 0 6px 16px rgba(217, 154, 31, 0.3);
}
.mdp-btn-dl:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(217, 154, 31, 0.45);
  color: #0d1b45;
}

/* --- C/D/E: premium tables --- */
.mdp-table-wrap {
  background: #ffffff;
  border-radius: 16px;
  border: 2px solid rgba(13, 27, 69, 0.12);
  box-shadow: 0 4px 20px rgba(13, 27, 69, 0.06);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.mdp-table-wrap::-webkit-scrollbar { height: 6px; }
.mdp-table-wrap::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; }
.mdp-table-wrap::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
.mdp-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Nunito', sans-serif;
}
.mdp-table-fixed { table-layout: fixed; }
.mdp-table thead th {
  background: linear-gradient(135deg, #16295e 0%, #0d1b45 100%);
  color: #ffffff;
  padding: 15px 18px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: left;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.mdp-table thead th:last-child { border-right: none; text-align: center; }
.mdp-table thead th:first-child { text-align: center; border-radius: 14px 0 0 0; }
.mdp-table thead th:last-child { border-radius: 0 14px 0 0; }
.mdp-table-fixed thead th { text-align: center; }
.mdp-table tbody tr {
  border-bottom: 1px solid rgba(13, 27, 69, 0.09);
  transition: background 0.25s ease;
}
.mdp-table tbody tr:nth-child(even) { background: rgba(13, 27, 69, 0.02); }
.mdp-table tbody tr:hover { background: rgba(255, 205, 57, 0.08); }
.mdp-table tbody tr:last-child { border-bottom: none; }
.mdp-table tbody td {
  padding: 15px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #26365e;
  vertical-align: middle;
  border-right: 1px solid rgba(13, 27, 69, 0.07);
}
.mdp-table tbody td:last-child { border-right: none; }
.mdp-table tbody td:first-child { text-align: center; }
.mdp-table-fixed tbody td { text-align: center; }
.mdp-tc { text-align: center; }
.mdp-rownum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(255, 205, 57, 0.25), rgba(13, 27, 69, 0.08));
  color: #0d1b45;
  font-weight: 800;
  font-size: 0.78rem;
}
.mdp-sub td { background: rgba(13, 27, 69, 0.025); }
.mdp-sub-dot {
  color: #d99a1f;
  font-size: 1rem;
  margin-right: 6px;
  vertical-align: middle;
}
.mdp-sub-note {
  display: inline-block;
  margin-right: 6px;
  font-weight: 700;
  color: #5c6f92;
}
.mdp-tbl-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 9px;
  background: rgba(217, 154, 31, 0.12);
  color: #a06f07;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.mdp-tbl-btn:hover {
  background: linear-gradient(135deg, #ffe27a, #ffcd39);
  color: #0d1b45;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(217, 154, 31, 0.3);
}

@media (max-width: 768px) {
  .mdp-num { width: 50px; height: 50px; font-size: 1.2rem; border-radius: 15px; }
  .mdp-doc-grid { grid-template-columns: 1fr; }
  .mdp-table thead th, .mdp-table tbody td { padding: 12px 14px; font-size: 0.78rem; }
  /* Result tables (6 columns): fixed layout me 350px me squeeze hoke header text
     overlap hota tha - auto layout + min-width se wrap ke andar swipe-scroll hoti hai */
  .mdp-table-fixed { table-layout: auto; min-width: 640px; }
  /* Scroll-shadow hint - wrap ke edges pe shadow dikhta hai jab aur scroll ho sakta hai */
  .mdp-table-wrap {
    background-image:
      linear-gradient(to right, #ffffff 30%, rgba(255, 255, 255, 0)),
      linear-gradient(to left, #ffffff 30%, rgba(255, 255, 255, 0)),
      radial-gradient(farthest-side at 0 50%, rgba(13, 27, 69, 0.18), rgba(13, 27, 69, 0)),
      radial-gradient(farthest-side at 100% 50%, rgba(13, 27, 69, 0.18), rgba(13, 27, 69, 0));
    background-position: 0 0, 100% 0, 0 0, 100% 0;
    background-repeat: no-repeat;
    background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
    background-attachment: local, local, scroll, scroll;
  }
}

/* ==========================================================================
   FEATURES PAGE - ultra premium showcase
   fas-row = alternating showcase (image + text), fas-card = grid cards
   ========================================================================== */

/* --- Part 1: signature showcase rows --- */
.fas-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(2.6rem, 5vw, 4rem);
}
.fas-row:last-child { margin-bottom: 0; }
.fas-rev .fas-media { order: 2; }
.fas-rev .fas-body { order: 1; }

/* Image card - gold offset frame behind photo */
.fas-media { position: relative; }
.fas-media img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 24px 50px rgba(13, 27, 69, 0.2);
  position: relative;
  z-index: 2;
  display: block;
}
/* Natural aspect-ratio wale media (international exposure jaisi) -
   img apni intrinsic height le (fixed 340px crop override nahi),
   media ka aspect-ratio sirf space reserve karta hai */
.fas-media[style*="aspect-ratio:"] img {
  height: auto !important;
}
.fas-media::before {
  content: "";
  position: absolute;
  inset: -14px 16px 16px -14px;
  border: 2px solid rgba(217, 154, 31, 0.55);
  border-radius: 26px;
  z-index: 1;
}
.fas-rev .fas-media::before { inset: -14px -14px 16px 16px; }
.fas-num {
  position: absolute;
  z-index: 3;
  top: -16px;
  right: 20px;
  padding: 0.32rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe27a, #e6a91c);
  color: #0d1b45;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  box-shadow: 0 8px 18px rgba(217, 154, 31, 0.4);
}

/* Text side */
.fas-ic {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #0d1b45;
  background: linear-gradient(135deg, #ffe27a, #f0b429);
  box-shadow: 0 10px 24px rgba(217, 154, 31, 0.35);
  margin-bottom: 1.1rem;
}
@media (max-width: 767.98px) {
  .fas-ic {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 0.92rem;
    margin-bottom: 0.7rem;
    box-shadow: 0 6px 14px rgba(217, 154, 31, 0.28);
  }
}
.fas-body h3 {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: #101d5f;
  margin: 0 0 0.7rem;
  letter-spacing: 0.01em;
}
.fas-body p {
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.7;
  color: #5b6b85;
  margin: 0;
}
.fas-pts {
  list-style: none;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 1.15rem 0 0;
  padding: 0;
}
.fas-pts li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background: rgba(13, 27, 69, 0.05);
  border: 1px solid rgba(13, 27, 69, 0.09);
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #26365e;
}
.fas-pts li i { color: #d99a1f; font-size: 0.68rem; }

/* ==========================================================================
   TRANSFER CERTIFICATE - Official TC Desk (search / request / status)
   ========================================================================== */
.tc-wrap { padding-top: 2.6rem; }
.tc-card {
  background: #ffffff;
  border: 1.5px solid rgba(13, 27, 69, 0.14);
  border-radius: 22px;
  padding: 1.8rem 1.9rem;
  box-shadow: 0 24px 55px -18px rgba(13, 27, 69, 0.28);
  position: relative;
  overflow: hidden;
}
.tc-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, #e6a91c 0%, #ffcd39 30%, #ffe27a 50%, #ffcd39 70%, #e6a91c 100%);
}
.tc-card-head {
  display: flex; align-items: flex-start; gap: 15px;
  margin-bottom: 1.2rem;
  position: relative; z-index: 2;
}
.tc-ico {
  width: 54px; height: 54px; flex: 0 0 54px;
  display: grid; place-items: center;
  border-radius: 16px;
  font-size: 1.3rem; color: #ffcd39;
  background: linear-gradient(150deg, #1e3678, #0d1b45);
  box-shadow: 0 10px 24px -8px rgba(13, 27, 69, 0.55);
}
.tc-ico.alt  {
  background: linear-gradient(150deg, #ffe27a, #d99a1f); color: #0d1b45;
  box-shadow: 0 10px 24px -8px rgba(217, 154, 31, 0.55);
}
.tc-ico.alt2 {
  background: linear-gradient(150deg, #1d8a78, #146b5d); color: #fff;
  box-shadow: 0 10px 24px -8px rgba(20, 107, 93, 0.55);
}
.tc-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: #d99a1f; margin-bottom: .25rem;
}
.tc-card-head h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.32rem; font-weight: 800; color: #0d1b45;
  margin-bottom: .3rem;
}
.tc-card-head p { font-size: .86rem; color: #4a5578; line-height: 1.65; margin: 0; }
.tc-badge {
  margin-left: auto; flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #146b5d; background: #e8f5f0; border: 1px solid #bfe3d6;
  padding: .4rem .8rem; border-radius: 999px;
}
.tc-search {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: .8rem; align-items: end;
  position: relative; z-index: 2;
}
.tc-f { display: block; }
.tc-f span {
  display: block;
  font-size: .74rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: #4a5578; margin-bottom: .3rem;
}
.tc-f span b { color: #d33a40; }
.tc-f input, .tc-f select, .tc-f textarea {
  width: 100%; height: 46px;
  border: 1.5px solid #d4def0; border-radius: 11px;
  background: #f2f6fd; padding: 0 .9rem;
  font: 600 .9rem/1.4 'Outfit', sans-serif; color: #0d1b45;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.tc-f textarea { height: auto; padding: .7rem .9rem; resize: vertical; min-height: 70px; }
.tc-f input:focus, .tc-f select:focus, .tc-f textarea:focus {
  outline: none; background: #fff;
  border-color: #e6a91c;
  box-shadow: 0 0 0 3px rgba(230, 169, 28, 0.16);
}
/* icon-prefixed input */
.tc-inp { display: block; position: relative; }
.tc-inp i {
  position: absolute; left: .85rem; top: 50%; transform: translateY(-50%);
  font-size: .8rem; pointer-events: none; color: #d99a1f;
}
.tc-inp input { padding-left: 2.3rem; }
.tc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 1.4rem;
  border: 0; border-radius: 10px; cursor: pointer;
  font: 800 .8rem/1 'Outfit', sans-serif;
  letter-spacing: .1em; text-transform: uppercase;
  color: #fff; text-decoration: none; white-space: nowrap;
  background: linear-gradient(150deg, #16295e, #0d1b45);
  box-shadow: 0 10px 22px -10px rgba(13, 27, 69, 0.6);
  transition: transform .2s ease, filter .2s ease;
}
.tc-btn:hover { transform: translateY(-1px); filter: brightness(1.1); color: #fff; }
.tc-btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.tc-btn.gold {
  width: 100%;
  background: linear-gradient(135deg, #ffe27a, #e6a91c);
  color: #0d1b45;
  box-shadow: 0 14px 30px -10px rgba(230, 169, 28, 0.55);
}
.tc-btn.dl {
  margin-top: .9rem;
  background: linear-gradient(135deg, #ffe27a, #e6a91c);
  color: #0d1b45;
}
/* TC result - View + Download buttons ek row me */
.tc-btn-row { display: flex; gap: 10px; margin-top: .9rem; flex-wrap: wrap; }
.tc-btn-row .tc-btn { margin-top: 0; flex: 1; justify-content: center; min-width: 0; }
.tc-btn.view {
  background: linear-gradient(135deg, #2244cc, #16295e);
  color: #fff;
}

/* ----- Official TC Desk - white premium search card (niche wale cards jaisa) ----- */
.tc-desk {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  padding: 2.1rem 2.4rem 2rem;
}
.tc-desk .tc-card-head {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin-bottom: 1.4rem;
}
.tc-desk .tc-ico {
  width: 62px; height: 62px; flex: 0 0 62px;
  font-size: 1.55rem; border-radius: 20px;
}
.tc-desk .tc-eyebrow { font-size: .7rem; }
.tc-desk .tc-badge {
  margin: 0 auto;
  order: 3;
}
.tc-desk .tc-card-head h2 { font-size: 1.55rem; margin-bottom: .3rem; }
.tc-desk .tc-card-head p { font-size: .92rem; max-width: 520px; }
.tc-desk .tc-search {
  grid-template-columns: 1fr 1fr;
  gap: .95rem;
  text-align: left;
}
.tc-desk .tc-search .tc-btn {
  grid-column: 1 / -1;
  width: 100%; height: 52px; margin-top: .4rem;
  font-size: .88rem;
  background: linear-gradient(135deg, #ffe27a, #e6a91c);
  color: #0d1b45;
  box-shadow: 0 14px 30px -10px rgba(230, 169, 28, 0.5);
}
.tc-desk .tc-result { position: relative; z-index: 2; }
.tc-notes {
  list-style: none; margin: 0 0 1.1rem; padding: .8rem 1.1rem;
  background: linear-gradient(135deg, #fdf6df, #fdf3d4);
  border: 1.5px solid #eed89a; border-radius: 14px;
}
.tc-notes li {
  font-size: .82rem; font-weight: 600; color: #6b4f14; padding: .2rem 0;
  display: flex; gap: 9px; align-items: center;
}
.tc-notes li i { color: #1d8a78; font-size: .72rem; }
.tc-form .tc-frow {
  display: grid; grid-template-columns: 1fr 1fr; gap: .7rem .8rem;
  margin-bottom: .7rem;
}
.tc-form > .tc-f { margin-bottom: .7rem; }
.tc-err {
  font-size: .8rem; color: #c02c34; font-weight: 600; margin: 0 0 .6rem;
}
.tc-msg {
  margin-top: .9rem;
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; color: #4a5578;
  background: #f6f9fe; border: 1px solid #d6dff0; border-radius: 10px;
  padding: .7rem .9rem;
}
.tc-msg.err { color: #c02c34; background: #fdf0f0; border-color: #f2cfcf; }
.tc-msg.note { color: #146b5d; background: #e8f5f0; border-color: #bfe3d6; }
.tc-found {
  display: flex; align-items: center; gap: 12px;
  margin-top: 1rem; padding: .8rem 1rem;
  background: #e8f5f0; border: 1px solid #bfe3d6; border-radius: 12px;
}
.tc-ok-ic {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1d8a78; color: #fff; font-size: 1.2rem;
}
.tc-found-txt b { display: block; color: #146b5d; font-size: .95rem; }
.tc-found-txt span { font-size: .78rem; color: #3f5f57; }
.tc-tbl {
  width: 100%; margin-top: .9rem;
  border-collapse: collapse; font-size: .85rem;
}
.tc-tbl th, .tc-tbl td {
  text-align: left; padding: .55rem .7rem;
  border-bottom: 1px solid #ecf0f8;
}
.tc-tbl th {
  width: 140px; color: #4a5578;
  font-weight: 700; font-size: .74rem;
  letter-spacing: .05em; text-transform: uppercase;
}
.tc-tbl td { color: #0d1b45; font-weight: 600; }
.tc-tbl thead th {
  background: #0d1b45; color: #ffcd39;
  font-size: .68rem; letter-spacing: .08em;
  width: auto;
}
.tc-tbl thead th:first-child { border-radius: 10px 0 0 0; }
.tc-tbl thead th:last-child { border-radius: 0 10px 0 0; }
.tc-grid2 {
  display: grid; grid-template-columns: 3fr 2fr; gap: 1.4rem;
  margin-top: 1.4rem; align-items: start;
}
/* right column - status + help stacked */
.tc-side { display: flex; flex-direction: column; gap: 1.4rem; }
.tc-help .tc-card-head { margin-bottom: .9rem; }
.tc-help-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: .55rem;
}
.tc-help-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: .84rem; color: #0d1b45; font-weight: 600;
}
.tc-help-list li i {
  width: 30px; height: 30px; flex: 0 0 30px;
  display: grid; place-items: center;
  border-radius: 9px; font-size: .72rem;
  color: #e6a91c; background: #fdf3dc;
  border: 1px solid #f0dc9a;
}
.tc-help-list li a { color: #0d1b45; text-decoration: none; }
.tc-help-list li a:hover { color: #d99a1f; }
.tc-statusform {
  display: grid; grid-template-columns: 1fr auto; gap: .7rem; align-items: end;
}
.tc-pill {
  display: inline-block; padding: .28rem .8rem; border-radius: 999px;
  font-size: .72rem; font-weight: 800; letter-spacing: .04em;
}
.tc-pill.pending  { color: #8a5a10; background: #fdf3dc; border: 1px solid #f0dc9a; }
.tc-pill.review   { color: #1b4f8a; background: #e8f0fb; border: 1px solid #c2d8f0; }
.tc-pill.approved { color: #146b5d; background: #e8f5f0; border: 1px solid #bfe3d6; }
.tc-reqok { text-align: center; padding: 1rem .5rem .4rem; }
.tc-done-ic {
  display: inline-grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: #e8f5f0; border: 2px solid #bfe3d6;
  color: #1d8a78; font-size: 1.7rem; margin-bottom: .7rem;
}
.tc-reqok h3 {
  font-family: 'Cinzel', serif; color: #0d1b45;
  font-size: 1.2rem; margin-bottom: .4rem;
}
.tc-reqok p { font-size: .85rem; color: #4a5578; margin-bottom: .9rem; }
.tc-track-chip {
  display: inline-block;
  font: 800 1.05rem/1 'Outfit', sans-serif; letter-spacing: .1em;
  color: #0d1b45; background: #fdf3dc;
  border: 2px dashed #e6a91c; border-radius: 12px;
  padding: .8rem 1.6rem;
}
@media (max-width: 900px) {
  .tc-grid2 { grid-template-columns: 1fr; }
  .tc-search { grid-template-columns: 1fr; }
  .tc-search .tc-btn { width: 100%; }
}
@media (max-width: 560px) {
  .tc-card { padding: 1.2rem 1rem; }
  .tc-form .tc-frow { grid-template-columns: 1fr; }
  .tc-statusform { grid-template-columns: 1fr; }
  .tc-card-head { flex-wrap: wrap; }
}

/* --- SEO intro - Signature section ke andar facilities overview text --- */
.fac-seo {
  max-width: 900px;
  margin: 0 auto 3.4rem;
  text-align: center;
}
.fac-seo-kick {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #b07d10;
  background: linear-gradient(135deg, #fff6dc, #fdf0c4);
  border: 1px solid #f0dc9a;
  padding: .5rem 1.15rem;
  border-radius: 999px;
  margin-bottom: 1.15rem;
  box-shadow: 0 4px 14px rgba(217, 154, 31, 0.14);
}
.fac-seo-kick i { font-size: .8rem; color: #d99a1f; }
.fac-seo-t {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.45rem, 3.2vw, 1.95rem);
  font-weight: 800;
  color: #0d1b45;
  line-height: 1.28;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: .95rem;
}
.fac-seo-t::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 72px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, #ffe27a, #e6a91c);
}
.fac-seo-t em { font-style: normal; color: #d99a1f; }
.fac-seo p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.08rem;
  color: #434e78;
  line-height: 1.85;
  margin: 0 auto .9rem;
}
.fac-seo p strong { color: #0d1b45; font-weight: 600; }
@media (max-width: 767px) {
  .fac-seo { margin-bottom: 2.2rem; }
  .fac-seo-kick { font-size: .62rem; padding: .45rem .9rem; }
  .fac-seo p { font-size: .92rem; }
}

/* --- Part 2: premium card grid --- */
.fas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 2.4rem;
}
.fas-card {
  background: #ffffff;
  /* Reference design - top-left + bottom-right bade round corners, baaki sharp + navy border */
  border-radius: 44px 6px 44px 6px;
  overflow: hidden;
  border: 1.5px solid rgba(13, 27, 69, 0.22);
  box-shadow: 0 10px 30px rgba(13, 27, 69, 0.08);
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
/* hover pe top gold sweep line */
.fas-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffe27a, #ffcd39, #e6a91c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
  z-index: 5;
}
.fas-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(13, 27, 69, 0.13);
  border-color: rgba(217, 154, 31, 0.35);
}
.fas-card:hover::after { transform: scaleX(1); }

.fas-card-img {
  height: 252px;
  overflow: hidden;
  position: relative;
}
.fas-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 14, 34, 0) 55%, rgba(6, 14, 34, 0.4) 100%);
}
.fas-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.fas-card:hover .fas-card-img img { transform: scale(1.04); }
/* Biology Lab photo me upar likha naam-banner cover crop me na kate - top se anchor */
.fas-card[data-title="Biology Lab"] .fas-card-img img { object-position: center top; }
/* Smart Classrooms portrait photo me upar ka smart board crop na ho - top se anchor */
.fas-card[data-title="Smart Classrooms"] .fas-card-img img { object-position: center top; }
/* Hostel Six-Stars poster - card pe cover fill (side bars nahi), dorms grid dikhe.
   Lightbox me pura poster waise hi aata hai */
.fas-card[data-title="Girls' and Boys' Hostel"] .fas-card-img { background: #000000; }
.fas-card[data-title="Girls' and Boys' Hostel"] .fas-card-img img { object-position: center 55%; }
.fas-card-num {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 0.26rem 0.7rem;
  border-radius: 999px;
  background: rgba(6, 14, 34, 0.55);
  color: #ffcd39;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  backdrop-filter: blur(6px);
}
.fas-card-body {
  padding: 14px 20px 16px;
  position: relative;
}
/* Floating gold icon chip - image aur body ke beech overlap */
.fas-card-ic {
  position: absolute;
  top: -24px;
  left: 20px;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, #ffe27a, #f0b429);
  color: #0d1b45;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  box-shadow: 0 10px 22px rgba(217, 154, 31, 0.38);
}
.fas-card h4 {
  margin: 20px 0 5px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: #0d1b45;
  letter-spacing: 0.01em;
}
.fas-card p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #5b6b85;
  line-height: 1.55;
}

@media (max-width: 991.98px) {
  .fas-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .fas-row,
  .fas-rev { grid-template-columns: 1fr; gap: 2rem; }
  .fas-rev .fas-media { order: 0; }
  .fas-rev .fas-body { order: 1; }
  .fas-media img { height: 280px; }
}
@media (max-width: 600px) {
  /* Mobile pe 2-2 cards per row - photo upar, naam niche (compact) */
  .fas-grid { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 1.6rem; }
  .fas-card { border-radius: 24px 4px 24px 4px; }
  .fas-card-img { height: 118px; }
  .fas-card-num,
  .fas-card-ic,
  .fas-galct,
  .fas-card p { display: none; }
  .fas-card-body { padding: 10px 8px 12px; text-align: center; }
  .fas-card h4 {
    margin: 0; font-size: .74rem; font-weight: 800;
    letter-spacing: .06em; text-transform: uppercase;
    line-height: 1.35;
  }
  .fas-card:hover { transform: none; }
  .fas-media img { height: 240px; }
  .fas-media::before { inset: -10px 10px 10px -10px; }
}
@media (max-width: 380px) {
  .fas-card-img { height: 104px; }
  .fas-card h4 { font-size: .68rem; }
}

/* ==========================================================================
   INTERNATIONAL EXPOSURE PAGE - honoured guests section
   Premium backdrop (globe SVG + gold orbs) + mobile compact rows
   ========================================================================== */
.ie-guests {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(240, 180, 41, 0.10), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(16, 29, 95, 0.07), transparent 60%),
    linear-gradient(180deg, #fffdf7 0%, #faf6ea 100%);
}
.ie-guests .container { position: relative; z-index: 2; }
/* Guest name ke saath country - gold, chhota, Nunito (Cinzel title se alag) */
.ie-guests .fas-body h3 span {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.62em;
  color: #c9931c;
  letter-spacing: 0.08em;
  margin-left: 6px;
}
.ie-bg-globe {
  position: absolute;
  z-index: 0;
  width: 760px;
  height: 760px;
  right: -260px;
  top: -200px;
  color: rgba(16, 29, 95, 0.07);
  animation: ieSpin 120s linear infinite;
  pointer-events: none;
}
@keyframes ieSpin { to { transform: rotate(360deg); } }
.ie-orb {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
  opacity: 0.55;
}
.ie-orb-a { width: 380px; height: 380px; left: -140px; top: 28%;
  background: radial-gradient(circle, rgba(255, 226, 122, 0.7), transparent 70%); }
.ie-orb-b { width: 320px; height: 320px; right: -100px; bottom: 6%;
  background: radial-gradient(circle, rgba(130, 160, 255, 0.35), transparent 70%); }
/* Mobile: compact rows - icon chip title se alag (upar left, chhota),
   gap/spacing tight, photo frame + text card premium feel */
@media (max-width: 900px) {
  .ie-guests { padding-top: 2.4rem; padding-bottom: 2.4rem; }
  .ie-guests .plife-head { margin-bottom: 1.4rem; }
  .ie-guests .fas-row { gap: 0.9rem; margin-bottom: 1.9rem; }
  .ie-guests .fas-media::before { inset: -8px 8px 8px -8px; border-radius: 22px; }
  .ie-guests .fas-media img { border-radius: 18px; box-shadow: 0 14px 30px rgba(13, 27, 69, 0.16); }
  .ie-guests .fas-num { top: -10px; right: 14px; font-size: 0.72rem; padding: 0.26rem 0.75rem; }
  .ie-guests .fas-body {
    position: relative;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(217, 154, 31, 0.28);
    border-radius: 18px;
    padding: 1.05rem 1.05rem 1.05rem 1.05rem;
    box-shadow: 0 10px 26px rgba(13, 27, 69, 0.08);
  }
  .ie-guests .fas-ic {
    position: absolute;
    top: -16px;
    left: 16px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 0.85rem;
    margin: 0;
    box-shadow: 0 6px 14px rgba(217, 154, 31, 0.35);
  }
  .ie-guests .fas-body h3 { margin: 0.35rem 0 0.4rem; font-size: 1.12rem; }
  .ie-guests .fas-body h3 span { display: block; font-size: 0.78rem; color: #c9931c; letter-spacing: 0.08em; margin-top: 2px; }
  .ie-guests .fas-swap { font-size: 0.9rem; line-height: 1.6; margin: 0; }
  .ie-bg-globe { width: 420px; height: 420px; right: -170px; top: -120px; }
  .ie-orb-a { width: 220px; height: 220px; left: -100px; }
  .ie-orb-b { width: 200px; height: 200px; right: -80px; }
}
@media (max-width: 600px) {
  .ie-guests .fas-row { gap: 0.8rem; margin-bottom: 1.6rem; }
  .ie-guests .fas-body { padding: 0.95rem 0.95rem 1rem; }
}

/* ==========================================================================
   INTERNATIONAL TOURS - compact warm-dark section + auto-slide marquee
   Poster cards khud slide hote hain (infinite loop, hover pe pause)
   ========================================================================== */
/* ==========================================================================
   INTERNATIONAL MOMENTS - LKS style: pastel bg + circular photos marquee +
   gold ribbon band + explore button
   ========================================================================== */
.moments-sec {
  position: relative;
  padding: 3.4rem 0 3rem;
  background:
    radial-gradient(340px 200px at 12% 20%, rgba(255, 205, 57, 0.14), transparent 70%),
    radial-gradient(300px 220px at 88% 30%, rgba(244, 114, 182, 0.12), transparent 70%),
    radial-gradient(260px 180px at 50% 90%, rgba(167, 139, 250, 0.12), transparent 70%),
    linear-gradient(180deg, #fdf6f0 0%, #fceef4 55%, #f6f0fd 100%);
  overflow: hidden;
}
/* halki sparkle dots - bokeh feel */
.moments-sec::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(5px 5px at 15% 25%, rgba(255, 255, 255, 0.9) 50%, transparent 51%),
    radial-gradient(4px 4px at 78% 15%, rgba(255, 255, 255, 0.85) 50%, transparent 51%),
    radial-gradient(6px 6px at 90% 60%, rgba(255, 255, 255, 0.8) 50%, transparent 51%),
    radial-gradient(4px 4px at 35% 75%, rgba(255, 255, 255, 0.85) 50%, transparent 51%),
    radial-gradient(5px 5px at 60% 35%, rgba(255, 255, 255, 0.8) 50%, transparent 51%);
}
.moments-eye {
  color: #c2410c !important; letter-spacing: 0.28em; text-transform: uppercase;
}
.moments-title { color: #6d3fb5 !important; }

/* viewport - ribbon circles ke peeche */
.moments-viewport {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
  padding: 12px 0 26px;
}
/* gold ribbon band - circles ke beech se guzarti hui (LKS look) */
.moments-ribbon {
  position: absolute;
  left: 0; right: 0;
  top: 62%;
  height: 15px;
  background: linear-gradient(90deg,
    rgba(232, 190, 90, 0) 0%, #e8be5a 8%, #f5d06f 50%, #e8be5a 92%, rgba(232, 190, 90, 0) 100%);
  box-shadow: 0 4px 14px rgba(212, 168, 83, 0.35);
  z-index: 0;
}
.moments-track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  position: relative;
  z-index: 1;
  padding: 0 1.2rem;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  animation: momentsScroll 42s linear infinite;
}
.moments-viewport:hover .moments-track { animation-play-state: paused; }
@keyframes momentsScroll {
  to { transform: translate3d(-50%, 0, 0); }
}

/* circular photo - white rim + soft shadow */
.moments-circle {
  position: relative;
  flex: 0 0 auto;
  width: clamp(150px, 16vw, 195px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
  border: 5px solid #ffffff;
  box-shadow:
    0 10px 30px rgba(109, 63, 181, 0.16),
    0 0 0 1.5px rgba(232, 190, 90, 0.45);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.moments-circle:hover {
  transform: scale(1.06);
  box-shadow:
    0 16px 40px rgba(109, 63, 181, 0.24),
    0 0 0 2px rgba(232, 190, 90, 0.8);
}
.moments-circle img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* Home "International Exposure" variant - framed guest posters, circle crop nahi.
   Polaroid card: fixed height, photo poori (contain) + caption strip neeche */
.moments-cards .moments-track { gap: 1.6rem; animation-duration: 70s; align-items: flex-end; }
.moments-card {
  position: relative;
  flex: 0 0 auto;
  height: clamp(220px, 24vw, 300px);
  padding: 8px 8px 0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow:
    0 12px 32px rgba(109, 63, 181, 0.16),
    0 0 0 1.5px rgba(232, 190, 90, 0.45);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  transform: rotate(var(--tilt, 0deg));
}
.moments-card:nth-child(odd)  { --tilt: -1.4deg; }
.moments-card:nth-child(even) { --tilt: 1.2deg; }
.moments-card:nth-child(3n)   { --tilt: 0.6deg; }
.moments-card:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.03);
  box-shadow:
    0 20px 46px rgba(109, 63, 181, 0.26),
    0 0 0 2px rgba(232, 190, 90, 0.85);
  z-index: 3;
}
.moments-card img {
  display: block;
  height: calc(100% - 34px);   /* caption strip ke liye jagah */
  width: auto;
  max-width: none;
  object-fit: contain;         /* photo poori - cut nahi */
  border-radius: 10px;
  background: #0d1b45;
}
.moments-cap {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  font: 800 0.68rem/1.1 'Nunito', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #101d5f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.moments-cards .moments-ribbon { top: 58%; }
/* Intl exposure section - upar/neeche gap tight */
.moments-cards { padding-top: 1.6rem; padding-bottom: 1.8rem; }
.moments-cards .sec-head { margin-bottom: 0; }
.moments-cards .moments-viewport { margin-top: 0.9rem; padding-bottom: 18px; }

.moments-foot {
  text-align: center;
  margin-top: 1.6rem;
  position: relative;
  z-index: 1;
}
/* Sports page variant - banner ke neeche, title/button nahi to padding tight */
.spmoments { padding: 1.6rem 0 2.2rem; background: #ffffff; }
.spmoments::before { display: none; }  /* sparkle dots nahi - clean white bg */
.spmoments .moments-viewport { margin-top: 0; }
/* Hero ke rounded corners ke andar section pull-up - baaki pages jaisa carve */
.pg-hero + .spmoments {
  margin-top: -32px;
  padding-top: calc(1.6rem + 32px);
}

/* Sports intro tagline - title ke neeche gold accent line */
.sp-tagline {
  margin: -0.4rem 0 1rem;
  font: 800 0.95rem/1.2 'Nunito', sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c9931c;
}
.sp-tagline i { color: #f0b429; font-size: 0.8em; margin-right: 4px; }

/* Intro lead heading - "A World of Sports..." bold navy sub-heading */
.sp-leadh {
  margin: 0.4rem 0 0.6rem;
  font: 800 clamp(1.15rem, 2.2vw, 1.4rem)/1.25 'Nunito', sans-serif;
  color: #101d5f;
}

/* Sports intro - mobile pe centered premium layout (reference jaisa,
   bg wahi light rahe - color change nahi) */
@media (max-width: 991.98px) {
  .sp-intro .pg-split { text-align: center; }
  .sp-intro .plife-title { text-align: center !important; }
  .sp-intro .sp-tagline {
    margin: 0.6rem auto 0.9rem;
    display: block;
    text-align: center;
  }
  .sp-intro .sp-leadh { text-align: center; margin-top: 0.9rem; }
  .sp-intro .pg-lead { text-align: center; }
  /* Chips pills nahi - 2 column clean list, icon + label */
  .sp-intro .pg-info-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem 1.1rem;
    margin-top: 1.4rem;
    text-align: left;
  }
  .sp-intro .pg-info-chip {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    font-weight: 700;
    font-size: 0.86rem;
    color: #101d5f;
  }
  .sp-intro .pg-info-chip i {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    color: #101d5f;
    background: linear-gradient(135deg, #ffe27a, #f0b429);
    box-shadow: 0 4px 12px rgba(217, 154, 31, 0.3);
  }
}

/* ==========================================================================
   DIRECTOR QUOTE (about page) - photo + quote, Vision & Mission ke upar
   ========================================================================== */
.dq-section {
  background:
    radial-gradient(700px 340px at 88% 0%, rgba(212, 168, 83, 0.13), transparent 62%),
    radial-gradient(560px 300px at 6% 100%, rgba(22, 41, 94, 0.07), transparent 60%),
    linear-gradient(180deg, #fdfcf9 0%, #f7f9fd 100%);
  padding: 3.4rem 0;
}
.dq-wrap {
  display: flex;
  align-items: center;
  gap: 3.4rem;
  max-width: 1100px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 26px;
  padding: 2.6rem 3rem;
  box-shadow: 0 30px 70px rgba(13, 27, 69, 0.13), 0 4px 14px rgba(13, 27, 69, 0.05);
  position: relative;
  overflow: hidden;
}
/* Left gold accent bar - premium frame feel (border nahi, ek accent strip) */
.dq-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, #ffe27a, #e6a91c);
}
/* Soft navy quote watermark */
.dq-wrap::after {
  content: "\201C";
  position: absolute;
  right: 1.6rem;
  top: -1.4rem;
  font-family: 'Playfair Display', serif;
  font-size: 11rem;
  color: rgba(22, 41, 94, 0.05);
  pointer-events: none;
  line-height: 1;
}
.dq-photo {
  flex: none;
  width: 320px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 46px rgba(13, 27, 69, 0.22);
}
.dq-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
.dq-mark {
  font-size: 2.6rem;
  color: #e6a91c;
  margin-bottom: 0.9rem;
  display: block;
}
.dq-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.55;
  color: #22305f;
  margin: 0 0 1.5rem;
}
.dq-sign {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 1rem;
  position: relative;
}
.dq-sign::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #f0b429, #d4a853);
}
.dq-name {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: #101d5f;
}
.dq-role {
  font: 700 0.74rem/1.4 'Nunito', sans-serif;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #8a93b0;
}
@media (max-width: 767.98px) {
  .dq-wrap {
    flex-direction: column;
    gap: 0;
    text-align: center;
    padding: 1.1rem 1.1rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 22px 50px rgba(13, 27, 69, 0.14);
  }
  .dq-wrap::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 6px; }
  .dq-wrap::after { font-size: 7rem; right: 0.7rem; top: -0.7rem; }
  .dq-photo { width: 100%; border-radius: 14px; }
  /* Quote icon side me (left), text center - icon+text ek hi flow line jaisa */
  .dq-text { padding: 1.1rem 0.4rem 0; position: relative; }
  .dq-mark {
    position: absolute;
    left: -0.2rem;
    top: 0.55rem;
    font-size: 1.9rem;
    margin: 0;
  }
  .dq-quote { font-size: 1.12rem; line-height: 1.6; margin-bottom: 1.1rem; }
  .dq-sign { align-items: center; }
  .dq-sign::before { left: 50%; transform: translateX(-50%); }
}

/* ==========================================================================
   WHY PARENTS TRUST US (about page) - white cards + navy circular icons
   ========================================================================== */
.wpt-section {
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(212, 168, 83, 0.10), transparent 65%),
    linear-gradient(180deg, #f6f8fc 0%, #eef2f9 100%);
}
.wpt-head { text-align: center; margin-bottom: 2.2rem; }
.wpt-title {
  margin: 0;
  font: 700 clamp(1.7rem, 3.4vw, 2.5rem)/1.15 'Playfair Display', serif;
  color: #101d5f;
}
.wpt-title em { font-style: italic; color: #c0392b; }
.wpt-sub {
  margin: 0.7rem 0 0;
  font: 600 0.78rem/1.4 'Nunito', sans-serif;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #7a8299;
}
.wpt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.wpt-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid rgba(16, 29, 95, 0.08);
  border-radius: 14px;
  padding: 1.35rem 1.35rem;
  box-shadow: 0 8px 26px rgba(16, 29, 95, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.wpt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(16, 29, 95, 0.13);
}
.wpt-icon {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  color: #ffffff;
  background: radial-gradient(circle at 32% 28%, #2b3f8c, #101d5f 72%);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.55), 0 8px 18px rgba(16, 29, 95, 0.22);
}
.wpt-card h3 {
  margin: 0.15rem 0 0.45rem;
  font: 800 1.02rem/1.25 'Nunito', sans-serif;
  color: #101d5f;
}
.wpt-card p {
  margin: 0;
  font: 400 0.86rem/1.6 'Nunito', sans-serif;
  color: #59617a;
}
@media (max-width: 991.98px) {
  .wpt-grid { grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
}
@media (max-width: 600px) {
  .wpt-grid { grid-template-columns: 1fr; }
  .wpt-card { padding: 1.1rem 1.15rem; }
}

/* ==========================================================================
   E-BROCHURE BUTTONS - Learn Banner ke andar (APN style pill buttons)
   ========================================================================== */
.ebr-btns { display: flex; gap: 0.9rem; flex: none; position: relative; z-index: 1; }
.ebr-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font: 700 0.92rem/1 'Poppins', sans-serif;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.ebr-btn-ghost {
  color: #ffffff;
  border: 1.6px solid rgba(255, 255, 255, 0.7);
  background: transparent;
}
.ebr-btn-ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.ebr-btn-solid {
  color: #101a3a;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}
.ebr-btn-solid:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3); }
@media (max-width: 767.98px) {
  .ebr-btn { padding: 0.85rem 1.2rem; font-size: 0.82rem; }
}
@media (max-width: 767.98px) {
  .moments-sec { padding: 2.4rem 0 2.2rem; }
  .moments-track { gap: 1.2rem; padding: 0 0.7rem; animation-duration: 30s; }
  .moments-circle { width: clamp(108px, 30vw, 140px); border-width: 4px; }
  .moments-viewport { margin-top: 1.4rem; padding-bottom: 20px; }
  .moments-ribbon { height: 11px; }
  .moments-cards .moments-track { gap: 1rem; animation-duration: 55s; }
  .moments-card { height: 196px; padding: 6px 6px 0; border-radius: 13px; }
  .moments-card img { height: calc(100% - 28px); border-radius: 8px; }
  .moments-cap { height: 28px; font-size: 0.58rem; }
  /* Sports marquee - mobile pe neeche ka gap tight */
  .spmoments { padding: 0.8rem 0 1rem; }
  .spmoments .moments-viewport { margin-top: 0; padding-bottom: 12px; }
  .spmoments + .pg-section { padding-top: 1.8rem; }
}

.itour-section {
  position: relative;
  padding: 3.1rem 0 3.4rem;
  background: #ffffff;
  overflow: hidden;
}

/* Marquee viewport - hidden overflow, track CSS animation se chalta hai.
   mask-image NAHI - Chrome/Android pe masked animated content invisible/jank
   hota hai (ticker wala hi bug). Gradient fade overlays use karta hai. */
.itour-viewport {
  overflow: hidden;
  margin-top: 1.5rem;
  padding: 6px 0;
  position: relative;
}
.itour-viewport::before,
.itour-viewport::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 60px;
  z-index: 2; pointer-events: none;
}
.itour-viewport::before { left: 0;  background: linear-gradient(90deg, #ffffff, rgba(255,255,255,0)); }
.itour-viewport::after  { right: 0; background: linear-gradient(-90deg, #ffffff, rgba(255,255,255,0)); }
.itour-track {
  display: flex;
  gap: 1.1rem;
  width: max-content;
  transform: translate3d(0, 0, 0);           /* GPU layer - smooth paint */
  backface-visibility: hidden;
  animation: itourScroll 55s linear infinite;
}
.itour-viewport:hover .itour-track { animation-play-state: paused; }

/* Intl-Exposure page pe bhi - rows ke beech marquee; fade edges section
   ke warm-cream bg se match */
.ie-tours {
  margin-top: 1.1rem;
  margin-bottom: 2.4rem;
}
.ie-tours::before { background: linear-gradient(90deg, #fdfaf4, rgba(253, 250, 244, 0)); }
.ie-tours::after  { background: linear-gradient(-90deg, #fdfaf4, rgba(253, 250, 244, 0)); }

@keyframes itourScroll {
  to   { transform: translate3d(-50%, 0, 0); }
}

/* Tour poster card - 1:2 portrait aspect (512x1024 posters, full dikhta hai) */
.itour-card {
  position: relative;
  flex: 0 0 205px;
  aspect-ratio: 1 / 2;
  border-radius: 14px;
  overflow: hidden;
  background: #eef1f7;
  border: 1px solid rgba(13, 27, 69, 0.1);
  box-shadow: 0 14px 34px rgba(13, 27, 69, 0.16);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.itour-card:hover {
  transform: translateY(-8px);
  border-color: rgba(217, 154, 31, 0.55);
  box-shadow: 0 22px 48px rgba(13, 27, 69, 0.22);
}
.itour-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.itour-card:hover img { transform: scale(1.05); }

@media (max-width: 991.98px) {
  .itour-card { flex-basis: 185px; }
}
@media (max-width: 767px) {
  /* Mobile pe CSS marquee band -> native swipe scroll. Animated transform
     layer mobile compositor pe touch ke bina raster nahi hota (blank dikhta). */
  .itour-viewport {
    overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
  }
  .itour-viewport::-webkit-scrollbar { display: none; }
  .itour-track { animation: none; }
}
@media (max-width: 600px) {
  .itour-section { padding: 2.4rem 0 2.7rem; }
  .itour-card { flex-basis: 155px; }
  .itour-track { gap: 0.85rem; }
  .itour-viewport::before, .itour-viewport::after { width: 26px; } /* mobile pe zyada space */
}

/* ==========================================================================
   GAP DIVIDER - do sections ke beech premium ornament
   (gold hairlines + diamond dots + center emblem badge)
   ========================================================================== */
.gap-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: -1.6rem auto -2.2rem; /* sections ke beech ke gap ke center me khiche */
  position: relative;
  z-index: 3;
}
.gap-line {
  height: 1px;
  width: clamp(80px, 15vw, 200px);
  background: linear-gradient(90deg, transparent, #d9a52e);
}
.gap-divider .gap-line:last-child {
  background: linear-gradient(90deg, #d9a52e, transparent);
}
.gap-dia {
  width: 7px;
  height: 7px;
  flex: none;
  background: linear-gradient(135deg, #ffe27a, #d99a1f);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(217, 154, 31, 0.55);
}
.gap-badge {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #ffcd39;
  background: radial-gradient(circle at 32% 28%, #1e3a7a, #0d1b45);
  border: 2px solid rgba(217, 154, 31, 0.7);
  box-shadow: 0 0 0 6px rgba(255, 205, 57, 0.1), 0 10px 26px rgba(13, 27, 69, 0.22);
  animation: gapPulse 3.2s ease-in-out infinite;
}
@keyframes gapPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(255, 205, 57, 0.1), 0 10px 26px rgba(13, 27, 69, 0.22); }
  50%      { box-shadow: 0 0 0 12px rgba(255, 205, 57, 0.04), 0 10px 26px rgba(13, 27, 69, 0.22); }
}
@media (max-width: 600px) {
  .gap-divider { gap: 10px; }
  .gap-badge { width: 46px; height: 46px; font-size: 0.95rem; }
}

/* ==========================================================================
   FEATURES PAGE - Campus graph (donut chart + legend bars, scroll animated)
   ========================================================================== */
.fgraph {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  position: relative;
  z-index: 1;
}

/* --- donut chart --- */
.fgraph-chart {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}
.fgraph-chart svg {
  width: 100%;
  height: auto;
  display: block;
  transform: rotate(-90deg);
  filter: drop-shadow(0 14px 28px rgba(13, 27, 69, 0.14));
}
.fgraph-track {
  fill: none;
  stroke: rgba(13, 27, 69, 0.07);
  stroke-width: 30;
}
.fgraph-seg {
  fill: none;
  stroke: var(--seg);
  stroke-width: 30;
  stroke-dasharray: 0 999;
  stroke-linecap: butt;
  cursor: pointer;
  transition: stroke-dasharray 1.15s cubic-bezier(0.22, 1, 0.36, 1), stroke-width 0.3s ease, filter 0.3s ease;
}
.fgraph-seg.is-hot,
.fgraph-seg:hover {
  stroke-width: 37;
  filter: drop-shadow(0 4px 10px rgba(13, 27, 69, 0.35));
}
.fgraph-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}
.fgraph-num {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(2.6rem, 4.5vw, 3.4rem);
  line-height: 1;
  color: #0d1b45;
}
.fgraph-center > span {
  font-family: 'Nunito', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b8860b;
  margin-top: 6px;
  line-height: 1.5;
}

/* --- legend rows --- */
.fgraph-legend {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fgraph-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1px solid rgba(13, 27, 69, 0.09);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 4px 18px rgba(13, 27, 69, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.fgraph-row.is-hot,
.fgraph-row:hover {
  transform: translateX(8px);
  border-color: rgba(217, 154, 31, 0.4);
  box-shadow: 0 10px 28px rgba(13, 27, 69, 0.12);
}
.fgraph-ic {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #ffffff;
  background: var(--seg);
  box-shadow: 0 6px 14px rgba(13, 27, 69, 0.2);
}
.fgraph-txt { flex: 1; min-width: 0; }
.fgraph-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.fgraph-top b {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.98rem;
  color: #16295e;
}
.fgraph-n {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a8a9a;
  white-space: nowrap;
}
.fgraph-nval {
  font-style: normal;
  font-size: 1rem;
  font-weight: 900;
  color: #0d1b45;
  margin-right: 2px;
}
.fgraph-bar {
  height: 8px;
  border-radius: 6px;
  background: rgba(13, 27, 69, 0.07);
  overflow: hidden;
}
.fgraph-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--seg), color-mix(in srgb, var(--seg) 65%, #ffffff));
  transition: width 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 860px) {
  .fgraph { grid-template-columns: 1fr; }
  .fgraph-chart { max-width: 300px; }
}

/* ==========================================================================
   UPDATES PAGE - news cards + notice board + calendar timeline
   ========================================================================== */
.upd-news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.3rem;
  margin-top: 1.4rem;
}
.upd-news-card {
  display: flex;
  gap: 1.1rem;
  background: #fff;
  border: 1px solid rgba(13, 27, 69, 0.08);
  border-radius: 16px;
  padding: 1.3rem;
  box-shadow: 0 10px 28px rgba(13, 27, 69, 0.07);
  transition: transform .3s ease, box-shadow .3s ease;
}
.upd-news-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(13, 27, 69, 0.13); }
.upd-news-date {
  flex: none;
  width: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 12px;
  background: linear-gradient(160deg, #16295e, #0d1b45);
  color: #fff;
  padding: 0.7rem 0.3rem;
}
.upd-news-date b { font-size: 1.6rem; font-weight: 800; color: #ffcd39; line-height: 1; }
.upd-news-date span { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 3px; }
.upd-news-date small { font-size: 0.68rem; color: rgba(255, 255, 255, 0.6); }
.upd-news-body h3 { font-size: 1.02rem; font-weight: 700; color: #0d1b45; margin-bottom: 0.4rem; }
.upd-news-body p { font-size: 0.86rem; color: #4a5578; line-height: 1.6; margin: 0; }

.upd-cols {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.4rem;
  align-items: start;
}
.upd-notice-list { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 1.3rem; }
.upd-notice {
  display: flex;
  gap: 0.9rem;
  background: #fff;
  border: 1px solid rgba(13, 27, 69, 0.08);
  border-left: 4px solid #d99a1f;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  box-shadow: 0 8px 22px rgba(13, 27, 69, 0.06);
}
.upd-notice-pin {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ffe27a, #e6a91c);
  color: #0d1b45;
  font-size: 0.8rem;
}
.upd-notice-body h4 { font-size: 0.95rem; font-weight: 700; color: #0d1b45; margin-bottom: 0.25rem; }
.upd-notice-body p { font-size: 0.82rem; color: #4a5578; margin: 0 0 0.35rem; line-height: 1.55; }
.upd-notice-body small { font-size: 0.72rem; color: #8a93b2; }
.upd-notice-body small i { color: #d99a1f; margin-right: 4px; }

.upd-cal-list { display: flex; flex-direction: column; margin-top: 1.3rem; }
.upd-cal {
  position: relative;
  display: flex;
  gap: 0.95rem;
  padding: 0 0 1.15rem 0;
}
.upd-cal:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 6px; top: 18px; bottom: -4px;
  width: 2px;
  background: linear-gradient(180deg, rgba(217, 154, 31, 0.5), rgba(217, 154, 31, 0.08));
}
.upd-cal-dot {
  flex: none;
  width: 14px; height: 14px;
  margin-top: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe27a, #e6a91c);
  box-shadow: 0 0 0 4px rgba(217, 154, 31, 0.15);
}
.upd-cal-body h4 { font-size: 0.95rem; font-weight: 700; color: #0d1b45; margin: 2px 0; }
.upd-cal-body p { font-size: 0.82rem; color: #4a5578; margin: 0; line-height: 1.55; }
.upd-cal-body small { font-size: 0.74rem; font-weight: 700; color: #d99a1f; letter-spacing: 0.04em; }

.upd-ann-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-top: 1.3rem;
}
.upd-ann {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: linear-gradient(135deg, #f7f9ff, #eef3fb);
  border: 1px solid rgba(13, 27, 69, 0.08);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  font-size: 0.86rem;
  color: #2b3452;
  font-weight: 500;
}
.upd-ann i { color: #d99a1f; flex: none; }

/* ==========================================================================
   FAQ ACCORDION (contact page)
   ========================================================================== */
.faq-list { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1.4rem; }
.faq-item {
  background: #fff;
  border: 1px solid rgba(13, 27, 69, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq-item[open] { border-color: rgba(217, 154, 31, 0.5); box-shadow: 0 10px 28px rgba(13, 27, 69, 0.09); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: #0d1b45;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-arrow { color: #d99a1f; transition: transform .3s ease; font-size: 0.8rem; }
.faq-item[open] .faq-arrow { transform: rotate(180deg); }
.faq-a {
  padding: 0 1.25rem 1.1rem;
  font-size: 0.88rem;
  color: #4a5578;
  line-height: 1.65;
  border-top: 1px dashed rgba(13, 27, 69, 0.1);
  padding-top: 0.9rem;
  margin: 0 0.2rem;
}

/* ==========================================================================
   FORM SUBMIT BANNERS
   ========================================================================== */
.form-ok, .form-err {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.form-ok { background: rgba(34, 197, 94, 0.1); color: #15803d; border: 1px solid rgba(34, 197, 94, 0.3); }
.form-err { background: rgba(232, 35, 42, 0.08); color: #b91c1c; border: 1px solid rgba(232, 35, 42, 0.25); }

/* ==========================================================================
   PROUD PARENTS - testimonial quote cards marquee
   ========================================================================== */
.parents-section {
  position: relative;
  padding: 3.1rem 0 3.4rem;
  background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
  overflow: hidden;
}
.parents-viewport {
  margin-top: 1.5rem;
  overflow: hidden;
  padding: 8px 0;
  position: relative;
}
.parents-viewport::before,
.parents-viewport::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 60px;
  z-index: 2; pointer-events: none;
}
.parents-viewport::before { left: 0;  background: linear-gradient(90deg, #f8faff, rgba(255,255,255,0)); }
.parents-viewport::after  { right: 0; background: linear-gradient(-90deg, #f8faff, rgba(255,255,255,0)); }
.parents-track {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  animation: parentsScroll 60s linear infinite;
}
.parents-viewport:hover .parents-track { animation-play-state: paused; }
@keyframes parentsScroll { to { transform: translate3d(-50%, 0, 0); } }

.parent-card {
  flex: 0 0 340px;
  background: #fff;
  border: 1px solid rgba(13, 27, 69, 0.09);
  border-radius: 16px;
  padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: 0 12px 30px rgba(13, 27, 69, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.parent-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 154, 31, 0.5);
  box-shadow: 0 20px 44px rgba(13, 27, 69, 0.14);
}
.parent-stars { color: #f0b429; font-size: 0.72rem; letter-spacing: 2px; }
.parent-quote {
  font-size: 0.88rem;
  color: #3c4568;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.parent-who {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px dashed rgba(13, 27, 69, 0.1);
  padding-top: 0.85rem;
}
.parent-av {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 32% 28%, #1e3a7a, #0d1b45);
  color: #ffcd39;
  font-size: 0.8rem;
  font-weight: 800;
  border: 2px solid rgba(217, 154, 31, 0.5);
}
.parent-who b { display: block; font-size: 0.88rem; color: #0d1b45; }
.parent-who small { font-size: 0.74rem; color: #8a93b2; }

/* ==========================================================================
   POPUP - session me ek baar (popup_message table se)
   ========================================================================== */
.bff-popup-back {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: rgba(8, 14, 40, 0.62);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.bff-popup-back.on { opacity: 1; visibility: visible; }
.bff-popup {
  position: relative;
  width: min(420px, 100%);
  background: linear-gradient(160deg, #16295e, #0d1b45);
  border: 1px solid rgba(255, 205, 57, 0.35);
  border-radius: 20px;
  padding: 2.4rem 2rem 1.8rem;
  text-align: center;
  box-shadow: 0 30px 80px rgba(3, 8, 26, 0.7);
  transform: translateY(24px) scale(0.96);
  transition: transform .4s cubic-bezier(0.22, 1, 0.36, 1);
}
.bff-popup-back.on .bff-popup { transform: none; }
.bff-popup-x {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background .25s ease;
}
.bff-popup-x:hover { background: rgba(232, 35, 42, 0.6); }

/* ==========================================================================
   RESPONSIVE - updates/faq/parents/popup
   ========================================================================== */
@media (max-width: 991.98px) {
  .upd-news-grid, .upd-ann-grid { grid-template-columns: 1fr; }
  .upd-cols { grid-template-columns: 1fr; gap: 2rem; }
  .parent-card { flex-basis: 300px; }
}
@media (max-width: 767px) {
  /* Proud Parents marquee bhi mobile pe native swipe (same compositor bug) */
  .parents-viewport {
    overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
  }
  .parents-viewport::-webkit-scrollbar { display: none; }
  .parents-track { animation: none; }
}
@media (max-width: 600px) {
  .upd-news-card { flex-direction: column; }
  .upd-news-date { width: 100%; flex-direction: row; justify-content: center; gap: 8px; padding: 0.55rem; }
  .upd-news-date b { font-size: 1.3rem; }
  .parent-card { flex-basis: 270px; padding: 1.15rem; }
}

/* ==========================================================================
   MOBILE POLISH (all pages) - readability + fit upgrades chhote screens ke liye
   ========================================================================== */
@media (max-width: 991.98px) {
  /* Horizontal scroll safety - decorative absolutes bahar nikalte hain */
  body {
    overflow-x: hidden;
    overflow-x: clip;
  }
  /* iOS auto-zoom fix - 16px se chhota input text focus pe page zoom karta tha */
  .pg-form-card .form-control,
  .pg-form-card .form-select,
  .nav-search-field input {
    font-size: 16px;
  }
}

@media (max-width: 575.98px) {
  /* Stats: 4 cramped columns ki jagah clean readable 2x2 tiles */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem 0.6rem;
  }
  .stat-item:nth-child(even)::after { display: none; }
  .stats-band .stat-num.bgTile { font-size: 1.6rem; }
  .stat-label { font-size: 0.62rem; letter-spacing: 0.09em; }
  .stat-sub { font-size: 0.64rem; }

  /* Podium: 3-across layout same, par text readable size pe */
  .tc-inner { padding: 0.8rem 0.45rem 0.7rem; }
  .topper-rank { font-size: 0.5rem; }
  .topper-photo { width: 58px; height: 58px; }
  .topper-name { font-size: 0.68rem; overflow-wrap: anywhere; }
  .topper-stream { font-size: 0.56rem; }
  .topper-score { font-size: 1.3rem; }
  .topper-score em { font-size: 0.7rem; }

  /* CTA: buttons stack + full-width tap targets */
  .cta-crest { height: 72px; }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .cta-btn { justify-content: center; }

  /* Lightbox controls: chhote + thumb ke paas */
  .gal-lb-btn { width: 42px; height: 42px; font-size: 0.95rem; }
  .gal-lb-close { top: 0.8rem; right: 0.8rem; }
  .gal-lb-prev { left: 0.5rem; }
  .gal-lb-next { right: 0.5rem; }

  /* Card/grid children kabhi apna column overflow na karein */
  .pg-card, .pg-form-card, .mdp-doc, .mdp-info,
  .upd-news-card, .upd-notice, .upd-ann, .parent-card,
  .teach-card, .fas-card, .contact-card, .wc-card { min-width: 0; }
}

/* ==========================================================================
   ACCESSIBILITY: Skip-to-content link (keyboard/screen-reader nav)
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 9999;
  padding: 10px 18px;
  background: #16278C;
  color: #fff;
  font: 600 0.9rem/1 'Outfit', sans-serif;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ==========================================================================
   LATEST UPDATES TICKER (home - hero ke upar premium scroll patti)
   Admin: Ticker module se content | Site Settings > home_ticker se on/off
   ========================================================================== */
.bff-ticker {
  display: flex;
  align-items: stretch;
  height: 46px;
  position: relative;
  z-index: 20;
  overflow: hidden;
  background:
    radial-gradient(120% 220% at 12% 0%, rgba(240,180,41,.14), transparent 46%),
    linear-gradient(90deg, #0d1b45 0%, #16278C 55%, #0d1b45 100%);
  box-shadow: 0 1px 0 rgba(240,180,41,.28) inset, 0 -1px 0 rgba(7,12,30,.5) inset,
              0 10px 24px -14px rgba(7,12,30,.65);
}
.bff-ticker::before {  /* top gold hairline shine */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent, #f0b429 30%, #ffe27a 50%, #f0b429 70%, transparent);
  opacity: .9;
}
.bff-ticker-label {
  display: flex; align-items: center; gap: 8px;
  padding: 0 26px 0 20px; margin-right: 6px;
  flex-shrink: 0; color: #fff;
  background: linear-gradient(135deg, #E8232A 0%, #B01622 100%);
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
  font: 800 .76rem/1 'Outfit', sans-serif;
  letter-spacing: .14em; text-transform: uppercase;
  position: relative;
}
.bff-ticker-label i { font-size: .8rem; animation: bffTickPulse 1.6s ease-in-out infinite; }
@keyframes bffTickPulse { 0%,100% { opacity:1; transform:scale(1);} 50% { opacity:.65; transform:scale(1.18);} }
.bff-ticker-viewport {
  flex: 1; overflow: hidden; display: flex; align-items: center;
  position: relative;
}
/* Edge fades - mask-image ki jagah cheap gradient overlays (smooth scroll) */
.bff-ticker-viewport::before,
.bff-ticker-viewport::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 46px;
  z-index: 2; pointer-events: none;
}
.bff-ticker-viewport::before { left: 0;  background: linear-gradient(90deg, #0d1b45, rgba(13,27,69,0)); }
.bff-ticker-viewport::after  { right: 0; background: linear-gradient(-90deg, #0d1b45, rgba(13,27,69,0)); }
.bff-ticker-track {
  display: flex; flex-shrink: 0;
  transform: translate3d(0, 0, 0);          /* GPU layer force - butter smooth */
  backface-visibility: hidden;
  animation: bffTickScroll var(--tick-dur, 40s) linear infinite;
}
.bff-ticker-half { display: flex; flex-shrink: 0; white-space: nowrap; }
.bff-ticker:hover .bff-ticker-track { animation-play-state: paused; }
.bff-tick {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0 30px 0 0; margin-right: 30px;
  color: #E8EDFF; font: 600 .88rem/1 'Outfit', sans-serif;
  position: relative;
}
.bff-tick i { color: #f0b429; font-size: .42rem; flex-shrink: 0; }
@keyframes bffTickScroll { to { transform: translate3d(-50%, 0, 0); } }
.bff-ticker-cta {
  display: flex; align-items: center; gap: 7px;
  padding: 0 22px 0 16px; margin-left: 6px;
  flex-shrink: 0; color: #0d1b45; text-decoration: none;
  background: linear-gradient(135deg, #ffe27a 0%, #f0b429 100%);
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
  font: 800 .74rem/1 'Outfit', sans-serif;
  letter-spacing: .1em; text-transform: uppercase;
  transition: filter .25s ease;
}
.bff-ticker-cta:hover { filter: brightness(1.08); }
.bff-ticker-cta i { font-size: .68rem; }
.bff-cta-mini { display: none; }

/* Reduced motion - animation off, manual scroll allowed */
@media (prefers-reduced-motion: reduce) {
  .bff-ticker-track { animation: none; }
  .bff-ticker-viewport { overflow-x: auto; }
}

/* Mobile - compact patti: left speaker icon + right "ALL" + max text space */
@media (max-width: 767px) {
  .bff-ticker { height: 38px; }
  .bff-ticker-label {
    padding: 0 13px 0 10px; margin-right: 4px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  }
  .bff-ticker-label-txt { display: none; }         /* sirf speaker icon */
  .bff-ticker-label i { font-size: .78rem; }
  .bff-tick { font-size: .78rem; padding-right: 20px; margin-right: 20px; }
  .bff-ticker-cta {
    padding: 0 10px 0 8px; margin-left: 4px; gap: 4px;
    font-size: .62rem; letter-spacing: .06em;
    clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%);
  }
  .bff-ticker-cta .bff-cta-txt { display: none; }
  .bff-ticker-cta .bff-cta-mini { display: inline; }
  .bff-ticker-cta i { font-size: .55rem; }
  .bff-ticker-viewport::before, .bff-ticker-viewport::after { width: 18px; } /* zyada text space */
}

/* CMS hero slideshow - admin se jitni bhi photos, JS se crossfade + slow zoom */
.hero-photo.hero-cms {
  animation: heroZoom 36s linear infinite alternate;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.hero-photo.hero-cms.on { opacity: 1; }

/* Desktop hero video - JS off ho to bhi visible rahe */
.hero-photo.hero-dvid { opacity: 1; }

/* Notice circular/PDF link - updates page */
.upd-notice-file {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 7px; padding: 6px 12px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; text-decoration: none;
  color: #be123c; background: #ffe4e6; border: 1px solid #fecdd3;
  transition: all .2s ease;
}
.upd-notice-file:hover { background: #be123c; color: #fff; transform: translateY(-1px); }

/* Ticker item attachment icon (file linked ho to) */
.bff-tick-file { color: var(--gold, #ffcd39); margin-left: 7px; font-size: .8em; }
.bff-tick-file:hover { opacity: .8; }

/* Ticker NEW badge - item highlight */
.bff-tick-new {
  display: inline-block; margin-right: 7px; padding: 1px 7px;
  border-radius: 5px; font-size: .68em; font-weight: 800; letter-spacing: .08em;
  color: #0d1b45; background: linear-gradient(135deg, #ffe27a, #e6a91c);
  animation: tickNewBlink 1.4s ease-in-out infinite;
}
@keyframes tickNewBlink { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* Result toppers rotation - hidden batch + pop-in animation */
.topper-card.res-hide { display: none !important; }
.topper-card.res-pop { animation: resPop .45s ease; }
@keyframes resPop {
  0% { opacity: 0; transform: translateY(14px) scale(.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.topper-marks { font-size: .7rem; color: var(--muted2, #8ea0c0); margin-top: 2px; }

/* NEW badge on updates page (news/notice/event/announcement items) */
.upd-new {
  display: inline-block; vertical-align: middle; margin-left: 8px;
  padding: 1px 8px; border-radius: 5px; transform: translateY(-1px);
  font-size: .62rem; font-weight: 800; letter-spacing: .08em;
  color: #0d1b45; background: linear-gradient(135deg, #ffe27a, #e6a91c);
  animation: updNewPulse 1.6s ease-in-out infinite;
}
@keyframes updNewPulse { 0%, 100% { opacity: 1; } 50% { opacity: .6; } }

/* Announcements list - premium rows (icon + text + date + NEW + View btn) */
.upd-ann-list { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.6rem; }
.upd-ann-row {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px; border-radius: 14px;
  background: #fff; border: 1px solid #e6ecf5;
  box-shadow: 0 4px 14px -8px rgba(13, 27, 69, .1);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s;
}
.upd-ann-row:hover { transform: translateX(4px); border-color: #f0b429; box-shadow: 0 10px 24px -12px rgba(13,27,69,.18); }
.upd-ann-ic {
  width: 38px; height: 38px; flex: none; border-radius: 11px;
  display: grid; place-items: center; font-size: .85rem; color: #0d1b45;
  background: linear-gradient(135deg, #ffe27a, #e6a91c);
  box-shadow: 0 5px 12px -4px rgba(230,169,28,.5);
}
.upd-ann-body { flex: 1; min-width: 0; }
.upd-ann-body b { font-size: .92rem; font-weight: 700; color: #0d1b45; }
.upd-ann-body small { display: block; font-size: .72rem; color: #8a93b2; margin-top: 2px; }
.upd-ann-body small i { color: #d99a1f; margin-right: 4px; }
.upd-view {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  font-size: .74rem; font-weight: 800; text-decoration: none;
  padding: 8px 16px; border-radius: 999px; color: #fff;
  background: linear-gradient(135deg, #1d3f8f, #0d1b45);
  box-shadow: 0 6px 14px -6px rgba(13,27,69,.45);
  transition: transform .15s ease, box-shadow .2s ease;
}
.upd-view:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -8px rgba(13,27,69,.5); color: #fff; }
@media (max-width: 640px) {
  .upd-ann-row { flex-wrap: wrap; }
  .upd-view { margin-left: 52px; }
}

/* ==========================================================================
   POPUP TEMPLATES - T4 dynamic card / T5 image poster / T8 enquiry form
   ========================================================================== */


/* ---- T4: Dynamic Enquiry Poster - navy portrait card, upar school naam
       (serif, gold) + description + full admission form ---- */
.bff-popup.tpl4 {
  width: min(540px, 100%);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1.3rem 1.4rem 1.15rem;
  text-align: left;
  background: linear-gradient(165deg, #16295e 0%, #0d1b45 60%, #0a1538 100%);
  border: 1px solid rgba(255, 205, 57, 0.4);
  border-radius: 20px;
  scrollbar-width: thin;
}
.bff-popup.tpl4::before {  /* top gold accent line */
  content: ''; position: absolute; top: 0; left: 26px; right: 26px;
  height: 3px; border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, transparent, #ffcd39, transparent);
}
.pop4-head { text-align: center; margin-bottom: .7rem; }
.pop4-name {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.3rem, 3.6vw, 1.55rem);
  font-weight: 800;
  color: #ffcd39;
  line-height: 1.14;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 2px 14px rgba(255, 205, 57, 0.18);
}
.pop4-name span { display: block; }
.pop4-rule {
  display: block; width: 52px; height: 2.5px; margin: .5rem auto .55rem;
  background: linear-gradient(90deg, #ffe27a, var(--popac, #e6a91c));
  border-radius: 3px;
}
.pop4-desc {
  font-size: .8rem; color: rgba(255, 255, 255, 0.72); line-height: 1.55;
  margin: 0 auto; max-width: 44ch;
}
/* form fields - navy card pe glass theme */
.bff-popup.tpl4 .enq-form { margin-top: .3rem; }
.bff-popup.tpl4 .enq-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: .45rem .75rem;
}
.bff-popup.tpl4 .enq-full { display: block; margin-bottom: .45rem; }
.bff-popup.tpl4 .enq-f span {
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  color: rgba(255, 255, 255, 0.62); margin-bottom: .25rem;
}
.bff-popup.tpl4 .enq-f span b { color: #ff7a7e; }
.bff-popup.tpl4 .enq-f input,
.bff-popup.tpl4 .enq-f select {
  height: 38px;
  font-size: .88rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #fff;
}
.bff-popup.tpl4 .enq-f select option { color: #0d1b45; }
.bff-popup.tpl4 .enq-f input::placeholder { color: rgba(255, 255, 255, 0.35); }
.bff-popup.tpl4 .enq-f input:focus,
.bff-popup.tpl4 .enq-f select:focus {
  border-color: rgba(255, 205, 57, 0.65);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 0 3px rgba(255, 205, 57, 0.14);
}
.bff-popup.tpl4 .enq-qs {
  display: grid; grid-template-columns: 1fr 1fr; gap: .4rem .9rem;
  margin-top: .55rem;
}
.bff-popup.tpl4 .enq-q { margin-top: 0; }
.bff-popup.tpl4 .enq-q-t {
  font-size: .76rem; font-weight: 700; color: rgba(255, 255, 255, 0.82);
  margin-bottom: .3rem; line-height: 1.28;
}
.bff-popup.tpl4 .enq-opts { gap: .3rem .45rem; }
.bff-popup.tpl4 .enq-opts label {
  font-size: .74rem; color: rgba(255, 255, 255, 0.8);
  padding: .26rem .62rem;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px;
}
.bff-popup.tpl4 .enq-opts label:hover { border-color: rgba(255, 205, 57, 0.45); }
.bff-popup.tpl4 .enq-opts i {
  width: 13px; height: 13px;
  border: 1.5px solid rgba(255, 255, 255, 0.4); border-radius: 50%;
}
.bff-popup.tpl4 .enq-opts input:checked + i {
  border-color: #ffcd39;
  box-shadow: inset 0 0 0 2.5px #0d1b45, inset 0 0 0 8px #ffcd39;
}
.bff-popup.tpl4 .enq-opts label:has(input:checked) {
  border-color: rgba(255, 205, 57, 0.6);
  background: rgba(255, 205, 57, 0.08);
  color: #fff;
}
.bff-popup.tpl4 .enq-err { color: #ff9aa0; text-align: left; }
.bff-popup.tpl4 .enq-btn4 {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 42px;
  margin-top: .7rem;
  font: 800 .82rem/1 'Outfit', sans-serif;
  letter-spacing: .18em; text-transform: uppercase;
  border: 0; border-radius: 12px;
  color: #0d1b45; cursor: pointer;
  background: linear-gradient(135deg, #ffe27a, var(--popac, #e6a91c));
  box-shadow: 0 12px 26px -8px color-mix(in srgb, var(--popac, #e6a91c) 60%, transparent);
  transition: transform .2s ease, filter .2s ease;
}
.bff-popup.tpl4 .enq-btn4:hover { filter: brightness(1.07); transform: translateY(-1px); }
.bff-popup.tpl4 .enq-btn4[disabled] { opacity: .65; cursor: wait; transform: none; }
.bff-popup.tpl4 .enq-done { padding: 2rem 1rem 1.4rem; }
.bff-popup.tpl4 .enq-done h3 { color: #ffcd39; }
.bff-popup.tpl4 .enq-done p { color: rgba(255, 255, 255, 0.78); }
.bff-popup.tpl4 .pop4-more {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  margin: .8rem auto 0;
  font: 800 .78rem/1 'Outfit', sans-serif;
  padding: .7rem 1.5rem; border-radius: 999px;
  color: #ffcd39; text-decoration: none;
  border: 1.5px solid rgba(255, 205, 57, 0.5);
  width: fit-content;
  transition: background .2s ease;
}
.bff-popup.tpl4 .pop4-more:hover { background: rgba(255, 205, 57, 0.1); }
.bff-popup.tpl4 .bff-popup-x { top: 12px; right: 12px; z-index: 3; }
.bff-popup.tpl4 .bff-popup-x:hover { background: var(--popac, #E8232A); color: #fff; }
@media (max-width: 600px) {
  .bff-popup.tpl4 { width: calc(100vw - 28px); padding: 1.2rem 1rem 1.05rem; }
  .bff-popup.tpl4 .enq-grid { gap: .55rem .7rem; }
  .bff-popup.tpl4 .enq-qs { grid-template-columns: 1fr; }
}

/* ---- T5: Image Poster popup - sirf uploaded image hi popup hai ---- */
.bff-popup.tpl5 {
  width: min(400px, 92vw);
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 18px;
  overflow: visible;
}
.bff-popup.tpl5 .pop5-img {
  width: 100%; display: block;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(3, 8, 26, 0.6);
}
.bff-popup.tpl5 .pop5-body {
  padding: 2rem 1.6rem; text-align: center; color: #fff;
}
.bff-popup.tpl5 .pop5-body h3 { color: #ffcd39; font-family: 'Cinzel', serif; }
.bff-popup.tpl5 .pop5-btn {
  position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font: 800 .8rem/1 'Outfit', sans-serif;
  padding: .8rem 1.5rem; border-radius: 999px;
  color: #0d1b45; text-decoration: none;
  background: linear-gradient(135deg, #ffe27a, #e6a91c);
  box-shadow: 0 12px 26px -8px rgba(230,169,28,.6);
}
.bff-popup.tpl5 .bff-popup-x {
  top: -10px; right: -10px; z-index: 3;
  width: 32px; height: 32px;
  background: #fff; color: #0d1b45;
  border: none; box-shadow: 0 6px 16px rgba(3,8,26,.35);
}
.bff-popup.tpl5 .bff-popup-x:hover { background: #E8232A; color: #fff; }

/* ---- T5 adaptive: poster kisi bhi orientation me fit ---- */
.bff-popup.tpl5 { width: auto; max-width: min(560px, 92vw); }
.bff-popup.tpl5 .pop5-img { max-height: 78vh; width: auto; max-width: 100%; margin: 0 auto; }



/* ==========================================================================
   ADMISSION ENQUIRY POPUP - T8 template (popup_message), .bff-popup-back ke
   andar render hota hai. Dark navy card + gold accents, 2-col fields.
   ========================================================================== */
.bff-enq {
  position: relative;
  width: min(640px, 100%);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  background: linear-gradient(160deg, #16295e, #0d1b45);
  border: 1px solid rgba(255, 205, 57, 0.35);
  border-radius: 20px;
  padding: 1.7rem 1.7rem 1.5rem;
  box-shadow: 0 30px 80px rgba(3, 8, 26, 0.7);
  transform: translateY(24px) scale(0.96);
  transition: transform .4s cubic-bezier(0.22, 1, 0.36, 1);
  scrollbar-width: thin;
}
.bff-popup-back.on .bff-enq { transform: none; }
.bff-enq::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 3px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, transparent, #ffcd39, transparent);
}
.bff-enq-x { z-index: 2; }
.enq-head { text-align: center; margin-bottom: 1.15rem; }
.enq-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 205, 57, 0.9);
  margin-bottom: .35rem;
}
.enq-head h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}
.enq-head h3 em { font-style: normal; color: #ffcd39; }
.enq-sub {
  font-size: .8rem;
  color: rgba(255, 255, 255, 0.7);
  margin: .35rem 0 0;
  line-height: 1.5;
}
.enq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem .8rem;
}
.enq-f { display: block; }
.enq-f span {
  display: block;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: .3rem;
}
.enq-f span b { color: #ff5a5f; }
.enq-f input,
.enq-f select {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  padding: 0 .85rem;
  font-size: .88rem;
  font-family: inherit;
  outline: none;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.enq-f select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23ffcd39' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  cursor: pointer;
}
.enq-f select option { color: #0d1b45; }
.enq-f input::placeholder { color: rgba(255, 255, 255, 0.35); }
.enq-f input:focus,
.enq-f select:focus {
  border-color: rgba(255, 205, 57, 0.65);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(255, 205, 57, 0.12);
}
.enq-q { margin-top: .85rem; }
.enq-q-t {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: .45rem;
}
.enq-opts { display: flex; flex-wrap: wrap; gap: .45rem .6rem; }
.enq-opts label {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  font-size: .8rem;
  color: rgba(255, 255, 255, 0.82);
  padding: .4rem .8rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
  user-select: none;
}
.enq-opts label:hover { border-color: rgba(255, 205, 57, 0.45); }
.enq-opts input { position: absolute; opacity: 0; pointer-events: none; }
.enq-opts i {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  flex: 0 0 auto;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.enq-opts input:checked + i {
  border-color: #ffcd39;
  box-shadow: inset 0 0 0 3px #0d1b45, inset 0 0 0 8px #ffcd39;
}
.enq-opts label:has(input:checked) {
  border-color: rgba(255, 205, 57, 0.6);
  background: rgba(255, 205, 57, 0.08);
  color: #fff;
}
.enq-err {
  margin: .8rem 0 0;
  font-size: .78rem;
  font-weight: 600;
  color: #ff8f93;
  text-align: center;
}
.enq-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  height: 48px;
  margin-top: 1.05rem;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffe27a, #e6a91c);
  color: #0d1b45;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-family: inherit;
  cursor: pointer;
  transition: filter .25s ease, transform .2s ease;
}
.enq-btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.enq-btn:active { transform: translateY(0); }
.enq-btn[disabled] { opacity: .65; cursor: wait; transform: none; }
.enq-done { text-align: center; padding: 1.6rem .5rem .8rem; }
.enq-done-ic {
  display: inline-flex;
  width: 62px; height: 62px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(60, 200, 120, 0.14);
  border: 1px solid rgba(60, 200, 120, 0.4);
  color: #4ade80;
  font-size: 1.5rem;
  margin-bottom: .9rem;
  animation: enqDonePop .5s cubic-bezier(0.22, 1, 0.36, 1);
}
.enq-done h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffcd39;
  margin-bottom: .5rem;
}
.enq-done p { font-size: .88rem; color: rgba(255, 255, 255, 0.78); line-height: 1.6; margin: 0; }
@keyframes enqDonePop {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@media (max-width: 600px) {
  .bff-enq { padding: 1.4rem 1.15rem 1.25rem; border-radius: 16px; }
  .enq-head h3 { font-size: 1.35rem; }
  .enq-grid { grid-template-columns: 1fr; gap: .6rem; }
  .enq-f input, .enq-f select { height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .bff-enq, .bff-enq-back, .enq-done-ic { transition: none !important; animation: none !important; }
}

/* ================= Facility photo slideshow + lightbox ================= */
/* Signature: photo ke niche slide buttons */
.fas-media img{transition:opacity .26s ease,transform .26s ease;will-change:transform,opacity}
.fas-media img.sl-h-l{opacity:0;transform:translateX(-26px)}
.fas-media img.sl-h-r{opacity:0;transform:translateX(26px)}
.fas-media img.sl-pre{transition:none}
.fas-swap{transition:opacity .28s ease}
.fas-swap.is-fade{opacity:0}
/* Arrows + count pill dono nahi - photo click pe lightbox khulti hai */
.fas-sctl{display:none}
.fas-media[data-photos]{cursor:pointer}
.fas-snum{color:#f3e4bb;font:600 .6rem/1 'Poppins',sans-serif;letter-spacing:.08em;min-width:28px;text-align:center}
/* Card me photos count badge + click hint */
.fas-card[data-photos],
.pg-photo-card[data-photos]{cursor:pointer}
.fas-galct{position:absolute;left:10px;top:10px;z-index:3;
  background:rgba(8,16,38,.75);color:#f3c969;font:600 .68rem/1 'Poppins',sans-serif;
  padding:5px 9px;border-radius:999px;border:1px solid rgba(212,168,83,.4);
  display:inline-flex;align-items:center;gap:5px;letter-spacing:.05em}
/* Lightbox modal */
.fgal{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:18px}
.fgal[hidden]{display:none}
.fgal-back{position:absolute;inset:0;background:rgba(5,10,26,.82);backdrop-filter:blur(8px)}
.fgal-box{position:relative;width:min(860px,94vw);background:#fff;border-radius:22px;
  overflow:hidden;box-shadow:0 40px 90px rgba(0,0,0,.5);border-top:6px solid #d4a853;
  animation:fgalIn .3s ease}
@keyframes fgalIn{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}
.fgal-x{position:absolute;top:12px;right:12px;z-index:5;width:42px;height:42px;border-radius:50%;
  border:2px solid rgba(255,255,255,.9);background:linear-gradient(135deg,#f3c969,#d4a853);color:#101a3a;
  font-size:1rem;font-weight:700;cursor:pointer;transition:.25s;
  box-shadow:0 4px 16px rgba(0,0,0,.4),0 0 0 3px rgba(8,16,38,.35);display:grid;place-items:center}
.fgal-x:hover{background:linear-gradient(135deg,#ffe27a,#f0b429);transform:rotate(90deg) scale(1.06)}
.fgal-media{position:relative;background:#0a1226;overflow:hidden}
/* Letterbox area flat black nahi - same photo ka blurred premium backdrop */
.fgal-bg{position:absolute;inset:0;background:center/cover no-repeat;
  filter:blur(26px) brightness(.5) saturate(1.2);transform:scale(1.25)}
.fgal-media img{position:relative;width:100%;height:auto;max-height:min(72vh,540px);object-fit:contain;display:block;margin:0 auto}
.fgal-count{position:absolute;right:14px;bottom:12px;background:rgba(8,16,38,.78);
  color:#f3e4bb;font:600 .72rem/1 'Poppins',sans-serif;padding:6px 11px;border-radius:999px;
  border:1px solid rgba(212,168,83,.4);letter-spacing:.1em}
.fgal-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:16px 20px 18px;background:#fff}
.fgal-txt h4{margin:0 0 4px;font:700 1.15rem 'Playfair Display',serif;color:#101a3a}
.fgal-txt p{margin:0;font:.82rem/1.55 'Poppins',sans-serif;color:#5a6274}
.fgal-nav{display:flex;gap:9px;flex:none}
.fgal-nav button{width:42px;height:42px;border-radius:50%;border:1px solid #d4a853;
  background:linear-gradient(135deg,#f3c969,#d4a853);color:#101a3a;font-size:.9rem;
  cursor:pointer;display:grid;place-items:center;transition:.25s;
  box-shadow:0 6px 16px rgba(212,168,83,.35)}
.fgal-nav button:hover{transform:scale(1.08)}
@media (max-width:600px){
  .fgal{padding:10px}
  .fgal-box{border-radius:18px;box-shadow:0 26px 70px rgba(2,8,26,.55)}
  .fgal-media img{height:50vh}
  .fgal-count{font-size:.62rem;padding:4px 9px;border-radius:999px;right:10px;bottom:10px}
  .fgal-x{width:38px;height:38px;top:10px;right:10px}
  /* Footer - centered, gold top line + swipe hint (nav buttons hidden hain) */
  .fgal-foot{
    flex-direction:column;align-items:center;gap:4px;
    padding:13px 14px 10px;position:relative;text-align:center;
    border-top:3px solid #f0b429;
  }
  .fgal-nav{display:none}  /* Mobile pe arrow buttons nahi - photo pe swipe se navigate */
  .fgal-txt h4{font-size:1.18rem}
  .fgal-txt p{font-size:.8rem}
  /* swipe hint strip - do arrow chevrons, users ko swipe ka signal */
  .fgal-foot::after{
    content:"";display:block;width:44px;height:4px;border-radius:999px;
    background:rgba(13,27,69,.18);margin-top:7px;
  }
  .fas-sctl{bottom:8px;padding:3px 5px}
  .fas-sl{width:20px;height:20px;font-size:.55rem}
}

/* ================= Page hero - chalti hui marquee lines (ABOUT banner) ================= */
.pg-hero-marq{max-width:640px;margin:6px auto 0;overflow:hidden;position:relative;z-index:1}
.phm-row{overflow:hidden;white-space:nowrap;padding:1px 0}
.phm-run{display:inline-flex;will-change:transform;animation:phmRun 26s linear infinite}
.phm-run span{display:inline-block;white-space:nowrap;padding-right:6px;
  color:rgba(255,255,255,.72);font:500 .88rem/1.5 'Poppins','Nunito',sans-serif}
.phm-row.phm-rev .phm-run{animation-direction:reverse}
.phm-row.phm-rev .phm-run span{color:rgba(243,201,105,.85)} /* doosri line gold */
@keyframes phmRun{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.phm-run{animation:none}}

/* ==========================================================================
   PREMIUM PAGE LOADER - logo crest + progress + veil exit (MLZS style)
   ========================================================================== */
#bff-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 60% 55% at 50% 8%, rgba(39, 95, 172, 0.35) 0%, transparent 62%),
    radial-gradient(ellipse 45% 50% at 88% 90%, rgba(240, 180, 41, 0.16) 0%, transparent 60%),
    linear-gradient(180deg, #0b1740 0%, #081130 55%, #050b1e 100%);
  overflow: hidden;
}
/* live animated bg - aurora glow + drifting mesh */
.bfl-live { position: absolute; inset: 0; pointer-events: none; }
.bfl-aurora {
  position: absolute; inset: -20%;
  background:
    radial-gradient(ellipse 34% 28% at 30% 30%, rgba(64, 120, 220, 0.22), transparent 70%),
    radial-gradient(ellipse 30% 26% at 72% 66%, rgba(240, 180, 41, 0.14), transparent 70%);
  filter: blur(30px);
  animation: bflAurora 9s ease-in-out infinite alternate;
}
@keyframes bflAurora {
  from { transform: translate(-3%, -2%) scale(1); }
  to   { transform: translate(3%, 2%) scale(1.06); }
}
.bfl-mesh {
  position: absolute; inset: 0; opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.6px);
  background-size: 30px 30px;
  animation: bflMesh 14s linear infinite;
}
@keyframes bflMesh { from { background-position: 0 0; } to { background-position: 30px 30px; } }

/* floating soft bubbles */
.bfl-b {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.04) 60%, transparent 72%);
  animation: bflFloat 7s ease-in-out infinite;
}
.bfl-b.b1 { width: 90px; height: 90px; left: 8%; top: 18%; animation-delay: 0s; }
.bfl-b.b2 { width: 46px; height: 46px; left: 16%; top: 66%; animation-delay: -2s; }
.bfl-b.b3 { width: 62px; height: 62px; right: 12%; top: 24%; animation-delay: -4s; }
.bfl-b.b4 { width: 34px; height: 34px; right: 20%; top: 70%; animation-delay: -1.4s; }
.bfl-b.b5 { width: 24px; height: 24px; left: 40%; top: 12%; animation-delay: -3s; }
.bfl-b.b6 { width: 52px; height: 52px; right: 40%; bottom: 8%; animation-delay: -5.2s; }
@keyframes bflFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: .65; }
  50% { transform: translateY(-22px) scale(1.05); opacity: 1; }
}

/* center stage */
.bfl-stage {
  position: relative; text-align: center; z-index: 2;
  width: min(92vw, 520px);
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
}
.bfl-crest {
  position: relative;
  width: 118px; height: 118px;
  margin: 0 auto 22px;
  display: grid; place-items: center;
}
.bfl-crest img {
  width: 76px; height: 76px;
  border-radius: 50%;
  object-fit: contain;
  background: #ffffff;
  padding: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 0 3px rgba(255, 205, 57, 0.35);
}
.bfl-ring { position: absolute; inset: 0; border-radius: 50%; }
.bfl-ring--outer {
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  animation: bflSpin 10s linear infinite;
}
.bfl-ring--gold {
  inset: 6px;
  border: 2px dashed rgba(255, 205, 57, 0.8);
  animation: bflSpin 6s linear infinite reverse;
}
@keyframes bflSpin { to { transform: rotate(360deg); } }
.bfl-glow {
  position: absolute; inset: -26px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 205, 57, 0.22), transparent 65%);
  animation: bflGlow 2.4s ease-in-out infinite;
}
@keyframes bflGlow { 0%, 100% { opacity: .5; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.06); } }

.bfl-name {
  font-family: 'Cinzel', 'Playfair Display', serif;
  font-size: clamp(1.1rem, 5.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: clamp(0.06em, 1.4vw, 0.16em);
  color: #ffffff;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.25;
  text-wrap: balance;
}
.bfl-tag {
  margin: 8px 0 26px;
  font-size: clamp(0.66rem, 2.6vw, 0.78rem);
  font-weight: 700;
  letter-spacing: clamp(0.1em, 1.6vw, 0.3em);
  text-transform: uppercase;
  color: #ffcd39;
  line-height: 1.5;
  text-wrap: balance;
}
.bfl-track {
  width: min(300px, 64vw);
  height: 4px;
  margin: 0 auto;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}
.bfl-bar {
  display: block; height: 100%; width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #ffcd39, #f0b429, #ffe27a);
  box-shadow: 0 0 12px rgba(255, 205, 57, 0.7);
  transition: width 0.25s ease;
}
.bfl-pct {
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.85);
}

/* veil panels - load ke baad curtains ki tarah khulte hain */
.bfl-veil {
  position: absolute; top: 0; bottom: 0; width: 51%;
  background: #050b1e; opacity: 0; pointer-events: none;
  transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1);
  z-index: 3;
}
.bfl-veil--l { left: 0; }
.bfl-veil--r { right: 0; }

/* EXIT - 100% pe stage upar slide + poora loader smooth fade-out */
#bff-loader {
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
}
#bff-loader .bfl-stage {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}
#bff-loader.bfl-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#bff-loader.bfl-out .bfl-stage {
  transform: translateY(-18px) scale(0.98);
  opacity: 0;
}

/* ==========================================================================
   TOP BAR - mail picker (1 icon -> 2 emails chooser)
   ========================================================================== */
.top-mail-wrap { position: relative; display: inline-flex; }
.top-mail-menu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 1200;
  display: none; flex-direction: column; gap: 2px;
  min-width: 240px; padding: 8px;
  background: linear-gradient(160deg, #16295e, #0d1b45);
  border: 1px solid rgba(240, 180, 41, 0.45);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(4, 9, 24, 0.55);
}
.top-mail-wrap.open .top-mail-menu { display: flex; animation: tmmIn .18s ease; }
@keyframes tmmIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.top-mail-menu a {
  display: flex !important; align-items: center; gap: 9px;
  width: auto !important; height: auto !important;
  padding: 9px 12px !important; border-radius: 8px !important;
  font-size: 0.82rem; white-space: nowrap;
  color: #fff !important; background: transparent !important;
}
.top-mail-menu a:hover { background: rgba(240, 180, 41, 0.16) !important; color: #ffcd39 !important; }
.top-mail-menu i { color: #ffcd39 !important; }
@media (max-width: 480px) {
  .top-mail-menu { min-width: 215px; left: -30px; }
}
