:root {
  --royal: #0b1f4d;
  --navy: #08142d;
  --maroon: #4e0f18;
  --gold: #d4af37;
  --gold-soft: #f5da83;
  --ivory: #faf8f2;
  --cream: #f1e6cf;
  --bronze: #a77a30;
  --ink: #182033;
  --muted: #687086;
  --line: rgba(11, 31, 77, 0.12);
  --shadow: 0 22px 60px rgba(8, 20, 45, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, #132b62 0%, var(--navy) 58%, #020611 100%);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-cross {
  width: 74px;
  height: 104px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 22px rgba(212, 175, 55, 0.55));
}

.loader-cross::before,
.loader-cross::after {
  content: "";
  position: absolute;
  background: linear-gradient(135deg, var(--gold), #fff1b3, var(--bronze));
  border-radius: 999px;
  inset: 0 auto auto 31px;
  width: 12px;
  height: 104px;
}

.loader-cross::after {
  inset: 29px auto auto 6px;
  width: 62px;
  height: 12px;
}

.micro-header {
  min-height: 42px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(90deg, var(--navy), var(--maroon));
  font-size: 0.86rem;
}

.micro-inner,
.portal-links,
.contact-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.micro-inner {
  justify-content: space-between;
}

.micro-header a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.micro-header a:hover {
  color: var(--gold-soft);
  transform: translateY(-1px);
}

.donate-mini {
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--navy) !important;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.32);
}

.main-nav {
  position: fixed;
  top: 42px;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  max-width: 100vw;
  min-height: 86px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(8, 20, 45, 0.08);
  transition: all 0.3s ease;
}

.main-nav .container-xl {
  min-width: 0;
}

.main-nav.scrolled {
  top: 0;
  background: #fff;
  box-shadow: 0 16px 40px rgba(8, 20, 45, 0.14);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  max-width: min(42vw, 360px);
}

.navbar-brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.navbar-brand strong {
  display: block;
  font-family: "Cinzel", serif;
  font-size: clamp(1.28rem, 1.75vw, 1.85rem);
  line-height: 1.02;
  letter-spacing: 0;
  color: #a6781c;
  text-shadow: none;
  white-space: nowrap;
}

.navbar-brand .brand-line-small {
  font-size: clamp(1rem, 1.36vw, 1.44rem);
}

.main-nav.scrolled .nav-link {
  color: var(--royal);
}

.nav-link {
  color: var(--royal);
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--gold-soft);
}

.premium-menu {
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 8px;
  padding: 12px;
  background: rgba(250, 248, 242, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.navbar-toggler {
  border-color: rgba(212, 175, 55, 0.5);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.22);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28212, 175, 55, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.dropdown-item {
  border-radius: 6px;
  color: var(--royal);
  font-weight: 700;
}

.dropdown-item:hover {
  color: var(--maroon);
  background: rgba(212, 175, 55, 0.16);
}

.btn {
  border-radius: 999px;
  padding: 0.78rem 1.25rem;
  font-weight: 800;
}

.btn-gold {
  position: relative;
  overflow: hidden;
  border: 0;
  color: #08142d;
  background: linear-gradient(135deg, var(--gold), #ffeaa2 50%, #bd8322);
  box-shadow: 0 14px 32px rgba(212, 175, 55, 0.28);
}

.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -65%;
  width: 42%;
  transform: skewX(-18deg);
  background: rgba(255, 255, 255, 0.45);
  transition: left 0.55s ease;
}

.btn-gold:hover::after {
  left: 125%;
}

.btn-gold:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.hero-slider,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slider {
  z-index: 0;
}

.hero-slide {
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  transition: opacity 1.25s ease, transform 5.5s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide:nth-child(1) {
  animation: heroFadeFallback 18s infinite;
}

.hero-slide:nth-child(2) {
  animation: heroFadeFallback 18s 6s infinite;
}

.hero-slide:nth-child(3) {
  animation: heroFadeFallback 18s 12s infinite;
}

.hero-slider.js-ready .hero-slide {
  animation: none;
}

@keyframes heroFadeFallback {

  0%,
  28% {
    opacity: 1;
    transform: scale(1);
  }

  34%,
  100% {
    opacity: 0;
    transform: scale(1.04);
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 22% 35%, rgba(212, 175, 55, 0.2), transparent 22%),
    linear-gradient(180deg, transparent 74%, var(--ivory) 100%);
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(4, 10, 25, 0.92) 0%, rgba(8, 20, 45, 0.72) 42%, rgba(8, 20, 45, 0.28) 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: radial-gradient(circle, rgba(255, 234, 162, 0.42) 1px, transparent 1.5px);
  background-size: 70px 70px;
  opacity: 0.24;
  animation: drift 18s linear infinite;
}

@keyframes drift {
  to {
    transform: translate3d(70px, -70px, 0);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 132px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  color: var(--bronze);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: var(--gold-soft);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
}

.hero h1 {
  max-width: 760px;
  font-family: "Cinzel", serif;
  font-size: clamp(2.65rem, 6vw, 5.85rem);
  line-height: 0.98;
  color: transparent;
  background: linear-gradient(110deg, #fff8d4 0%, var(--gold) 38%, #fff 64%, #b67a21 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 8px 44px rgba(212, 175, 55, 0.18);
}

.hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-dots {
  position: absolute;
  top: 50%;
  right: 20px;
  z-index: 3;
  display: grid;
  gap: 14px;
  transform: translateY(-50%);
}

.hero-dots button {
  width: 13px;
  height: 13px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: transparent;
  transition: all 0.25s ease;
}

.hero-dots button.active {
  height: 34px;
  border-radius: 999px;
  border-color: var(--gold-soft);
  background: var(--gold-soft);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.44);
}

.hero-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 760px;
  margin-top: 54px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(8, 20, 45, 0.42);
  backdrop-filter: blur(16px);
}

.hero-stat-strip div {
  padding: 22px;
}

.hero-stat-strip div+div {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-stat-strip strong {
  display: block;
  color: var(--gold-soft);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-family: "Cinzel", serif;
}

.hero-stat-strip span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.section-pad {
  padding: 96px 0;
}

.latest-updates {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 58px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(90deg, var(--maroon), var(--royal));
}

.updates-label {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  font-weight: 900;
  white-space: nowrap;
}

.updates-track {
  overflow: hidden;
  white-space: nowrap;
}

.updates-text {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  padding-left: 100%;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 700;
  animation: updates-marquee 58s linear infinite;
}

.updates-text:hover {
  animation-play-state: paused;
}

.updates-text a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.94);
}

.updates-text a:hover {
  color: var(--gold-soft);
}

.updates-text strong {
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--gold-soft);
  font-size: 0.75rem;
  font-weight: 900;
}

@keyframes updates-marquee {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.welcome-about h2,
.news-events h2,
.contact h2,
.donate-band h2,
.admission-panel h2 {
  color: var(--royal);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
}

.lead {
  color: var(--royal);
  font-weight: 500;
}

.portrait-panel {
  min-height: 390px;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 38px;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(250, 248, 242, 0.94), rgba(241, 230, 207, 0.75)),
    radial-gradient(circle at 30% 0%, rgba(212, 175, 55, 0.22), transparent 34%);
  box-shadow: var(--shadow);
}

.portrait-panel img {
  width: min(260px, 72%);
}

.portrait-panel span {
  color: var(--maroon);
  font-family: "Cinzel", serif;
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--maroon);
  font-weight: 900;
}

