﻿/* ============================================================
   PUP MARAGONDON â€” ANIMATED STYLES
   ============================================================ */

/* --- CSS VARIABLES --- */
:root {
  --light-grey: #f2f2f2;
  --maroon: #800000;
  --maroon-deep: #5a0000;
  --gold: #ffd700;
  --gold-light: #ffe566;
  --white: #ffffff;
  --font-headings: "Montserrat", sans-serif;
  --font-ui: "Open Sans", sans-serif;
  --font-body: "Lato", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

/* --- RESET & GLOBAL --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(128,0,0,0.35) transparent;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(128,0,0,0.32);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(128,0,0,0.55);
}

body,
html {
  height: 100%;
  font-family: var(--font-body);
  background-color: var(--light-grey);
  color: #333;
  overflow-x: hidden;
}

/* â”€â”€ Cursor Glow â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(128, 0, 0, 0.07) 0%,
    transparent 85%
  );
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity 0.3s;
}
@media (hover: none) {
  .cursor-glow {
    display: none;
  }
}

/* â”€â”€ Page Loader â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--maroon-deep);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.6s var(--ease-out),
    visibility 0.6s;
}
#page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  text-align: center;
}
.loader-logo {
  width: 90px;
  margin-bottom: 24px;
  animation: loaderPulse 1.2s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.7;
  }
}
.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 0;
  overflow: hidden;
}
.loader-progress {
  height: 100%;
  width: 0%;
  background: var(--gold);
  border-radius: 0;
  animation: loaderFill 1.4s var(--ease-out) forwards;
}
@keyframes loaderFill {
  to {
    width: 100%;
  }
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* â”€â”€ Scroll-reveal base states â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}
.stagger-child {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out),
    box-shadow 0.4s,
    background-color 0.4s;
}
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible,
.stagger-child.visible {
  opacity: 1;
  transform: none;
}

/* â”€â”€ Section eyebrow labels â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-eyebrow.light {
  color: var(--gold);
}
.section-eyebrow.dark {
  color: var(--maroon);
}

/* â”€â”€ HEADER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  /* Default: glassmorphism for all inner pages */
  background: rgba(44, 0, 0, 0.24);
  backdrop-filter: blur(10px) saturate(100%);
  -webkit-backdrop-filter: blur(10px) saturate(100%);
  box-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);
  transition:
    background 0.5s ease,
    border-color 0.5s ease,
    box-shadow 0.5s ease,
    backdrop-filter 0.5s ease,
    -webkit-backdrop-filter 0.5s ease,
    transform 0.4s ease;
  animation: headerSlideDown 0.8s var(--ease-out) both;
}
@keyframes headerSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}
.brand:hover {
  transform: scale(1.02);
}
.brand img {
  height: 44px;
  width: auto;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.main-title {
  font-family: var(--font-headings);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.96);
  line-height: 1.2;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.sub-title {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 600;
  letter-spacing: 0.3px;
}
.nav-menu {
  font-family: var(--font-ui);
}
.nav-list {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}
.nav-list > li > a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  transition: color 0.25s ease, background 0.25s ease;
  padding: 6px 10px;
  border-radius: 4px;
  position: relative;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.nav-list > li > a::after {
  display: none;
}
.nav-list > li > a:hover {
  color: var(--gold);
  background: rgba(150, 0, 0, 0.116);
  border-radius: 10px;
  }

/* Dropdown */
.dropdown {
  position: relative;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(12, 0, 0, 0.88);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  list-style: none;
  min-width: 260px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border-top: 2px solid var(--maroon);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0 0 8px 8px;
  padding: 8px 0;
  margin-top: 15px;
  animation: dropdownFade 0.25s var(--ease-out);
}

/* FIX: The invisible bridge to prevent the hover menu from disappearing */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -18px; /* Bridges the margin-top gap */
  left: 0;
  right: 0;
  height: 18px;
  background: transparent;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.dropdown-menu li a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  line-height: 1.4;
  transition:
    background 0.22s,
    color 0.22s,
    padding-left 0.22s;
}
.dropdown-menu li a:hover {
  background: rgba(128, 0, 0, 0.55);
  color: rgba(255, 255, 255, 1);
  padding-left: 28px;
}
.dropdown:hover .dropdown-menu {
  display: block;
}

/* ---> NEW: Fix for the last dropdown (Exhibit) going off-screen on the right <--- */
.nav-list > li:last-child .dropdown-menu {
  left: auto;
  right: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.9);
  transition:
    transform 0.35s var(--ease-out),
    opacity 0.3s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* â”€â”€ HERO SECTION â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  background-image: url(assets/images/background.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(80, 0, 0, 0.65) 100%
  );
  z-index: 1;
}

/* Animated particles */
.particles-container {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.3);
  animation: floatParticle linear infinite;
}
.particle:nth-child(1) {
  width: 6px;
  height: 6px;
  left: 12%;
  animation-duration: 18s;
  animation-delay: 0s;
}
.particle:nth-child(2) {
  width: 4px;
  height: 4px;
  left: 25%;
  animation-duration: 22s;
  animation-delay: 2s;
}
.particle:nth-child(3) {
  width: 8px;
  height: 8px;
  left: 40%;
  animation-duration: 15s;
  animation-delay: 4s;
}
.particle:nth-child(4) {
  width: 3px;
  height: 3px;
  left: 55%;
  animation-duration: 25s;
  animation-delay: 1s;
}
.particle:nth-child(5) {
  width: 5px;
  height: 5px;
  left: 68%;
  animation-duration: 19s;
  animation-delay: 6s;
}
.particle:nth-child(6) {
  width: 7px;
  height: 7px;
  left: 78%;
  animation-duration: 21s;
  animation-delay: 3s;
}
.particle:nth-child(7) {
  width: 4px;
  height: 4px;
  left: 88%;
  animation-duration: 17s;
  animation-delay: 5s;
}
.particle:nth-child(8) {
  width: 6px;
  height: 6px;
  left: 5%;
  animation-duration: 23s;
  animation-delay: 7s;
}
@keyframes floatParticle {
  from {
    bottom: -10px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 0.5;
  }
  to {
    bottom: 110%;
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  gap: 0;
}

/* Hero entrance animation */
.hero-animate {
  opacity: 0;
  animation: heroFadeUp 0.9s var(--ease-out) forwards;
}
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(255, 215, 0, 0.4);
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 22px;
  backdrop-filter: blur(4px);
  background: rgba(255, 215, 0, 0.05);
}

.hero-content h1 {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  color: white;
  margin-bottom: 22px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  letter-spacing: -1px;
  line-height: 1.05;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  margin-bottom: 42px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-explore {
  font-family: var(--font-ui);
  background-color: var(--gold);
  color: #1a1a1a;
  border: none;
  padding: 16px 46px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.35s var(--ease-out);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35);
  position: relative;
  overflow: hidden;
}
.btn-explore::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.3s;
}
.btn-explore:hover {
  background-color: #ffffff;
  color: var(--maroon);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.35);
}

.btn-ghost {
  font-family: var(--font-ui);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding: 8px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition:
    color 0.3s,
    border-color 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-ghost i {
  transition: transform 0.4s var(--ease-out);
}
.btn-ghost:hover {
  color: var(--gold);
  border-color: var(--gold);
}
.btn-ghost:hover i {
  transform: translateY(4px);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: heroFadeUp 1s var(--ease-out) 1.5s both;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 215, 0, 0.8)
  );
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
  50% {
    transform: scaleY(0.6);
    opacity: 0.4;
  }
}
.hero-scroll-indicator span {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

/* â”€â”€ STATS STRIP â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.stats-strip {
  background: var(--maroon);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.04) 0%,
    transparent 60%
  );
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item {
  position: relative;
  padding: 10px;
}
.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
}
.stat-number {
  font-family: var(--font-headings);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-headings);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}
.stat-label {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
}

/* â”€â”€ DIRECTOR SECTION â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.director-section {
  background: #fff;
  padding: 110px 0;
}
.director-container {
  display: flex;
  gap: 80px;
  align-items: center;
}
.director-image-wrapper {
  flex: 0 0 380px;
  position: relative;
}
.director-img-frame {
  position: relative;
  z-index: 2;
  border-radius: 0;
  overflow: hidden;
  height: 460px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.5s var(--ease-out),
    box-shadow 0.5s;
}
.director-img-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.22);
}
.director-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.director-accent-block {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 160px;
  height: 160px;
  background: var(--maroon);
  opacity: 0.08;
  border-radius: 0;
  z-index: 1;
  transition: transform 0.5s var(--ease-out);
}
.director-image-wrapper:hover .director-accent-block {
  transform: translate(6px, 6px);
}

.director-text-content {
  flex: 1;
}
.director-header {
  margin-bottom: 30px;
}
.director-header h2 {
  font-family: var(--font-headings);
  font-size: 1.9rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.header-underline {
  width: 60px;
  height: 4px;
  background: var(--maroon);
  border-radius: 2px;
  transition: width 0.5s var(--ease-out);
}
.reveal-right.visible .header-underline {
  width: 60px;
}
.director-body p {
  font-family: var(--font-body);
  font-size: 0.97rem;
  line-height: 1.85;
  color: #555;
  margin-bottom: 18px;
  text-align: justify;
}
.director-signature {
  margin-top: 36px;
}
.signature-line {
  width: 80px;
  height: 1px;
  background: rgba(0, 0, 0, 0.15);
  margin-bottom: 12px;
}
.director-name {
  display: block;
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--maroon);
}
.director-title {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: #888;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* â”€â”€ PROGRAMS SECTION â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.programs-section {
  background:
    linear-gradient(rgba(97, 0, 0, 0.92), rgba(60, 0, 0, 0.92)),
    url("assets/images/background.jpg") center/cover fixed;
  padding: 110px 0;
  position: relative;
  border-top: 4px solid rgba(255, 215, 0, 0.3);
  border-bottom: 4px solid rgba(255, 215, 0, 0.3);
  overflow: hidden;
}
.programs-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center top,
    rgba(255, 215, 0, 0.04) 0%,
    transparent 60%
  );
}

.section-header-centered {
  text-align: center;
  margin-bottom: 70px;
}
.section-title {
  font-family: var(--font-headings);
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
  letter-spacing: 1px;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.8s 0.4s var(--ease-out);
}
.reveal.visible .section-title::after {
  width: 80%;
}

.programs-section .container {
  max-width: 1650px;
}
.programs-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  padding: 20px 0 30px;
}

/* Program Cards */
.program-card {
  background: white;
  width: 295px;
  height: 490px;
  flex-shrink: 0;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 22px 22px;
  transition:
    transform 0.5s var(--ease-out),
    box-shadow 0.5s;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
  position: relative;
  cursor: default;
}
.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.program-card:hover::before {
  transform: scaleX(1);
}
.card-number {
  font-family: var(--font-headings);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(128, 0, 0, 0.08);
  line-height: 1;
  margin-bottom: 8px;
  align-self: flex-start;
  transition: color 0.4s;
}
.program-card:hover .card-number {
  color: rgba(128, 0, 0, 0.14);
}
.card-title {
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--maroon);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 0 0 auto;
}
.card-img-wrapper {
  width: 100%;
  flex: 1;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 18px;
  position: relative;
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(80, 0, 0, 0.5) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}
.program-card:hover .card-img {
  transform: scale(1.08);
}
.program-card:hover .card-img-overlay {
  opacity: 1;
}

