/* ============================================================
  BLDEANACCT — DESIGN TOKENS
   Palette:  Ink Navy #10233F · Deep Blue #1B3B67 · Brass Gold #C89B3C
             Parchment #F6F3EC · Slate Text #3A4356 · Line #E4DFD2
   Type:     'Bitter' (serif) used for both display and body/UI
   Signature: Clipped gold corner on cards + rotating campus seal ring
   ============================================================ */

:root {
  --navy: #003a65;
  --navy-deep: #0a1930;
  --blue: #1b3b67;
  --gold: #fdc72f;
  --gold-light: #fdc72f;
  --gold-deep: #003a65; /* dark navy used for text that sits on light backgrounds */
  --parchment: #f6f3ec;
  --parchment-dark: #efe9d8;
  --ink: #1b2430;
  --slate: #222222;
  --line: #e4dfd2;
  --white: #ffffff;

  --font-display: "Bitter", "Georgia", serif;
  --font-body: "Bitter", "Georgia", serif;

  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  color: var(--slate);
  line-height: 1.75;
}

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

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

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.35s var(--ease),
    color 0.35s var(--ease);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -10px rgba(16, 35, 63, 0.45);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -10px rgba(200, 155, 60, 0.45);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
  padding: 0.8rem 1.6rem;
}
.btn-outline-navy:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-3px);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

/* ---------- Section shell ---------- */
.section {
  padding: 6.5rem 0;
}
.section-heading {
  max-width: 640px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.section-heading.text-start {
  margin: 0 0 1.5rem;
  text-align: left;
}
.section-heading-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.75rem;
}
.eyebrow-line::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
}
.eyebrow-line.light {
  color: var(--gold-light);
}
.section-heading h2,
.section-heading-split h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin: 0;
}

.professors-section {
  background: var(--parchment);
}

/* ============================================================
   TOP BAR + NAVBAR
   ============================================================ */
.top-bar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  padding: 0.55rem 0;
}
.top-bar a,
.top-bar span {
  color: rgba(255, 255, 255, 0.75);
  margin-right: 1.5rem;
}
.top-bar a:hover {
  color: var(--gold-light);
}
.top-bar-social a {
  margin: 0 0 0 1rem;
}
.top-bar-social a:hover {
  color: var(--gold-light);
}

.site-navbar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  z-index: 1030;
}
/* Stack brand row over the menu row */
.site-navbar .navbar {
  flex-direction: column;
  flex-wrap: nowrap;
  padding: 0;
}
.navbar > .navbar-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
@media (min-width: 992px) {
  .navbar > .navbar-brand-row {
    justify-content: center;
    padding-top: 1.35rem;
    padding-bottom: 1.35rem;
  }
}
.navbar-brand {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0;
}
.brand-logo {
  height: 58px;
  width: auto;
  flex-shrink: 0;
}
.brand-name {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--navy);
  text-align: center;
}
@media (min-width: 992px) {
  .navbar-brand {
    gap: 1.6rem;
  }
  .brand-logo {
    height: 76px;
  }
  .brand-name {
    font-size: 1.8rem;
    font-weight: 500;
  }
}
/* Mobile offcanvas brand: single logo, smaller name */
.navbar-brand-mobile .brand-name {
  font-size: 0.95rem;
  text-align: left;
}
.navbar-brand-mobile .brand-logo {
  height: 44px;
}

/* Menu row below the logo */
.navbar-menu-row {
  width: 100%;
  border-top: 1px solid var(--line);
  background-color: #f6c330;
}
.navbar-menu-row .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.navbar-menu-row .navbar-nav {
  flex-direction: row;
}

/* Open dropdowns on hover (desktop) */
@media (min-width: 992px) {
  .navbar-menu-row .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
  .navbar-menu-row .nav-item.dropdown > .dropdown-menu {
    margin-top: 0;
  }
}

/* Mobile: both emblems centered on top, college name centered below */
@media (max-width: 991.98px) {
  .navbar > .navbar-brand-row {
    position: relative;
    justify-content: center;
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
  }
  .navbar-brand-row .navbar-brand {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    max-width: 100%;
    text-align: center;
  }
  .navbar-brand-row .brand-logo {
    height: 54px;
  }
  /* name drops to its own centered line below both logos */
  .navbar-brand-row .brand-name {
    order: 1;
    flex-basis: 100%;
    width: 100%;
    text-align: center;
    font-size: clamp(0.95rem, 4.2vw, 1.25rem);
    line-height: 1.3;
    margin-top: 0.2rem;
  }
  /* hamburger pinned to the corner; still opens the sliding menu */
  .navbar-toggler {
    position: absolute;
    top: 0.9rem;
    right: 0.75rem;
    font-size: 1.6rem;
    line-height: 1;
    padding: 0.2rem 0.45rem;
    z-index: 2;
  }
}

/* Extra-small phones: shrink the emblems a touch more */
@media (max-width: 400px) {
  .navbar-brand-row .brand-logo {
    height: 46px;
  }
  .navbar-brand-row .brand-name {
    font-size: 1rem;
  }
}