.welcome-about {
  background: #fff;
}

.faith-visual-3d {
  position: relative;
  min-height: 500px;
  perspective: 1000px;
}

.faith-scene {
  position: absolute;
  inset: 52px 58px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 36%, rgba(245, 218, 131, 0.42), transparent 28%),
    linear-gradient(145deg, rgba(8, 20, 45, 0.96), rgba(11, 31, 77, 0.9) 55%, rgba(78, 15, 24, 0.9));
  box-shadow: 0 26px 70px rgba(8, 20, 45, 0.22);
  transform: rotateX(9deg) rotateY(-12deg);
  transform-style: preserve-3d;
  transition: transform 0.18s ease;
  overflow: hidden;
}

.faith-scene::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 8px;
  transform: translateZ(22px);
}

.cross-3d {
  position: relative;
  z-index: 3;
  width: 128px;
  height: 220px;
  transform: translateZ(90px);
  filter: drop-shadow(0 0 26px rgba(245, 218, 131, 0.54));
  animation: sacredFloat 4.5s ease-in-out infinite;
}

.cross-beam {
  position: absolute;
  display: block;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8df8b, #a6781c 48%, #fff4bc);
  box-shadow: inset 8px 0 12px rgba(255, 255, 255, 0.18), inset -10px 0 18px rgba(8, 20, 45, 0.24);
}

.cross-beam.vertical {
  left: 50%;
  width: 34px;
  height: 220px;
  transform: translateX(-50%);
}

.cross-beam.horizontal {
  top: 62px;
  left: 0;
  width: 128px;
  height: 34px;
}

.bible-3d {
  position: absolute;
  bottom: 54px;
  left: 50%;
  z-index: 2;
  width: 250px;
  height: 86px;
  transform: translateX(-50%) rotateX(62deg) translateZ(35px);
  transform-style: preserve-3d;
}

.book-page {
  position: absolute;
  bottom: 0;
  width: 50%;
  height: 86px;
  border: 1px solid rgba(212, 175, 55, 0.36);
  background: linear-gradient(160deg, #fff8df, #e9dba8);
}

.book-page.left {
  left: 0;
  border-radius: 8px 0 0 8px;
  transform: skewY(-6deg);
}

.book-page.right {
  right: 0;
  border-radius: 0 8px 8px 0;
  transform: skewY(6deg);
}

.book-line {
  position: absolute;
  z-index: 2;
  height: 2px;
  background: rgba(78, 15, 24, 0.32);
}

.line-one {
  left: 32px;
  bottom: 43px;
  width: 74px;
}

.line-two {
  right: 34px;
  bottom: 38px;
  width: 86px;
}

.light-ring,
.faith-orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.light-ring {
  width: 280px;
  height: 280px;
  border: 1px solid rgba(245, 218, 131, 0.32);
  box-shadow: 0 0 48px rgba(212, 175, 55, 0.18);
  animation: ringPulse 3.8s ease-in-out infinite;
}

.faith-orbit {
  border: 1px solid rgba(166, 120, 28, 0.28);
}

.orbit-one {
  inset: 12px 44px 32px 34px;
  transform: rotate(-16deg);
  animation: orbitSpin 16s linear infinite;
}

.orbit-two {
  inset: 70px 10px 18px 86px;
  transform: rotate(28deg);
  animation: orbitSpin 22s linear reverse infinite;
}

.faith-chip {
  position: absolute;
  z-index: 4;
  min-width: 172px;
  padding: 14px 18px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(8, 20, 45, 0.14);
}

.faith-chip strong {
  display: block;
  color: #a6781c;
  font-family: "Cinzel", serif;
  font-size: 1.05rem;
}

.faith-chip span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.chip-one {
  top: 18px;
  left: 18px;
}

.chip-two {
  right: 0;
  top: 120px;
}

.chip-three {
  left: 48px;
  bottom: 18px;
}

@keyframes sacredFloat {

  0%,
  100% {
    transform: translateZ(90px) translateY(0);
  }

  50% {
    transform: translateZ(90px) translateY(-14px);
  }
}

@keyframes ringPulse {

  0%,
  100% {
    transform: translateZ(20px) scale(0.94);
    opacity: 0.62;
  }

  50% {
    transform: translateZ(20px) scale(1.08);
    opacity: 1;
  }
}

@keyframes orbitSpin {
  to {
    rotate: 360deg;
  }
}

.mission-vision {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 30px 0;
}

.title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.mission-vision i {
  color: var(--gold);
  font-size: 1.7rem;
}

.mission-vision h3 {
  margin: 0;
  color: #0b6f7f;
  font-size: 1.45rem;
}

.mission-vision p {
  color: var(--muted);
}

.legacy-strip {
  padding: 36px 0;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--royal), var(--maroon));
}