.btn-access {
  font-family: var(--font-ui);
  background-color: var(--maroon);
  color: white;
  border: none;
  padding: 11px 28px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.35s var(--ease-out);
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: center;
}
.btn-access i {
  transition: transform 0.3s var(--ease-out);
}
.btn-access:hover {
  background-color: var(--gold);
  color: #1a1a1a;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}
.btn-access:hover i {
  transform: translateX(4px);
}

/* â”€â”€ CAMPUS FACILITIES â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.facilities-section {
  background-color: #ffffff;
  padding: 90px 0 110px;
}
.facilities-section .container {
  max-width: 1800px;
  padding: 0 40px;
}
.facilities-header {
  margin-bottom: 50px;
}
.facilities-header h2 {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  font-weight: bold;
  color: #222;
  border-left: 6px solid var(--maroon);
  padding-left: 15px;
  margin-bottom: 15px;
  margin-top: 8px;
  line-height: 1.2;
}
.facilities-header p {
  font-family: var(--font-body);
  color: #555;
  font-size: 1.05rem;
  margin-left: 21px;
}
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.facility-card {
  position: relative;
  width: 100%;
  aspect-ratio: 5/4;

  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition:
    box-shadow 0.4s,
    transform 0.4s var(--ease-out);
}
.facility-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  transform: translateY(-4px);
}
.facility-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.facility-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(128, 0, 0, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.facility-label {
  color: white;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 2px;
  padding: 12px 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 0;
  text-transform: uppercase;
  transform: translateY(12px);
  transition: transform 0.4s var(--ease-out);
}
.facility-card:hover img {
  transform: scale(1.1);
}
.facility-card:hover .facility-overlay {
  opacity: 1;
}
.facility-card:hover .facility-label {
  transform: translateY(0);
}
.facilities-action {
  text-align: center;
}
.btn-outline {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--maroon);
  background-color: transparent;
  padding: 14px 44px;
  border: 2px solid var(--maroon);
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.35s var(--ease-out);
  box-shadow: 0 8px 25px rgba(128, 0, 0, 0.1);
}
.btn-outline:hover {
  background-color: var(--maroon);
  color: white;
  box-shadow: 0 12px 30px rgba(128, 0, 0, 0.3);
}

/* â”€â”€ AVP SECTION â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.avp-section {
  background:
    linear-gradient(rgba(60, 0, 0, 0.92), rgba(60, 0, 0, 0.92)),
    url("assets/images/background.jpg") center/cover fixed;
  padding: 110px 0;
  position: relative;
  border-top: 4px solid rgba(255, 215, 0, 0.3);
  border-bottom: 4px solid rgba(255, 215, 0, 0.3);
}
.avp-header {
  text-align: center;
  margin-bottom: 60px;
}
.avp-header h2 {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  color: white;
  font-weight: 600;
  display: inline-block;
  padding: 0 0 16px 18px;
  border-left: 8px solid var(--gold);
  margin-bottom: 15px;
  letter-spacing: 1px;
  line-height: 1;
}
.avp-header p {
  font-family: var(--font-body);
  color: #ddd;
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto;
}
.avp-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.avp-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s;
}
.avp-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}
.video-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  position: relative;
}
.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
}
.video-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d0000 0%, #200005 50%, #0d0000 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.vp-play-ring {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(255,215,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,215,0,0.45);
  font-size: 1.2rem;
  padding-left: 4px;
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}
.avp-card:hover .vp-play-ring {
  border-color: rgba(255,215,0,0.7);
  color: rgba(255,215,0,0.8);
  transform: scale(1.1);
}
.vp-label {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
}
.avp-info {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.avp-info-text { flex: 1; }
.avp-info h3 {
  font-family: var(--font-headings);
  color: var(--maroon);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 3px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.avp-info p {
  font-family: var(--font-ui);
  color: #aaa;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.avp-watch-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 9px 0;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 3px 10px rgba(128,0,0,0.25);
}
.avp-watch-btn i { font-size: 0.62rem; }
.avp-watch-btn:hover {
  opacity: 0.88;
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(128,0,0,0.18);
}
.avp-watch-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
  border-radius: 50px;
  background: rgba(0,0,0,0.04);
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  color: #ccc;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* â”€â”€ Video Modal (partial fullscreen lightbox) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.avp-modal {
  position: fixed;
  inset: 0;
  z-index: 9100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,0);
  pointer-events: none;
  transition: background 0.3s;
}
.avp-modal.show {
  background: rgba(0,0,0,0.82);
  pointer-events: auto;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.avp-modal-box {
  width: 100%;
  max-width: 880px;
  background: #111;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: scale(0.88) translateY(24px);
  transition: opacity 0.3s ease, transform 0.38s cubic-bezier(0.34,1.56,0.64,1);
}
.avp-modal.show .avp-modal-box {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.avp-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s, transform 0.2s;
}
.avp-modal-close:hover {
  background: rgba(255,255,255,0.28);
  transform: scale(1.1);
}
.avp-modal-video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  position: relative;
}
.avp-modal-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.avp-modal-info {
  padding: 18px 24px 22px;
}
.avp-modal-info h3 {
  font-family: var(--font-headings);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.avp-modal-info p {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
}

/* â”€â”€ FOOTER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.site-footer {
  background: #111;
  color: #ccc;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  padding: 70px 20px 50px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-logo img {
  position: relative;
  height: 52px;
  width: auto;
  opacity: 0.9;
}
.footer-brand-text {
  display: flex;
  flex-direction: column;
}
.pup-text {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
}
.maragondon-text {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
}
.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #999;
  margin-bottom: 22px;
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 0.8rem;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
}
.social-links a:hover {
  background: var(--maroon);
  border-color: var(--maroon);
  color: white;
  transform: translateY(-3px);
}
.footer-heading {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: white;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-list {
  list-style: none;
}
.footer-list li {
  margin-bottom: 10px;
}
.footer-list a {
  font-size: 0.88rem;
  color: #888;
  text-decoration: none;
  transition:
    color 0.3s,
    padding-left 0.3s var(--ease-out);
  display: inline-block;
}
.footer-list a:hover {
  color: var(--gold);
  padding-left: 6px;
}
.footer-contact-list {
  list-style: none;
}
.footer-contact-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 0.88rem;
  color: #888;
  align-items: flex-start;
}
.footer-contact-list i {
  color: var(--gold);
  margin-top: 3px;
  font-size: 0.9rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 20px;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: #555;
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 0.78rem;
  color: #555;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-legal a:hover {
  color: var(--gold);
}

/* â”€â”€ RESPONSIVE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 1024px) {
  header {
    padding: 0 20px;
  }
  .hamburger {
    display: flex;
  }
  .nav-list {
    position: fixed;
    top: 70px;
    left: auto;
    right: 0;
    background: rgba(10, 0, 0, 0.94);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 0;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.4s var(--ease-out),
      opacity 0.4s;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    min-width: 240px;
  }
  .nav-list.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-list > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .nav-list > li > a {
    padding: 14px 24px;
    border-radius: 0;
    display: block;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: none;
  }
  .nav-list > li > a:hover {
    background: rgba(128, 0, 0, 0.35);
    color: rgba(255, 255, 255, 1);
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border-top: none;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: none;
    display: none;
    padding-left: 15px;
    margin: 0;
    border-radius: 0;
    animation: none;
  }
  .dropdown.active .dropdown-menu {
    display: block;
  }

  /* Reset the right alignment for the last dropdown in mobile view */
  .nav-list > li:last-child .dropdown-menu {
    left: 0;
    right: auto;
  }

  .director-container {
    flex-direction: column;
  }
  .director-image-wrapper {
    flex: auto;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .avp-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}
@media (max-width: 640px) {
  .avp-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
@media (max-width: 420px) {
  .avp-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-cta-group {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item::after {
    display: none;
  }
  .facilities-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}
/* EXHIBIT */
/* â”€â”€ SUB-PAGE HERO â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sub-hero {
  position: relative;
  height: 45vh;
  min-height: 400px;
  width: 100%;
  background-image: url(assets/images/background.jpg);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 70px; /* Offset for fixed header */
}
.sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(80, 0, 0, 0.85) 0%,
    rgba(20, 0, 0, 0.9) 100%
  );
  z-index: 1;
}
.sub-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  animation: heroFadeUp 0.8s var(--ease-out) forwards;
}
.sub-hero-title {
  font-family: var(--font-headings);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: white;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.sub-hero-breadcrumbs {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* â”€â”€ EXHIBIT SECTION â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.exhibit-section {
  padding: 90px 0 110px;
  background-color: var(--light-grey);
}
.exhibit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}
.exhibit-card {
  background: white;
  padding: 40px 30px;
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}
.exhibit-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--maroon);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
}
.exhibit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(128, 0, 0, 0.12);
}
.exhibit-card:hover::after {
  transform: scaleX(1);
}
.exhibit-icon {
  width: 70px;
  height: 70px;
  background: rgba(128, 0, 0, 0.05);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  transition:
    background 0.4s,
    color 0.4s,
    transform 0.4s var(--ease-out);
}
.exhibit-card:hover .exhibit-icon {
  background: var(--maroon);
  color: white;
  transform: scale(1.1) rotate(5deg);
}
.exhibit-card h3 {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  color: #222;
  margin-bottom: 15px;
  line-height: 1.4;
  flex-grow: 1;
}
.btn-text {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--maroon);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  transition: color 0.3s;
}
.btn-text i {
  transition: transform 0.3s var(--ease-out);
}
.btn-text:hover {
  color: var(--gold);
}
.btn-text:hover i {
  transform: translateX(5px);
}

/* ============================================================
   EXHIBIT PAGE â€” ENHANCED 3D + ANIMATION STYLES
   ============================================================ */

/* â”€â”€ Scroll progress bar (declared in unified section below) â”€ */

/* â”€â”€ Sub-hero â€” full cinematic banner â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sub-hero {
  position: relative;
  height: 460px;
  background-image: url(assets/images/background.jpg);
  background-size: cover;
  background-position: center 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 70px;
}
.sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(90, 0, 0, 0.88) 0%,
    rgba(128, 0, 0, 0.72) 50%,
    rgba(0, 0, 0, 0.82) 100%
  );
  z-index: 1;
}
/* Animated geometric overlay */
.sub-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 60px,
      rgba(255, 215, 0, 0.03) 60px,
      rgba(255, 215, 0, 0.03) 61px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 60px,
      rgba(255, 255, 255, 0.02) 60px,
      rgba(255, 255, 255, 0.02) 61px
    );
  z-index: 1;
}

/* Floating particles in hero */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.hero-particles span {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.15);
  animation: floatParticle linear infinite;
}
.hero-particles span:nth-child(1) {
  width: 8px;
  height: 8px;
  left: 10%;
  animation-duration: 18s;
  animation-delay: 0s;
}
.hero-particles span:nth-child(2) {
  width: 5px;
  height: 5px;
  left: 25%;
  animation-duration: 22s;
  animation-delay: 3s;
}
.hero-particles span:nth-child(3) {
  width: 10px;
  height: 10px;
  left: 40%;
  animation-duration: 15s;
  animation-delay: 6s;
}
.hero-particles span:nth-child(4) {
  width: 4px;
  height: 4px;
  left: 55%;
  animation-duration: 25s;
  animation-delay: 1s;
}
.hero-particles span:nth-child(5) {
  width: 7px;
  height: 7px;
  left: 70%;
  animation-duration: 20s;
  animation-delay: 4s;
}
.hero-particles span:nth-child(6) {
  width: 6px;
  height: 6px;
  left: 85%;
  animation-duration: 17s;
  animation-delay: 2s;
}
.hero-particles span:nth-child(7) {
  width: 9px;
  height: 9px;
  left: 15%;
  animation-duration: 23s;
  animation-delay: 7s;
}
.hero-particles span:nth-child(8) {
  width: 3px;
  height: 3px;
  left: 60%;
  animation-duration: 19s;
  animation-delay: 5s;
}

@keyframes floatParticle {
  0% {
    bottom: -10px;
    transform: translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    bottom: 110%;
    transform: translateX(100px) rotate(720deg);
    opacity: 0;
  }
}

.sub-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}
.sub-hero-eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s var(--ease-out) forwards;
}
.sub-hero-title {
  font-family: var(--font-headings);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  color: white;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 14px;
  opacity: 0;
  animation: fadeUp 0.9s 0.4s var(--ease-out) forwards;
}
.sub-hero-title span {
  color: var(--gold);
}
.sub-hero-divider {
  width: 70px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 18px;
  opacity: 0;
  animation: fadeUp 0.7s 0.6s var(--ease-out) forwards;
}
.sub-hero-breadcrumbs {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.7s 0.75s var(--ease-out) forwards;
}
.sub-hero-breadcrumbs a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}
.sub-hero-breadcrumbs a:hover {
  color: var(--gold);
}
.sub-hero-breadcrumbs .sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.3);
}
.sub-hero-breadcrumbs .current {
  color: var(--gold);
  font-weight: 600;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* â”€â”€ Intro section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.exhibit-intro {
  background: white;
  padding: 70px 0 20px;
  text-align: center;
}
.exhibit-intro .section-eyebrow {
  color: var(--maroon);
}
.exhibit-intro h2 {
  font-family: var(--font-headings);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.exhibit-intro .header-underline {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  border-radius: 2px;
  margin: 0 auto 24px;
}
.exhibit-intro p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
}

/* â”€â”€ Exhibit Grid Section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.exhibit-section {
  background: var(--light-grey);
  padding: 60px 0 110px;
}

.exhibit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  padding: 40px 40px 0;
  max-width: 1280px;
  margin: 0 auto;
}

/* â”€â”€ 3D Exhibit Card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.exhibit-card {
  background: white;
  border-radius: 0;
  padding: 44px 32px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
  transform: perspective(800px) rotateX(0deg) rotateY(0deg) translateZ(0);
  transition:
    box-shadow 0.4s,
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  opacity: 0;
  will-change: transform, opacity;
}
.exhibit-card.visible {
  opacity: 1;
  transform: perspective(800px) rotateX(0deg) rotateY(0deg) translateZ(0);
}

/* Top gradient accent */
.exhibit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
/* Glow BG on hover */
.exhibit-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(128, 0, 0, 0.06) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s;
}
.exhibit-card:hover::before {
  transform: scaleX(1);
}
.exhibit-card:hover::after {
  opacity: 1;
}
.exhibit-card:hover {
  box-shadow:
    0 28px 70px rgba(128, 0, 0, 0.18),
    0 0 0 1px rgba(128, 0, 0, 0.06);
}

/* Card number badge */
.card-badge {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--font-headings);
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(128, 0, 0, 0.15);
  letter-spacing: 1px;
}