.navbar-nav .nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: #0c1c31;
  padding: 0.9rem 0.9rem !important;
  position: relative;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.8rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
}
.navbar-nav .nav-link:hover {
  color: var(--navy);
}
.navbar-nav .nav-link.active {
  background: var(--navy);
  color: var(--white);
  border-radius: 0px;
}
.navbar-nav .nav-link.active::after {
  display: none;
}
/* Keep the full menu on one line on narrower desktops */
.navbar-menu-row .nav-link {
  white-space: nowrap;
}
@media (min-width: 992px) and (max-width: 1399.98px) {
  .navbar-nav .nav-link {
    padding: 0.9rem 0.75rem !important;
  }
  .navbar-nav .nav-link::after {
    left: 0.75rem;
    right: 0.75rem;
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-nav .nav-link {
    font-size: 0.85rem;
    padding: 0.9rem 0.4rem !important;
  }
  .navbar-nav .nav-link::after {
    left: 0.4rem;
    right: 0.4rem;
  }
}
.dropdown-menu {
  border: none;
  border-radius: 10px;
  box-shadow: 0 20px 45px -15px rgba(16, 35, 63, 0.25);
  padding: 0.6rem;
}
.dropdown-item {
  border-radius: 6px;
  padding: 0.55rem 0.9rem;
  font-weight: 500;
  font-size: 0.92rem;
  transition:
    background 0.25s var(--ease),
    padding-left 0.25s var(--ease);
}
.dropdown-item:hover {
  background: var(--parchment);
  color: var(--navy);
  padding-left: 1.15rem;
}
.dropdown-item.active {
  background: var(--parchment);
  color: var(--navy);
  font-weight: 700;
}
.dropdown-item.active:hover {
  color: var(--navy);
}

/* ---------- Mobile offcanvas menu ---------- */
.mobile-offcanvas {
  width: 300px;
  max-width: 85vw;
}
.mobile-offcanvas .offcanvas-header {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 1.25rem;
}
.mobile-offcanvas .offcanvas-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.mobile-offcanvas .offcanvas-body {
  padding: 0.5rem 0;
}

.mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-menu-item {
  border-bottom: 1px solid var(--line);
}
.mobile-menu-item:last-child {
  border-bottom: none;
}
.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--navy);
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease);
}
.mobile-menu-link:hover,
.mobile-menu-link:focus {
  background: var(--parchment);
  color: var(--navy);
}
.mobile-menu-link.active {
  background: var(--gold);
  color: var(--navy-deep);
}
.mobile-menu-link i {
  font-size: 0.8rem;
  color: var(--gold);
  transition: transform 0.3s var(--ease);
}
/* Rotate chevron when the item is open */
.mobile-menu-item.open > .mobile-menu-link i {
  transform: rotate(180deg);
}

/* Sub-items: collapsed by default, expand on click */
.mobile-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(0, 58, 101, 0.03);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.mobile-menu-item.open > .mobile-submenu {
  max-height: 30rem;
}
.mobile-submenu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem 0.55rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  transition:
    color 0.25s var(--ease),
    padding-left 0.25s var(--ease);
}
.mobile-submenu a i {
  font-size: 0.65rem;
  color: var(--gold);
}
.mobile-submenu a:hover {
  color: var(--navy);
  padding-left: 2.1rem;
}
.mobile-submenu a.active {
  color: var(--navy);
  font-weight: 700;
}
.mobile-submenu a.active i {
  color: var(--navy);
}

.back-to-top {
  position: fixed;
  right: 1.75rem;
  bottom: 1.75rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px -8px rgba(16, 35, 63, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s var(--ease);
  z-index: 1040;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
  position: relative;
}
.hero-slide {
  min-height: 92vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 25, 48, 0.92) 15%,
    rgba(10, 25, 48, 0.72) 50%,
    rgba(10, 25, 48, 0.5) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 8rem 0 6rem;
}
.hero-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200, 155, 60, 0.14);
  border: 1px solid rgba(200, 155, 60, 0.4);
  color: var(--gold-light);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}
.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  line-height: 1.12;
  margin-bottom: 1.25rem;
}
.hero-content h1 span {
  color: var(--gold-light);
  font-style: italic;
}
.hero-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
  margin-bottom: 2.25rem;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s var(--ease);
}
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 1;
}
.carousel-control-prev:hover .hero-nav-btn,
.carousel-control-next:hover .hero-nav-btn {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
  transform: scale(1.08);
}
.hero-indicators {
  bottom: 6rem;
}
.hero-indicators [data-bs-target] {
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  border: none;
  transition: background 0.3s var(--ease);
}
.hero-indicators .active {
  background: var(--gold);
}