.legacy-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.legacy-inner div {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
}

.legacy-inner strong {
  display: block;
  color: var(--gold-soft);
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.legacy-inner span {
  font-weight: 800;
}

.about-band,
.utility-pages {
  background: linear-gradient(180deg, #fff, #f1e6cf);
}

.feature-card,
.programme-card,
.faculty-card,
.quote-card,
.message-card,
.mini-page,
.contact-form,
.admission-panel {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 34px rgba(8, 20, 45, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover,
.programme-card:hover,
.faculty-card:hover,
.quote-card:hover,
.message-card:hover,
.mini-page:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: var(--shadow);
}

.feature-card,
.programme-card,
.faculty-card,
.quote-card,
.message-card,
.mini-page {
  padding: 30px;
}

.feature-card i,
.mini-page i {
  color: var(--gold);
  font-size: 2.2rem;
}

.feature-card h3,
.programme-card h3,
.faculty-card h3,
.mini-page h3 {
  margin: 16px 0 12px;
  color: var(--royal);
  font-size: 1.35rem;
}

.feature-card p,
.programme-card p,
.faculty-card p,
.mini-page p,
.quote-card span,
.donate-band p,
.admission-panel p {
  color: var(--muted);
}

.programme-card {
  min-height: 250px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(250, 248, 242, 0.78)),
    linear-gradient(90deg, var(--royal), var(--maroon));
}

.programme-card span {
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), #fff1b3);
  font-family: "Cinzel", serif;
  font-weight: 900;
}

.faculty {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 20, 45, 0.96), rgba(78, 15, 24, 0.88)),
    url("assets/hero-campus.png") center/cover fixed;
}

.section-heading.light h2 {
  color: #fff;
}

.faculty-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

.faculty-card h3,
.faculty-card p {
  color: #fff;
}

.avatar {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), #fff1b3);
  font-family: "Cinzel", serif;
  font-weight: 900;
}

.gallery-slider {
  padding-bottom: 52px;
}

.gallery-tile {
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--royal), var(--maroon));
  box-shadow: var(--shadow);
}

.gallery-tile span {
  font-family: "Cinzel", serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.tile-one {
  background: linear-gradient(135deg, rgba(11, 31, 77, 0.9), rgba(78, 15, 24, 0.7)), url("assets/hero-campus.png") center/cover;
}

.tile-two {
  background: linear-gradient(135deg, rgba(8, 20, 45, 0.86), rgba(212, 175, 55, 0.28)), url("assets/hero-campus.png") 58% 40%/cover;
}

.tile-three {
  background: linear-gradient(135deg, rgba(78, 15, 24, 0.85), rgba(8, 20, 45, 0.62)), url("assets/hero-campus.png") 70% center/cover;
}

.tile-four {
  background: linear-gradient(135deg, rgba(8, 20, 45, 0.78), rgba(11, 31, 77, 0.62)), url("assets/hero-campus.png") center/cover;
}

.swiper-pagination-bullet-active {
  background: var(--gold);
}

.news-events {
  background: #fff;
}

.leadership-messages {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(241, 230, 207, 0.58)),
    var(--ivory);
}

.message-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(250, 248, 242, 0.82)),
    radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.22), transparent 32%);
}

.message-card::after {
  content: "\201C";
  position: absolute;
  right: 24px;
  bottom: -36px;
  color: rgba(212, 175, 55, 0.16);
  font-family: "Playfair Display", serif;
  font-size: 9rem;
  line-height: 1;
}

.message-person {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.message-avatar {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), #fff1b3);
  box-shadow: 0 16px 30px rgba(212, 175, 55, 0.22);
}

.message-avatar i {
  font-size: 2rem;
}

.message-card h3 {
  color: var(--royal);
  font-size: 1.55rem;
}

.message-card p:not(.section-kicker) {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.75;
}

.message-card span {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 22px;
  color: var(--maroon);
  font-weight: 900;
}

.notice-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.notice-list a,
.timeline div {
  display: grid;
  gap: 6px;
  padding: 20px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--ivory);
  box-shadow: 0 10px 28px rgba(8, 20, 45, 0.06);
}

.notice-list time,
.timeline strong {
  color: var(--maroon);
  font-weight: 900;
}