/* Icon wrapper â€” 3D sphere */
.exhibit-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
  box-shadow:
    0 10px 30px rgba(128, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition:
    transform 0.5s var(--ease-out),
    box-shadow 0.5s;
  will-change: transform;
}
.exhibit-card:hover .exhibit-icon {
  transform: translateY(-6px) scale(1.12) rotateY(180deg);
  box-shadow:
    0 20px 50px rgba(128, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.exhibit-card h3 {
  font-family: var(--font-headings);
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.45;
  flex-grow: 1;
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}
.exhibit-card:hover h3 {
  color: var(--maroon);
}

.exhibit-card-desc {
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: #888;
  line-height: 1.65;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.btn-text {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--maroon);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 2px solid var(--maroon);
  border-radius: 50px;
  position: relative;
  z-index: 1;
  transition:
    background 0.35s,
    color 0.35s,
    transform 0.3s var(--ease-out);
  margin-top: auto;
}
.btn-text i {
  transition: transform 0.35s var(--ease-out);
}
.btn-text:hover {
  background: var(--maroon);
  color: white;
  transform: translateY(-2px);
}
.btn-text:hover i {
  transform: translateX(5px);
}

/* â”€â”€ COMPLIANCE PAGE CARD â€” SOFT ACCENT â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.compliance-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.compliance-grid .exhibit-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  min-height: 400px;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 2px 12px rgba(128, 0, 0, 0.07),
    0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(128, 0, 0, 0.1);
  cursor: pointer;
  transform: none;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}
.compliance-grid .exhibit-card.visible {
  transform: none;
  opacity: 1;
}
.compliance-grid .exhibit-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 18px 42px rgba(128, 0, 0, 0.13),
    0 2px 8px rgba(0, 0, 0, 0.06);
  border-color: rgba(128, 0, 0, 0.2);
}
.compliance-grid .exhibit-card::before,
.compliance-grid .exhibit-card::after {
  display: none;
}

/* â”€â”€ Soft body (entire card) â”€â”€ */
.cc-soft-body {
  flex: 1;
  position: relative;
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Faint roman numeral watermark top-right */
.cc-soft-body::after {
  content: attr(data-roman);
  position: absolute;
  top: -14px;
  right: 6px;
  font-family: var(--font-headings);
  font-size: 5.5rem;
  font-weight: 700;
  color: rgba(128, 0, 0, 0.055);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -2px;
}

/* Maroon badge â€” sharp rectangular tag */
.cc-area-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 5px;
  background: linear-gradient(90deg, var(--maroon), #6b0000);
  color: var(--gold);
  font-family: var(--font-headings);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 0;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
  box-shadow: 2px 2px 0 rgba(128, 0, 0, 0.15);
}

/* Icon square */
.cc-soft-icon {
  width: 50px;
  height: 50px;
  border-radius: 0;
  background: rgba(128, 0, 0, 0.06);
  border: 1.5px solid rgba(128, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--maroon);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}
.compliance-grid .exhibit-card:hover .cc-soft-icon {
  background: var(--maroon);
  color: #fff;
  border-color: transparent;
  transform: scale(1.06);
}

/* Title */
.cc-soft-body h3 {
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 7px;
  line-height: 1.35;
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}
.compliance-grid .exhibit-card:hover .cc-soft-body h3 {
  color: var(--maroon);
}

/* Description */
.cc-soft-body .exhibit-card-desc {
  font-size: 0.77rem;
  color: #888;
  line-height: 1.55;
  margin: 0;
  flex: 1;
  position: relative;
  z-index: 1;
}

/* Outlined button â€” fills maroon on hover */
.cc-soft-body .btn-text {
  margin-top: 16px;
  align-self: stretch;
  background: transparent;
  color: var(--maroon);
  border: 1.5px solid rgba(128, 0, 0, 0.35);
  border-radius: 50px;
  padding: 9px 14px;
  font-family: var(--font-headings);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  transition: background 0.25s, color 0.25s, border-color 0.25s,
              transform 0.2s, box-shadow 0.2s;
}
.cc-soft-body .btn-text:hover {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(128, 0, 0, 0.22);
}
.cc-soft-body .btn-text i {
  transition: transform 0.2s;
}
.cc-soft-body .btn-text:hover i {
  transform: translateX(3px);
}

/* Responsive breakpoints */
@media (max-width: 1100px) {
  .compliance-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 700px) {
  .compliance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 440px) {
  .compliance-grid {
    grid-template-columns: 1fr;
  }
}

/* â”€â”€ PDF Modal Overlay â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#pdf-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s var(--ease-out),
    visibility 0.4s;
  backdrop-filter: blur(6px);
}
#pdf-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.pdf-modal {
  background: white;
  border-radius: 0;
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.88) translateY(30px);
  transition: transform 0.45s var(--ease-out);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}
#pdf-modal-overlay.open .pdf-modal {
  transform: scale(1) translateY(0);
}
.pdf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon));
  color: white;
  flex-shrink: 0;
}
.pdf-modal-header h4 {
  font-family: var(--font-headings);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.pdf-modal-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition:
    background 0.3s,
    transform 0.3s;
}
.pdf-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}
.pdf-modal-body {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  min-height: 300px;
}
.pdf-modal-body iframe {
  width: 100%;
  height: 75vh;
  border: none;
}
/* Fallback for unavailable PDFs */
.pdf-unavailable {
  text-align: center;
  padding: 60px 30px;
  color: #666;
}
.pdf-unavailable i {
  font-size: 3rem;
  color: var(--maroon);
  margin-bottom: 18px;
  display: block;
}
.pdf-unavailable h5 {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 10px;
}

/* â”€â”€ Flipbook FULL-SCREEN modal â€” Glassmorphism â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#pdf-modal-overlay.flipbook-open {
  padding: 0;
  background: rgba(4, 3, 14, 0.32);
  backdrop-filter: blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
}
.pdf-modal.flipbook-mode {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
  overflow: visible;
}
.pdf-modal.flipbook-mode::before { display: none; }

/* â”€â”€ Glassmorphism header â”€â”€â”€â”€ */
.pdf-modal.flipbook-mode .pdf-modal-header {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 28px;
  height: 58px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.pdf-modal.flipbook-mode .pdf-modal-header::after { display: none; }
.pdf-modal.flipbook-mode .pdf-modal-header h4 {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  z-index: 1;
}
.pdf-modal.flipbook-mode .pdf-modal-header h4 i {
  color: rgba(255, 215, 0, 0.85);
  filter: none;
}
.pdf-modal.flipbook-mode .pdf-modal-close {
  width: 36px;
  height: 36px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 1;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.pdf-modal.flipbook-mode .pdf-modal-close:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  transform: rotate(90deg);
}

/* â”€â”€ Flipbook body â”€â”€â”€â”€ */
.pdf-modal.flipbook-mode .pdf-modal-body {
  flex: 1;
  min-height: 0;
  background: transparent;
  position: relative;
  padding: 0;
  z-index: 1;
  overflow: hidden;
}
#df-flipbook {
  width: 100%;
  height: 100%;
}

/* â”€â”€ Hide DearFlip toolbar â€” keep only prev / page / next â”€â”€â”€â”€ */
.df-ui-share,
.df-ui-thumbnail,
.df-ui-zoomin,
.df-ui-zoomout,
.df-ui-fullscreen,
.df-ui-more,
.df-ui-sound,
.more-container {
  display: none !important;
}

/* Glassmorphism bottom controls bar */
.df-ui-controls {
  background: rgba(255, 255, 255, 0.07) !important;
  backdrop-filter: blur(18px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(150%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.df-ui-btn {
  color: rgba(255, 255, 255, 0.75) !important;
  transition: color 0.2s, background 0.2s !important;
}
.df-ui-btn:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}
/* Page number text */
.df-ui-page,
.df-ui-page input,
.df-ui-page span {
  color: rgba(255, 255, 255, 0.65) !important;
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  font-family: var(--font-headings) !important;
  letter-spacing: 1px !important;
}

/* â”€â”€ Loading spinner â”€â”€â”€â”€ */
.flipbook-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255, 215, 0, 0.85);
  font-size: 1rem;
  letter-spacing: 1px;
  z-index: 5;
  pointer-events: none;
}
.flipbook-spinner i {
  font-size: 2.4rem;
  animation: fb-spin 1s linear infinite;
}
@keyframes fb-spin {
  to { transform: rotate(360deg); }
}

/* â”€â”€ NPC Certificate Spotlight â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.exhibit-npc-spotlight {
  background: white;
  padding: 80px 0;
}
.npc-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.npc-text .section-eyebrow {
  color: var(--maroon);
}
.npc-text h2 {
  font-family: var(--font-headings);
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.npc-text .header-underline {
  width: 55px;
  height: 4px;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  border-radius: 2px;
  margin-bottom: 24px;
}
.npc-text p {
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: #555;
  line-height: 1.85;
  margin-bottom: 16px;
}
.npc-text p:last-of-type {
  margin-bottom: 28px;
}
.npc-cert-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
  transform: perspective(900px) rotateY(-4deg) rotateX(2deg);
  transition:
    transform 0.5s var(--ease-out),
    box-shadow 0.5s;
}
.npc-cert-wrapper:hover {
  transform: perspective(900px) rotateY(0deg) rotateX(0deg) scale(1.02);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.28);
}
.npc-cert-wrapper img {
  width: 100%;
  display: block;
  border-radius: 12px;
}
.npc-cert-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--maroon-deep);
  font-family: var(--font-headings);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* â”€â”€ Stats Strip (reuse from index) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.exhibit-stats {
  background: linear-gradient(
    135deg,
    var(--maroon-deep) 0%,
    var(--maroon) 100%
  );
  padding: 60px 0;
}
.exhibit-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 30px;
  text-align: center;
}
.exhibit-stat-item {
  color: white;
}
.exhibit-stat-item .stat-num {
  font-family: var(--font-headings);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.exhibit-stat-item .stat-lbl {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 8px;
  display: block;
}

/* ============================================================
   EXHIBIT PAGE â€” REDESIGN (exh-*)
   ============================================================ */

/* â”€â”€ Hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.exh-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: url('assets/images/background.jpg') center / cover fixed;
  overflow: hidden;
  margin-top: 70px;
}
.exh-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(55,0,0,0.94) 0%, rgba(15,0,0,0.9) 60%, rgba(0,0,0,0.86) 100%);
}
.exh-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(255,215,0,0.022) 60px, rgba(255,215,0,0.022) 61px),
    repeating-linear-gradient(-45deg, transparent, transparent 60px, rgba(255,255,255,0.012) 60px, rgba(255,255,255,0.012) 61px);
}
.exh-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  padding: 80px 24px 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.exh-hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s var(--ease-out) forwards;
}
.exh-hero-title {
  font-family: var(--font-headings);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 0.9s 0.38s var(--ease-out) forwards;
}
.exh-hero-title em {
  font-style: italic;
  color: var(--gold);
}
.exh-hero-line {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 22px;
  opacity: 0;
  animation: fadeUp 0.7s 0.52s var(--ease-out) forwards;
}
.exh-hero-sub {
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  max-width: 540px;
  margin: 0 auto 28px;
  opacity: 0;
  animation: fadeUp 0.7s 0.64s var(--ease-out) forwards;
}
.exh-breadcrumb {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.38);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeUp 0.7s 0.76s var(--ease-out) forwards;
}
.exh-breadcrumb a {
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  transition: color 0.2s;
}
.exh-breadcrumb a:hover { color: var(--gold); }
.exh-breadcrumb span:last-child { color: var(--gold); font-weight: 700; }

/* Stats strip pinned to bottom of hero */
.exh-hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.exh-hero-stat {
  flex: 1;
  text-align: center;
  padding: 28px 16px;
  border-right: 1px solid rgba(255,255,255,0.05);
}
.exh-hero-stat:last-child { border-right: none; }
.exh-stat-num {
  display: block;
  font-family: var(--font-headings);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.exh-stat-lbl {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* â”€â”€ Certificate of Authenticity â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.exh-cert-section {
  background: #080002;
  padding: 100px 0;
}
.exh-cert-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.exh-cert-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.exh-cert-text h2 {
  font-family: var(--font-headings);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 28px;
}
.exh-cert-text h2 em {
  font-style: italic;
  color: var(--gold);
}
.exh-cert-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.035);
  border-left: 3px solid rgba(255,215,0,0.35);
}
.exh-cert-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.exh-cert-meta-lbl {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.exh-cert-meta-val {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
}
.exh-cert-text p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.85;
  margin-bottom: 32px;
}
.exh-cert-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  background: transparent;
  border: 1.5px solid rgba(255,215,0,0.4);
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.exh-cert-btn:hover {
  background: rgba(255,215,0,0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.exh-cert-visual { position: relative; }
.exh-cert-img-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.55);
}
.exh-cert-img-wrap img {
  width: 100%;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.exh-cert-img-wrap:hover img { transform: scale(1.03); }
.exh-cert-glow {
  position: absolute;
  bottom: -44px;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 90px;
  background: rgba(255,215,0,0.12);
  filter: blur(44px);
  pointer-events: none;
  border-radius: 50%;
}

/* â”€â”€ Documents List â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.exh-docs-section {
  background: #fff;
  padding: 90px 0 110px;
}
.exh-docs-header {
  text-align: center;
  padding: 0 20px;
  margin-bottom: 56px;
}
.exh-docs-header h2 {
  font-family: var(--font-headings);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.exh-docs-header p {
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: #aaa;
  line-height: 1.7;
}
.exh-docs-list {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* Each document row */
.exh-doc-row {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: grid;
  grid-template-columns: 58px 1fr 42px;
  align-items: center;
  gap: 24px;
  padding: 26px 0 26px 0;
  cursor: pointer;
  text-align: left;
  position: relative;
  transition: padding-left 0.32s var(--ease-out), background 0.22s;
  overflow: hidden;
}
.exh-doc-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--maroon), var(--gold));
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.28s var(--ease-out);
}
.exh-doc-row:hover {
  padding-left: 18px;
  background: rgba(128,0,0,0.016);
}
.exh-doc-row:hover::before { transform: scaleY(1); }
.exh-doc-num {
  font-family: var(--font-headings);
  font-size: 1.9rem;
  font-weight: 700;
  color: rgba(128,0,0,0.13);
  line-height: 1;
  transition: color 0.28s;
  user-select: none;
}
.exh-doc-row:hover .exh-doc-num { color: rgba(128,0,0,0.3); }
.exh-doc-body h3 {
  font-family: var(--font-headings);
  font-size: 1.08rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin: 0;
  transition: color 0.22s;
}
.exh-doc-row:hover .exh-doc-body h3 { color: var(--maroon); }
.exh-doc-desc {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: #bbb;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.38s ease, margin-top 0.28s;
}
.exh-doc-row:hover .exh-doc-desc {
  max-height: 80px;
  margin-top: 6px;
}
.exh-doc-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(128,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  font-size: 0.82rem;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.25s, transform 0.3s var(--ease-out), background 0.22s, border-color 0.22s;
}
.exh-doc-row:hover .exh-doc-arrow {
  opacity: 1;
  transform: translateX(0);
  background: var(--maroon);
  color: #fff;
  border-color: transparent;
}

/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 1024px) {
  .exh-cert-inner { gap: 52px; }
}
@media (max-width: 768px) {
  .exh-hero { min-height: 65vh; }
  .exh-cert-section { padding: 70px 0; }
  .exh-cert-inner { grid-template-columns: 1fr; gap: 44px; }
  .exh-docs-section { padding: 60px 0 80px; }
  .exh-hero-stats { flex-wrap: wrap; }
  .exh-hero-stat { min-width: 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .exh-hero-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.05); }
}
@media (max-width: 480px) {
  .exh-doc-row { grid-template-columns: 44px 1fr 36px; gap: 14px; }
  .exh-doc-num { font-size: 1.4rem; }
  .exh-docs-list { padding: 0 16px; }
  .exh-hero-stat { min-width: 100%; border-right: none; }
}

/* â”€â”€ Floating action button (back to top) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(128, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.4s,
    transform 0.4s,
    background 0.3s;
  z-index: 1000;
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
#back-to-top:hover {
  background: linear-gradient(135deg, var(--gold), #e6c200);
  color: var(--maroon);
}

/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 1024px) {
  .npc-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .npc-cert-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
  .exhibit-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .sub-hero {
    height: 350px;
  }
  .exhibit-grid {
    padding: 30px 20px 0;
    gap: 20px;
  }
  .npc-inner {
    padding: 0 20px;
  }
  .exhibit-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .exhibit-grid {
    grid-template-columns: 1fr;
  }
  .exhibit-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   ABOUT PAGE â€” ENHANCED 3D + ANIMATION STYLES
   ============================================================ */