.stats-strip {
  position: relative;
  margin-top: -4.5rem;
  z-index: 3;
}
.stats-strip .row {
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(16, 35, 63, 0.5);
  overflow: hidden;
}
.stat-item {
  text-align: center;
  padding: 2.1rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s var(--ease);
}
.stat-item:hover {
  background: rgba(200, 155, 60, 0.1);
}
.col-6:nth-child(4n) .stat-item,
.col-lg-3:last-child .stat-item {
  border-right: none;
}
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
}
.stat-label {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* ============================================================
   ACADEMICS / FACULTY CARDS
   ============================================================ */
.academics-section {
  background: var(--white);
  padding-top: 8.5rem;
}
.faculty-card {
  position: relative;
  background: var(--parchment);
  border-radius: var(--radius);
  padding: 2.5rem 2rem 2rem;
  height: 100%;
  overflow: hidden;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    background 0.4s var(--ease);
}
.faculty-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 46px 46px 0;
  border-color: transparent var(--gold) transparent transparent;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.faculty-card:hover::before {
  opacity: 1;
}
.faculty-card:hover {
  transform: translateY(-10px);
  background: var(--navy);
  box-shadow: 0 30px 50px -18px rgba(16, 35, 63, 0.4);
}
.faculty-card:hover h5,
.faculty-card:hover p,
.faculty-card:hover .faculty-links a {
  color: rgba(255, 255, 255, 0.85);
}
.faculty-card:hover .faculty-links a:hover {
  color: var(--gold-light);
}
.faculty-icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  transition:
    transform 0.4s var(--ease),
    background 0.4s var(--ease),
    color 0.4s var(--ease);
}
.faculty-card:hover .faculty-icon {
  background: var(--gold);
  color: var(--navy-deep);
  transform: rotate(-8deg) scale(1.05);
}
.faculty-card h5 {
  margin-bottom: 0.6rem;
  transition: color 0.35s var(--ease);
}
.faculty-card p {
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
  transition: color 0.35s var(--ease);
}
.faculty-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.faculty-links li {
  margin-bottom: 0.5rem;
}
.faculty-links a {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition:
    color 0.3s var(--ease),
    gap 0.3s var(--ease);
}
.faculty-links a:hover {
  gap: 0.65rem;
  color: var(--gold);
}
.faculty-card-arrow {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(16, 35, 63, 0.06);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: all 0.35s var(--ease);
}
.faculty-card:hover .faculty-card-arrow {
  opacity: 1;
  transform: translate(0, 0);
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold-light);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section {
  background: var(--parchment);
}
.about-media {
  position: relative;
  padding-bottom: 2rem;
  padding-right: 2.5rem;
}
.about-img-main {
  border-radius: var(--radius);
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.about-img-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid var(--white);
  box-shadow: 0 20px 40px -12px rgba(16, 35, 63, 0.3);
}
.about-stat-badge {
  position: absolute;
  top: 1.5rem;
  left: -1.5rem;
  background: var(--gold);
  color: var(--navy-deep);
  border-radius: 50%;
  width: 130px;
  height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 20px 35px -10px rgba(200, 155, 60, 0.5);
  animation: spin-slow 22s linear infinite;
}
.about-stat-badge strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  animation: spin-counter 22s linear infinite;
}
.about-stat-badge span {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0 1rem;
  line-height: 1.2;
  margin-top: 0.25rem;
  animation: spin-counter 22s linear infinite;
}
@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}
@keyframes spin-counter {
  to {
    transform: rotate(-360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .about-stat-badge,
  .about-stat-badge strong,
  .about-stat-badge span {
    animation: none;
  }
}

.about-text {
  font-size: 1.02rem;
}
.about-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}
.about-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--line);
}
.about-features li i {
  color: var(--gold);
  font-size: 1.1rem;
}

/* ============================================================
   INSIDE MERIDIAN — admission card, notice board, program tiles
   ============================================================ */
.inside-section {
  background: var(--navy);
  background-image: radial-gradient(
    circle at 88% 8%,
    rgba(200, 155, 60, 0.18),
    transparent 50%
  );
  padding-top: 5rem;
  padding-bottom: 6.5rem;
}
/* Left column stretches so the notice board bottom lines up with the image grid */
.inside-section .inside-left {
  display: flex;
  flex-direction: column;
}
.inside-section .inside-left .notice-board {
  flex: 1 1 auto;
}
.inside-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.inside-header h2 {
  color: var(--white);
  margin: 0;
}
.inside-header .eyebrow-line {
  margin-bottom: 0.6rem;
}
.inside-header .eyebrow-line i {
  margin-right: 0.15rem;
}

.inside-tabs {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.inside-tab {
  background: none;
  border: none;
  padding: 0 0 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
  transition: color 0.3s var(--ease);
}
.inside-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.inside-tab:hover {
  color: rgba(255, 255, 255, 0.85);
}
.inside-tab.active {
  color: var(--gold-light);
}
.inside-tab.active::after {
  transform: scaleX(1);
}

/* Admission card */
.admission-counter {
  background: var(--navy-deep);
  background-image: radial-gradient(
    circle at 90% 10%,
    rgba(200, 155, 60, 0.25),
    transparent 55%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 2.25rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.admission-counter:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 155, 60, 0.4);
}
.admission-seal {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(200, 155, 60, 0.12);
  border: 1.5px solid rgba(200, 155, 60, 0.4);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.admission-avatars {
  display: flex;
  margin-bottom: 1.1rem;
}
.admission-avatars img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--navy-deep);
  margin-right: -12px;
  transition: transform 0.3s var(--ease);
}
.admission-avatars img:hover {
  transform: translateY(-4px);
  z-index: 2;
}
.admission-counter h3 {
  color: var(--white);
  font-size: 2rem;
  margin: 0 0 0.15rem;
}
.admission-counter p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Notice board */
.notice-board {
  background: var(--parchment);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
}
.notice-board-head h5 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  color: var(--navy);
}
.notice-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}
.notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.notice-list li {
  border-bottom: 1px solid var(--line);
}
.notice-list li:last-child {
  border-bottom: none;
}
.notice-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.05rem 0.5rem;
  border-radius: 10px;
  transition:
    background 0.3s var(--ease),
    padding-left 0.3s var(--ease);
}
.notice-list a:hover {
  background: var(--white);
  padding-left: 1rem;
}
.notice-title {
  display: block;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}
