/* =========================================================
   MUBASHIR SCHOOL OF EXCELLENCE — CORE STYLESHEET

   Brand: Deep Navy (#0d2149), White, Orange (#f57c20),
   Light Gray (#f4f6f9)
========================================================= */

:root {
  --navy: #0d2149;
  --navy-2: #122b5c;
  --navy-soft: #16305f;
  --orange: #f57c20;
  --orange-dark: #d9650f;
  --white: #ffffff;
  --gray-light: #f4f6f9;
  --gray-border: #e3e7ee;
  --text-dark: #1c2433;
  --text-muted: #5c6577;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --header-h: 92px;

  --transition-fast: 250ms ease;
  --transition-med: 400ms ease;
  --transition-header: 400ms cubic-bezier(.4, 0, .2, 1);
}


/* =========================================================
   GLOBAL
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
  text-align: center;
  margin-bottom: 46px;
}

.section-heading h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: .5px;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.section-heading h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--orange);
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal-left,
.reveal-right,
.reveal-up {
  opacity: 0;
  transition: opacity .7s ease, transform .7s ease;
  will-change: transform, opacity;
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-up {
  transform: translateY(30px);
}

.reveal-left.in-view,
.reveal-right.in-view,
.reveal-up.in-view {
  opacity: 1;
  transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-left,
  .reveal-right,
  .reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  z-index: 1000;

  height: var(--header-h);

  display: flex;
  align-items: center;

  background: rgba(255, 255, 255, 0.88);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 2px 16px rgba(13, 33, 73, 0.08);

  transition:
    background var(--transition-header),
    box-shadow var(--transition-header),
    height var(--transition-header);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 24px rgba(13, 33, 73, 0.14);
  height: 76px;
}

body.inner-page .site-header {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 20px rgba(13, 33, 73, 0.1);
}

.header-inner {
  width: 100%;
  max-width: 1400px;

  margin: 0 auto;
  padding: 0 32px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 58px;
  width: auto;
  display: block;
  transition: transform var(--transition-fast);
}

.footer-brand .brand-logo-img {
  height: 64px;
}

.brand:hover .brand-logo-img {
  transform: scale(1.03);
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav li {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .4px;

  color: var(--text-dark);

  padding: 8px 2px;

  position: relative;

  transition:
    color var(--transition-fast),
    transform var(--transition-fast);
}

.nav-link::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 0;
  height: 2px;

  background: var(--orange);

  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--orange);
  transform: translateY(-2px);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  width: 100%;
}

.nav-link.active {
  color: var(--orange);
}

.nav-link.active::after {
  width: 100%;
}

.caret {
  font-size: .65rem;
  transition: transform var(--transition-fast);
}

.has-dropdown:hover .caret {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;

  top: calc(100% + 14px);
  left: 0;

  min-width: 250px;

  background: var(--white);

  border-radius: 10px;

  box-shadow: 0 18px 40px rgba(13, 33, 73, 0.18);

  padding: 10px;

  opacity: 0;
  visibility: hidden;

  transform: translateY(8px);

  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast),
    visibility var(--transition-fast);

  display: flex;
  flex-direction: column;
  gap: 1px;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;

  padding: 1px 12px;

  border-radius: 6px;

  font-size: .95rem;
  font-weight: 500;

  color: var(--navy);

  transition:
    background var(--transition-fast),
    color var(--transition-fast);
}

.dropdown li a:hover {
  background: var(--gray-light);
  color: var(--orange-dark);
}

.btn-apply {
  flex-shrink: 0;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  background: var(--orange);
  color: var(--white);

  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .4px;

  padding: 12px 24px;

  border-radius: 8px;

  transition:
    background var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn-apply i {
  transition: transform var(--transition-fast);
  font-size: .78rem;
}

.btn-apply:hover {
  background: var(--orange-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(217, 101, 15, 0.35);
}

.btn-apply:hover i {
  transform: translateX(4px);
}

.hamburger {
  display: none;

  flex-direction: column;
  justify-content: center;

  gap: 5px;

  width: 42px;
  height: 42px;

  flex-shrink: 0;
}

.hamburger span {
  display: block;

  width: 24px;
  height: 2px;

  background: var(--navy);

  transition:
    transform var(--transition-fast),
    opacity var(--transition-fast);

  margin: 0 auto;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   HERO SLIDER
   DYNAMIC SETTINGS KEPT INTACT
========================================================= */

.hero {
  position: relative;

  width: 100%;

  height: 924vh;
  min-height: 480px;
  max-height: 780px;

  overflow: hidden;

  background: var(--navy);
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;

  background-color: var(--navy);
  background-size: cover;
  background-position: center;

  opacity: 0;

  transform: scale(1);

  transition: opacity 1.1s ease;
}

.hero-slide.is-active {
  opacity: 1;
  animation: none;
}

.hero-slide.is-active.mse-kenburns {
  animation:
    kenburns var(--mse-kenburns-duration, 7s)
    ease-in-out
    forwards;
}

@keyframes kenburns {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.04);
  }
}

.hero::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(13, 33, 73, 0.35) 0%,
      rgba(13, 33, 73, 0.05) 30%,
      rgba(13, 33, 73, 0.15) 100%
    );

  pointer-events: none;
}

.hero-arrow {
  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  width: 46px;
  height: 46px;

  border-radius: 50%;

  background: var(--mse-slider-arrow-bg);
  color: var(--mse-slider-arrow-color);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1rem;

  z-index: 5;

  transition:
    background var(--transition-fast),
    transform var(--transition-fast),
    color var(--transition-fast);
}

.hero-arrow--prev {
  left: 24px;
}

.hero-arrow--next {
  right: 24px;
}

.hero-arrow:hover {
  background: var(--mse-slider-arrow-hover-bg);

  color: var(--mse-slider-arrow-hover-color);

  transform:
    translateY(-50%)
    scale(1.08);
}

.hero-dots {
  position: absolute;

  bottom: 24px;
  left: 50%;

  transform: translateX(-50%);

  display: flex;
  gap: 10px;

  z-index: 5;
}

.hero-dot {
  width: 10px;
  height: 10px;

  border-radius: 50%;

  background: var(--mse-slider-dot-color);

  transition:
    background var(--transition-fast),
    transform var(--transition-fast);
}

.hero-dot.is-active {
  background: var(--mse-slider-active-dot-color);
  transform: scale(1.2);
}


/* =========================================================
   QUICK ACCESS BAR
   DYNAMIC SETTINGS KEPT INTACT
========================================================= */

.quick-access {
  background: var(--mse-quick-access-bg, var(--navy));
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: 100%;
}

.quick-access-inner {
  max-width: none;
  width: max-content;
  margin: 0;
  display: flex;
  align-items: stretch;
  overflow: visible;
  flex-wrap: nowrap;
  will-change: transform;
  white-space: nowrap;
}