/* â”€â”€ Page Hero Banner â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.page-hero {
  position: relative;
  height: 620px;
  background-image: url(assets/images/background.jpg);
  background-size: cover;
  background-position: center 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
  padding-top: 70px;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(83, 0, 0, 0.692) 0%,
    rgba(0, 0, 0, 0.82) 100%
  );
  z-index: 1;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(255, 215, 0, 0.025) 60px,
      rgba(255, 215, 0, 0.025) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(255, 255, 255, 0.015) 60px,
      rgba(255, 255, 255, 0.015) 61px
    );
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 0 20px;
}
.page-hero-eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s var(--ease-out) forwards;
}
.page-hero-content h1 {
  font-family: var(--font-headings);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.1;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s var(--ease-out) forwards;
}
.page-hero-content h1 span {
  color: var(--gold);
}
.page-hero-divider {
  width: 70px;
  height: 3px;
  background: var(--gold);
  margin: 22px auto 0;
  opacity: 0;
  animation: fadeUp 0.7s 0.75s var(--ease-out) forwards;
}

.breadcrumb {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
  opacity: 0;
  animation: fadeUp 0.7s 0.9s var(--ease-out) forwards;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.3s;
}
.breadcrumb a:hover {
  color: var(--gold);
}
.breadcrumb .sep {
  color: rgba(255, 255, 255, 0.3);
}
.breadcrumb .current {
  color: var(--gold);
  font-weight: 600;
}

/* â”€â”€ History Section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.history-section {
  padding: 110px 0 90px;
  background: var(--light-grey);
  position: relative;
  overflow: hidden;
}
.history-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(128, 0, 0, 0.04) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.history-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.history-text .section-eyebrow {
  color: var(--maroon);
}
.history-text h2 {
  font-family: var(--font-headings);
  font-size: 2.1rem;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  line-height: 1.15;
}
.history-text .header-underline {
  width: 55px;
  height: 4px;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  border-radius: 2px;
  margin-bottom: 28px;
}
.history-text p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #555;
  line-height: 1.85;
  margin-bottom: 18px;
}
.history-text p:last-child {
  margin-bottom: 0;
}

.history-img-stack {
  position: relative;
  height: 500px;
  perspective: 1200px;
}
.history-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 88%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
  transform: perspective(900px) rotateY(3deg) rotateX(-1deg);
  transition:
    transform 0.6s var(--ease-out),
    box-shadow 0.6s;
}
.history-img-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 52%;
  object-fit: cover;
  border-radius: 12px;
  border: 5px solid white;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.18);
  transform: perspective(900px) rotateY(-4deg) rotateX(2deg);
  transition:
    transform 0.6s var(--ease-out),
    box-shadow 0.6s;
}
.history-img-stack:hover .history-img-main {
  transform: perspective(900px) rotateY(0deg) rotateX(0deg) scale(1.02);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.28);
}
.history-img-stack:hover .history-img-accent {
  transform: perspective(900px) rotateY(0deg) rotateX(0deg) scale(1.04)
    translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}
.history-badge {
  position: absolute;
  top: 30px;
  right: 0;
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon));
  color: white;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1rem;
  padding: 18px 22px;
  border-radius: 0;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 12px 30px rgba(128, 0, 0, 0.4);
  z-index: 2;
  animation: float3d 4s ease-in-out infinite;
}
.history-badge span {
  display: block;
  font-size: 2.2rem;
  color: var(--gold);
  font-weight: 700;
}
@keyframes float3d {
  0%,
  100% {
    transform: translateY(0) rotateZ(-1deg);
  }
  50% {
    transform: translateY(-10px) rotateZ(1deg);
  }
}

/* â”€â”€ Vision Mission Values â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.vmv-section {
  padding: 100px 0;
  background: white;
  position: relative;
  overflow: hidden;
}
.vmv-section::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(128, 0, 0, 0.04) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.vmv-section::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 215, 0, 0.04) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.vmv-header {
  text-align: center;
  margin-bottom: 70px;
}
.vmv-header .section-eyebrow {
  color: var(--maroon);
}
.vmv-header h2 {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.vmv-header .header-underline {
  width: 55px;
  height: 4px;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  border-radius: 2px;
  margin: 0 auto;
}
.vmv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.vmv-card {
  background: var(--light-grey);
  border-radius: 0;
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transform: perspective(800px) rotateX(0deg) rotateY(0deg) translateZ(0);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out),
    box-shadow 0.4s;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  cursor: default;
  opacity: 0;
  will-change: transform, opacity;
}
.vmv-card.visible {
  opacity: 1;
  transform: perspective(800px) rotateX(0deg) rotateY(0deg) translateZ(0);
}
.vmv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.vmv-card:hover {
  box-shadow: 0 28px 70px rgba(128, 0, 0, 0.14);
}
.vmv-card:hover::before {
  transform: scaleX(1);
}

.vmv-icon {
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  box-shadow: 0 8px 24px rgba(128, 0, 0, 0.28);
  transition:
    transform 0.5s var(--ease-out),
    box-shadow 0.5s;
}
.vmv-icon i {
  color: var(--gold);
  font-size: 1.5rem;
}
.vmv-card:hover .vmv-icon {
  transform: translateY(-5px) rotateY(180deg);
  box-shadow: 0 16px 40px rgba(128, 0, 0, 0.38);
}
.vmv-card h3 {
  font-family: var(--font-headings);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--maroon);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  transition: color 0.3s;
}
.vmv-card p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
}
.vmv-values-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.vmv-values-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: #555;
  margin-bottom: 12px;
  line-height: 1.6;
}
.vmv-values-list li:last-child {
  margin-bottom: 0;
}
.vmv-values-list li i {
  color: var(--maroon);
  font-size: 0.65rem;
  margin-top: 6px;
  flex-shrink: 0;
}

/* â”€â”€ Timeline â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
/* ============================================================
   TIMELINE â€” ALTERNATING MINIMALIST
   ============================================================ */
.timeline-section {
  padding: 110px 0 130px;
  background: #f7f4f0;
  position: relative;
  overflow: hidden;
}

/* â”€â”€ Decorative background layer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.timeline-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 8% 20%,
      rgba(128, 0, 0, 0.04) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 92% 70%,
      rgba(128, 0, 0, 0.04) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(255, 215, 0, 0.025) 0%,
      transparent 60%
    );
  pointer-events: none;
}
/* dot-grid texture */
.timeline-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(128, 0, 0, 0.07) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(
    ellipse at 50% 50%,
    black 30%,
    transparent 75%
  );
  pointer-events: none;
  opacity: 0.5;
}

/* decorative corner arcs */
.timeline-section .tl-deco-arc {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(128, 0, 0, 0.07);
  pointer-events: none;
}
.timeline-section .tl-deco-arc:nth-child(1) {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -80px;
}
.timeline-section .tl-deco-arc:nth-child(2) {
  width: 200px;
  height: 200px;
  top: -30px;
  left: -30px;
}
.timeline-section .tl-deco-arc:nth-child(3) {
  width: 360px;
  height: 360px;
  bottom: -100px;
  right: -100px;
}
.timeline-section .tl-deco-arc:nth-child(4) {
  width: 220px;
  height: 220px;
  bottom: -40px;
  right: -40px;
}

.timeline-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}
.timeline-header h2 {
  font-family: var(--font-headings);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #1a0000;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.timeline-header .header-underline {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  border-radius: 2px;
  margin: 0 auto;
}

/* â”€â”€ Layout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tl-wrapper {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  z-index: 1;
}

/* Central spine */
.tl-spine {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(128,0,0,0.18) 6%,
    rgba(128,0,0,0.25) 50%,
    rgba(128,0,0,0.18) 94%,
    transparent
  );
  transform: translateX(-50%);
}

/* â”€â”€ Each item â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tl-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 52px;
  position: relative;
  transition: opacity 0.35s ease;
}
.tl-item.dimmed {
  opacity: 0.3;
  pointer-events: none;
}
.tl-item.tl-left {
  flex-direction: row;
  padding-right: calc(50% + 32px);
}
.tl-item.tl-right {
  flex-direction: row-reverse;
  padding-left: calc(50% + 32px);
}

/* â”€â”€ Node â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tl-node {
  position: absolute;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  z-index: 3;
}
.tl-dot {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--maroon);
  transition:
    transform 0.3s var(--ease-out),
    background 0.3s;
}
.tl-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(128, 0, 0, 0.35);
  transition:
    transform 0.35s var(--ease-out),
    opacity 0.3s,
    border-color 0.3s;
  animation: tlPulse 3s ease-in-out infinite;
}
.tl-item.active .tl-dot {
  background: var(--gold);
  transform: scale(1.3);
}
.tl-item.active .tl-ring {
  border-color: var(--gold);
  transform: scale(1.9);
  opacity: 0.35;
  animation: none;
}
.tl-item.dimmed .tl-ring {
  animation: none;
}

@keyframes tlPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.7);
    opacity: 0.2;
  }
}

/* â”€â”€ Card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tl-card {
  background: #fff;
  border: 1px solid #e5dfd7;
  border-radius: 0;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
  transition:
    box-shadow 0.3s,
    border-color 0.3s;
  cursor: pointer;
}
.tl-card:hover {
  box-shadow: 0 8px 28px rgba(128, 0, 0, 0.09);
  border-color: rgba(128, 0, 0, 0.18);
}
.tl-item.active .tl-card {
  box-shadow: 0 10px 36px rgba(128, 0, 0, 0.12);
  border-color: rgba(128, 0, 0, 0.22);
}

/* collapsed header area */
.tl-card-inner {
  padding: 22px 44px 20px 22px;
  position: relative;
}
.tl-year {
  display: inline-block;
  font-family: var(--font-headings);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--maroon);
  text-transform: uppercase;
  margin-bottom: 5px;
  opacity: 0.7;
}
.tl-card-inner h4 {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a0000;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tl-short {
  padding-bottom: 10px;
  font-family: var(--font-body);
  font-size: 0.83rem;
  color: #888;
  line-height: 1.65;
}
.tl-toggle-btn {
  position: absolute;
  top: 18px;
  right: 16px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #ddd6cc;
  background: #faf8f5;
  color: var(--maroon);
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.35s var(--ease-out),
    color 0.25s;
}
.tl-toggle-btn:hover {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff;
}
.tl-item.active .tl-toggle-btn {
  transform: rotate(45deg);
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff;
}

/* â”€â”€ Updated Timeline Proportions â”€â”€ */
.tl-detail {
  display: grid;
  /* Change from 1.6fr 1fr to 1fr 1.1fr for better balance */
  grid-template-columns: 1fr 1.5fr;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.38s ease,
    transform 0.38s var(--ease-out);
  pointer-events: none;
  border-top: 1px solid #efe9e1;
  background-color: #fff; /* Ensures background consistency */
}

.tl-item.active .tl-detail {
  max-height: 600px; /* Increased max-height for longer text */
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* Image side */
.tl-img-wrap {
  overflow: hidden;
  position: relative;
  height: 100%;
  min-height: 220px;
}

.tl-img-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.tl-item.active .tl-img-wrap img:hover {
  transform: scale(1.04);
}

/* Text side */
.tl-detail-text {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.tl-detail-text p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #555;
  line-height: 1.8;
  margin: 0;
}

/* Image placeholder when no photo is uploaded yet */
.tl-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #f7f2ee 0%, #ede6df 100%);
  border-right: 1px solid #e8e0d5;
}
.tl-img-placeholder i {
  font-size: 2.4rem;
  color: rgba(128, 0, 0, 0.18);
}
.tl-img-placeholder span {
  font-family: var(--font-headings);
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(128, 0, 0, 0.15);
  letter-spacing: 3px;
}

/* Mobile Fix: Stack them when the screen is small */
@media (max-width: 600px) {
  .tl-detail {
    grid-template-columns: 1fr; /* Stack vertically on small phones */
  }
  .tl-img-wrap {
    height: 200px;
  }
}
@media (max-width: 700px) {
  .tl-spine {
    left: 20px;
  }
  .tl-item.tl-left,
  .tl-item.tl-right {
    flex-direction: row;
    padding-left: 46px;
    padding-right: 0;
  }
  .tl-node {
    left: 20px;
  }
}

/* â”€â”€ Leadership Team â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.leadership-section {
  padding: 100px 0;
  background: white;
}
.leadership-header {
  text-align: center;
  margin-bottom: 70px;
}
.leadership-header .section-eyebrow {
  color: var(--maroon);
}
.leadership-header h2 {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.leadership-header .header-underline {
  width: 55px;
  height: 4px;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  border-radius: 2px;
  margin: 0 auto;
}
.leadership-carousel {
  --ldr-gap: 20px;
  --ldr-visible: 4;
  position: relative;
  padding: 8px 60px 0;
}
@media (max-width: 1100px) { .leadership-carousel { --ldr-visible: 3; } }
@media (max-width: 768px)  { .leadership-carousel { --ldr-visible: 2; } }
@media (max-width: 520px)  { .leadership-carousel { --ldr-visible: 1; padding: 8px 48px 0; } }

.leader-track-outer {
  overflow: hidden;
  padding: 12px;
  margin: -12px;
}
.leader-track {
  display: flex;
  gap: var(--ldr-gap);
  transition: transform 0.48s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.leader-card {
  flex-shrink: 0;
  width: calc((100% - (var(--ldr-visible) - 1) * var(--ldr-gap)) / var(--ldr-visible));
  height: 380px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #1e0000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.leader-card:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 20px 50px rgba(128, 0, 0, 0.22);
}
.leader-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.leader-card:hover .leader-card-photo {
  transform: scale(1.06);
}
.leader-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(50, 0, 0, 0.95) 0%, rgba(20, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.12) 100%);
}
.leader-card-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(200, 162, 0, 0.22);
}
.leader-card-num {
  position: absolute;
  top: 16px;
  left: 18px;
  font-family: var(--font-headings);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.14em;
  z-index: 3;
  opacity: 0.8;
}
.leader-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 18px 22px;
  z-index: 3;
}
.leader-card-name {
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.leader-card-role {
  font-family: var(--font-headings);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.4;
}
.leader-org-wrap {
  text-align: center;
  margin-top: 44px;
}
.leader-org-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  border: 2px solid var(--maroon);
  color: var(--maroon);
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 13px 30px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.leader-org-btn:hover {
  background: var(--maroon);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(128, 0, 0, 0.22);
}

/* â”€â”€ Accreditation Banner â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.accred-banner {
  background: linear-gradient(
    135deg,
    var(--maroon-deep) 0%,
    var(--maroon) 100%
  );
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.accred-banner::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.07);
  pointer-events: none;
}
.accred-banner::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.04);
  pointer-events: none;
}
.accred-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.accred-text h2 {
  font-family: var(--font-headings);
  font-size: 2rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.accred-text p {
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 520px;
}
.accred-stats {
  display: flex;
  gap: 50px;
  flex-shrink: 0;
}
.accred-stat {
  text-align: center;
}
.accred-stat .num {
  font-family: var(--font-headings);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.accred-stat .lbl {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
}

/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 1024px) {
  .history-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .history-img-stack {
    height: 380px;
  }
  .vmv-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
  .accred-inner {
    flex-direction: column;
    text-align: center;
  }
  .accred-stats {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .page-hero {
    height: 430px;
  }
  .timeline::before {
    left: 20px;
  }
  .timeline-item,
  .timeline-item.right {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 56px;
  }
  .timeline-dot {
    left: 20px;
  }
  .timeline-item.right .timeline-card {
    border-right: none;
    border-left: 4px solid var(--maroon);
  }
  .timeline-card {
    max-width: 100%;
  }
  .accred-stats {
    gap: 30px;
  }
}
@media (max-width: 500px) {
  .history-img-stack {
    height: 280px;
  }
  .history-img-accent {
    width: 60%;
    height: 48%;
  }
  .accred-stats {
    flex-direction: column;
    gap: 20px;
  }
}

/* ============================================================
   STRATEGIC GOALS SECTION
   ============================================================ */
.strategic-section {
  background: linear-gradient(
    135deg,
    var(--maroon-deep) 0%,
    var(--maroon) 60%,
    #a00000 100%
  );
  padding: 100px 0 110px;
  position: relative;
  overflow: hidden;
}
.strategic-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 10% 50%,
      rgba(255, 215, 0, 0.07) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 90% 20%,
      rgba(255, 255, 255, 0.04) 0%,
      transparent 50%
    );
  pointer-events: none;
}
.strategic-section::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(255, 215, 0, 0.12);
  pointer-events: none;
}
.strategic-header {
  text-align: center;
  margin-bottom: 64px;
}
.strategic-header h2 {
  font-family: var(--font-headings);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.strategic-intro {
  max-width: 680px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1.7;
  font-family: var(--font-ui);
}
.header-underline.light {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pillar-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.18);
  border-radius: 0;
  padding: 36px 28px 32px;
  position: relative;
  overflow: hidden;
  transition:
    background 0.35s,
    border-color 0.35s,
    transform 0.35s;
  backdrop-filter: blur(6px);
}
.pillar-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.06) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.35s;
}
.pillar-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 215, 0, 0.4);
  transform: translateY(-6px);
}
.pillar-card:hover::before {
  opacity: 1;
}