.notice-meta {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--slate);
  font-size: 0.78rem;
  margin-top: 0.3rem;
}
.notice-list a > i {
  color: var(--gold);
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}
.notice-list a:hover > i {
  opacity: 1;
  transform: translate(0, 0);
}

/* Program image grid — equal-height 2x2 that matches the left column */
.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 1.5rem;
  height: 100%;
}
@media (max-width: 575.98px) {
  .program-grid {
    grid-template-columns: 1fr;
  }
}

/* Program image tiles */
.program-tile {
  position: relative;
  display: block;
  height: 100%;
  min-height: 288px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-style: solid;
  border-width: 6px 6px 6px 6px;
  border-color: #194e74;
}

.program-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(10, 25, 48, 0.92) 0%,
    rgba(10, 25, 48, 0.25) 55%,
    rgba(10, 25, 48, 0.15) 100%
  );
  transition: background 0.4s var(--ease);
}
.program-tile-title {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.3rem;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.35;
  transition: transform 0.4s var(--ease);
}
.program-tile-arrow {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(-6px, 6px) scale(0.9);
  transition: all 0.35s var(--ease);
}
.program-tile:hover .program-tile-overlay {
  background: linear-gradient(
    0deg,
    rgba(200, 155, 60, 0.85) 0%,
    rgba(10, 25, 48, 0.35) 60%,
    rgba(10, 25, 48, 0.1) 100%
  );
}
.program-tile:hover .program-tile-title {
  transform: translateY(-4px);
}
.program-tile:hover .program-tile-arrow {
  opacity: 1;
  transform: translate(0, 0) scale(1);
  background: var(--navy-deep);
  color: var(--gold-light);
}

/* ============================================================
   EVENTS
   ============================================================ */
/* .events-section {
  background: var(--parchment);
} */
.event-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  box-shadow: 0 10px 30px -18px rgba(16, 35, 63, 0.25);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 45px -18px rgba(16, 35, 63, 0.35);
}
.event-card-img {
  position: relative;
  overflow: hidden;
  height: 240px;
}
.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.event-card:hover .event-card-img img {
  transform: scale(1.1);
}
.event-date-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}
.event-card-body {
  padding: 1.4rem;
}
.event-time {
  display: block;
  font-size: 0.78rem;
  color: var(--gold-deep);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.event-card-body h6 {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 0.6rem;
}
.event-card-body h6 a {
  color: var(--navy);
  transition: color 0.3s var(--ease);
}
.event-card-body h6 a:hover {
  color: var(--gold-deep);
}
.event-venue {
  font-size: 0.8rem;
  color: var(--slate);
}

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial-section {
  background: var(--navy);
  background-image: radial-gradient(
    circle at 15% 20%,
    rgba(200, 155, 60, 0.12),
    transparent 45%
  );
}
.testimonial-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
}
.testimonial-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--gold);
}
.testimonial-quote-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
}
.testimonial-card h6 {
  color: var(--gold-light);
  margin: 1.25rem 0 0.1rem;
}
.testimonial-card span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}
.testimonial-indicators {
  position: static;
  margin-top: 2rem;
}
.testimonial-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  border: none;
}
.testimonial-indicators .active {
  background: var(--gold);
}

/* ============================================================
   CAMPUS LIFE
   ============================================================ */
.campus-life-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  height: 340px;
}
.campus-life-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.campus-life-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(10, 25, 48, 0.85) 0%,
    rgba(10, 25, 48, 0.05) 55%
  );
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0.85;
  transition: opacity 0.4s var(--ease);
}
.campus-life-overlay span {
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  transform: translateY(8px);
  transition: transform 0.4s var(--ease);
}
.campus-life-card:hover img {
  transform: scale(1.12);
}
.campus-life-card:hover .campus-life-overlay {
  opacity: 1;
}
.campus-life-card:hover .campus-life-overlay span {
  transform: translateY(0);
}

/* ============================================================
   PROFESSORS
   ============================================================ */
.professor-card {
  text-align: center;
}
.professor-img {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 1.1rem;
}
.professor-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.professor-card:hover .professor-img img {
  transform: scale(1.08);
}
.professor-social {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -60px;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  transition: bottom 0.4s var(--ease);
}
.professor-card:hover .professor-social {
  bottom: 1rem;
}
.professor-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}
.professor-social a:hover {
  background: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-4px);
}
.professor-card h6 {
  margin-bottom: 0.2rem;
}
.professor-card span {
  color: var(--gold-deep);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ============================================================
   ADMISSIONS FORM
   ============================================================ */
.admissions-section {
  background: var(--navy);
  background-image: radial-gradient(
    circle at 85% 90%,
    rgba(200, 155, 60, 0.15),
    transparent 45%
  );
  color: var(--white);
}
.admissions-section .eyebrow-line {
  color: var(--gold-light);
}
.admissions-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}
.admissions-section p {
  color: rgba(255, 255, 255, 0.75);
}
.admissions-points {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.admissions-points li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  padding: 0.5rem 0;
}
.admissions-points li i {
  color: var(--gold-light);
}