.timeline {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.quote-card {
  min-height: 230px;
  background: #fff;
}

.testimonial-slider {
  padding-bottom: 46px;
}

.testimonial-pagination {
  bottom: 0 !important;
}

.testimonial-slider .swiper-pagination-bullet {
  background: var(--gold);
}

.quote-card p {
  color: var(--royal);
  font-family: "Playfair Display", serif;
  font-size: 1.55rem;
}

.donate-band {
  padding: 72px 0;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--maroon));
}

.donate-inner,
.admission-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.donate-band h2 {
  color: #fff;
}

.admission-panel {
  padding: 36px;
  background:
    linear-gradient(135deg, rgba(250, 248, 242, 0.92), rgba(255, 255, 255, 0.88)),
    radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.24), transparent 28%);
}

.admission-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact {
  background: #fff;
}

.contact address,
.contact p {
  color: var(--muted);
}

.contact a {
  color: var(--maroon);
  font-weight: 800;
}

.contact-form {
  padding: 28px;
}

.inner-hero {
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  padding: 160px 0 72px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 10, 25, 0.92), rgba(8, 20, 45, 0.7)),
    url("assets/hero-campus.png") center/cover no-repeat;
}

.inner-hero h1 {
  max-width: 820px;
  font-family: "Cinzel", serif;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  color: transparent;
  background: linear-gradient(110deg, #fff8d4, var(--gold), #fff1b3);
  -webkit-background-clip: text;
  background-clip: text;
}

.inner-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.breadcrumb-line {
  margin-bottom: 12px;
  color: var(--gold-soft);
  font-weight: 800;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.page-card {
  min-height: 210px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 20, 45, 0.08);
}

.page-card i {
  color: var(--gold);
  font-size: 2rem;
}

.page-card h2,
.page-card h3 {
  margin: 14px 0 10px;
  color: var(--royal);
}

.page-card p,
.page-card li {
  color: var(--muted);
}

.page-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.wide-card {
  grid-column: span 2;
}

.about-intro {
  background: #fff;
}

.about-photo-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-photo-panel img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.about-photo-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(8, 20, 45, 0.8)),
    radial-gradient(circle at 18% 18%, rgba(212, 175, 55, 0.34), transparent 30%);
}

.about-photo-badge {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #fff;
  background: rgba(8, 20, 45, 0.64);
  backdrop-filter: blur(16px);
}

.about-photo-badge strong {
  color: var(--gold-soft);
  font-family: "Cinzel", serif;
  font-size: 2rem;
}

.about-photo-badge span {
  font-weight: 800;
  text-align: right;
}

.about-intro h2,
.history-section h2,
.mission-section h2,
.campus-overview h2 {
  color: var(--royal);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.05;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.about-highlights div {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 8px;
  background: var(--ivory);
}

.about-highlights i,
.about-detail-card i,
.vision-card i,
.mission-list i,
.campus-grid i {
  color: var(--gold);
  font-size: 2rem;
}

.about-highlights span {
  color: var(--royal);
  font-weight: 900;
}

.history-section {
  background: var(--ivory);
}

.history-timeline {
  position: relative;
  display: grid;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.history-timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 174px;
  width: 2px;
  background: linear-gradient(var(--gold), rgba(212, 175, 55, 0.12));
}

.history-item {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 48px;
}

.history-item span {
  align-self: start;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), #fff1b3);
  font-family: "Cinzel", serif;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 14px 28px rgba(212, 175, 55, 0.2);
}

.history-item div {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 20, 45, 0.08);
}

.history-item div::before {
  content: "";
  position: absolute;
  top: 30px;
  left: -57px;
  width: 18px;
  height: 18px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.2);
}

.history-item h3,
.about-detail-card h2,
.vision-card h3,
.mission-list h3,
.campus-grid h3 {
  color: var(--royal);
}

.history-item p,
.about-detail-card p,
.vision-card p,
.mission-list p,
.campus-overview p,
.campus-grid p {
  color: var(--muted);
}

.about-detail-card,
.vision-card,
.mission-list article,
.campus-grid article {
  height: 100%;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 20, 45, 0.08);
}

.about-detail-card h2 {
  margin-top: 16px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.accent-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(250, 248, 242, 0.82)),
    radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.22), transparent 34%);
}

.dark-card {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 20, 45, 0.96), rgba(78, 15, 24, 0.9)),
    url("assets/hero-campus-2.png") center/cover;
}

.dark-card h2,
.dark-card p {
  color: #fff;
}

.mission-section {
  background: #fff;
}

.vision-card {
  display: grid;
  align-content: center;
  min-height: 100%;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 20, 45, 0.94), rgba(11, 31, 77, 0.84)),
    url("assets/hero-campus-3.png") center/cover;
}

.vision-card h3,
.vision-card p {
  color: #fff;
}