.qa-item {
  flex: 0 0 var(--mse-quick-access-item-width, 190px);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: var(--mse-quick-access-gap, 10px);

  padding:
    var(--mse-quick-access-padding-vertical, 26px)
    var(--mse-quick-access-padding-horizontal, 12px);

  color:
    var(--mse-quick-access-text-color, var(--white));

  border-right:
    1px solid
    color-mix(
      in srgb,
      var(--mse-quick-access-border-color, #ffffff)
      calc(var(--mse-quick-access-border-opacity, 0.08) * 100%),
      transparent
    );

  transition:
    background var(--transition-med),
    transform var(--transition-med);

  box-sizing: border-box;

  text-decoration: none;

  white-space: nowrap;
}

.qa-item:last-child {
  border-right: none;
}

/* Cloned items */

.qa-item[aria-hidden="true"]:last-child {
  border-right: none;
}

.qa-item i {
  font-size: var(--mse-quick-access-icon-size, 21px);

  color:
    var(--mse-quick-access-icon-color, var(--white));

  transition:
    color var(--transition-fast),
    transform var(--transition-fast);
}

.qa-item span {
  font-size:
    var(--mse-quick-access-text-size, 11px);

  font-weight:
    var(--mse-quick-access-font-weight, 600);

  letter-spacing:
    var(--mse-quick-access-letter-spacing, 0.5px);

  color:
    var(--mse-quick-access-text-color, var(--white));

  white-space: nowrap;
}

.qa-item:hover {
  background:
    var(
      --mse-quick-access-hover-bg,
      rgba(245, 124, 32, 0.12)
    );

  transform:
    translateY(
      calc(
        var(--mse-quick-access-hover-lift, 4px) * -1
      )
    );
}

.qa-item:hover i {
  color:
    var(
      --mse-quick-access-hover-icon-color,
      var(--orange)
    );

  transform: translateY(-2px);
}


/* =========================================================
   ACCESSIBILITY / MOBILE
========================================================= */

@media (max-width: 767px) {

  .quick-access {
    overflow: hidden;
  }

  .quick-access-inner {
    width: max-content;
  }

}

/* =========================================================
   WELCOME SECTION
========================================================= */

.welcome {
  padding: 90px 32px;
  background: var(--white);
}

.welcome-inner {
  max-width: 1200px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: .9fr 1.1fr;

  gap: 64px;

  align-items: center;
}

.welcome-media img {
  background: var(--gray-light);

  border-radius: 16px;

  box-shadow:
    0 30px 60px rgba(13, 33, 73, 0.18);

  border: 4px solid var(--white);

  outline: 3px solid rgba(245, 124, 32, 0.25);

  outline-offset: 6px;
}

.eyebrow {
  display: block;

  color: var(--orange);

  font-weight: 700;
  font-size: .85rem;

  letter-spacing: 1.2px;

  margin-bottom: 10px;
}

.welcome-heading {
  font-size: 2.4rem;

  font-weight: 800;

  color: var(--navy);

  line-height: 1.2;

  margin-bottom: 18px;
}

.welcome-heading span {
  color: var(--orange);
}

.welcome-text {
  color: var(--text-muted);

  font-size: 1rem;

  max-width: 520px;

  margin-bottom: 30px;
}

.feature-icons {
  display: grid;

  grid-template-columns: repeat(4, auto);

  gap: 26px;

  margin-bottom: 36px;
}

.feature-item {
  display: flex;

  align-items: center;

  gap: 10px;

  opacity: 0;

  transform: translateY(14px);

  animation: featureIn .6s ease forwards;
}

.feature-item i {
  font-size: 1.4rem;
  color: var(--orange);
}

.feature-item span {
  font-size: .82rem;

  font-weight: 600;

  color: var(--navy);

  line-height: 1.3;
}

@keyframes featureIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.in-view .feature-item:nth-child(1) {
  animation-delay: .1s;
}

.in-view .feature-item:nth-child(2) {
  animation-delay: .25s;
}

.in-view .feature-item:nth-child(3) {
  animation-delay: .4s;
}

.in-view .feature-item:nth-child(4) {
  animation-delay: .55s;
}

.btn-learn-more {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  background: var(--navy);

  color: var(--white);

  font-weight: 700;

  font-size: .82rem;

  letter-spacing: .4px;

  padding: 14px 28px;

  border-radius: 8px;

  transition:
    background var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn-learn-more:hover {
  background: var(--orange);

  transform: translateY(-3px);

  box-shadow:
    0 10px 24px rgba(13, 33, 73, 0.25);
}


/* =========================================================
   SCHOOL FACILITIES
========================================================= */

.facilities {
  padding: 20px 32px 90px;
  background: var(--gray-light);
}

.facilities-grid {
  max-width: 1200px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 26px;
}


/* =========================================================
   HOME FACILITY CARD
========================================================= */

.facility-card {
  position: relative;

  height: 260px;

  border-radius: 14px;

  overflow: hidden;

  box-shadow:
    0 14px 30px rgba(13, 33, 73, 0.12);

  transition:
    transform 400ms ease,
    box-shadow 400ms ease;

  cursor: pointer;
}

.facility-card img {
  background: var(--navy-soft);

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 500ms ease;
}

.facility-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(13, 33, 73, 0.05) 40%,
      rgba(13, 33, 73, 0.75) 100%
    );

  transition: background 400ms ease;
}

.facility-card h3 {
  position: absolute;

  left: 24px;
  bottom: 20px;

  margin: 0;

  color: var(--white);

  font-size: 1.15rem;

  font-weight: 700;

  letter-spacing: .5px;

  z-index: 2;
}

.facility-card:hover {
  transform: translateY(-7px);

  box-shadow:
    0 22px 44px rgba(13, 33, 73, 0.22);
}

.facility-card:hover img {
  transform: scale(1.07);
}

.facility-card:hover .facility-overlay {
  background:
    linear-gradient(
      180deg,
      rgba(13, 33, 73, 0.15) 30%,
      rgba(245, 124, 32, 0.55) 100%
    );
}


/* =========================================================
   FACILITIES PAGE — CARD
========================================================= */

.gallery-grid .gallery-card {
  position: relative;

  height: auto;

  overflow: hidden;

  border-radius: 14px;

  box-shadow:
    0 14px 30px rgba(13, 33, 73, 0.12);
}


/* =========================================================
   FACILITIES PAGE — IMAGE
========================================================= */

.gallery-grid .gallery-card img {
  display: block;

  width: 100%;
  height: 260px;

  object-fit: cover;
}


/* =========================================================
   FACILITIES PAGE — TITLE
========================================================= */

.gallery-grid .gallery-card h3 {
  position: static;

  margin: 0;

  padding: 18px 20px 0;

  color: var(--navy);

  font-size: 1.15rem;

  font-weight: 700;

  letter-spacing: .5px;
}


/* =========================================================
   FACILITIES PAGE — DESCRIPTION
========================================================= */

.gallery-grid .gallery-card .facility-description {
  margin: 0;

  padding: 10px 20px 18px;

  color: var(--navy);

  font-size: .95rem;

  line-height: 1.55;

  max-height: 3.1em;

  overflow: hidden;
}


/* =========================================================
   FACILITIES PAGE — IMAGE OVERLAY
========================================================= */

.gallery-grid .gallery-card .facility-overlay {
  position: absolute;

  top: 0;
  left: 0;
  right: 0;

  height: 260px;

  bottom: auto;
}


/* =========================================================
   FACILITIES PAGE — HOVER
========================================================= */

.gallery-grid .gallery-card:hover {
  transform: translateY(-7px);

  box-shadow:
    0 22px 44px rgba(13, 33, 73, 0.22);
}

.gallery-grid .gallery-card:hover img {
  transform: scale(1.07);
}

.gallery-grid .gallery-card:hover .facility-overlay {
  background:
    linear-gradient(
      180deg,
      rgba(13, 33, 73, 0.15) 30%,
      rgba(245, 124, 32, 0.55) 100%
    );
}


/* =========================================================
   APPLY FOR ADMISSION
========================================================= */

.admission {
  background: var(--navy);

  padding: 0;

  overflow: hidden;
}

.admission-inner {
  max-width: 1300px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: 1fr 1fr;

  align-items: center;

  gap: 40px;
}

.admission-content {
  padding: 70px 32px 70px 48px;
}

.admission-icon {
  font-size: 2.4rem;

  color: var(--orange);

  margin-bottom: 18px;
}

.admission-content h2 {
  color: var(--white);

  font-size: 2rem;

  font-weight: 800;

  margin-bottom: 16px;

  letter-spacing: .3px;
}

.admission-content p {
  color: rgba(255, 255, 255, 0.75);

  max-width: 420px;

  margin-bottom: 28px;
}

.btn-cta {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  background: var(--orange);

  color: var(--white);

  font-weight: 700;

  font-size: .82rem;

  letter-spacing: .4px;

  padding: 14px 30px;

  border-radius: 8px;

  transition:
    background var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn-cta i {
  transition: transform var(--transition-fast);
}

.btn-cta:hover {
  background: var(--orange-dark);

  transform: translateY(-3px);

  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.3);
}

.btn-cta:hover i {
  transform: translateX(4px);
}

.admission-media {
  height: 100%;

  min-height: 360px;

  overflow: hidden;
}

.admission-media img {
  background: var(--navy-soft);

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 900ms ease;
}

.admission-media:hover img {
  transform: scale(1.05);
}


/* =========================================================
   MONTHLY TEST + ACHIEVEMENTS
========================================================= */

.info-row {
  max-width: 1200px;

  margin: 90px auto;

  padding: 0 32px;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 26px;
}

.info-card {
  background: var(--white);

  border: 1px solid var(--gray-border);

  border-radius: 14px;

  padding: 34px;

  display: grid;

  grid-template-columns: 1.3fr 1fr;

  gap: 24px;

  align-items: center;

  box-shadow:
    0 10px 26px rgba(13, 33, 73, 0.06);

  transition:
    transform 400ms ease,
    box-shadow 400ms ease;
}

.info-card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 20px 40px rgba(13, 33, 73, 0.12);
}

.info-text h3 {
  color: var(--navy);

  font-size: 1.15rem;

  font-weight: 800;

  margin-bottom: 12px;

  display: flex;

  align-items: center;

  gap: 10px;
}

.info-text h3 i {
  color: var(--orange);
}

.info-text p {
  color: var(--text-muted);

  font-size: .9rem;

  margin-bottom: 20px;
}

.btn-dark {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  background: var(--navy);

  color: var(--white);

  font-weight: 700;

  font-size: .75rem;

  letter-spacing: .3px;

  padding: 11px 18px;

  border-radius: 7px;

  transition:
    background var(--transition-fast),
    transform var(--transition-fast);
}