.admission-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.4);
}
.admission-form h5 {
  margin-bottom: 1.5rem;
}
.admission-form .form-control,
.admission-form .form-select {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 0.92rem;
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.admission-form .form-control:focus,
.admission-form .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 155, 60, 0.15);
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 100%;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 45px -18px rgba(16, 35, 63, 0.25);
  border-color: transparent;
}
.blog-card-img {
  position: relative;
  overflow: hidden;
  height: 210px;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.1) rotate(1deg);
}
.blog-category {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}
.blog-card-body {
  padding: 1.4rem;
}
.blog-date {
  font-size: 0.78rem;
  color: var(--slate);
}
.blog-card-body h6 {
  font-size: 1.05rem;
  line-height: 1.45;
  margin: 0.6rem 0;
}
.blog-card-body h6 a {
  color: var(--navy);
  transition: color 0.3s var(--ease);
}
.blog-card-body h6 a:hover {
  color: var(--gold-deep);
}
.blog-author {
  font-size: 0.8rem;
  color: var(--slate);
}

.news-section {
  background: var(--parchment);
}

/* ============================================================
   GALLERY STRIP
   ============================================================ */
.gallery-strip-row {
  display: flex;
  width: 100%;
}
.gallery-strip-item {
  position: relative;
  flex: 1;
  height: 260px;
  overflow: hidden;
  /* button reset */
  border: none;
  padding: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  display: block;
  min-width: 0;
}
.gallery-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.6s var(--ease),
    filter 0.5s var(--ease);
  filter: grayscale(35%);
}
.gallery-strip-overlay {
  position: absolute;
  inset: 0;
  background: rgba(200, 155, 60, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gallery-strip-item:hover img {
  transform: scale(1.15);
  filter: grayscale(0%);
}
.gallery-strip-item:hover .gallery-strip-overlay {
  opacity: 1;
}

/* ============================================================
   GALLERY LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open {
  display: flex;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 14, 27, 0.92);
  backdrop-filter: blur(2px);
}

/* Toolbar (top) */
.lightbox-toolbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
}
.lightbox-counter {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.lightbox-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.lightbox-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.lightbox-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-2px);
}

/* Stage + image */
.lightbox-stage {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 90vw;
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lightbox-stage img {
  max-width: 90vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
  transform: scale(1) translate(0, 0);
  transition: transform 0.15s ease-out;
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox-stage img.zoomed {
  cursor: grab;
}
.lightbox-stage img.dragging {
  cursor: grabbing;
  transition: none;
}

/* Prev / next arrows */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease);
}
.lightbox-nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}
.lightbox-prev {
  left: 1.25rem;
}
.lightbox-next {
  right: 1.25rem;
}

/* Image name caption (bottom) */
.lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  max-width: 80vw;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  background: rgba(6, 14, 27, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lightbox-caption:empty {
  display: none;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 575.98px) {
  .lightbox-caption {
    width: 90vw;
    max-width: 90vw;
    white-space: normal;
    border-radius: 14px;
    bottom: 1rem;
    font-size: 0.85rem;
  }
  .lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
  .lightbox-prev {
    left: 0.5rem;
  }
  .lightbox-next {
    right: 0.5rem;
  }
  .lightbox-btn {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
  .lightbox-stage,
  .lightbox-stage img {
    max-width: 94vw;
  }
}

/* ============================================================
   NEWSLETTER + FOOTER
   ============================================================ */
.newsletter-band {
  background: var(--gold);
  padding: 3.5rem 0;
}
.newsletter-band h3 {
  color: var(--navy-deep);
  margin-bottom: 0.4rem;
}
.newsletter-band p {
  color: rgba(16, 35, 63, 0.75);
  margin: 0;
}
.newsletter-form {
  display: flex;
  gap: 0.75rem;
}
.newsletter-form .form-control {
  border-radius: 999px;
  border: none;
  padding: 0.9rem 1.4rem;
}
.newsletter-form .btn {
  white-space: nowrap;
}

.final-cta {
  background: var(--parchment);
  padding: 6rem 0;
}
.final-cta-inner {
  background: var(--navy);
  border-radius: 24px;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--white);
  background-image: radial-gradient(
    circle at 20% 20%,
    rgba(200, 155, 60, 0.2),
    transparent 50%
  );
}
.final-cta-inner h2 {
  color: var(--white);
  max-width: 620px;
  margin: 0 auto 1rem;
}
.final-cta-inner p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 560px;
  margin: 0 auto 2rem;
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 5rem 0 0;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}
.footer-brand i {
  color: var(--gold);
}
.footer-about {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 320px;
}
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}
.footer-contact-list li {
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
  display: flex;
  gap: 0.6rem;
}
.footer-contact-list i {
  color: var(--gold);
}
.footer-social {
  display: flex;
  gap: 0.6rem;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-4px);
}
.footer-heading {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1.4rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  transition:
    color 0.3s var(--ease),
    padding-left 0.3s var(--ease);
}
.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 0.3rem;
}
.footer-links a.active {
  color: var(--gold-light);
  font-weight: 700;
  padding-left: 0.3rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3.5rem;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
}
.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
  .hero-content {
    padding: 6rem 0 5rem;
  }
  /* Hide the side arrows on touch screens — they overlap the text; swipe + dots handle nav */
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
  .hero-indicators {
    bottom: 2.5rem;
  }
  .stats-strip {
    margin-top: 2rem;
  }
  .about-media {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  .about-stat-badge {
    left: auto;
    right: 1rem;
  }
  .gallery-strip-row {
    flex-wrap: wrap;
  }
  .gallery-strip-item {
    flex: 1 1 33.33%;
    height: 160px;
  }
}
@media (max-width: 575.98px) {
  .section {
    padding: 4rem 0;
  }
  .hero-slide {
    min-height: 78vh;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .gallery-strip-item {
    flex: 1 1 50%;
  }
}

/* ============================================================
   INSIDE PAGES — banner, breadcrumb, content, sidebar
   ============================================================ */
.page-banner {
  position: relative;
  padding: 5.5rem 0 4rem;
  background-size: cover;
  background-position: center;
  text-align: center;
}
.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0, 58, 101, 0.92),
    rgba(10, 25, 48, 0.88)
  );
}
.page-banner .container {
  position: relative;
  z-index: 2;
}
.page-banner h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin: 0 0 0.75rem;
}
.breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.breadcrumb-nav a {
  color: var(--gold-light);
  transition: color 0.25s var(--ease);
}
.breadcrumb-nav a:hover {
  color: var(--white);
}
.breadcrumb-nav .sep {
  font-size: 0.7rem;
  opacity: 0.6;
}