.pillar-number {
  font-family: var(--font-headings);
  font-size: 4.5rem;
  font-weight: 700;
  color: rgba(255, 215, 0, 0.1);
  line-height: 1;
  position: absolute;
  top: 16px;
  right: 20px;
  letter-spacing: -2px;
  pointer-events: none;
}
.pillar-icon {
  width: 54px;
  height: 54px;
  border-radius: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon-deep);
  font-size: 1.4rem;
  margin-bottom: 18px;
  box-shadow: 0 4px 18px rgba(255, 215, 0, 0.25);
}
.pillar-title {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.pillar-goals {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.pillar-goals li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}
.goal-tag {
  flex-shrink: 0;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.35);
  color: var(--gold-light);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 0;
  margin-top: 2px;
}

/* ============================================================
   CORE VALUES DETAILED SECTION
   ============================================================ */
.corevalues-section {
  background: var(--light-grey);
  padding: 100px 0 110px;
}
.corevalues-header {
  text-align: center;
  margin-bottom: 60px;
}
.corevalues-header h2 {
  font-family: var(--font-headings);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 10px;
}

.corevalues-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cv-card {
  background: #fff;
  border-radius: 0;
  padding: 30px 22px 26px;
  border: 1px solid rgba(128, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s,
    border-color 0.35s;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}
.cv-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.cv-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 40px rgba(128, 0, 0, 0.12);
  border-color: rgba(128, 0, 0, 0.15);
}
.cv-card:hover::after {
  transform: scaleX(1);
}

.cv-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: linear-gradient(135deg, var(--maroon), #a00000);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(128, 0, 0, 0.2);
}
.cv-card h4 {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 10px;
  line-height: 1.3;
}
.cv-card p {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 14px;
}
.cv-behaviors {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cv-behaviors span {
  font-family: var(--font-ui);
  font-size: 0.76rem;
  color: #444;
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1.4;
}
.cv-behaviors span i {
  color: var(--maroon);
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* ============================================================
   TAGLINE & MANDATE SECTION
   ============================================================ */
.mandate-section {
  background: #1a0000;
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.mandate-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 20% 50%,
      rgba(255, 215, 0, 0.05) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 80% 50%,
      rgba(128, 0, 0, 0.3) 0%,
      transparent 55%
    );
  pointer-events: none;
}
.mandate-section::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255, 215, 0, 0.08);
  pointer-events: none;
}
.mandate-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 60px;
  align-items: center;
}
.tagline-block {
  text-align: right;
}
.tagline-label,
.mandate-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
  margin-bottom: 12px;
}
.tagline-text {
  font-family: var(--font-headings);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.tagline-text sup {
  font-size: 0.55em;
  vertical-align: super;
}
.mandate-divider {
  width: 1px;
  height: 160px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 215, 0, 0.4),
    transparent
  );
  flex-shrink: 0;
}
.mandate-block {
  text-align: left;
}
.mandate-icon {
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.mandate-block h3 {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}
.mandate-block p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  max-width: 480px;
}

/* ============================================================
   RESPONSIVE â€” NEW SECTIONS
   ============================================================ */
@media (max-width: 1100px) {
  .corevalues-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .pillar-card {
    padding: 28px 22px;
  }
  .pillar-number {
    font-size: 3rem;
  }
  .mandate-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .tagline-block {
    text-align: center;
  }
  .mandate-block {
    text-align: center;
  }
  .mandate-icon {
    margin: 0 auto 14px;
  }
  .mandate-divider {
    width: 80px;
    height: 1px;
    background: linear-gradient(
      to right,
      transparent,
      rgba(255, 215, 0, 0.4),
      transparent
    );
    margin: 0 auto;
  }
  .mandate-block p {
    max-width: 100%;
  }
}
@media (max-width: 640px) {
  .corevalues-grid {
    grid-template-columns: 1fr;
  }
  .strategic-section,
  .corevalues-section,
  .mandate-section {
    padding: 70px 0 80px;
  }
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  z-index: 10000;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ============================================================
   BSME COMPLIANCE PAGE STYLES
   ============================================================ */

/* â”€â”€ Compliance Hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cr-hero {
  position: relative;
  min-height: 42vh;
  background:
    linear-gradient(160deg, rgba(90, 0, 0, 0.94) 0%, rgba(20, 0, 0, 0.97) 70%),
    url("assets/images/background.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 70px;
  text-align: center;
  padding: 80px 20px 60px;
}
.cr-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 215, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 215, 0, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.cr-hero-gear {
  position: absolute;
  right: -60px;
  bottom: -60px;
  font-size: 18rem;
  color: rgba(255, 215, 0, 0.04);
  pointer-events: none;
  animation: gearSpin 40s linear infinite;
}
@keyframes gearSpin {
  to {
    transform: rotate(360deg);
  }
}

.cr-hero-content {
  position: relative;
  z-index: 2;
}
.cr-eyebrow-light {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.cr-eyebrow-light span {
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
.cr-hero-title {
  font-family: var(--font-headings);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  line-height: 1.05;
}
.cr-hero-title em {
  font-style: normal;
  color: var(--gold);
}
.cr-hero-content p {
  font-family: var(--font-ui);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

/* â”€â”€ Section Intro (Compliance Grid Header) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.section-intro {
  text-align: center;
  margin-bottom: 14px;
}
.section-intro h2 {
  font-family: var(--font-headings);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--maroon-deep);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.section-intro p {
  font-family: var(--font-body);
  color: #666;
  font-size: 0.97rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}

/* â”€â”€ Compliance Modal Overlay â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#cr-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  z-index: 4000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 20px 30px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s var(--ease-out),
    visibility 0.35s;
  overflow-y: auto;
}
#cr-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cr-modal {
  background: #fff;
  border-radius: 0;
  width: 100%;
  max-width: 820px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  min-height: 200px;
}
#cr-overlay.open .cr-modal {
  transform: scale(1) translateY(0);
}

/* Modal header */
.cr-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon));
  flex-shrink: 0;
}
#cr-modal-title {
  font-family: var(--font-headings);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}
.cr-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.3s,
    transform 0.3s;
}
.cr-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

/* Tabs */
#cr-tabs {
  display: flex;
  gap: 4px;
  padding: 14px 20px 0;
  background: #faf8f6;
  border-bottom: 1px solid #ede8e2;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.cr-tab {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #777;
  background: none;
  border: none;
  padding: 9px 16px;
  border-radius: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition:
    background 0.25s,
    color 0.25s;
  border-bottom: 3px solid transparent;
}
.cr-tab:hover {
  background: rgba(128, 0, 0, 0.06);
  color: var(--maroon);
}
.cr-tab.active {
  color: var(--maroon);
  background: #fff;
  border-bottom-color: var(--maroon);
  border-bottom-width: 3px;
}
.cr-tab i {
  font-size: 0.8rem;
}

/* Modal body */
#cr-modal-body {
  padding: 24px;
  overflow-y: auto;
  max-height: 60vh;
}

/* File list */
.cr-files {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cr-file {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 0;
  border: 1px solid #ede8e2;
  background: #faf8f6;
  cursor: pointer;
  transition:
    border-color 0.25s,
    background 0.25s,
    transform 0.25s;
}
.cr-file:hover {
  border-color: var(--maroon);
  background: #fff;
  transform: translateX(4px);
}
.cr-file-ico {
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}
.cr-file-info {
  flex: 1;
  min-width: 0;
}
.cr-file-name {
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 700;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cr-file-meta {
  font-family: var(--font-ui);
  font-size: 0.74rem;
  color: #999;
  margin-top: 3px;
}
.cr-file-action {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--maroon);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Empty state */
.cr-empty {
  text-align: center;
  padding: 48px 20px;
  color: #aaa;
}
.cr-empty-ico {
  font-size: 3rem;
  margin-bottom: 16px;
  color: rgba(128, 0, 0, 0.15);
}
.cr-empty h5 {
  font-family: var(--font-headings);
  font-size: 1rem;
  color: #555;
  margin-bottom: 8px;
}
.cr-empty p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #999;
}

/* Back button inside modal */
.cr-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--maroon);
  background: none;
  border: 1px solid rgba(128, 0, 0, 0.2);
  padding: 8px 16px;
  border-radius: 0;
  cursor: pointer;
  margin-bottom: 18px;
  transition:
    background 0.25s,
    color 0.25s;
}
.cr-back:hover {
  background: var(--maroon);
  color: #fff;
}

/* PDF frame inside compliance modal */
.cr-pdf-frame {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 0;
  display: block;
}

/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 768px) {
  .cr-hero {
    padding: 60px 20px 40px;
  }
  .cr-hero-gear {
    display: none;
  }
  #cr-overlay {
    padding: 16px;
    align-items: flex-end;
  }
  .cr-modal {
    border-radius: 0;
    max-height: 88vh;
  }
  #cr-modal-body {
    max-height: 52vh;
  }
  .cr-pdf-frame {
    height: 340px;
  }
  #cr-tabs {
    padding: 10px 12px 0;
    gap: 2px;
  }
  .cr-tab {
    font-size: 0.72rem;
    padding: 7px 10px;
  }
}

/* ============================================================
         BSME PROGRAM PAGE â€” Supplemental Styles
         ============================================================ */

/* â”€â”€ Hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bsme-prog-hero {
  min-height: 100vh;
  background:
    linear-gradient(
      160deg,
      rgba(90, 0, 0, 0.92) 0%,
      rgba(26, 0, 0, 0.96) 60%,
      rgba(0, 0, 0, 0.98) 100%
    ),
    url("https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=1600&q=80")
      center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 20px 80px;
}
.bsme-prog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 50% at 15% 60%,
      rgba(255, 215, 0, 0.06) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 70% at 85% 30%,
      rgba(128, 0, 0, 0.25) 0%,
      transparent 65%
    );
  pointer-events: none;
}

/* Animated blueprint grid overlay */
.hero-blueprint {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 215, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 215, 0, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  animation: blueprintDrift 20s linear infinite;
}
@keyframes blueprintDrift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 50px 50px;
  }
}

.bsme-prog-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
.bsme-prog-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.35);
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 0;
  margin-bottom: 20px;
}
.bsme-prog-hero-eyebrow i {
  font-size: 0.8rem;
}
.bsme-prog-hero-title {
  font-family: var(--font-headings);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 8px;
}
.bsme-prog-hero-title .accent {
  color: var(--gold);
}
.bsme-prog-hero-subtitle {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.bsme-prog-hero-desc {
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--maroon-deep);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 0;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    background 0.25s;
  box-shadow: 0 8px 28px rgba(255, 215, 0, 0.35);
}
.hero-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 215, 0, 0.5);
  background: var(--gold-light);
}
.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 0.25s,
    background 0.25s,
    transform 0.25s;
}
.hero-cta-secondary:hover {
  border-color: var(--gold);
  background: rgba(255, 215, 0, 0.08);
  transform: translateY(-3px);
  color: var(--gold);
}