.btn-dark:hover {
  background: var(--orange);

  transform: translateY(-2px);
}

.info-media {
  border-radius: 10px;

  overflow: hidden;

  height: 150px;
}

.info-media img {
  background: var(--gray-light);

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 500ms ease;
}

.info-card:hover .info-media img {
  transform: scale(1.06);
}


/* =========================================================
   CONTACT / GET IN TOUCH
========================================================= */

.contact {
  background: var(--gray-light);

  padding: 90px 32px;
}

.contact-inner {
  max-width: 1200px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: .9fr 1.3fr 1fr;

  gap: 28px;

  align-items: start;
}

.contact-details {
  background: var(--white);

  border-radius: 14px;

  padding: 30px;

  box-shadow:
    0 10px 26px rgba(13, 33, 73, 0.06);
}

.contact-item {
  display: flex;

  align-items: flex-start;

  gap: 14px;

  padding: 14px 0;

  border-bottom: 1px solid var(--gray-border);

  font-size: .88rem;

  color: var(--text-dark);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item i {
  color: var(--orange);

  font-size: 1rem;

  margin-top: 2px;

  width: 18px;
}

.contact-form {
  background: var(--white);

  border-radius: 14px;

  padding: 30px;

  box-shadow:
    0 10px 26px rgba(13, 33, 73, 0.06);
}

.form-row {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 16px;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;

  font-size: .78rem;

  font-weight: 600;

  color: var(--navy);

  margin-bottom: 6px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;

  padding: 12px 14px;

  border-radius: 8px;

  border: 1px solid var(--gray-border);

  background: var(--white);

  font-family: inherit;

  font-size: .9rem;

  color: var(--text-dark);

  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--orange);

  box-shadow:
    0 0 0 4px rgba(245, 124, 32, 0.12);

  outline: none;
}

.form-status {
  margin-top: 14px;

  font-size: .85rem;

  font-weight: 600;

  color: var(--orange-dark);

  min-height: 1.2em;
}

.contact-map {
  border-radius: 14px;

  overflow: hidden;

  box-shadow:
    0 10px 26px rgba(13, 33, 73, 0.06);

  min-height: 340px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;

  min-height: 340px;

  border: 0;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  background: #0B1C2C;

  color: rgba(255, 255, 255, 0.8);
}

.footer-inner {
  max-width: 1300px;

  margin: 0 auto;

  padding: 70px 32px 40px;

  display: grid;

  grid-template-columns:
    1.3fr 1fr 1.1fr 1fr;

  gap: 40px;
}

.footer-col h4 {
  color: var(--white);

  font-size: 1rem;

  font-weight: 700;

  margin-bottom: 20px;
}

.footer-brand p {
  font-size: .85rem;

  margin: 16px 0 20px;

  max-width: 280px;
}

.social-icons {
  display: flex;

  gap: 12px;
}

.social-icons a {
  width: 38px;
  height: 38px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.08);

  display: flex;

  align-items: center;
  justify-content: center;

  color: var(--white);

  transition:
    background var(--transition-fast),
    transform var(--transition-fast);
}

.social-icons a:hover {
  background: var(--orange);

  transform: translateY(-3px);
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: .87rem;

  transition:
    color var(--transition-fast),
    padding-left var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--orange);

  padding-left: 4px;
}

.footer-contact li {
  display: flex;

  align-items: flex-start;

  gap: 10px;

  font-size: .85rem;
}

.footer-contact li i {
  color: var(--orange);

  margin-top: 3px;

  width: 14px;
}

.footer-map {
  border-radius: 10px;

  overflow: hidden;

  height: 150px;
}

.footer-map iframe {
  width: 100%;
  height: 100%;

  border: 0;

  filter: grayscale(.2);
}

.footer-bottom {
  border-top:
    1px solid rgba(255, 255, 255, 0.1);

  padding: 20px 32px;

  display: flex;

  justify-content: space-between;

  max-width: 1300px;

  margin: 0 auto;

  font-size: .8rem;
}

.footer-bottom i {
  color: var(--orange);
}


/* =========================================================
   BODY / HERO OFFSET
========================================================= */

body {
  padding-top: 0;
}

.hero {
  margin-top: 0;
}

body.inner-page {
  padding-top: 0;
}


/* =========================================================
   LIGHTBOX — GLOBAL
   Facility / Gallery / Team / Album / Video
========================================================= */

.facility-card,
.gallery-card,
.team-card,
.album-card {
  cursor: pointer;
}


/* =========================================================
   LIGHTBOX — MAIN OVERLAY
========================================================= */

.lightbox {
  position: fixed !important;
  inset: 0 !important;

  z-index: 99999 !important;

  display: flex !important;

  align-items: center !important;
  justify-content: center !important;

  padding: 40px;

  background: rgba(9, 17, 36, 0.94);

  opacity: 0;

  visibility: hidden;

  pointer-events: none;

  transition:
    opacity 300ms ease,
    visibility 300ms ease;
}

.lightbox.is-open {
  opacity: 1 !important;

  visibility: visible !important;

  pointer-events: auto !important;
}


/* =========================================================
   LIGHTBOX — MAIN BOX
   LEFT IMAGE + RIGHT CONTENT
========================================================= */

.lightbox-box {
  position: relative;

  width: min(1000px, 92vw);

  max-height: 88vh;

  display: grid !important;

  grid-template-columns:
    380px
    minmax(0, 1fr);

  gap: 40px;

  align-items: center;

  transform: scale(.94);

  transition: transform 300ms ease;
}

.lightbox.is-open .lightbox-box {
  transform: scale(1);
}


/* =========================================================
   LIGHTBOX — LEFT IMAGE AREA
========================================================= */

.lightbox-left {
  width: 380px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;
}


/* =========================================================
   LIGHTBOX — MAIN IMAGE
========================================================= */

.lightbox-main-image {
  display: block !important;

  width: 380px !important;

  height: 380px !important;

  max-width: 100% !important;

  max-height: 70vh !important;

  object-fit: cover;

  border-radius: 12px;

  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.5);
}


/* =========================================================
   LIGHTBOX — PERSON
========================================================= */

.lightbox-person {
  width: 100%;

  margin: 18px 0 0;

  text-align: center;
}

.lightbox-title {
  margin: 0 0 6px;

  color: var(--white);

  font-family: var(--font-heading);

  font-size: 1.45rem;

  font-weight: 800;

  line-height: 1.25;
}

.lightbox-role {
  display: block;

  margin: 0;

  color: var(--orange);

  font-size: .78rem;

  font-weight: 700;

  letter-spacing: .6px;

  text-transform: uppercase;
}


/* =========================================================
   LIGHTBOX — RIGHT DESCRIPTION
========================================================= */

.lightbox-description-box {
  width: 100%;

  max-width: 520px;

  color: var(--white);

  text-align: left;
}

.lightbox-description,
.lightbox-desc {
  margin: 0;

  color: rgba(255, 255, 255, 0.82);

  font-size: .95rem;

  line-height: 1.8;
}


/* =========================================================
   LIGHTBOX — CLOSE BUTTON
========================================================= */

.lightbox-close {
  position: absolute;

  top: 24px;
  right: 28px;

  width: 44px;
  height: 44px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.1);

  color: var(--white);

  font-size: 1.2rem;

  display: flex;

  align-items: center;
  justify-content: center;

  transition:
    background var(--transition-fast),
    transform var(--transition-fast);

  z-index: 5;
}

.lightbox-close:hover {
  background: var(--orange);

  transform: rotate(90deg);
}


/* =========================================================
   LIGHTBOX — PREVIOUS / NEXT
========================================================= */

.lightbox-nav {
  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  width: 50px;
  height: 50px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.1);

  color: var(--white);

  font-size: 1.1rem;

  display: flex;

  align-items: center;
  justify-content: center;

  transition:
    background var(--transition-fast),
    transform var(--transition-fast);

  z-index: 5;
}

.lightbox-nav:hover {
  background: var(--orange);

  transform:
    translateY(-50%)
    scale(1.08);
}

.lightbox-nav--prev {
  left: 24px;
}

.lightbox-nav--next {
  right: 24px;
}


/* =========================================================
   LIGHTBOX VIDEO
========================================================= */

.lightbox-video-wrap {
  width: min(900px, 90vw);

  aspect-ratio: 16 / 9;
}

.lightbox-video-wrap iframe {
  width: 100%;
  height: 100%;

  border: 0;

  border-radius: 10px;

  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.5);
}


/* =========================================================
   INNER PAGES
========================================================= */

.page-banner {
  background:
    linear-gradient(
      135deg,
      var(--navy) 0%,
      var(--navy-2) 100%
    );

  padding:
    calc(var(--header-h) + 64px)
    32px
    56px;

  text-align: center;
}