.inside-page {
  background: var(--white);
}

/* Content column */
.inside-content .eyebrow-line {
  margin-bottom: 0.75rem;
}
.inside-content h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  margin-bottom: 1.25rem;
}
.inside-content h3 {
  font-size: 1.3rem;
  margin: 2rem 0 1rem;
}
.inside-content p {
  margin-bottom: 1.15rem;
}
.inside-content .lead {
  font-size: 1.12rem;
  color: var(--ink);
  font-weight: 500;
}
.inside-hero-img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 1.75rem;
  box-shadow: 0 24px 50px -24px rgba(16, 35, 63, 0.4);
}
.contact-map {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 50px -24px rgba(16, 35, 63, 0.4);
  margin-bottom: 1.75rem;
}
.contact-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}
.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: var(--parchment);
  color: var(--navy);
}
.contact-info-item p {
  margin: 0;
  color: var(--slate);
  line-height: 1.6;
}
.contact-info-item a {
  color: var(--navy);
  font-weight: 600;
}
.contact-info-item a:hover {
  color: var(--gold-deep);
}
.inside-feature-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.75rem;
}
.inside-feature-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  color: var(--slate);
}
.inside-feature-list i {
  color: var(--gold-deep);
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.inside-block {
  margin-top: 2.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}

/* Vision & Mission cards */
.vm-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 1.75rem;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.vm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px -22px rgba(16, 35, 63, 0.35);
}
.vm-vision {
  background: var(--parchment);
}
.vm-mission {
  background: var(--white);
}
.vm-card-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--navy);
  color: var(--gold-light);
}
.vm-mission .vm-card-icon {
  background: var(--gold);
  color: var(--navy-deep);
}
.vm-card-body h3 {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
}
.vm-statement {
  font-family: var(--font-display);
  font-size: 1em;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.5;
  margin: 0;
}
.vm-card .inside-feature-list {
  margin: 0;
}

/* Objectives list */
.objective-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.objective-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.4rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.objective-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease);
}
.objective-item:hover {
  transform: translateX(5px);
  box-shadow: 0 18px 40px -22px rgba(16, 35, 63, 0.35);
  border-color: rgba(200, 155, 60, 0.5);
}
.objective-item:hover::before {
  transform: scaleY(1);
}
.objective-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--line);
  line-height: 1;
  transition: color 0.35s var(--ease);
}
.objective-item:hover .objective-num {
  color: var(--gold);
}
.objective-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: var(--parchment);
  color: var(--navy);
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease);
}
.objective-item:hover .objective-icon {
  background: var(--navy);
  color: var(--gold-light);
}
.objective-text h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}
.objective-text p {
  margin: 0;
  font-size: 0.95rem;
}

/* President / Principal message layout */
.message-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 1.5rem;
}
.message-portrait {
  margin: 0;
  position: sticky;
  top: 120px;
  text-align: center;
}
.message-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 20px 45px -22px rgba(16, 35, 63, 0.4);
}
.message-portrait figcaption {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.message-portrait figcaption strong {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.05rem;
}
.message-portrait figcaption span {
  color: var(--slate);
  font-size: 0.85rem;
}
.message-body {
  position: relative;
}
/* Course pages — quick facts + subject chips */
.course-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.75rem 0 0.5rem;
}
.course-fact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem;
  background: var(--parchment);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.course-fact:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -20px rgba(16, 35, 63, 0.35);
}
.course-fact i {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.course-fact-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}
.course-fact-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}