.mission-list,
.campus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.mission-list article,
.campus-grid article {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mission-list article:hover,
.campus-grid article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.campus-overview {
  background:
    linear-gradient(180deg, rgba(250, 248, 242, 0.86), rgba(255, 255, 255, 0.92)),
    var(--cream);
}

.faculty-directory {
  background:
    linear-gradient(180deg, #fff, rgba(241, 230, 207, 0.56)),
    var(--ivory);
}

.faculty-area {
  padding: 34px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 42px rgba(8, 20, 45, 0.08);
}

.faculty-area+.faculty-area {
  margin-top: 34px;
}

.faculty-area-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.faculty-area-heading>span {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), #fff1b3);
  box-shadow: 0 16px 30px rgba(212, 175, 55, 0.22);
}

.faculty-area-heading i {
  font-size: 1.8rem;
}

.faculty-area-heading h2 {
  color: var(--royal);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.faculty-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.faculty-profile-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 20, 45, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.faculty-profile-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.faculty-profile-photo {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(8, 20, 45, 0.94), rgba(78, 15, 24, 0.86)),
    url("assets/hero-campus.png") center/cover;
}

.faculty-profile-photo img {
  width: 128px;
  height: 128px;
  object-fit: contain;
  padding: 18px;
  border: 2px solid rgba(245, 218, 131, 0.68);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 46px rgba(8, 20, 45, 0.28);
}

.faculty-profile-body {
  padding: 26px;
}

.faculty-tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--maroon);
  background: rgba(212, 175, 55, 0.14);
  font-size: 0.78rem;
  font-weight: 900;
}

.faculty-profile-body h3 {
  color: var(--royal);
  font-size: 1.45rem;
}

.faculty-position {
  margin: 10px 0 8px;
  color: var(--maroon);
  font-weight: 900;
}

.faculty-education {
  min-height: 52px;
  color: var(--muted);
}

.faculty-more {
  margin-top: 8px;
}

.faculty-modal .modal-content {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 8px;
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.faculty-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), #fff1b3);
}

.faculty-modal-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1.35fr;
  gap: 34px;
  padding: 22px;
}

.faculty-modal-photo-wrap {
  min-height: 520px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 20, 45, 0.94), rgba(78, 15, 24, 0.86)),
    url("assets/hero-campus-2.png") center/cover;
}

.faculty-modal-photo-wrap img {
  width: min(240px, 70%);
  aspect-ratio: 1;
  object-fit: contain;
  padding: 28px;
  border: 2px solid rgba(245, 218, 131, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 58px rgba(8, 20, 45, 0.34);
}

.faculty-modal-copy {
  padding: 34px 34px 34px 0;
}

.faculty-modal-copy h2 {
  color: var(--royal);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.faculty-modal-position {
  color: var(--maroon);
  font-weight: 900;
}

.faculty-modal-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.faculty-modal-meta div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.faculty-modal-meta strong,
.faculty-modal-meta span,
.faculty-modal-meta a {
  display: block;
}

.faculty-modal-meta strong {
  margin-bottom: 6px;
  color: var(--royal);
}

.faculty-modal-copy h3 {
  margin-top: 22px;
  color: var(--royal);
  font-size: 1.35rem;
}

.faculty-modal-copy p,
.faculty-modal-meta span,
.faculty-modal-meta a {
  color: var(--muted);
}

.career-page,
.programmes-page {
  background:
    linear-gradient(180deg, #fff, rgba(241, 230, 207, 0.56)),
    var(--ivory);
}

.career-grid,
.programme-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}

.career-card,
.programme-detail-card {
  height: 100%;
  padding: 30px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(250, 248, 242, 0.82)),
    radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.2), transparent 32%);
  box-shadow: 0 12px 34px rgba(8, 20, 45, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.career-card:hover,
.programme-detail-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.career-card-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.career-card-head>span,
.programme-detail-card>span {
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), #fff1b3);
  font-family: "Cinzel", serif;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(212, 175, 55, 0.22);
}

.career-card-head i {
  font-size: 1.9rem;
}

.career-card h2,
.programme-detail-card h2,
.programme-modal-body h2 {
  color: var(--royal);
}

.career-meta {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.career-meta div,
.programme-modal-duration {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.career-meta strong,
.career-meta span,
.programme-modal-duration strong,
.programme-modal-duration span {
  display: block;
}

.career-meta strong,
.programme-modal-duration strong {
  color: var(--maroon);
}

.career-meta span,
.programme-detail-card p,
.programme-modal-body p,
.programme-modal-duration span {
  color: var(--muted);
}

.programme-detail-card>span {
  margin-bottom: 20px;
}

.programme-detail-card p {
  min-height: 72px;
}

.programme-actions,
.programme-modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.programme-modal .modal-content {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 8px;
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.programme-modal-body {
  padding: 42px;
}

.programme-modal-body h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.programme-modal-body h3 {
  margin-top: 26px;
  color: var(--royal);
  font-size: 1.35rem;
}

.admissions-guide {
  background:
    linear-gradient(180deg, #fff, rgba(241, 230, 207, 0.56)),
    var(--ivory);
}

.admission-block {
  margin-top: 54px;
}

.admission-block h2,
.admission-info-card h2 {
  color: var(--royal);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.procedure-steps,
.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.procedure-steps article,
.rules-grid article,
.admission-info-card {
  height: 100%;
  padding: 26px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 20, 45, 0.08);
}

.procedure-steps span {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), #fff1b3);
  font-family: "Cinzel", serif;
  font-weight: 900;
}

.procedure-steps h3,
.rules-grid h3 {
  color: var(--royal);
  font-size: 1.25rem;
}

.procedure-steps p,
.rules-grid p,
.admission-info-card li {
  color: var(--muted);
}

.admission-table-wrap {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 20, 45, 0.08);
}

.admission-table {
  margin: 0;
}

.admission-table th {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), #fff1b3);
}

.admission-table td {
  color: var(--muted);
}

.admission-info-card {
  margin-top: 54px;
}

.admission-info-card i,
.rules-grid i {
  color: var(--gold);
  font-size: 2rem;
}

.admission-info-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.admission-faq {
  margin-top: 24px;
}

.admission-faq .accordion-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(8, 20, 45, 0.06);
}