.page-banner-inner h1 {
  color: var(--white);

  font-size: 2.2rem;

  font-weight: 800;

  letter-spacing: .4px;

  margin-bottom: 14px;
}

.breadcrumb {
  display: flex;

  justify-content: center;

  gap: 8px;

  font-size: .85rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);

  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--orange);
}

.breadcrumb span {
  color: var(--orange);
}

.content-section {
  padding: 80px 32px;

  background: var(--white);
}

.content-section.alt-bg {
  background: var(--gray-light);
}

.content-inner {
  max-width: 1200px;

  margin: 0 auto;
}

.content-inner.narrow {
  max-width: 820px;
}

.content-inner.two-col {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;

  align-items: center;
}

.content-media img {
  border-radius: 16px;

  box-shadow:
    0 30px 60px rgba(13, 33, 73, 0.15);

  border: 4px solid var(--white);

  outline:
    3px solid rgba(245, 124, 32, 0.2);

  outline-offset: 6px;
}

.content-text h2 {
  font-size: 1.9rem;

  font-weight: 800;

  color: var(--navy);

  margin: 8px 0 16px;

  line-height: 1.25;
}

.content-text p {
  color: var(--text-muted);

  margin-bottom: 16px;

  max-width: 520px;
}

.section-lead {
  text-align: center;

  max-width: 720px;

  margin: 0 auto 40px;

  color: var(--text-muted);
}


/* =========================================================
   MISSION / VISION
========================================================= */

.mv-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 26px;
}

.mv-card {
  background: var(--white);

  border-radius: 14px;

  padding: 40px 34px;

  text-align: center;

  box-shadow:
    0 10px 26px rgba(13, 33, 73, 0.07);

  transition:
    transform 400ms ease,
    box-shadow 400ms ease;
}

.mv-card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 20px 40px rgba(13, 33, 73, 0.14);
}

.mv-card i {
  font-size: 2rem;

  color: var(--orange);

  margin-bottom: 16px;
}

.mv-card h3 {
  color: var(--navy);

  font-size: 1.2rem;

  font-weight: 700;

  margin-bottom: 10px;
}

.mv-card p {
  color: var(--text-muted);

  font-size: .92rem;
}


/* =========================================================
   STATS
========================================================= */

.stats-row {
  display: flex;

  justify-content: center;

  gap: 60px;

  flex-wrap: wrap;

  margin-top: 20px;
}

.stat-item {
  text-align: center;
}

.stat-num {
  display: block;

  font-family: var(--font-heading);

  font-weight: 800;

  font-size: 2.2rem;

  color: var(--orange);
}

.stat-item span:last-child {
  font-size: .85rem;

  font-weight: 600;

  color: var(--navy);
}


/* =========================================================
   ADMISSIONS STEPS
========================================================= */

.steps-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 24px;
}

.step-card {
  background: var(--white);

  border: 1px solid var(--gray-border);

  border-radius: 14px;

  padding: 30px 22px;

  transition:
    transform 400ms ease,
    box-shadow 400ms ease;
}

.step-card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 16px 32px rgba(13, 33, 73, 0.12);
}

.step-num {
  display: block;

  font-family: var(--font-heading);

  font-weight: 800;

  font-size: 1.6rem;

  color: rgba(245, 124, 32, 0.35);

  margin-bottom: 10px;
}

.step-card h3 {
  color: var(--navy);

  font-size: 1.05rem;

  font-weight: 700;

  margin-bottom: 8px;
}

.step-card p {
  color: var(--text-muted);

  font-size: .85rem;

  margin: 0;
}


/* =========================================================
   REQUIREMENTS
========================================================= */

.req-list {
  max-width: 640px;

  margin: 0 auto;
}

.req-list li {
  display: flex;

  align-items: center;

  gap: 12px;

  padding: 14px 0;

  border-bottom: 1px solid var(--gray-border);

  font-size: .95rem;

  color: var(--text-dark);
}

.req-list li:last-child {
  border-bottom: none;
}

.req-list i {
  color: var(--orange);

  font-size: 1.1rem;
}


/* =========================================================
   GALLERY GRID
========================================================= */

.gallery-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 24px;
}

.gallery-card {
  position: relative;

  height: 230px;

  border-radius: 14px;

  overflow: hidden;

  cursor: pointer;

  box-shadow:
    0 14px 30px rgba(13, 33, 73, 0.12);

  transition:
    transform 400ms ease,
    box-shadow 400ms ease;
}

.gallery-card img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  background: var(--navy-soft);

  transition: transform 500ms ease;
}

.gallery-card h3 {
  position: absolute;

  left: 20px;
  bottom: 16px;

  color: var(--white);

  font-size: 1rem;

  font-weight: 700;

  letter-spacing: .4px;

  z-index: 2;
}

.gallery-card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 20px 40px rgba(13, 33, 73, 0.2);
}

.gallery-card:hover img {
  transform: scale(1.07);
}


/* =========================================================
   NOTIFICATIONS / EVENTS
========================================================= */

.notice-list {
  display: flex;

  flex-direction: column;

  gap: 18px;
}

.notice-card {
  display: flex;

  gap: 22px;

  background: var(--white);

  border: 1px solid var(--gray-border);

  border-radius: 12px;

  padding: 22px 26px;

  transition:
    transform 350ms ease,
    box-shadow 350ms ease;

  cursor: pointer;
}

.notice-card:hover {
  transform: translateX(4px);

  box-shadow:
    0 14px 30px rgba(13, 33, 73, 0.1);
}

.notice-date {
  flex-shrink: 0;

  width: 70px;

  text-align: center;

  font-weight: 800;

  color: var(--orange);

  font-family: var(--font-heading);

  border-right: 2px solid var(--gray-border);

  padding-right: 18px;
}

.notice-tag {
  display: inline-block;

  background: rgba(245, 124, 32, 0.12);

  color: var(--orange-dark);

  font-size: .68rem;

  font-weight: 700;

  letter-spacing: .4px;

  padding: 3px 10px;

  border-radius: 20px;

  margin-bottom: 8px;
}

.notice-body h3 {
  color: var(--navy);

  font-size: 1.05rem;

  font-weight: 700;

  margin-bottom: 6px;
}

.notice-body p {
  color: var(--text-muted);

  font-size: .88rem;

  margin: 0;
}


/* =========================================================
   PHOTO GALLERY — ALBUMS
========================================================= */

.album-grid {
  display: grid;

  grid-template-columns:
    repeat(
      auto-fit,
      minmax(220px, 1fr)
    );

  gap: 26px;
}

.album-card {
  background: var(--white);

  border: 1px solid var(--gray-border);

  border-radius: 14px;

  overflow: hidden;

  cursor: pointer;

  box-shadow:
    0 10px 26px rgba(13, 33, 73, 0.08);

  transition:
    transform 400ms ease,
    box-shadow 400ms ease;
}

.album-card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 20px 40px rgba(13, 33, 73, 0.16);
}

.album-cover {
  position: relative;

  height: 160px;

  background-size: cover;

  background-position: center;

  background-color: var(--navy-soft);
}

.album-cover::after {
  content: "";

  position: absolute;

  inset: 0;

  background: rgba(13, 33, 73, 0.35);

  transition: background 350ms ease;
}

.album-card:hover .album-cover::after {
  background: rgba(245, 124, 32, 0.4);
}

.album-icon {
  position: absolute;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  color: var(--white);

  font-size: 1.8rem;

  z-index: 2;
}

.album-card h3 {
  padding: 16px 18px 2px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}

.album-card span {
  display: block;

  padding: 0 18px 16px;

  font-size: .8rem;

  color: var(--text-muted);
  text-align: center;
}

.album-view-title {
  text-align: center;

  color: var(--navy);

  font-size: 1.3rem;

  font-weight: 800;

  margin: 4px 0 26px;
}

.album-back {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  color: var(--orange-dark);

  font-weight: 700;

  font-size: .85rem;

  margin-bottom: 20px;

  transition: gap 250ms ease;
}

.album-back:hover {
  gap: 14px;
}


/* =========================================================
   ABOUT SCHOOL + VIDEO / PRINCIPAL
========================================================= */

#about-school .welcome-heading {
	font-size: 35px;
}

.video-media {
  position: relative;

  border-radius: 16px;

  overflow: hidden;

  cursor: pointer;

  aspect-ratio: 16 / 9;

  box-shadow:
    0 30px 60px rgba(13, 33, 73, 0.18);

  border: 4px solid var(--white);

  outline: 3px solid rgba(245, 124, 32, 0.25);

  outline-offset: 6px;
}

.video-media img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 600ms ease;
}

.video-media:hover img {
  transform: scale(1.06);
}

.play-btn {
  position: absolute;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  width: 72px;
  height: 72px;

  border-radius: 50%;

  background: rgba(245, 124, 32, 0.92);

  color: var(--white);

  display: flex;

  align-items: center;
  justify-content: center;

  font-size: 1.3rem;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35);

  transition:
    transform 300ms ease,
    background 300ms ease;
}