.subject-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.5rem 0 1.5rem;
}
.subject-chip {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.subject-chip:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.subject-chip-core {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}
.subject-chip-core:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

@media (max-width: 575.98px) {
  .course-facts {
    grid-template-columns: 1fr;
  }
}

/* Electives grid */
.elective-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}
.elective-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.elective-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -20px rgba(16, 35, 63, 0.35);
  border-color: rgba(200, 155, 60, 0.5);
}
.elective-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: var(--parchment);
  color: var(--navy);
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease);
}
.elective-card:hover .elective-icon {
  background: var(--navy);
  color: var(--gold-light);
}
.elective-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
  line-height: 1.35;
}

@media (max-width: 575.98px) {
  .elective-grid {
    grid-template-columns: 1fr;
  }
}

/* Inside-page photo gallery grid */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.75rem 0;
}
.photo-gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 16px 36px -22px rgba(16, 35, 63, 0.4);
  /* button reset (items double as lightbox triggers) */
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  text-align: left;
}
.photo-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.photo-gallery-item:hover img {
  transform: scale(1.08);
}
.photo-gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(200, 155, 60, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.photo-gallery-item:hover .photo-gallery-overlay {
  opacity: 1;
}
.photo-gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.6rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(
    to top,
    rgba(0, 20, 40, 0.85),
    rgba(0, 20, 40, 0)
  );
}
@media (max-width: 767.98px) {
  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .photo-gallery {
    grid-template-columns: 1fr;
  }
}

/* Syllabus download list */
.syllabus-group {
  margin-top: 2rem;
}
.syllabus-group-title {
  font-size: 1.2rem;
  margin: 0 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.syllabus-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.syllabus-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.9rem 0.6rem 0.7rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition:
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.syllabus-item:hover {
  border-color: rgba(200, 155, 60, 0.6);
  transform: translateX(4px);
  box-shadow: 0 14px 30px -20px rgba(16, 35, 63, 0.4);
}
.syllabus-main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.syllabus-file-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: rgba(200, 42, 42, 0.08);
  color: #c0392b;
}
.syllabus-file-label {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--navy);
  line-height: 1.35;
}
.syllabus-main:hover .syllabus-file-label {
  color: var(--gold-deep);
}
.syllabus-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.syllabus-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  background: var(--parchment);
  border: 1px solid var(--line);
  color: var(--navy);
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.syllabus-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.syllabus-btn-download:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}
.syllabus-item-disabled {
  opacity: 0.55;
}
.syllabus-item-disabled:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}
.syllabus-item-disabled .syllabus-file-icon {
  background: var(--parchment);
  color: var(--slate);
}
.syllabus-file-icon-word {
  background: rgba(41, 84, 163, 0.08);
  color: #2954a3;
}
.syllabus-file-icon-excel {
  background: rgba(30, 132, 73, 0.08);
  color: #1e8449;
}
.syllabus-unavailable-tag {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--slate);
  background: var(--parchment);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}

/* Full-width message (no portrait) — parchment quote card */
.message-body-full {
  margin-top: 1.5rem;
  padding: 2rem 2.25rem;
  background: var(--parchment);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
}
.message-quote-mark {
  color: var(--gold);
  font-size: 2.6rem;
  line-height: 1;
  opacity: 0.5;
  display: block;
  margin-bottom: 0.25rem;
}
.message-body p {
  margin-bottom: 1.15rem;
}
.message-signoff {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.message-signoff-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.1rem;
}
.message-signoff-role {
  color: var(--gold-deep);
  font-weight: 600;
  font-size: 0.85rem;
}

@media (max-width: 575.98px) {
  .message-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .message-portrait {
    position: static;
    max-width: 240px;
    margin: 0 auto;
  }
}
.inside-block h3 {
  margin-top: 0;
}
.inside-block .inside-hero-img {
  margin-bottom: 1.25rem;
}

/* ---------- Sidebar ---------- */
.page-sidebar {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.sidebar-widget {
  background: var(--parchment);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.sidebar-widget-title {
  position: relative;
  margin: 0 0 1.1rem;
  padding-bottom: 0.75rem;
  font-size: 1.1rem;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}
.sidebar-widget-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 44px;
  height: 2px;
  background: var(--gold);
}

/* Section nav with hover effects */
.sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-nav li + li {
  margin-top: 0.45rem;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.sidebar-nav a i {
  color: var(--gold);
  font-size: 0.8rem;
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease),
    color 0.3s var(--ease);
}
.sidebar-nav a:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateX(5px);
}
.sidebar-nav a:hover i {
  opacity: 1;
  transform: translateX(0);
  color: var(--gold-light);
}
.sidebar-nav a.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.sidebar-nav a.active i {
  opacity: 1;
  transform: translateX(0);
  color: var(--gold-light);
}

/* Featured tag links */
.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.sidebar-tags a {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate);
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.sidebar-tags a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-2px);
}
.sidebar-tags a.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* Contact widget */
.sidebar-contact {
  background: var(--navy);
  border-color: var(--navy);
}
.sidebar-contact h5 {
  color: var(--white);
  margin-bottom: 0.5rem;
}
.sidebar-contact p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.sidebar-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.25s var(--ease);
}
.sidebar-contact-item i {
  color: var(--gold-light);
}
.sidebar-contact-item:hover {
  color: var(--gold-light);
}