/* Hero stats card */
.bsme-hero-stats {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.hero-stat {
  text-align: center;
  padding: 20px 10px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s;
}
.hero-stat:hover {
  background: rgba(255, 215, 0, 0.06);
}
.hero-stat-num {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.hero-stat-lbl {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* â”€â”€ Section Universal â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.prog-section {
  padding: 90px 20px;
}
.prog-section.alt {
  background: #f8f2f2;
}
.prog-section.dark {
  background: linear-gradient(135deg, var(--maroon-deep) 0%, #1a0000 100%);
  color: #fff;
}
.prog-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.prog-section-header {
  text-align: center;
  margin-bottom: 52px;
}
.prog-eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--gold);
}
.prog-section.dark .prog-eyebrow {
  color: var(--gold);
}
.prog-section-header h2 {
  font-family: var(--font-headings);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--maroon-deep);
  line-height: 1.2;
  margin-bottom: 14px;
}
.prog-section.dark .prog-section-header h2 {
  color: #fff;
}
.prog-section-header p {
  max-width: 640px;
  margin: 0 auto;
  color: #666;
  font-family: var(--font-body);
  line-height: 1.75;
  font-size: 0.97rem;
}
.prog-section.dark .prog-section-header p {
  color: rgba(255, 255, 255, 0.65);
}

/* â”€â”€ Program Description â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.prog-desc-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}
.prog-desc-text h3 {
  font-family: var(--font-headings);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--maroon-deep);
  margin-bottom: 16px;
}
.prog-desc-text p {
  font-family: var(--font-body);
  color: #555;
  line-height: 1.8;
  font-size: 0.96rem;
  margin-bottom: 18px;
}
.prog-highlight-box {
  background: linear-gradient(
    135deg,
    var(--maroon) 0%,
    var(--maroon-deep) 100%
  );
  border-radius: 0;
  padding: 32px;
  color: #fff;
  position: sticky;
  top: 90px;
}
.prog-highlight-box h4 {
  font-family: var(--font-headings);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.prog-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.prog-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}
.prog-info-item i {
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.prog-info-label {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}
.prog-info-value {
  color: #fff;
  font-weight: 600;
}

/* â”€â”€ PEOs & SOs â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.peo-so-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.peo-card,
.so-card {
  background: #fff;
  border-radius: 0;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(128, 0, 0, 0.07);
  border-left: 4px solid var(--maroon);
}
.so-card {
  border-left-color: var(--gold);
}
.peo-card h3,
.so-card h3 {
  font-family: var(--font-headings);
  font-size: 1rem;
  font-weight: 700;
  color: var(--maroon-deep);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.peo-card h3 i {
  color: var(--maroon);
}
.so-card h3 i {
  color: var(--gold);
}
.peo-so-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.peo-so-item {
  display: flex;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #555;
  line-height: 1.6;
}
.peo-badge {
  min-width: 30px;
  height: 30px;
  background: var(--maroon);
  color: #fff;
  font-family: var(--font-headings);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.so-card .peo-badge {
  background: #c8a200;
}

/* â”€â”€ AVP Video Player â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.avp-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  background: #000;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
}
.avp-wrapper::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 0;
  background: linear-gradient(
    135deg,
    var(--maroon),
    var(--gold),
    var(--maroon)
  );
  z-index: -1;
}
.avp-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a0000 0%, #3d0000 50%, #1a0000 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.avp-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 215, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 215, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.avp-play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.2);
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold);
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
  position: relative;
  z-index: 1;
}
.avp-play-btn:hover {
  background: rgba(255, 215, 0, 0.35);
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.4);
}
.avp-placeholder-text {
  position: relative;
  z-index: 1;
  text-align: center;
}
.avp-placeholder-text h4 {
  font-family: var(--font-headings);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.avp-placeholder-text p {
  font-family: var(--font-ui);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
}
.avp-iframe-wrap {
  aspect-ratio: 16/9;
  display: none;
}
.avp-iframe-wrap.active {
  display: block;
}
.avp-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.avp-caption {
  background: rgba(0, 0, 0, 0.85);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}
.avp-caption i {
  color: var(--gold);
}

/* â”€â”€ Gallery â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 220px;
  gap: 12px;
}
.gallery-item {
  border-radius: 0;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #2a0000;
}
.gallery-item:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1;
}
.gallery-item:nth-child(2) {
  grid-column: 3;
  grid-row: 1;
}
.gallery-item:nth-child(3) {
  grid-column: 4;
  grid-row: 1;
}
.gallery-item:nth-child(4) {
  grid-column: 1;
  grid-row: 2;
}
.gallery-item:nth-child(5) {
  grid-column: 2;
  grid-row: 2;
}
.gallery-item:nth-child(6) {
  grid-column: 3 / 5;
  grid-row: 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
  filter: brightness(0.85);
}
.gallery-item:hover img {
  transform: scale(1.07);
  filter: brightness(1);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(128, 0, 0, 0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay-text {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}

/* â”€â”€ Alumni Testimonials â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.alumni-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.alumni-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  overflow: hidden;
  transition:
    transform 0.35s,
    box-shadow 0.35s;
}
.alumni-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}
.alumni-video-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a0000 0%, #400000 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}
.alumni-video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.alumni-play {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.25);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  transition:
    transform 0.25s,
    background 0.25s;
}
.alumni-video-thumb:hover .alumni-play {
  transform: scale(1.15);
  background: rgba(255, 215, 0, 0.4);
}
.alumni-card-body {
  padding: 22px 20px 24px;
}
.alumni-quote {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
}
.alumni-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.alumni-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
  overflow: hidden;
}
.alumni-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.alumni-name {
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  display: block;
}
.alumni-role {
  font-family: var(--font-ui);
  font-size: 0.74rem;
  color: var(--gold);
  font-weight: 600;
}
.alumni-batch {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}

/* â”€â”€ Faculty Grid â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.faculty-card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(128, 0, 0, 0.08);
  border: 1px solid rgba(128, 0, 0, 0.07);
  transition:
    transform 0.35s,
    box-shadow 0.35s;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
}
.faculty-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out),
    box-shadow 0.35s;
}
.faculty-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(128, 0, 0, 0.16);
}
.faculty-photo-wrap {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f9f0f0 0%, #f0e8e8 100%);
  overflow: hidden;
  position: relative;
}
.faculty-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}
.faculty-card:hover .faculty-photo-wrap img {
  transform: scale(1.06);
}
.faculty-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--maroon) 0%,
    var(--maroon-deep) 100%
  );
  font-size: 3.5rem;
  color: rgba(255, 215, 0, 0.5);
}
.faculty-card-body {
  padding: 20px 16px 22px;
}
.faculty-name {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--maroon-deep);
  margin-bottom: 4px;
  line-height: 1.25;
}
.faculty-title {
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--maroon);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.faculty-spec-tag {
  display: inline-block;
  background: #f9f0f0;
  border: 1px solid rgba(128, 0, 0, 0.12);
  border-radius: 0;
  padding: 4px 12px;
  font-size: 0.73rem;
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--maroon);
  margin-bottom: 6px;
}

/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 1024px) {
  .bsme-prog-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .bsme-hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .prog-desc-grid {
    grid-template-columns: 1fr;
  }
  .peo-so-grid {
    grid-template-columns: 1fr;
  }
  .alumni-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5),
  .gallery-item:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
    height: 200px;
  }
}
@media (max-width: 768px) {
  .alumni-grid {
    grid-template-columns: 1fr;
  }
  .bsme-hero-stats {
    grid-template-columns: 1fr 1fr;
  }
  .faculty-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   GLOBAL RESPONSIVE â€” TABLET & MOBILE
   ============================================================ */

/* â”€â”€ Tablet: reduced section paddings â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 1024px) {
  .history-section   { padding: 70px 0 60px; }
  .vmv-section       { padding: 70px 0; }
  .timeline-section  { padding: 70px 0 90px; }
  .leadership-section{ padding: 70px 0; }
  .accred-banner     { padding: 60px 0; }
}

/* â”€â”€ Mobile: further reduce paddings â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 768px) {
  /* About page sections */
  .history-section    { padding: 50px 0 40px; }
  .vmv-section        { padding: 50px 0; }
  .timeline-section   { padding: 50px 0 60px; }
  .leadership-section { padding: 50px 0; }
  .accred-banner      { padding: 45px 0; }

  /* Exhibit page sections */
  .exhibit-npc-spotlight { padding: 50px 0; }
  .exhibit-section       { padding: 50px 0 60px; }
  .exhibit-intro         { padding: 30px 20px 0; }
  .exhibit-stats         { padding: 20px 0; }

  /* History image stack â€” center and constrain on mobile */
  .history-img-stack {
    max-width: 480px;
    margin: 0 auto;
  }

  /* PDF viewer iframe â€” slightly shorter on mobile to leave room for controls */
  .pdf-modal-body iframe { height: 62vh; }

  /* Flipbook header â€” compact on small screens */
  .pdf-modal.flipbook-mode .pdf-modal-header {
    height: 50px;
    padding: 0 14px;
  }
  .pdf-modal.flipbook-mode .pdf-modal-header h4 {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
  }

  /* Compliance modal â€” slide up from bottom on mobile */
  #cr-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .cr-modal {
    border-radius: 0;
    max-height: 90vh;
  }
  #cr-modal-body {
    max-height: 50vh;
  }
  .cr-pdf-frame {
    height: 320px;
  }

  /* PDF pick modal â€” sheet on mobile */
  #media-picker-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .media-picker {
    border-radius: 0;
    max-height: 92vh;
  }
  #media-picker-overlay.open .media-picker {
    transform: scale(1) translateY(0);
  }

  /* Program page hero â€” shorter on mobile */
  .bsme-prog-hero {
    min-height: auto;
    padding: 100px 20px 60px;
  }

  /* Gallery grid on mobile */
  .gallery-grid {
    grid-template-columns: 1fr !important;
  }
  .gallery-item {
    height: 200px !important;
  }
}

/* â”€â”€ Small phones â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 480px) {
  .history-section    { padding: 40px 0 30px; }
  .vmv-section        { padding: 40px 0; }
  .timeline-section   { padding: 40px 0 50px; }
  .leadership-section { padding: 40px 0; }
  .accred-banner      { padding: 36px 0; }

  .vmv-card  { padding: 28px 20px; }
  .vmv-grid  { gap: 20px; }

  .pdf-modal-body iframe { height: 58vh; }
  .cr-pdf-frame { height: 260px; }

  /* Exhibit card grid â€” single column */
  .exhibit-grid {
    grid-template-columns: 1fr;
  }

  /* Footer legal links stack */
  .footer-legal {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  /* Compliance hero */
  .cr-hero {
    padding: 50px 16px 36px;
  }

  /* Page hero */
  .page-hero {
    height: 360px;
  }
}

/* ============================================================
   GOOD GOVERNANCE PAGE
   ============================================================ */

/* â”€â”€ Hero subtitle â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.gg-hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: rgba(255,255,255,0.72);
  max-width: 580px;
  margin: 18px auto 0;
  line-height: 1.75;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s var(--ease-out) forwards;
}
.atf-hero .gg-hero-subtitle { color: rgba(255,255,255,0.65); }

/* â”€â”€ Hero gear decoration (taskforce) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.atf-hero-gear {
  position: absolute;
  right: -80px;
  bottom: -80px;
  font-size: 22rem;
  color: rgba(255,215,0,0.04);
  pointer-events: none;
  animation: gearSpin 60s linear infinite;
  z-index: 0;
}

/* â”€â”€ Intro Section (Good Governance) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.gg-intro-section {
  background: white;
  padding: 70px 0;
  border-bottom: 1px solid #f0ebe6;
}
.gg-intro-inner {
  display: flex;
  gap: 50px;
  align-items: center;
}
.gg-intro-icon-col { flex-shrink: 0; }
.gg-intro-icon-ring {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 48px rgba(128,0,0,0.28);
  margin: 50px;
}
.gg-intro-icon-ring i {
  font-size: 2.8rem;
  color: var(--gold);
}
.gg-year-badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--maroon), var(--maroon-deep));
  color: var(--gold);
  font-family: var(--font-headings);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 0;
  margin-bottom: 14px;
}
.gg-intro-text h2 {
  font-family: var(--font-headings);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.gg-intro-text p {
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: #555;
  line-height: 1.82;
  margin-bottom: 22px;
}
.gg-law-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.gg-law-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(128,0,0,0.07);
  border: 1px solid rgba(128,0,0,0.18);
  color: var(--maroon);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 0;
}
.gg-law-chip i { font-size: 0.72rem; }

/* â”€â”€ Document Categories Section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.gg-categories-section {
  background: var(--light-grey);
  padding: 90px 0 110px;
}
.gg-section-header {
  text-align: center;
  margin-bottom: 54px;
}
.gg-section-header h2 {
  font-family: var(--font-headings);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.gg-section-header .header-underline {
  width: 55px;
  height: 4px;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  border-radius: 2px;
  margin: 0 auto 16px;
}
.gg-section-sub {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #777;
  margin-top: 10px;
}

/* â”€â”€ Year Tabs â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.gg-year-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.gg-year-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 28px;
  background: #fff;
  border: 2px solid rgba(128,0,0,0.14);
  border-radius: 50px;
  color: #6b7280;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.4px;
  transition: border-color .2s, color .2s, background .2s, box-shadow .2s, transform .15s;
}
.gg-year-tab i { font-size: 0.78rem; opacity: 0.7; }
.gg-year-tab:hover {
  border-color: var(--maroon);
  color: var(--maroon);
  background: rgba(128,0,0,0.04);
  transform: translateY(-2px);
}
.gg-year-tab.active {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff;
  box-shadow: 0 4px 16px rgba(128,0,0,0.28);
  transform: translateY(-2px);
}
.gg-year-tab.active i { opacity: 1; }

/* â”€â”€ Category Accordion Card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.gg-cat-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gg-cat-card {
  background: white;
  border: 1px solid rgba(128,0,0,0.1);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.gg-cat-card:hover {
  box-shadow: 0 8px 32px rgba(128,0,0,0.1);
  border-color: rgba(128,0,0,0.22);
}
.gg-cat-header {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  font-family: inherit;
  transition: background 0.2s;
}
.gg-cat-header:hover { background: rgba(128,0,0,0.03); }
.gg-cat-icon {
  width: 50px;
  height: 50px;
  border-radius: 0;
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(128,0,0,0.22);
}
.gg-cat-icon i {
  color: var(--gold);
  font-size: 1.1rem;
}
.gg-cat-title-wrap { flex: 1; min-width: 0; }
.gg-cat-title {
  display: block;
  font-family: var(--font-headings);
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 3px;
}
.gg-cat-desc {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: #888;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gg-cat-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.gg-doc-count {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--maroon);
  background: rgba(128,0,0,0.07);
  padding: 4px 10px;
  border-radius: 0;
  white-space: nowrap;
}
.gg-chevron {
  color: #aaa;
  font-size: 0.85rem;
  transition: transform 0.3s var(--ease-out);
}

/* â”€â”€ Category Body (Document List) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.gg-cat-body {
  border-top: 1px solid rgba(128,0,0,0.08);
  padding: 0 24px 20px;
}
.gg-doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gg-doc-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  background: var(--light-grey);
  border-radius: 0;
  border: 1px solid rgba(0,0,0,0.05);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.gg-doc-item:hover {
  border-color: rgba(128,0,0,0.2);
  background: #fff;
  transform: translateX(4px);
}
.gg-doc-icon-wrap {
  width: 38px;
  height: 38px;
  background: rgba(239,68,68,0.1);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gg-doc-icon-wrap i { color: #dc2626; font-size: 1rem; }
.gg-link-icon { background: rgba(128,0,0,0.08); }
.gg-link-icon i { color: var(--maroon) !important; font-size: 0.95rem; }
.gg-doc-info { flex: 1; min-width: 0; }
.gg-doc-title {
  display: block;
  font-family: var(--font-headings);
  font-size: 0.88rem;
  font-weight: 700;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gg-doc-year {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: #999;
  margin-top: 2px;
  display: block;
}
.gg-doc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  color: white;
  border: none;
  border-radius: 0;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}
.gg-doc-btn:hover { opacity: 0.88; transform: scale(0.97); }
.gg-doc-pending {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(0,0,0,0.05);
  color: #aaa;
  border-radius: 0;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
  white-space: nowrap;
}
.gg-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  color: #fff;
  border-radius: 50px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.18s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(128,0,0,0.18);
}
.gg-link-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(128,0,0,0.28);
  color: #fff;
}
.gg-link-btn i { font-size: 0.72rem; }
.gg-empty {
  text-align: center;
  padding: 30px 20px;
  color: #bbb;
  font-family: var(--font-body);
  font-size: 0.85rem;
}
.gg-empty i { font-size: 2rem; margin-bottom: 10px; display: block; opacity: 0.4; }

/* â”€â”€ Responsive: Good Governance â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 768px) {
  .gg-intro-inner { flex-direction: column; gap: 28px; text-align: center; }
  .gg-law-chips { justify-content: center; }
  .gg-intro-icon-ring { width: 80px; height: 80px; }
  .gg-intro-icon-ring i { font-size: 2rem; }
  .gg-categories-section { padding: 50px 0 70px; }
  .gg-intro-section { padding: 50px 0; }
  .gg-cat-header { padding: 16px 18px; gap: 12px; }
  .gg-cat-body { padding: 0 18px 16px; }
  .gg-cat-desc { display: none; }
  .gg-doc-item { padding: 11px 14px; }
}
@media (max-width: 480px) {
  .gg-cat-meta { gap: 8px; }
  .gg-doc-count { display: none; }
  .gg-doc-item { flex-wrap: wrap; }
  .gg-doc-btn, .gg-doc-pending, .gg-link-btn { flex-basis: 100%; justify-content: center; }
}

/* ============================================================
   ACCREDITATION TASKFORCE PAGE
   ============================================================ */