.video-media:hover .play-btn {
  transform:
    translate(-50%, -50%)
    scale(1.1);

  background: var(--orange-dark);
}

.principal-media img {
  aspect-ratio: 4 / 3;

  object-fit: cover;

  width: 100%;
}

.principal-caption {
  text-align: center;

  margin-top: 18px;
}

.principal-caption h3 {
  font-size: 1.3rem;

  font-weight: 800;

  color: var(--navy);

  margin-bottom: 4px;
}

.principal-caption span {
  font-size: .8rem;

  font-weight: 700;

  color: var(--orange);

  letter-spacing: .6px;

  text-transform: uppercase;
}

.quote-icon {
  font-size: 1.6rem;

  color: rgba(245, 124, 32, 0.35);

  margin-bottom: 10px;

  display: block;
}

.principal-signoff {
  color: var(--navy);

  font-size: 1.15rem;

  font-weight: 800;

  margin: 10px 0 2px;
}

.principal-role {
  font-size: .78rem;

  font-weight: 700;

  color: var(--orange);

  letter-spacing: .5px;

  text-transform: uppercase;
}


/* =========================================================
   VALUES
========================================================= */

.values-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 22px;
}


/* =========================================================
   TEAM CARDS
========================================================= */

.team-grid {
  display: grid;

  grid-template-columns: repeat(5, 1fr);

  gap: 24px;
}

.team-card {
  background: var(--white);

  border-radius: 14px;

  overflow: hidden;

  text-align: center;

  padding: 28px 16px 22px;

  cursor: pointer;

  box-shadow:
    0 10px 26px rgba(13, 33, 73, 0.07);

  transition:
    transform 400ms ease,
    box-shadow 400ms ease;
}

.team-card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 20px 40px rgba(13, 33, 73, 0.14);
}

.team-card img {
  width: 110px;
  height: 110px;

  border-radius: 50%;

  object-fit: cover;

  margin: 0 auto;

  border: 3px solid var(--white);

  outline:
    3px solid rgba(245, 124, 32, 0.25);

  transition: transform 400ms ease;
}

.team-card:hover img {
  transform: scale(1.06);
}

.team-card h3 {
  font-size: 1rem;

  font-weight: 700;

  color: var(--navy);

  margin: 16px 0 2px;
}

.team-card span {
  display: block;

  font-size: .8rem;

  color: var(--text-muted);
}


/* =========================================================
   LONG-TEXT LAYOUT FIXES
========================================================= */

.welcome-inner--top {
  align-items: flex-start;
}

.content-inner.two-col--top {
  align-items: flex-start;
}

.principal-media-full {
  position: sticky;

  top: 110px;

  text-align: center;
}

.principal-media-full img {
  aspect-ratio: 4 / 3;

  object-fit: cover;

  width: 100%;
}

.principal-media-full .principal-caption {
  margin-top: 16px;
}

.content-text p + p {
  margin-top: -4px;
}


/* =========================================================
   FACILITIES CAROUSEL — HOMEPAGE
========================================================= */

.facilities-track-wrap {
  overflow: hidden;

  max-width: 1200px;

  margin: 0 auto;
}

.facilities-track {
  display: flex;

  gap: 26px;

  width: max-content;
}

.facilities-track .facility-card--track {
  flex: 0 0 320px;

  height: 260px;
}

.facilities-track.is-scrolling {
  animation:
    facilitiesScroll
    26s
    linear
    infinite;
}

.facilities-track-wrap:hover
.facilities-track.is-scrolling {
  animation-play-state: paused;
}

@keyframes facilitiesScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.facilities-viewall {
  text-align: center;

  margin-top: 36px;
}


/* =========================================================
   PORTAL PAGES
========================================================= */

.portal-card {
  background: var(--white);

  border-radius: 16px;

  padding: 44px 36px;

  text-align: center;

  box-shadow:
    0 20px 50px rgba(13, 33, 73, 0.1);
}

.portal-icon {
  font-size: 2.4rem;

  color: var(--orange);

  margin-bottom: 16px;
}

.portal-card h2 {
  color: var(--navy);

  font-size: 1.4rem;

  font-weight: 800;

  margin-bottom: 10px;
}

.portal-note {
  color: var(--text-muted);

  font-size: .88rem;

  margin-bottom: 26px;
}

.portal-card .contact-form {
  box-shadow: none;

  padding: 0;

  text-align: left;
}


/* =========================================================
   NOTICE DETAIL MODAL
========================================================= */

.notice-modal-card {
  background: var(--white);

  border-radius: 16px;

  overflow: hidden;

  max-width: 560px;

  width: 90vw;

  max-height: 85vh;

  overflow-y: auto;

  text-align: left;
}

.notice-modal-image {
  height: 220px;

  background-size: cover;

  background-position: center;

  background-color: var(--navy-soft);
}

.notice-modal-body {
  padding: 26px 28px 30px;
}

.notice-modal-body .notice-tag {
  margin-right: 10px;
}

.notice-modal-date {
  font-size: .78rem;

  font-weight: 700;

  color: var(--text-muted);

  letter-spacing: .3px;
}

.notice-modal-body h3 {
  color: var(--navy);

  font-size: 1.25rem;

  font-weight: 800;

  margin: 14px 0 12px;
}

.notice-modal-body p {
  color: var(--text-muted);

  font-size: .92rem;

  line-height: 1.7;

  margin: 0;
}


/* =========================================================
   MOBILE LIGHTBOX
========================================================= */

@media (max-width: 900px) {

  .lightbox {
    padding: 30px 20px;
  }

  .lightbox-box {
    width: min(700px, 94vw);

    grid-template-columns:
      280px
      minmax(0, 1fr);

    gap: 28px;
  }

  .lightbox-left {
    width: 280px;
  }

  .lightbox-main-image {
    width: 280px !important;
    height: 280px !important;
  }

  .lightbox-title {
    font-size: 1.25rem;
  }

  .lightbox-description,
  .lightbox-desc {
    font-size: .9rem;

    line-height: 1.65;
  }
}


/* =========================================================
   SMALL MOBILE LIGHTBOX
========================================================= */

@media (max-width: 650px) {

  .lightbox {
    padding: 70px 20px 30px;

    overflow-y: auto;

    align-items: flex-start;
  }

  .lightbox-box {
    width: 100%;

    max-height: none;

    display: flex !important;

    flex-direction: column;

    gap: 22px;

    align-items: center;

    margin: auto 0;
  }

  .lightbox-left {
    width: 100%;
  }

  .lightbox-main-image {
    width: min(300px, 80vw) !important;

    height: min(300px, 80vw) !important;

    max-height: none !important;
  }

  .lightbox-person {
    margin-top: 14px;

    margin-bottom: 0;
  }

  .lightbox-description-box {
    width: 100%;

    max-width: 500px;

    text-align: center;
  }

  .lightbox-description,
  .lightbox-desc {
    font-size: .88rem;

    line-height: 1.6;
  }

  .lightbox-close {
    top: 16px;

    right: 16px;
  }

  .lightbox-nav {
    width: 42px;

    height: 42px;
  }

  .lightbox-nav--prev {
    left: 12px;
  }

  .lightbox-nav--next {
    right: 12px;
  }
}

/* =========================================================
   LIGHTBOX — TEXT CENTER BELOW IMAGE
========================================================= */

.lightbox-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.lightbox-person {
    width: 100%;
    text-align: center;
    margin: 18px 0 0;
}

.lightbox-title {
    text-align: center;
}

.lightbox-role {
    text-align: center;
}

.lightbox-description,
.lightbox-desc,
#lightboxDescription {
    text-align: center;
}

/* =========================================================
   LIGHTBOX — FACILITY NAME FORCE CENTER
========================================================= */

#lightboxPerson {
    width: 100% !important;
    text-align: center !important;
    display: block !important;
}

#lightboxPerson * {
    text-align: center !important;
}

#lightboxPerson .lightbox-title,
#lightboxPerson .lightbox-role {
    width: 100% !important;
    text-align: center !important;
    display: block !important;
}

/* =========================================================
   LIGHTBOX — FACILITY NAME + ROLE FORCE CENTER
========================================================= */

.lightbox-left,
.lightbox-person,
#lightboxPerson {
    text-align: center !important;
}

.lightbox-person {
    width: 100% !important;
    display: block !important;
}

.lightbox-title,
#lightboxTitle,
#lightboxPerson h1,
#lightboxPerson h2,
#lightboxPerson h3,
#lightboxPerson h4,
#lightboxPerson span {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.lightbox-role,
#lightboxRole {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
}

/* Description */
.lightbox-description-box,
.lightbox-description,
.lightbox-desc,
#lightboxDescription {
    text-align: center !important;
}