@media (max-width: 991.98px) {
  .page-sidebar {
    position: static;
    margin-top: 2.5rem;
  }
}

/* Faculty directory */
.staff-group {
  margin-top: 2.5rem;
}
.staff-group-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  margin: 0 0 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--gold);
}
.staff-group-count {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--slate);
  background: var(--parchment);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.staff-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.1rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.staff-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -20px rgba(16, 35, 63, 0.35);
  border-color: rgba(200, 155, 60, 0.5);
}
.staff-avatar {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  background: var(--navy);
  color: var(--gold-light);
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease);
}
.staff-card:hover .staff-avatar {
  background: var(--gold);
  color: var(--navy-deep);
}
.staff-body {
  min-width: 0;
}
.staff-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
  line-height: 1.35;
  margin: 0 0 0.3rem;
}
.staff-role {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: rgba(253, 199, 47, 0.18);
  border-radius: 999px;
  padding: 0.1rem 0.6rem;
  margin-bottom: 0.35rem;
}
.staff-qual {
  font-size: 0.82rem;
  color: var(--slate);
  margin: 0;
}

@media (max-width: 575.98px) {
  .staff-grid {
    grid-template-columns: 1fr;
  }
}

/* Faculty directory — group tabs */
.faculty-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.75rem 0 1.5rem;
  border-bottom: none;
}
.faculty-tabs .nav-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  background: var(--white);
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.faculty-tabs .nav-link .badge-count {
  margin-left: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--parchment);
  color: var(--slate);
  border-radius: 999px;
  padding: 0.05rem 0.5rem;
}
.faculty-tabs .nav-link.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.faculty-tabs .nav-link.active .badge-count {
  background: var(--gold);
  color: var(--navy-deep);
}

/* Faculty directory — photo-forward card grid (namespaced "people-*" to
   avoid colliding with the unrelated homepage .faculty-card component) */
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 767.98px) {
  .people-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .people-grid {
    grid-template-columns: 1fr;
  }
}
.people-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.people-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px -22px rgba(16, 35, 63, 0.35);
  border-color: var(--gold);
}
.people-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.05;
}
.people-card-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 25, 48, 0.55),
    rgba(10, 25, 48, 0) 45%
  );
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.people-card:hover .people-card-img-wrap::after {
  opacity: 1;
}
.people-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.people-card:hover .people-card-img-wrap img {
  transform: scale(1.06);
}
.people-card-body {
  padding: 0.9rem 0.85rem 1.1rem;
}
.people-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  line-height: 1.3;
  margin: 0 0 0.35rem;
}
.people-card-role {
  display: inline-block;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: rgba(253, 199, 47, 0.18);
  border-radius: 999px;
  padding: 0.1rem 0.6rem;
  margin-bottom: 0.4rem;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease);
}
.people-card:hover .people-card-role {
  background: var(--gold);
  color: var(--navy-deep);
}
.people-card-dept {
  display: block;
  font-size: 0.76rem;
  color: var(--slate);
  margin-bottom: 0.8rem;
  min-height: 1.1rem;
}
.people-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  background: transparent;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    gap 0.25s var(--ease);
}
.people-card-btn:hover,
.people-card-btn:focus-visible {
  background: var(--navy);
  color: var(--white);
  gap: 0.55rem;
}

/* Faculty profile modal */
.faculty-modal .modal-content {
  border-radius: var(--radius);
  border: none;
  overflow: hidden;
}
.faculty-modal .modal-header {
  background: var(--navy);
  background-image: linear-gradient(
    135deg,
    var(--navy) 0%,
    var(--navy-deep) 100%
  );
  color: var(--white);
  align-items: center;
  gap: 1.1rem;
  padding: 1.5rem 1.75rem;
  border-bottom: 3px solid var(--gold);
}
.faculty-modal-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(253, 199, 47, 0.15);
  color: var(--gold-light);
  border: 1.5px solid rgba(253, 199, 47, 0.4);
}
.faculty-modal .modal-title {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
}
.faculty-modal .modal-title small {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.4rem;
}
.faculty-modal-role {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
}
.faculty-modal .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}
.faculty-quickfacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
}
.faculty-quickfacts strong {
  color: var(--navy);
}
.faculty-stat-table {
  width: 100%;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  border-collapse: collapse;
}
.faculty-stat-table caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding-bottom: 0.4rem;
}
.faculty-stat-table th,
.faculty-stat-table td {
  border: 1px solid var(--line);
  padding: 0.4rem 0.6rem;
  text-align: center;
}
.faculty-stat-table th {
  background: var(--parchment);
  color: var(--navy);
  font-weight: 700;
}
.faculty-stat-table td:first-child,
.faculty-stat-table th:first-child {
  text-align: left;
}
.faculty-notes {
  margin: 0;
  font-size: 0.88rem;
}
.faculty-notes dt {
  color: var(--navy);
  font-weight: 700;
}
.faculty-notes dd {
  margin: 0 0 0.65rem;
  color: var(--slate);
}

/* Document directory — modern card-grid variant of .syllabus-list
   (used on naac-records.php, where two long lists stack full-width
   instead of squeezing side-by-side into narrow columns) */
.syllabus-list-grid {
  grid-template-columns: 1fr;
}