/* â”€â”€ Survey Description â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.atf-desc-section {
  background: white;
  padding: 52px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.atf-desc-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 0 20px;
}
.atf-desc-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(128,0,0,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  font-size: 1.35rem;
  flex-shrink: 0;
}
.atf-desc-inner p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #666;
  line-height: 1.9;
}

/* â”€â”€ Committees Section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.atf-committees-section {
  background: #f4f5f8;
  padding: 80px 0 100px;
}
.atf-section-header {
  text-align: center;
  margin-bottom: 52px;
}
.atf-section-header h2 {
  font-family: var(--font-headings);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.atf-section-header .header-underline {
  width: 55px;
  height: 4px;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  border-radius: 2px;
  margin: 0 auto;
}

/* â”€â”€ Individual Committee Block â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.atf-committee {
  background: white;
  border-left: 4px solid var(--maroon);
  border-radius: 0 6px 6px 0;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  margin-bottom: 20px;
  overflow: visible;
  transition: box-shadow 0.25s, transform 0.25s;
}
.atf-committee:hover {
  box-shadow: 0 8px 32px rgba(128,0,0,0.11);
  transform: translateX(2px);
}

/* Committee header row */
.atf-committee-hd {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.atf-committee-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(128,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.atf-committee-icon i {
  color: var(--maroon);
  font-size: 0.95rem;
}
.atf-committee-meta { flex: 1; min-width: 0; }
.atf-committee-meta h3 {
  font-family: var(--font-headings);
  font-size: 0.92rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}
.atf-committee-meta p {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #999;
  line-height: 1.55;
  margin: 0;
}
.atf-count-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  background: rgba(128,0,0,0.06);
  padding: 8px 16px;
  min-width: 56px;
}
.atf-count-badge strong {
  font-family: var(--font-headings);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--maroon);
  line-height: 1;
}
.atf-count-badge span {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 2px;
}

/* â”€â”€ Members Grid â€” Profile Photo Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.atf-members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
  padding: 20px 24px 28px;
  background: none;
}
.atf-member-card {
  position: relative;
  height: 270px;
  border-radius: 12px;
  overflow: hidden;
  background: #1e0000;
  box-shadow: 0 4px 18px rgba(0,0,0,0.13);
  transition: transform 0.32s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.32s;
  cursor: default;
}
.atf-member-card:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 14px 40px rgba(128,0,0,0.22);
}
.atf-member-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 62%;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.58) 45%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* Full-bleed photo */
.atf-avatar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
  box-shadow: none;
  background: linear-gradient(160deg, #5a0000 0%, #1e0000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.42s cubic-bezier(0.25,0.46,0.45,0.94);
}
.atf-member-card:hover .atf-avatar {
  transform: scale(1.06);
}
.atf-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.atf-avatar i {
  color: rgba(255,215,0,0.22);
  font-size: 4rem;
}

/* Text overlay at bottom */
.atf-member-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 12px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}
.atf-member-info h4 {
  font-family: var(--font-headings);
  font-size: 0.87rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0;
}
.atf-member-pos {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.1px;
}
.atf-member-dept {
  display: block;
  font-family: var(--font-body);
  font-size: 0.67rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
  margin-top: 1px;
}

/* â”€â”€ Empty / Pending State â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.atf-members-empty {
  text-align: center;
  padding: 28px 20px;
  color: #ccc;
  font-family: var(--font-body);
  font-size: 0.85rem;
}
.atf-members-empty i {
  font-size: 1.8rem;
  margin-bottom: 8px;
  display: block;
  opacity: 0.35;
}

/* â”€â”€ Responsive: Accreditation Taskforce â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 1024px) {
  .atf-members-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
}
@media (max-width: 768px) {
  .atf-committees-section { padding: 50px 0 70px; }
  .atf-desc-section { padding: 38px 0; }
  .atf-committee-hd { flex-wrap: wrap; gap: 12px; padding: 16px 18px; }
  .atf-committee-meta p { display: none; }
  .atf-members-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; padding: 16px 18px 22px; }
  .atf-member-card { height: 240px; }
}
@media (max-width: 480px) {
  .atf-members-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 14px 14px 18px; }
  .atf-member-card { height: 220px; }
  .atf-committee-hd { padding: 14px 16px; }
}

/* ============================================================
   HUB LANDING PAGES â€” Programs & Compliance
   ============================================================ */

.hub-section {
  background: var(--maroon-deep);
  padding: 70px 0 90px;
}

/* Header */
.hub-header {
  text-align: center;
  padding-bottom: 52px;
}
.hub-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
}
.hub-title {
  font-family: var(--font-headings);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin: 8px 0 18px;
}
.hub-divider {
  width: 110px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto;
}

/* 5-column card grid */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Card */
.hub-card {
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
}
.hub-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

/* Faint number */
.hub-num {
  font-family: var(--font-headings);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(128,0,0,0.13);
  padding: 14px 16px 0;
  line-height: 1;
}

/* Program / report name */
.hub-name {
  font-family: var(--font-headings);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--maroon);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
  padding: 4px 16px 14px;
}

/* Photo */
.hub-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

/* Compliance placeholder (no real photo) */
.hub-photo-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--maroon) 0%, #3a0000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hub-photo-placeholder i {
  font-size: 3.5rem;
  color: rgba(255,215,0,0.30);
}

/* Button row */
.hub-btn-wrap {
  padding: 18px 16px 22px;
  margin-top: auto;
  display: flex;
  justify-content: center;
}
.hub-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--maroon);
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.hub-btn:hover {
  background: var(--maroon-deep);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 1100px) {
  .hub-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .hub-title { font-size: clamp(1.5rem, 6vw, 2.2rem); }
}
@media (max-width: 460px) {
  .hub-grid { grid-template-columns: 1fr; gap: 12px; padding: 0 14px; }
  .hub-section { padding: 50px 0 60px; }
}

/* ============================================================
   PROGRAMS UNDER SURVEY â€” Immersive Landing Page
   ============================================================ */

/* â”€â”€ Hero â”€â”€ */
.programs-hero {
  min-height: 24vh;
  background: radial-gradient(ellipse at 60% 40%, #800000 0%, #3d0000 45%, #0e0000 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 38px 24px 32px;
}

/* Subtle gold grid overlay */
.ph-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,215,0,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,215,0,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

/* Centre glow */
.ph-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255,215,0,0.09) 0%, transparent 68%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Hero content */
.ph-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin-top: 100px;
  margin-bottom: 30px;
}

.ph-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.ph-title {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 0.92;
  margin-bottom: 10px;
}
.ph-title-thin {
  display: block;
  font-size: clamp(0.9rem, 2.4vw, 1.8rem);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.22em;
}
.ph-title-bold {
  display: block;
  font-size: clamp(1.2rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
}

.ph-gold-bar {
  width: 44px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 10px;
}

.ph-subtitle {
  display: none;
}

.ph-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
}
.ph-breadcrumbs a {
  color: var(--gold);
  text-decoration: none;
  opacity: 0.85;
}
.ph-breadcrumbs a:hover { opacity: 1; }

/* Scroll hint */
.ph-scroll-hint {
  display: none;
}

/* â”€â”€ Cards grid â”€â”€ */
.programs-grid-section {
  background: #0e0000;
  padding: 0;
}

/* Header used only on the home page programs section */
.idx-programs-hd {
  text-align: center;
  padding: 64px 20px 44px;
  background: linear-gradient(rgba(60, 0, 0, 0.92), rgba(60, 0, 0, 0.92)),
    url("assets/images/background.jpg") center/cover fixed;
}
.idx-programs-hd h2 {
  font-family: var(--font-headings);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.idx-programs-bar {
  width: 52px;
  height: 4px;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  border-radius: 2px;
  margin: 0 auto;
}

.prog-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}

/* Individual card (full <a> tag) */
.prog-card {
  position: relative;
  height: 540px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  background: #1a0000;
  cursor: pointer;
}

/* Photo */
.prog-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transition: transform 0.7s ease, opacity 0.5s ease;
}
.prog-card:hover .prog-card-img {
  transform: scale(1.1);
  opacity: 0.85;
}

/* Dark gradient overlay */
.prog-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(50,0,0,0.98) 0%,
    rgba(50,0,0,0.55) 42%,
    rgba(0,0,0,0.10) 100%
  );
  transition: background 0.5s ease;
}
.prog-card:hover .prog-card-overlay {
  background: linear-gradient(
    to top,
    rgba(50,0,0,0.99) 0%,
    rgba(50,0,0,0.72) 52%,
    rgba(0,0,0,0.20) 100%
  );
}

/* Faint watermark code behind content */
.prog-card-watermark {
  position: absolute;
  bottom: 130px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-headings);
  font-size: 5.5rem;
  font-weight: 700;
  color: rgba(255,215,0,0.055);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.02em;
  transition: opacity 0.4s;
}

/* Content block pinned to bottom */
.prog-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 18px 24px;
  z-index: 2;
}

.prog-card-num {
  display: block;
  font-family: var(--font-headings);
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255,215,0,0.7);
  letter-spacing: 0.18em;
  margin-bottom: 2px;
}

.prog-card-code {
  display: block;
  font-family: var(--font-headings);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.prog-card-name {
  font-family: var(--font-headings);
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin: 0 0 0;
}

/* Description â€” hidden by default, slides in on hover */
.prog-card-desc {
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  margin: 0;
  transition: max-height 0.45s var(--ease-out), margin 0.45s var(--ease-out);
}
.prog-card:hover .prog-card-desc {
  max-height: 90px;
  margin: 10px 0 0;
}

/* Button â€” fades up on hover */
.prog-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  background: var(--gold);
  color: var(--maroon);
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s 0.05s, transform 0.35s 0.05s var(--ease-out);
}
.prog-card:hover .prog-card-btn {
  opacity: 1;
  transform: translateY(0);
}

/* Gold left accent bar that grows on hover */
.prog-card::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.45s var(--ease-out);
  z-index: 3;
}
.prog-card:hover::before {
  height: 100%;
}

/* Responsive */
@media (max-width: 1100px) {
  .prog-cards-grid { grid-template-columns: repeat(3, 1fr); }
  .prog-card { height: 480px; }
}
@media (max-width: 720px) {
  .prog-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .prog-card { height: 420px; }
  .ph-title-bold { letter-spacing: 0.01em; }
}
@media (max-width: 460px) {
  .prog-cards-grid { grid-template-columns: 1fr; gap: 2px; }
  .prog-card { height: 380px; }
  .programs-hero { min-height: 60vh; padding: 90px 18px 70px; }
}

/* ============================================================
   COMPLIANCE REPORT â€” Landing Page
   ============================================================ */

/* Hero â€” shares ph-* typography with programs page */
.crl-hero {
  min-height: 24vh;
  background: radial-gradient(ellipse at 35% 55%, #7a0000 0%, #380000 48%, #090000 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 38px 24px 32px;
}
.crl-hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,215,0,0.07) 0%, transparent 68%);
  top: 50%;
  left: 35%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* â”€â”€ Section wrapper â”€â”€ */
.crl-section {
  background: #f7f2f2;
  padding: 58px 0 80px;
}

/* Intro */
.crl-intro {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 44px;
  padding: 0 24px;
}
.crl-intro h2 {
  font-family: var(--font-headings);
  font-size: clamp(1.45rem, 3vw, 2rem);
  color: var(--maroon);
  margin: 10px 0 14px;
}
.crl-intro p {
  color: #666;
  font-size: 0.93rem;
  line-height: 1.72;
}

/* â”€â”€ Cards grid â€” 5 columns â”€â”€ */
.crl-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* â”€â”€ Card â”€â”€ */
.crl-card {
  background: #fff;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow: hidden;
  position: relative;
  min-height: 500px;
  border-bottom: 3px solid transparent;
  box-shadow: 0 4px 20px rgba(128,0,0,0.08);
  transition: transform 0.32s var(--ease-out), box-shadow 0.32s, border-color 0.32s;
}
.crl-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 52px rgba(128,0,0,0.18);
  border-bottom-color: var(--gold);
}

/* Gold left accent bar â€” grows upward on hover */
.crl-card::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.45s var(--ease-out);
  z-index: 3;
}
.crl-card:hover::before { height: 100%; }