.admission-faq .accordion-item+.accordion-item {
  margin-top: 12px;
}

.admission-faq .accordion-button {
  color: var(--royal);
  background: #fff;
  font-weight: 900;
}

.admission-faq .accordion-button:not(.collapsed) {
  color: var(--navy);
  background: rgba(212, 175, 55, 0.16);
  box-shadow: none;
}

.admission-faq .accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.18);
}

.admission-faq .accordion-body {
  color: var(--muted);
}

.library-page {
  background:
    linear-gradient(180deg, #fff, rgba(241, 230, 207, 0.56)),
    var(--ivory);
}

.library-page h2 {
  color: var(--royal);
}

.library-visual {
  min-height: 430px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 36px;
  border-radius: 8px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(8, 20, 45, 0.94), rgba(78, 15, 24, 0.84)),
    url("assets/hero-campus.png") center/cover;
  box-shadow: var(--shadow);
}

.library-visual i {
  color: var(--gold-soft);
  font-size: 4rem;
}

.library-visual strong {
  color: var(--gold-soft);
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.library-visual span {
  font-weight: 900;
}

.library-info-grid,
.library-collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 54px;
}

.library-section {
  margin-top: 70px;
}

.library-card,
.library-collection-grid article {
  height: 100%;
  padding: 30px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 20, 45, 0.08);
}

.library-card i {
  color: var(--gold);
  font-size: 2rem;
}

.library-card h2,
.library-collection-grid h3 {
  margin-top: 16px;
  color: var(--royal);
}

.library-card p,
.library-card li,
.library-collection-grid p {
  color: var(--muted);
}

.library-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.library-card.dark-card h2,
.library-card.dark-card p,
.library-card.dark-card i {
  color: #fff;
}

.library-collection-grid span {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), #fff1b3);
  font-family: "Cinzel", serif;
  font-weight: 900;
}

.news-events-page,
.gallery-page,
.detail-page {
  background:
    linear-gradient(180deg, #fff, rgba(241, 230, 207, 0.56)),
    var(--ivory);
}

.news-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.news-feature-card,
.upcoming-events article,
.detail-card {
  height: 100%;
  padding: 30px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 20, 45, 0.08);
}

.news-feature-card time,
.upcoming-events time,
.detail-card time {
  display: block;
  margin-bottom: 14px;
  color: var(--maroon);
  font-weight: 900;
}

.news-feature-card h3,
.upcoming-events h3,
.upcoming-events h4,
.detail-card h2 {
  color: var(--royal);
}

.news-feature-card p,
.upcoming-events p,
.detail-card p {
  color: var(--muted);
}

.detail-feature-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  margin: 18px 0 22px;
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.events-section {
  margin-top: 76px;
}

.events-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.56fr);
  gap: 28px;
}

.event-calendar,
.upcoming-events {
  padding: 26px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 20, 45, 0.08);
}

.calendar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.calendar-head span {
  color: var(--maroon);
  font-weight: 900;
}

.calendar-head strong {
  display: block;
  margin-top: 4px;
  color: var(--royal);
}

.calendar-nav {
  display: inline-flex;
  gap: 8px;
  flex: 0 0 auto;
}

.calendar-nav a,
.calendar-nav .disabled {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 8px;
  color: var(--maroon);
  background: rgba(212, 175, 55, 0.08);
}

.calendar-nav a:hover {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff;
}

.calendar-nav .disabled {
  opacity: 0.35;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-weekdays span {
  color: var(--royal);
  font-size: 0.8rem;
  font-weight: 900;
  text-align: center;
}

.calendar-grid>div {
  min-height: 92px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--royal);
  background: var(--ivory);
  font-weight: 900;
}

.calendar-grid .muted {
  color: rgba(104, 112, 134, 0.5);
}

.calendar-grid .has-event {
  background: rgba(212, 175, 55, 0.16);
}

.calendar-grid .has-event a {
  display: block;
  margin-top: 8px;
  color: var(--maroon);
  font-size: 0.78rem;
  line-height: 1.25;
  font-weight: 900;
}

.upcoming-events {
  display: grid;
  gap: 16px;
}

.upcoming-slider {
  height: 610px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, #000 0%, #000 82%, transparent 100%);
}

.upcoming-track {
  display: grid;
  gap: 16px;
  animation: upcomingSlideUp 18s linear infinite;
}

.upcoming-slider:hover .upcoming-track {
  animation-play-state: paused;
}

.upcoming-events article {
  min-height: 220px;
  padding: 22px;
  box-shadow: none;
}

@keyframes upcomingSlideUp {

  0%,
  18% {
    transform: translateY(0);
  }

  34%,
  52% {
    transform: translateY(-236px);
  }

  68%,
  86% {
    transform: translateY(-472px);
  }

  100% {
    transform: translateY(0);
  }
}

.detail-card {
  max-width: 900px;
  margin: 0 auto;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.gallery-filters button,
.gallery-pagination button {
  border: 1px solid rgba(212, 175, 55, 0.36);
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--royal);
  background: #fff;
  font-weight: 900;
}

.gallery-filters button.active,
.gallery-pagination button.active {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), #fff1b3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.gallery-photo-card {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 20, 45, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-photo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.gallery-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-photo-card span,
.gallery-photo-card strong {
  display: block;
  margin: 18px 20px 0;
}