/* ==========================================================
   Academic Calendar — 2 Column Grid
   ========================================================== */

/* ==========================================================
   Academic Calendar — 2 Column Grid (UPDATED — Premium Showcase)
   ========================================================== */

.calendar-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 520px));
	justify-content: center;
	gap: 40px;
}

.calendar-item {
	background: linear-gradient(160deg, #ffffff 0%, #f4f6f9 100%);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(13, 33, 73, 0.12);
	padding: 28px 28px 10px;
	transition: transform 400ms ease, box-shadow 400ms ease;
}

.calendar-item:hover {
	transform: translateY(-6px);
	box-shadow: 0 28px 60px rgba(13, 33, 73, 0.18);
}

.calendar-item-image {
	text-align: center;
}

.calendar-item-image img {
	width: 100%;
	max-width: 460px;
	height: auto;
	display: inline-block;
	border-radius: 12px;
	box-shadow: 0 25px 55px rgba(13, 33, 73, 0.2);
	border: 5px solid #ffffff;
	outline: 3px solid rgba(245, 124, 32, 0.25);
	outline-offset: 6px;
}

.calendar-item-body {
	padding: 22px 10px 22px;
	text-align: center;
}

.calendar-item-body h3 {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	color: #1a2c4e;
	letter-spacing: 0.5px;
}

.calendar-item-body h3::after {
	content: "";
	display: block;
	width: 50px;
	height: 3px;
	background: #f57c20;
	margin: 12px auto 0;
	border-radius: 2px;
}

.calendar-item-image a {
	display: inline-block;
	cursor: zoom-in;
}

/* Subtle "click to zoom" hint */
.calendar-item-image::after {
	content: "🔍 Click to view full size";
	display: block;
	margin-top: 14px;
	font-size: 12px;
	font-weight: 600;
	color: #8a93a3;
	letter-spacing: 0.3px;
}
/* ==========================================================
   Lightbox (click image to open, with zoom controls)
   ========================================================== */

.calendar-lightbox-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.85);
	z-index: 9999;
	align-items: center;
	justify-content: center;
}

.calendar-lightbox-overlay.active {
	display: flex;
}

.calendar-lightbox-image-wrap {
	max-width: 90vw;
	max-height: 85vh;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.calendar-lightbox-image-wrap img {
	max-width: 90vw;
	max-height: 85vh;
	transform-origin: center center;
	cursor: zoom-in;
	user-select: none;
	-webkit-user-drag: none;
}

.calendar-lightbox-toolbar {
	position: fixed;
	top: 20px;
	right: 20px;
	display: flex;
	gap: 10px;
	z-index: 10000;
}

.lightbox-btn {
	width: 42px;
	height: 42px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 16px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}

.lightbox-btn:hover {
	background: rgba(255, 255, 255, 0.3);
}

.lightbox-close {
	background: rgba(255, 60, 60, 0.7);
}

.lightbox-close:hover {
	background: rgba(255, 60, 60, 0.9);
}

/* =========================================================
   TEAM LIGHTBOX ONLY
   Does NOT affect Facility / Gallery / Calendar
========================================================= */

#lightbox.team-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;
    background: rgba(7, 17, 38, 0.88);
}


/* MAIN TEAM MODAL */

#lightbox.team-lightbox .lightbox-content {
    position: relative;
    width: min(1095px, 92vw);
    min-height: 620px;
    max-height: 85vh; 
    min-height: 0;         
    overflow-y: auto;  

    display: grid;
    grid-template-columns: 48% 52%;
    align-items: center;

    background: #101d31;
    border-radius: 15px;

    padding: 68px 65px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.45);
}


/* TEAM IMAGE */

#lightbox.team-lightbox #lightboxImg {
    width: 100%;
    max-width: 385px;
    height: 100%;

    object-fit: cover;

    display: block;
    margin: 0 auto;

    border-radius: 20px;
}


/* CAPTION AREA */

#lightbox.team-lightbox #lightboxCaption {
    text-align: center;

    padding: 20px 25px;

    color: #ffffff;
}


/* TEAM NAME */

#lightbox.team-lightbox .lightbox-title {
    display: block;

    font-size: 30px;
    line-height: 1.2;

    font-weight: 800;

    color: #ffffff;

    margin-bottom: 10px;
}


/* DESIGNATION */

#lightbox.team-lightbox .lightbox-role {
    display: block;

    font-size: 17px;
    font-weight: 700;

    color: #f57c20;

    text-transform: uppercase;

    margin-bottom: 42px;

    position: relative;
}


/* ORANGE LINE UNDER DESIGNATION */

#lightbox.team-lightbox .lightbox-role::after {
    content: "";

    display: block;

    width: 80px;
    height: 2px;

    margin: 20px auto 0;

    background: #f57c20;
}


/* DESCRIPTION */

#lightbox.team-lightbox .lightbox-desc {
    display: block;

    font-size: 18px;
    line-height: 1.9;

    color: #e6e9ef;

    text-align: left;
}


/* CLOSE BUTTON */

#lightbox.team-lightbox #lightboxClose {
    position: absolute;

    top: 15px;
    right: 15px;

    width: 48px;
    height: 48px;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.10);

    color: #ffffff;

    font-size: 30px;
    line-height: 1;

    cursor: pointer;

    z-index: 10;
}


/* LEFT / RIGHT ARROWS */

#lightbox.team-lightbox #lightboxPrev,
#lightbox.team-lightbox #lightboxNext {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    width: 56px;
    height: 56px;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.12);

    color: #ffffff;

    font-size: 34px;

    cursor: pointer;

    z-index: 10;
}


/* LEFT ARROW */

#lightbox.team-lightbox #lightboxPrev {
    left: 0;
    transform: translate(-50%, -50%);
}


/* RIGHT ARROW */

#lightbox.team-lightbox #lightboxNext {
    right: 0;
    transform: translate(50%, -50%);
}


/* HOVER */

#lightbox.team-lightbox #lightboxClose:hover,
#lightbox.team-lightbox #lightboxPrev:hover,
#lightbox.team-lightbox #lightboxNext:hover {
    background: #f57c20;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    #lightbox.team-lightbox {
        padding: 20px;
    }

    #lightbox.team-lightbox .lightbox-content {
        width: 95vw;
        min-height: auto;

        grid-template-columns: 1fr;

        padding: 55px 25px 35px;
    }

    #lightbox.team-lightbox #lightboxImg {
        width: 240px;
        height: 300px;

        margin-bottom: 25px;
    }

    #lightbox.team-lightbox .lightbox-title {
        font-size: 23px;
    }

    #lightbox.team-lightbox .lightbox-desc {
        font-size: 16px;
        line-height: 1.7;
        text-align: center;
    }

    #lightbox.team-lightbox #lightboxPrev {
        left: 5px;
    }

    #lightbox.team-lightbox #lightboxNext {
        right: 5px;
    }

}
/* Lightbox khule hone par page scroll band, aur header hamesha neeche rahe */
body.lightbox-open {
	overflow: hidden;
}

body.lightbox-open .site-header {
	z-index: 1 !important;
}

/* =========================================================
   RULES & REGULATIONS — ACCORDION
========================================================= */
.req-list .req-item {
	display: block;   /* purani .req-list li wali flex layout ko yahan override karta hai */
	list-style: none;
}
.req-item-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
	background: none;
	border: none;
	padding: 0;
	font: inherit;
	text-align: left;
	cursor: pointer;
	color: inherit;
}
.req-item-toggle span { flex: 1; }
.req-caret {
	font-size: 14px;
	opacity: .6;
	transition: transform .2s ease;
	flex-shrink: 0;
}
.req-item.is-open .req-caret { transform: rotate(180deg); }
.req-item-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height .3s ease;
}
.req-item.is-open .req-item-content { margin-top: 10px; }
.req-item-content p { margin: 0 0 10px; line-height: 1.7; }

.rules-empty-state {
	color: #767676;
	font-style: italic;
	margin-bottom: 0;
}

.rules-declaration { border-top: 2px solid #e2e2e2; padding-top: 30px; margin-top: 40px; }
.rules-declaration h2 { margin-bottom: 6px; }
.rules-declaration p { line-height: 1.8; margin: 0 0 12px; }

/* ==========================================================
   ROSE STUDENTS — MAIN LAYOUT
========================================================== */

.rose-students-grid {
    display: block;
    width: 100%;
}


/* ==========================================================
   HEAD BOY / HEAD GIRL
========================================================== */

.rose-head-students {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 55px;
    width: 100%;
    margin: 0 auto 60px;
}

.rose-head-student-item {
    width: 280px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.rose-head-student-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}


/* Position Label */

.rose-head-student-position {
    padding: 15px 10px 12px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #1a2c4e;
}


/* Head Student Image */

.rose-head-student-item .rose-lightbox-trigger {
    display: block;
    cursor: zoom-in;
}

.rose-head-student-item img {
   width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
   
}


/* Head Student Name */

.rose-head-student-item h3 {
    margin: 0;
    padding: 14px 12px;
    font-size: 18px;
    font-weight: 700;
    color: #1a2c4e;
}


/* ==========================================================
   NORMAL ROSE STUDENTS
========================================================== */

.rose-normal-students {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}


/* Normal Student Card */

.rose-normal-students .rose-student-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: transform 300ms ease, box-shadow 300ms ease;
    text-align: center;
}