/* â”€â”€ Card header band â”€â”€ */
.crl-card-head {
  background: linear-gradient(150deg, var(--maroon) 0%, #5a0000 65%, #380000 100%);
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

/* Decorative rotated square in header corner */
.crl-card-head::after {
  content: '';
  position: absolute;
  right: -22px;
  top: -22px;
  width: 88px;
  height: 88px;
  border: 2px solid rgba(255,215,0,0.14);
  transform: rotate(45deg);
  pointer-events: none;
}
.crl-card-head::before {
  content: '';
  position: absolute;
  right: -10px;
  top: -10px;
  width: 60px;
  height: 60px;
  border: 1.5px solid rgba(255,215,0,0.08);
  transform: rotate(45deg);
  pointer-events: none;
}

/* Icon square */
.crl-head-icon {
  width: 46px;
  height: 46px;
  background: rgba(255,215,0,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.crl-head-icon i {
  font-size: 1.25rem;
  color: var(--gold);
}

/* Code + badge row */
.crl-head-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.crl-code {
  font-family: var(--font-headings);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
  line-height: 1;
}
.crl-badge {
  font-family: var(--font-ui);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 4px 8px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* â”€â”€ Card body â”€â”€ */
.crl-card-body {
  padding: 22px 22px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Faint background number */
.crl-num {
  position: absolute;
  top: 8px;
  right: 14px;
  font-family: var(--font-headings);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(128,0,0,0.05);
  line-height: 1;
  pointer-events: none;
}

.crl-title {
  font-family: var(--font-headings);
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.5;
  margin: 0 0 14px;
  position: relative;
}

/* Gold accent divider below title */
.crl-divider {
  width: 36px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
  margin-bottom: 14px;
}

.crl-desc {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.72;
  position: relative;
  flex: 1;
}

/* Meta row â€” areas indicator */
.crl-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(128,0,0,0.12);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--maroon);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.crl-meta i {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* â”€â”€ Card footer â”€â”€ */
.crl-card-foot {
  padding: 0 22px 22px;
  flex-shrink: 0;
  display: flex;
  justify-content: flex-start;
}
.crl-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--maroon);
  background: transparent;
  border: 1.5px solid rgba(128,0,0,0.3);
  padding: 7px 14px;
  border-radius: 50px;
  transition: background 0.24s, color 0.24s, border-color 0.24s, box-shadow 0.24s;
}
.crl-btn .crl-btn-arrow {
  transition: transform 0.24s var(--ease-out);
}
.crl-card:hover .crl-btn {
  background: var(--maroon);
  color: var(--gold);
  border-color: var(--maroon);
  box-shadow: 0 4px 16px rgba(128,0,0,0.28);
}
.crl-card:hover .crl-btn-arrow {
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 1100px) {
  .crl-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .crl-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .crl-intro h2 { font-size: clamp(1.2rem, 4vw, 1.6rem); }
  .crl-card { min-height: 460px; }
}
@media (max-width: 460px) {
  .crl-grid { grid-template-columns: 1fr; gap: 14px; }
  .crl-section { padding: 40px 0 60px; }
  .crl-card { min-height: unset; }
}

/* ============================================================
   GLOBAL BUTTON GLINT EFFECT
   ============================================================ */

@keyframes btn-glint {
  0%   { left: -80%; }
  100% { left: 130%; }
}

/* Ensure all target buttons are positioned + clipped */
.btn-explore,
.btn-access,
.btn-outline,
.btn-text,
.hub-btn,
.crl-btn,
.prog-card-btn,
.hero-cta-primary,
.hero-cta-secondary {
  position: relative;
  overflow: hidden;
}

/* The glint stripe â€” off-screen by default */
.btn-explore::before,
.btn-access::before,
.btn-outline::before,
.btn-text::before,
.hub-btn::before,
.crl-btn::before,
.prog-card-btn::before,
.hero-cta-primary::before,
.hero-cta-secondary::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -80%;
  width: 45%;
  height: 120%;
  background: linear-gradient(
    100deg,
    transparent 15%,
    rgba(255, 255, 255, 0.32) 50%,
    transparent 85%
  );
  transform: skewX(-18deg);
  pointer-events: none;
}

/* Fire the sweep once on hover */
.btn-explore:hover::before,
.btn-access:hover::before,
.btn-outline:hover::before,
.btn-text:hover::before,
.hub-btn:hover::before,
.crl-btn:hover::before,
.prog-card-btn:hover::before,
.hero-cta-primary:hover::before,
.hero-cta-secondary:hover::before {
  animation: btn-glint 0.6s ease forwards;
}

/* ============================================================
   EXHIBIT PAGE v2 (exh2-*)
   ============================================================ */

/* â”€â”€ Hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.exh2-hero {
  position: relative;
  min-height: 44vh;
  background: linear-gradient(135deg, #130000 0%, var(--maroon-deep) 55%, #9a1010 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 110px 20px 70px;
  overflow: hidden;
}
.exh2-hero-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,215,0,0.055) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.exh2-hero-deco {
  position: absolute;
  right: -50px;
  bottom: -50px;
  font-size: 320px;
  color: rgba(255,255,255,0.025);
  pointer-events: none;
  line-height: 1;
}
.exh2-hero-content {
  position: relative;
  z-index: 2;
}
.exh2-hero-content h1 {
  font-family: var(--font-headings);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: #fff;
  margin: 14px 0 14px;
  line-height: 1.15;
}
.exh2-hero-content h1 em {
  font-style: normal;
  color: var(--gold);
}
.exh2-hero-content p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255,255,255,0.68);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* â”€â”€ Section wrapper â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.exh2-section {
  background: #f5f5f8;
  padding: 90px 0 120px;
}

/* â”€â”€ Grid â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.exh2-grid {
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 26px;
  margin-top: 52px;
}

/* â”€â”€ Card shell â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.exh2-card {
  cursor: pointer;
  border-radius: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  box-shadow: 0 4px 20px rgba(128,0,0,0.08) !important;
  border-bottom: 3px solid transparent !important;
  transition:
    transform 0.32s var(--ease-out),
    box-shadow 0.32s,
    border-color 0.32s !important;
  position: relative;
}
.exh2-card::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 3px !important;
  height: 0 !important;
  background: linear-gradient(180deg, var(--gold) 0%, var(--maroon) 100%) !important;
  transition: height 0.45s var(--ease-out) !important;
  z-index: 3 !important;
}
.exh2-card::after { display: none !important; }
.exh2-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 22px 52px rgba(128,0,0,0.18) !important;
  border-bottom-color: var(--gold) !important;
}
.exh2-card:hover::before { height: 100% !important; }

/* â”€â”€ Card wrapper â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.exh2-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* â”€â”€ Card header band â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.exh2-card-hd {
  background: linear-gradient(150deg, var(--maroon) 0%, #5a0000 65%, #380000 100%);
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

/* Rotated square decorations (top-right corner) */
.exh2-card-hd::before {
  content: '';
  position: absolute;
  right: -22px;
  top: -22px;
  width: 88px;
  height: 88px;
  border: 2px solid rgba(255,215,0,0.14);
  transform: rotate(45deg);
  pointer-events: none;
}
.exh2-card-hd::after {
  content: '';
  position: absolute;
  right: -10px;
  top: -10px;
  width: 60px;
  height: 60px;
  border: 1.5px solid rgba(255,215,0,0.08);
  transform: rotate(45deg);
  pointer-events: none;
}

/* Icon square */
.exh2-head-icon {
  width: 46px;
  height: 46px;
  background: rgba(255,215,0,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s, transform 0.3s var(--ease-out);
}
.exh2-head-icon i {
  font-size: 1.25rem;
  color: var(--gold);
  transition: transform 0.3s var(--ease-out);
}
.exh2-card:hover .exh2-head-icon {
  background: rgba(255,215,0,0.24);
  transform: scale(1.08);
}
.exh2-card:hover .exh2-head-icon i {
  transform: rotate(-8deg);
}

/* Number + tag row */
.exh2-head-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.exh2-doc-num {
  font-family: var(--font-headings);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
  line-height: 1;
}
.exh2-aaccup-tag {
  font-family: var(--font-ui);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 4px 8px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* â”€â”€ Card body â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.exh2-card-bd {
  padding: 22px 22px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Faint background number */
.exh2-num-bg {
  position: absolute;
  top: 8px;
  right: 14px;
  font-family: var(--font-headings);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(128,0,0,0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.exh2-title {
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.5;
  margin: 0 0 14px;
  position: relative;
  transition: color 0.3s;
}
.exh2-card:hover .exh2-title { color: var(--maroon); }

/* Gold accent divider */
.exh2-divider {
  width: 36px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
  margin-bottom: 14px;
}

.exh2-desc {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.72;
  position: relative;
  flex: 1;
}

/* Meta row */
.exh2-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(128,0,0,0.12);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--maroon);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.exh2-meta i { font-size: 0.85rem; opacity: 0.7; }

/* â”€â”€ Card footer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.exh2-card-foot {
  padding: 0 22px 22px;
  flex-shrink: 0;
}
.exh2-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--maroon);
  background: transparent;
  border: 1.5px solid rgba(128,0,0,0.3);
  padding: 7px 14px;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.24s, color 0.24s, border-color 0.24s, box-shadow 0.24s;
}
.exh2-btn-arrow { transition: transform 0.24s var(--ease-out); }
.exh2-card:hover .exh2-btn {
  background: var(--maroon);
  color: var(--gold);
  border-color: var(--maroon);
  box-shadow: 0 4px 14px rgba(128,0,0,0.28);
}
.exh2-card:hover .exh2-btn-arrow { transform: translateX(4px); }

/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 768px) {
  .exh2-hero { min-height: auto; padding: 100px 20px 60px; }
  .exh2-grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 480px) {
  .exh2-grid { grid-template-columns: 1fr; }
}

/* â”€â”€ Faculty Carousel â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.faculty-carousel {
  --fac-gap: 20px;
  --fac-visible: 3;
  position: relative;
  padding: 8px 60px 0;
}
@media (max-width: 900px) { .faculty-carousel { --fac-visible: 2; } }
@media (max-width: 560px) { .faculty-carousel { --fac-visible: 1; padding: 8px 48px 0; } }

.fac-track-wrap {
  overflow: hidden;
  padding: 12px;
  margin: -12px;
}
.fac-track {
  display: flex;
  gap: var(--fac-gap);
  transition: transform 0.48s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Arrow buttons */
.fac-arrow {
  position: absolute;
  top: 200px;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--maroon);
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
  transition: background 0.22s, transform 0.22s, box-shadow 0.22s, opacity 0.22s;
}
.fac-arrow:hover:not(:disabled) {
  background: var(--maroon-deep);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 8px 28px rgba(128, 0, 0, 0.32);
}
.fac-arrow:disabled { opacity: 0.28; cursor: default; }
.fac-prev { left: 0; }
.fac-next { right: 0; }

/* Dot indicators */
.fac-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
}
.fac-dot {
  width: 8px;
  height: 8px;
  border-radius: 50px;
  border: none;
  background: rgba(128, 0, 0, 0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, width 0.25s, transform 0.25s;
}
.fac-dot.active {
  background: var(--maroon);
  width: 24px;
  border-radius: 4px;
}

/* â”€â”€ Profile-card style â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.faculty-ticker-card {
  flex-shrink: 0;
  width: calc((100% - (var(--fac-visible) - 1) * var(--fac-gap)) / var(--fac-visible));
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: default;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.22);
  opacity: 1;
  transform: translateY(0);
  background: #1a0000;
  border: none;
  text-align: left;
  transition: box-shadow 0.32s ease, transform 0.32s var(--ease-out);
}
.faculty-ticker-card:hover {
  box-shadow: 0 20px 48px rgba(128, 0, 0, 0.3), 0 6px 18px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px) scale(1.02);
}

/* Photo fills the whole card */
.faculty-ticker-card .faculty-photo-wrap {
  position: absolute;
  inset: 0;
  aspect-ratio: unset;
  background: linear-gradient(170deg, #700000 0%, var(--maroon) 50%, #1e0000 100%);
}
.faculty-ticker-card .faculty-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s var(--ease-out);
}
.faculty-ticker-card:hover .faculty-photo-wrap img {
  transform: scale(1.06);
}

/* Placeholder icon sits in the upper area */
.faculty-ticker-card .faculty-photo-placeholder {
  position: absolute;
  top: 0; left: 0; right: 0;
  bottom: 38%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5.5rem;
  color: rgba(255, 215, 0, 0.18);
  background: transparent;
}
/* Hide placeholder icon when a real photo is present */
.faculty-ticker-card .faculty-photo-wrap img ~ .faculty-photo-placeholder {
  display: none;
}

/* Dark gradient overlay at the bottom */
.faculty-ticker-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 65%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* Info sits inside the overlay */
.faculty-ticker-card .faculty-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 14px 16px 18px;
  background: transparent;
}
.faculty-ticker-card .faculty-name {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 3px;
  line-height: 1.25;
}
.faculty-ticker-card .faculty-title {
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1.4;
}
.faculty-ticker-card .faculty-spec-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.88);
  border-radius: 50px;
  padding: 2px 9px;
  font-size: 0.6rem;
  margin-bottom: 4px;
  margin-right: 3px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ── Narratives Section ─────────────────────────────────────────── */
.narr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 940px;
  margin: 0 auto;
}
.narr-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  border: 1px solid rgba(128, 0, 0, 0.08);
}
.narr-card.narr-has-video {
  cursor: pointer;
}
.narr-card.narr-has-video:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(128, 0, 0, 0.15);
}
.narr-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #150303;
}
.narr-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}
.narr-card.narr-has-video:hover .narr-thumb {
  transform: scale(1.06);
}
.narr-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}
.narr-thumb.narr-empty {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(135deg, #160404 0%, #2a0707 100%);
  object-fit: unset;
}
.narr-empty-icon {
  font-size: 2.8rem;
  color: rgba(200, 162, 0, 0.28);
}
.narr-empty-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-headings);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
}
.narr-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.narr-play-btn i {
  width: 58px;
  height: 58px;
  background: var(--gold);
  color: #4a0800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  padding-left: 5px;
  box-shadow: 0 8px 28px rgba(200, 162, 0, 0.45);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.narr-card:hover .narr-play-btn i {
  transform: scale(1.13);
  box-shadow: 0 14px 36px rgba(200, 162, 0, 0.65);
}
.narr-meta {
  padding: 18px 22px 22px;
}
.narr-category {
  display: block;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--font-headings);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 7px;
}
.narr-category i {
  margin-right: 5px;
  opacity: 0.85;
}
.narr-caption {
  color: var(--text-secondary);
  font-size: 0.83rem;
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 640px) {
  .narr-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
}