.gallery-photo-card span {
  color: var(--maroon);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-photo-card strong {
  margin-bottom: 20px;
  color: var(--royal);
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
}

.gallery-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.gallery-view-modal .modal-content {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 8px;
  background: var(--ivory);
}

.gallery-view-modal img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 8px;
  background: var(--navy);
}

.gallery-view-modal h2 {
  margin-top: 20px;
  color: var(--royal);
}

.gallery-view-modal p {
  color: var(--muted);
  font-weight: 900;
}

.contact-page {
  background:
    linear-gradient(180deg, #fff, rgba(241, 230, 207, 0.56)),
    var(--ivory);
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.contact-info-card,
.contact-admission-panel,
.contact-page-form,
.map-panel {
  height: 100%;
  padding: 30px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 20, 45, 0.08);
}

.contact-info-card i {
  color: var(--gold);
  font-size: 2rem;
}

.contact-info-card h2,
.contact-admission-panel h2,
.contact-page-form h2 {
  margin-top: 14px;
  color: var(--royal);
}

.contact-info-card p,
.contact-admission-panel p {
  color: var(--muted);
}

.contact-info-card a,
.contact-admission-links a {
  color: var(--maroon);
  font-weight: 900;
}

.contact-admission-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 34px 0;
  background:
    linear-gradient(135deg, rgba(8, 20, 45, 0.95), rgba(78, 15, 24, 0.9)),
    url("assets/hero-campus.png") center/cover;
}

.contact-admission-panel h2,
.contact-admission-panel p {
  color: #fff;
}

.contact-admission-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.contact-admission-links a {
  color: var(--gold-soft);
}

.map-panel {
  padding: 0;
  overflow: hidden;
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
}

.admission-crm,
.application-portal {
  background:
    linear-gradient(180deg, #fff, rgba(241, 230, 207, 0.56)),
    var(--ivory);
}

.crm-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
}

.crm-stat-grid article,
.crm-panel,
.application-register,
.application-step {
  padding: 26px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 20, 45, 0.08);
}

.crm-stat-grid span,
.crm-table td,
.followup-list span,
.application-step p {
  color: var(--muted);
}

.crm-stat-grid strong {
  display: block;
  color: var(--royal);
  font-family: "Cinzel", serif;
  font-size: 2rem;
}

.crm-panel h2,
.application-register h2,
.application-step h2 {
  color: var(--royal);
}

.crm-form,
.followup-list,
.automation-list {
  display: grid;
  gap: 12px;
}

.pipeline-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.pipeline-grid span,
.crm-table span {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.stage-new {
  background: #3763d8;
}

.stage-contacted {
  background: #0b8ea0;
}

.stage-counsel {
  background: #7b4ad9;
}

.stage-docs {
  background: #b77a12;
}

.stage-application {
  background: #216e39;
}

.stage-review {
  background: #635bff;
}

.stage-interview {
  background: #a14f00;
}

.stage-approved {
  background: #12805c;
}

.stage-fee {
  background: #c47f00;
}

.stage-admitted {
  background: #0f7a2f;
}

.stage-wait {
  background: #687086;
}

.stage-reject {
  background: #b42318;
}

.crm-table th {
  color: var(--navy);
  background: rgba(212, 175, 55, 0.18);
}

.followup-list article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ivory);
}

.followup-list strong,
.automation-list button,
.approval-flow span {
  color: var(--royal);
  font-weight: 900;
}

.automation-list button {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ivory);
  text-align: left;
}

.approval-flow {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.approval-flow span {
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.16);
}

.approval-flow i {
  color: var(--gold);
}

.application-register {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: center;
}

.application-register-grid,
.application-grid,
.document-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.application-form {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.application-form-hidden {
  display: none;
}

.application-locked {
  display: grid;
  place-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 42px;
  border: 1px dashed rgba(212, 175, 55, 0.55);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.78);
}

.application-locked i {
  color: var(--gold);
  font-size: 2.6rem;
}

.application-locked h2 {
  color: var(--royal);
}

.application-step>span {
  display: inline-grid;
  place-items: center;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), #fff1b3);
  font-weight: 900;
}

.full-field {
  grid-column: 1 / -1;
}

.document-grid label {
  color: var(--royal);
  font-weight: 900;
}

.document-grid input {
  margin-top: 8px;
}

.final-submit-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 20px;
  border-radius: 8px;
  background: var(--ivory);
}

.final-submit-panel span {
  color: var(--maroon);
  font-family: "Cinzel", serif;
  font-weight: 900;
}

.download-row,
.staff-row,
.news-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.download-list,
.staff-list,
.news-list {
  display: grid;
  gap: 14px;
}

.form-control {
  min-height: 52px;
  border-radius: 8px;
  border-color: rgba(11, 31, 77, 0.15);
  background: var(--ivory);
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.18);
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 70px 12px;
}

.site-footer img {
  width: 96px;
  margin-bottom: 18px;
}

.site-footer h3 {
  margin-bottom: 18px;
  color: var(--gold-soft);
  font-size: 1.1rem;
}

.site-footer a {
  display: block;
  margin-bottom: 10px;
}

.site-footer a:hover,
.copyright a {
  color: var(--gold-soft);
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.social-links a:hover {
  border-color: var(--gold);
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.28);
}