.rose-normal-students .rose-student-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}


/* Normal Student Image */

.rose-normal-students .rose-student-item a {
    display: block;
    cursor: zoom-in;
}

.rose-normal-students .rose-student-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}


/* Normal Student Name */

.rose-normal-students .rose-student-item h3 {
    margin: 0;
    padding: 14px 12px;
    font-size: 16px;
    font-weight: 700;
    color: #1a2c4e;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1024px) {

    .rose-normal-students {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* ==========================================================
   MOBILE / TABLET
========================================================== */

@media (max-width: 768px) {

    .rose-head-students {
        gap: 25px;
    }

    .rose-head-student-item {
        width: 240px;
    }

    .rose-head-student-item img {
        height: 320px;
    }

    .rose-normal-students {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 480px) {

    .rose-head-students {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .rose-head-student-item {
        width: 85%;
        max-width: 280px;
    }

    .rose-head-student-item img {
        height: auto;
    }

    .rose-normal-students {
        grid-template-columns: 1fr;
        gap: 20px;
    }

}


/* ==========================================================
   Rose Students — Lightbox Popup
   ========================================================== */

.rose-lightbox-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.88);
	z-index: 99999;
	align-items: center;
	justify-content: center;
	padding: 30px;
}

.rose-lightbox-overlay.active {
	display: flex;
}

.rose-lightbox-overlay img {
	max-width: 90vw;
	max-height: 88vh;
	border-radius: 8px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	animation: roseLightboxIn 250ms ease;
}

@keyframes roseLightboxIn {
	from {
		opacity: 0;
		transform: scale(0.92);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.rose-lightbox-close {
	position: fixed;
	top: 24px;
	right: 28px;
	width: 46px;
	height: 46px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 18px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 200ms ease, transform 200ms ease;
}

.rose-lightbox-close:hover {
	background: #f57c20;
	transform: rotate(90deg);
}

.rose-lightbox-nav {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	width: 52px;
	height: 52px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 200ms ease, transform 200ms ease;
	z-index: 100000;
}

.rose-lightbox-nav:hover {
	background: #f57c20;
	transform: translateY(-50%) scale(1.08);
}

.rose-lightbox-prev {
	left: 24px;
}

.rose-lightbox-next {
	right: 24px;
}

@media (max-width: 600px) {
	.rose-lightbox-nav {
		width: 42px;
		height: 42px;
		font-size: 16px;
	}
	.rose-lightbox-prev {
		left: 10px;
	}
	.rose-lightbox-next {
		right: 10px;
	}
}


/* ==========================================================
   Alumni — Rich Lightbox
   ========================================================== */

.alumni-lightbox-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(9, 17, 36, 0.9);
	z-index: 99999;
	align-items: center;
	justify-content: center;
	padding: 30px;
}

.alumni-lightbox-overlay.active {
	display: flex;
}

.alumni-lightbox-content {
	position: relative;
	width: min(760px, 92vw);
	max-height: 85vh;
	overflow-y: auto;
	background: #101d31;
	border-radius: 14px;
	display: grid;
	grid-template-columns: 280px 1fr;
	box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
}

.alumni-lightbox-image-wrap {
	background: #0b1526;
}

.alumni-lightbox-image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	min-height: 280px;
}

.alumni-lightbox-info {
	padding: 34px 32px;
	color: #fff;
}

.alumni-lightbox-info h3 {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 800;
}

.alumni-lightbox-profession {
	display: block;
	color: #f57c20;
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 2px;
}

.alumni-lightbox-organization {
	display: block;
	color: #cbd2e0;
	font-size: 13px;
	margin-bottom: 14px;
}

.alumni-lightbox-achievement {
	display: none;
	background: rgba(245, 124, 32, 0.15);
	color: #f5b47a;
	font-size: 12px;
	font-weight: 700;
	padding: 5px 12px;
	border-radius: 20px;
	margin-bottom: 16px;
}

.alumni-lightbox-achievement.has-content {
	display: inline-block;
}

.alumni-lightbox-message {
	color: #e6e9ef;
	font-size: 14px;
	line-height: 1.8;
	margin: 0;
}

.alumni-lightbox-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 16px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 5;
	transition: background 200ms ease, transform 200ms ease;
}

.alumni-lightbox-close:hover {
	background: #f57c20;
	transform: rotate(90deg);
}

.alumni-lightbox-nav {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 18px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	transition: background 200ms ease, transform 200ms ease;
}

.alumni-lightbox-nav:hover {
	background: #f57c20;
	transform: translateY(-50%) scale(1.08);
}

.alumni-lightbox-prev {
	left: 24px;
}

.alumni-lightbox-next {
	right: 24px;
}

@media (max-width: 700px) {

	.alumni-lightbox-content {
		grid-template-columns: 1fr;
	}

	.alumni-lightbox-image-wrap img {
		min-height: 220px;
	}

	.alumni-lightbox-nav {
		width: 40px;
		height: 40px;
		font-size: 15px;
	}

	.alumni-lightbox-prev {
		left: 10px;
	}

	.alumni-lightbox-next {
		right: 10px;
	}
}

/* ==========================================================
   Proud Students — Rich Lightbox
   ========================================================== */

.proud-lightbox-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(9, 17, 36, 0.9);
	z-index: 99999;
	align-items: center;
	justify-content: center;
	padding: 30px;
}

.proud-lightbox-overlay.active {
	display: flex;
}

.proud-lightbox-content {
	position: relative;
	width: min(760px, 92vw);
	max-height: 85vh;
	overflow-y: auto;
	background: #101d31;
	border-radius: 14px;
	display: grid;
	grid-template-columns: 280px 1fr;
	box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
}

.proud-lightbox-image-wrap {
	background: #0b1526;
}

.proud-lightbox-image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	min-height: 280px;
}

.proud-lightbox-info {
	padding: 34px 32px;
	color: #fff;
}

.proud-lightbox-badge {
	display: none;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 5px 12px;
	border-radius: 20px;
	margin-bottom: 14px;
}

.proud-lightbox-badge.has-content {
	display: inline-block;
}

.proud-lightbox-info h3 {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 800;
}

.proud-lightbox-class {
	display: block;
	color: #cbd2e0;
	font-size: 13px;
	margin-bottom: 14px;
}

.proud-lightbox-achievement {
	display: none;
	color: #f57c20;
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 14px;
}

.proud-lightbox-achievement.has-content {
	display: block;
}

.proud-lightbox-description {
	color: #e6e9ef;
	font-size: 14px;
	line-height: 1.8;
	margin: 0;
}

.proud-lightbox-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 16px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 5;
	transition: background 200ms ease, transform 200ms ease;
}

.proud-lightbox-close:hover {
	background: #f57c20;
	transform: rotate(90deg);
}

.proud-lightbox-nav {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 18px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	transition: background 200ms ease, transform 200ms ease;
}

.proud-lightbox-nav:hover {
	background: #f57c20;
	transform: translateY(-50%) scale(1.08);
}

.proud-lightbox-prev {
	left: 24px;
}

.proud-lightbox-next {
	right: 24px;
}

@media (max-width: 700px) {

	.proud-lightbox-content {
		grid-template-columns: 1fr;
	}

	.proud-lightbox-image-wrap img {
		min-height: 220px;
	}

	.proud-lightbox-nav {
		width: 40px;
		height: 40px;
		font-size: 15px;
	}

	.proud-lightbox-prev {
		left: 10px;
	}

	.proud-lightbox-next {
		right: 10px;
	}
}

/* =========================================================
   MISSION & VISION PAGE
========================================================= */
.mv-block {
	display: flex;
	align-items: flex-start;
	gap: 48px;
	margin-bottom: 55px;
}
.mv-block:last-child { margin-bottom: 0; }

.mv-block--full { display: block; }
.mv-block--full .mv-content { max-width: 100%; }

.mv-content {
	flex: 1;
	min-width: 0;
	text-align: left;
}

.mv-heading {
	display: block;
	font-size: 34px;
	font-weight: 700;
	color: #0d2149;
	margin: 0 0 10px;
	line-height: 1.2;
	text-align: left;
  padding-left: none;
}