.copyright {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.copyright p {
  margin: 0;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  display: grid;
  gap: 12px;
  justify-items: end;
}

.whatsapp-float,
.top-float {
  display: grid;
  place-items: center;
  border: 0;
  box-shadow: 0 16px 34px rgba(8, 20, 45, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  font-size: 1.55rem;
}

.top-float {
  width: auto;
  min-height: auto;
  padding: 0;
  color: var(--gold-soft);
  background: transparent;
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: none;
}

.top-float span {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 2px solid currentColor;
  animation: topTextFloat 1.8s ease-in-out infinite;
}

.whatsapp-float:hover,
.top-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(8, 20, 45, 0.24);
}

.top-float:hover {
  color: #fff1b3;
  box-shadow: none;
}

@keyframes topTextFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@media (min-width: 1200px) {
  .dropdown:hover>.dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

@media (max-width: 1199px) {

  .main-nav,
  .main-nav.scrolled {
    top: 0;
    background: rgba(250, 248, 242, 0.96);
    box-shadow: 0 16px 40px rgba(8, 20, 45, 0.12);
  }

  .micro-header {
    display: none;
  }

  .navbar-brand {
    min-width: 0;
    max-width: calc(100vw - 104px);
  }

  .navbar-brand span {
    min-width: 0;
    overflow: hidden;
  }

  .navbar-brand small,
  .nav-link {
    color: var(--royal);
  }

  .navbar-collapse {
    padding: 18px 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .navbar-collapse.show {
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }

  .navbar-nav {
    width: 100%;
  }

  .nav-item.dropdown>.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
  }

  .nav-item.dropdown>.dropdown-toggle::after {
    margin-left: auto;
    transition: transform 0.2s ease;
  }

  .nav-item.dropdown.submenu-open>.dropdown-toggle::after {
    transform: rotate(180deg);
  }

  .navbar-nav .dropdown-menu {
    display: none;
    position: static;
    width: calc(100% - 16px);
    margin: 0 0 12px 8px;
    border: 0;
    box-shadow: none;
    background: rgba(212, 175, 55, 0.12);
  }

  .navbar-nav .dropdown.submenu-open>.dropdown-menu {
    display: block;
  }

  .nav-cta {
    display: inline-flex;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .main-nav .container-xl {
    flex-wrap: wrap;
    max-width: 100%;
    min-width: 0;
    padding-left: 12px;
    padding-right: 12px;
  }

  .navbar-brand {
    flex: 1 1 auto;
    gap: 8px;
    min-width: 0;
    max-width: calc(100vw - 84px);
    overflow: hidden;
  }

  .navbar-brand img {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
  }

  .navbar-brand strong {
    max-width: calc(100vw - 150px);
    font-size: clamp(0.86rem, 4.5vw, 1.02rem);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .navbar-brand .brand-line-small {
    font-size: clamp(0.68rem, 3.4vw, 0.8rem);
  }

  .navbar-toggler {
    flex: 0 0 auto;
    margin-left: auto;
    padding: 0.35rem 0.55rem;
  }

  .navbar-collapse {
    flex-basis: 100%;
  }

  .floating-actions {
    right: 12px;
    bottom: 12px;
  }

  .whatsapp-float {
    width: 46px;
    height: 46px;
    font-size: 1.35rem;
  }

  .top-float {
    width: auto;
    min-height: auto;
    font-size: 0.76rem;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 118px;
  }

  .hero-dots {
    right: 14px;
  }

  .latest-updates {
    grid-template-columns: 1fr;
  }

  .updates-label {
    min-height: 46px;
    justify-content: center;
  }

  .faith-visual-3d {
    min-height: 520px;
  }

  .faith-scene {
    inset: 70px 12px 54px;
  }

  .cross-3d {
    width: 104px;
    height: 180px;
  }

  .cross-beam.vertical {
    width: 28px;
    height: 180px;
  }

  .cross-beam.horizontal {
    top: 52px;
    width: 104px;
    height: 28px;
  }

  .bible-3d {
    width: 204px;
  }

  .faith-chip {
    min-width: 150px;
    padding: 12px 14px;
  }

  .chip-two {
    right: 8px;
    top: 118px;
  }

  .mission-vision,
  .legacy-inner,
  .about-highlights,
  .mission-list,
  .campus-grid,
  .faculty-profile-grid,
  .faculty-modal-grid,
  .faculty-modal-meta,
  .events-split {
    grid-template-columns: 1fr;
  }

  .calendar-weekdays,
  .calendar-grid {
    min-width: 760px;
  }

  .event-calendar {
    overflow-x: auto;
  }

  .upcoming-slider {
    height: 590px;
  }

  .contact-admission-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .application-register,
  .application-register-grid,
  .application-grid,
  .document-grid {
    grid-template-columns: 1fr;
  }

  .approval-flow {
    align-items: flex-start;
    flex-direction: column;
  }

  .faculty-area {
    padding: 24px;
  }

  .faculty-area-heading {
    align-items: flex-start;
  }

  .faculty-modal-photo-wrap {
    min-height: 330px;
  }

  .faculty-modal-copy {
    padding: 0 4px 12px;
  }

  .programme-modal-body {
    padding: 34px 18px 22px;
  }

  .about-photo-panel,
  .about-photo-panel img {
    min-height: 360px;
  }

  .about-photo-badge {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-photo-badge span {
    text-align: left;
  }

  .history-timeline::before {
    left: 18px;
  }

  .history-item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-left: 46px;
  }

  .history-item span {
    justify-self: start;
  }

  .history-item div::before {
    left: -37px;
  }

  .section-pad {
    padding: 68px 0;
  }

  .donate-inner,
  .admission-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding: 52px 12px;
  }

  .page-grid {
    grid-template-columns: 1fr;
  }

  .wide-card {
    grid-column: span 1;
  }

  .download-row,
  .staff-row,
  .news-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