.mv-line {
	display: block;
	width: 240px;
	height: 7px;
	background: linear-gradient(90deg, #f57c20 0%, #f57c20 22%, #0d2149 22%, #0d2149 100%);
	clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
	margin: 0 0 20px;
}

.mv-text p {
	line-height: 1.75;
	margin: 0 0 16px;
	color: #555;
	font-size: 15.5px;
  text-align: justify;
  hyphens: auto;             
	-webkit-hyphens: auto; 
}


.mv-media {
	flex: 0 0 40%;
	border-radius: 14px;
	overflow: hidden;
	align-self: flex-start;
}
.mv-media img {
	width: 100%;
	height: auto;
	display: block;
}

@media (max-width: 820px) {
	.mv-block { flex-direction: column; }
	.mv-media { width: 100%; flex: none; }
}


/* ===========================
   Photo Gallery
=========================== */
.pg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
}

.pg-card {
  display: block;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(13, 33, 73, 0.08);
  transition: transform 400ms ease, box-shadow 400ms ease;
}

.pg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(13, 33, 73, 0.16);
}

.pg-thumb {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
  background-color: var(--navy-soft);
}

.pg-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 350ms ease;
}

.pg-card:hover .pg-thumb img {
  transform: scale(1.06);
}

.pg-noimg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.8rem;
  background: var(--navy-soft);
}

.pg-title {
  padding: 16px 18px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}

.pg-empty {
  text-align: center;
  grid-column: 1 / -1;
  color: var(--text-muted);
}

/* Back Link — matched with album-back */
.pg-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-dark);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 20px;
  text-decoration: none;
  transition: gap 250ms ease;
}

.pg-back-link:hover {
  gap: 14px;
}

/* ==========================================================
   Photo Gallery — Whole Card Pop-out Hover Effect (inner photos)
   ========================================================== */

.pg-photos-grid .rose-student-item {
	border-radius: 8px;
	transition: transform 0.4s ease, box-shadow 0.4s ease;
	will-change: transform;
	position: relative;
}

.pg-photos-grid .rose-student-item:hover {
	transform: scale(1.12);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
	z-index: 10;
}

.pg-photos-grid .rose-student-item .rose-lightbox-trigger {
	display: block;
	overflow: hidden;
	border-radius: 8px;
	cursor: pointer;
}

.pg-photos-grid .rose-student-item .rose-lightbox-trigger img {
	width: 100%;
	height: auto;
	display: block;
}

/* ==========================================================
   Video Gallery — YouTube Embed
   ========================================================== */

.video-embed-wrap {
	position: relative;
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(13, 33, 73, 0.2);
}

.video-embed-wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ==========================================================
   Video Gallery — Multiple Videos Grid
   ========================================================== */

.video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 30px;
}

.video-grid .video-embed-wrap {
	max-width: 100%;
	margin: 0;
}

/* ==========================================================
   Video Gallery — Thumbnail Grid + Lightbox
   ========================================================== */

.video-thumb-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 25px;
}

.video-thumb-card {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	cursor: pointer;
	aspect-ratio: 16 / 9;
	box-shadow: 0 10px 26px rgba(13, 33, 73, 0.12);
	transition: transform 350ms ease, box-shadow 350ms ease;
}

.video-thumb-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 18px 36px rgba(13, 33, 73, 0.2);
}

.video-thumb-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.video-play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: rgba(245, 124, 32, 0.92);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	transition: transform 300ms ease, background 300ms ease;
}

.video-thumb-card:hover .video-play-icon {
	transform: translate(-50%, -50%) scale(1.1);
	background: var(--orange-dark, #d9650f);
}

/* Lightbox Overlay */
.video-lightbox-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);
	z-index: 99999;
	align-items: center;
	justify-content: center;
	padding: 30px;
}

.video-lightbox-overlay.active {
	display: flex;
}

.video-lightbox-frame-wrap {
	width: min(900px, 90vw);
	aspect-ratio: 16 / 9;
}

.video-lightbox-frame-wrap iframe {
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 10px;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.video-lightbox-close {
	position: fixed;
	top: 24px;
	right: 28px;
	width: 46px;
	height: 46px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 18px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 200ms ease, transform 200ms ease;
}

.video-lightbox-close:hover {
	background: #f57c20;
	transform: rotate(90deg);
}

/* ==========================================================
   Principal Message — Text Wrap Around Image
   (Sirf is page ke liye — baaki Mission/Core Values/Rules
   pages is se affect nahi hongi)
   ========================================================== */

.principal-message-page .mv-block {
	display: block;
	overflow: hidden;
}

#about .welcome-heading {
	font-size: 24px;
}

#about .principal-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
  transform: scaleX(-1);
}

.principal-message-page .mv-media {
	float: right;
	width: 42%;
	
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 14px;
}

.principal-message-page .mv-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
	display: block;
	border-radius: 14px;
	box-shadow: 0 20px 45px rgba(13, 33, 73, 0.18);
	border: 4px solid #ffffff;
	outline: 3px solid rgba(245, 124, 32, 0.2);
	outline-offset: 5px;
}

.principal-message-page .mv-content {
	display: block;
}

.principal-message-page .mv-heading,
.principal-message-page .mv-line {
	display: block;
}

.principal-message-page .mv-text {
	overflow: visible;
}

.principal-message-page .mv-text p {
	margin: 0 0 16px;
}

/* Agar image na ho to poori width normal tarike se */
.principal-message-page .mv-block--full .mv-content {
	width: 100%;
}

@media (max-width: 768px) {

	.principal-message-page .mv-media {
		float: none;
		width: 100%;
		margin: 0 0 20px;
	}
}


/* ==========================================================
   FACILITY / GALLERY LIGHTBOX — PREMIUM DARK STYLE
   (Targets the ACTUAL markup: .lightbox-content figure +
   #lightboxImg + #lightboxCaption)
   Scoped with :not(.team-lightbox) so Team lightbox is
   completely untouched.
   Image now fills the FULL height of the box, edge to edge —
   matching the Alumni lightbox look.
========================================================== */

.lightbox-figure {
	margin: 0;
}

#lightbox:not(.team-lightbox) .lightbox-content {
	position: relative;
	width: min(900px, 92vw);
	max-height: 85vh;
	overflow: hidden;
	overflow-y: auto;
	margin: 0;

	display: grid;
	grid-template-columns: 340px 1fr;

	background: #101d31;
	border-radius: 16px;

	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);

	transform: scale(0.94);
	transition: transform 300ms ease;
}

#lightbox.is-open:not(.team-lightbox) .lightbox-content {
	transform: scale(1);
}

#lightbox:not(.team-lightbox) #lightboxImg {
	width: 100%;
	height: 100%;
	min-height: 340px;
	object-fit: cover;
	display: block;
}

#lightbox:not(.team-lightbox) #lightboxCaption {
	padding: 40px 38px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	color: #ffffff;
	text-align: left !important;
	align-items: flex-start !important;
}

#lightbox:not(.team-lightbox) .lightbox-title {
	display: block;
	font-family: var(--font-heading);
	font-size: 1.6rem;
	font-weight: 800;
	color: #f4f1e8;
	margin: 0 0 12px;
	text-align: left !important;
}

#lightbox:not(.team-lightbox) .lightbox-role {
	display: block;
	color: var(--orange);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .6px;
	text-transform: uppercase;
	margin-bottom: 16px;
	text-align: left !important;
}

#lightbox:not(.team-lightbox) .lightbox-desc {
	display: block;
	color: #b8c2d4;
	font-size: .99rem;
	line-height: 1;
	margin: 0;
	text-align: left !important;
}


/* Mobile — stack image on top, caption below */

@media (max-width: 700px) {

	#lightbox:not(.team-lightbox) .lightbox-content {
		grid-template-columns: 1fr;
		width: min(500px, 94vw);
		max-height: 85vh;
	}

	#lightbox:not(.team-lightbox) #lightboxImg {
		min-height: 220px;
		height: 220px;
	}

	#lightbox:not(.team-lightbox) #lightboxCaption {
		padding: 28px 24px 34px;
		text-align: left !important;
		align-items: flex-start !important;
	}

}

/* ==========================================================
   Photo Gallery — Automatic Year Cover Design
   (Background image is applied via inline style in the PHP
   template — see page-photo-gallery.php. This file only
   handles the 3D glossy year-number text effect.)
   ========================================================== */

.pg-thumb--branded {
	position: relative;
	height: 160px;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pg-year-text {
	position: relative;
	z-index: 2;

	font-family: var(--font-heading);
	font-weight: 800;
	font-size: 40px;
	letter-spacing: 1px;
}

.pg-year-part-a {
	color: #ffffff;
}

.pg-year-part-b {
	color: #29abe2;
}

.pg-year-text::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 10px;
	transform: translateX(-50%);
	width: 110px;
	height: 2px;
	background: linear-gradient(90deg, transparent, #f57c20, transparent);
}