/* ============================================
   BASE — Royal Red & Gold Theme
============================================ */

:root {
  --navy: #7A1F1F;
  --navy-light: #9B2C2C;
  --gold: #C9A227;
  --gold-light: #E0B93C;
  --gold-pale: #F9EFD0;
  --cream: #FDFBF7;
  --ivory: #F8F4EC;
  --paper: #F5F1E8;
  --text: #1A1A1A;
  --text-soft: #5A5A5A;
  --text-muted: #8A8A8A;
  --line: rgba(122, 31, 31, 0.12);
  --line-gold: rgba(201, 162, 39, 0.30);
  --white: #FFFFFF;
  --display: "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-sm: 4px;
  --radius: 8px;
  --container: 1200px;
  --ease: cubic-bezier(.22, .78, .3, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  --shadow-soft: 0 10px 40px rgba(122, 31, 31, 0.10);
  --shadow-hover: 0 20px 60px rgba(122, 31, 31, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
.print-doc, .print-doc * { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
  min-height: 100vh;
  min-height: 100dvh;
}

a, button, input, select, textarea { cursor: none; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--display);
  color: var(--navy);
  margin: 0;
  font-weight: 700;
  word-wrap: break-word;
}

p { margin: 0; word-wrap: break-word; }
ul { list-style: none; margin: 0; padding: 0; }

button {
  font-family: inherit;
  cursor: none;
  border: none;
  background: none;
  -webkit-tap-highlight-color: transparent;
}

input, textarea, select {
  font-family: inherit;
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
}

/* ============================================================
   SPLASH SCREEN — logo scales from center, then flies to header
============================================================ */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background 0.6s ease;
}

.splash-screen.fade-bg {
  background: transparent;
  pointer-events: none;
}

.splash-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201, 162, 39, 0.18) 0%, transparent 70%);
  animation: splashPulse 3s ease-in-out infinite;
}

@keyframes splashPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.25); opacity: 1; }
}

.splash-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.splash-particle {
  position: absolute;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 4s ease-in-out infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  20% { opacity: 1; transform: translateY(-20px) scale(1); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-120px) scale(0); }
}

.splash-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.splash-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  border: 2px solid rgba(201, 162, 39, 0.35);
  border-radius: 50%;
  animation: splashRing 2.4s ease-out infinite;
}

.splash-ring:nth-child(2) { animation-delay: 0.8s; }
.splash-ring:nth-child(3) { animation-delay: 1.6s; }

@keyframes splashRing {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

.splash-logo-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  will-change: transform;
}

.splash-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(201, 162, 39, 0.6));
  opacity: 0;
  transform: scale(0.2);
  animation: splashLogoScaleUp 1.1s cubic-bezier(.34, 1.56, .64, 1) 0.2s forwards;
  will-change: transform, opacity;
}

@keyframes splashLogoScaleUp {
  0% { opacity: 0; transform: scale(0.2); }
  60% { opacity: 1; transform: scale(1.18); }
  100% { opacity: 1; transform: scale(1); }
}

.splash-text {
  font-family: var(--display);
  color: var(--white);
  font-size: 1.55rem;
  font-weight: 700;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  animation: splashTextIn 0.7s var(--ease) 0.75s forwards;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.splash-text em {
  display: block;
  font-style: italic;
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--gold-light);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-top: 8px;
}

@keyframes splashTextIn {
  to { opacity: 1; transform: translateY(0); }
}

.header .brand-crest img {
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.header .brand-crest img.reveal-logo {
  opacity: 1;
}

.splash-logo-wrap.flying {
  animation: flyToHeader 1.05s cubic-bezier(.6, .02, .4, 1) forwards;
}

.splash-logo-wrap.flying .splash-text {
  animation: fadeOutText 0.35s ease forwards;
}

@keyframes fadeOutText {
  to { opacity: 0; transform: translateY(-10px); }
}

@keyframes flyToHeader {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translate(var(--fly-x), var(--fly-y)) scale(var(--fly-scale)); opacity: 0; }
}

.splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease 0.3s, visibility 0.4s ease 0.3s;
}

/* ============================================
   CURSOR
============================================ */
.cursor-compass {
  position: fixed;
  width: 46px; height: 46px;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
}
.cursor-compass svg { width: 100%; height: 100%; animation: compassSpin 8s linear infinite; }
@keyframes compassSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.cursor-dot {
  position: fixed;
  width: 6px; height: 6px;
  background: var(--navy);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(201, 162, 39, 0.9);
}

.cursor-orbit {
  position: fixed;
  width: 80px; height: 80px;
  border: 1px dashed rgba(201, 162, 39, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0.8;
  transition: width 0.4s var(--ease), height 0.4s var(--ease), border-color 0.4s var(--ease), opacity 0.3s var(--ease);
}
.cursor-orbit::before {
  content: "";
  position: absolute;
  top: -3px; left: 50%;
  width: 6px; height: 6px;
  background: var(--navy);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(201, 162, 39, 0.9);
  animation: orbitDot 3s linear infinite;
  transform-origin: 50% 43px;
}
@keyframes orbitDot {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(360deg); }
}
.cursor-orbit.hovering { width: 110px; height: 110px; border-color: var(--gold); border-style: solid; opacity: 1; }
.cursor-orbit.clicking { width: 50px; height: 50px; background: rgba(201, 162, 39, 0.18); }

.cursor-label {
  position: fixed;
  pointer-events: none;
  z-index: 10002;
  font-family: var(--display);
  font-style: italic;
  font-size: 0.7rem;
  color: var(--gold);
  transform: translate(30px, 30px);
  opacity: 0;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  white-space: nowrap;
}
.cursor-label.visible { opacity: 1; transform: translate(35px, 35px); }

@media (hover: none), (pointer: coarse), (max-width: 1024px) {
  .cursor-compass, .cursor-dot, .cursor-orbit, .cursor-label { display: none !important; }
  body, a, button, input, select, textarea { cursor: auto !important; }
}

/* ============================================
   LAYOUT
============================================ */
.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.section { padding: 100px 0; }

.section-title { font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.2; }
.section-sub { color: var(--text-soft); font-size: 1rem; max-width: 580px; margin-top: 16px; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.eyebrow {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.eyebrow::before { content: "◆"; color: var(--gold); font-size: 0.6rem; }
.eyebrow::after { content: ""; display: block; width: 40px; height: 2px; background: var(--gold); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { display: none; }

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ============================================
   TOP BAR
============================================ */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
}

.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.topbar-left span { display: flex; align-items: center; gap: 8px; }
.topbar-left i { color: var(--gold); font-size: 0.75rem; }
.topbar-left a, .topbar-right a { color: inherit; transition: color 0.3s var(--ease); }
.topbar-left a:hover, .topbar-right a:hover { color: var(--gold-light); }

.topbar-right { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.topbar-right a {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 0.68rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-divider { color: rgba(255, 255, 255, 0.25); }

/* ============================================
   HEADER
============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--cream);
  border-bottom: 1px solid var(--line-gold);
  width: 100%;
  transition: box-shadow 0.3s var(--ease);
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(122, 31, 31, 0.14);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  min-width: 0;
}

.brand-crest {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-crest img {
  position: relative;
  z-index: 1;
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.brand-text {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.7rem;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  white-space: nowrap;
  letter-spacing: -0.01em;
  min-width: 0;
}
.brand-text em {
  font-style: italic;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.brand-text.light { color: var(--white); white-space: normal; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-menu a {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-menu a i {
  color: var(--gold);
  font-size: 1rem;
}

.nav-menu a:hover { color: var(--gold); background: var(--gold-pale); }
.nav-menu a.active { color: var(--gold); }

.nav-menu a.cta {
  background: var(--navy);
  color: var(--white);
  padding: 11px 18px;
  margin-left: 8px;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
}
.nav-menu a.cta i { color: var(--gold); }
.nav-menu a.cta:hover { background: var(--gold); color: var(--navy); }
.nav-menu a.cta:hover i { color: var(--navy); }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--navy);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 11px;
  z-index: 1100;
  position: relative;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== NAV APPS MENU (4 boxes) ===== */
.nav-apps-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-apps-btn {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  border: 1px solid var(--line, #e5dcc9);
  background: transparent;
  color: var(--maroon, #7A1F1F);
  font-size: 1.5rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.nav-apps-btn:hover,
.nav-apps-btn.active {
  background: var(--maroon, #7A1F1F);
  color: #fff;
  border-color: var(--maroon, #7A1F1F);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(122, 31, 31, 0.25);
}

.nav-apps-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--line, #e5dcc9);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  z-index: 999;
}

.nav-apps-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-apps-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 8px;
  color: var(--ink, #1c1c1c);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-apps-dropdown a:hover {
  background: var(--cream, #faf6ee);
  color: var(--maroon, #7A1F1F);
  transform: translateX(3px);
}

.nav-apps-dropdown a i {
  width: 20px;
  text-align: center;
  color: var(--gold, #C9A227);
  font-size: 1rem;
}

/* Hide on mobile (already has mobile menu) */
@media (max-width: 991px) {
  .nav-apps-wrap { display: none; }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 340px;
  max-width: 90vw;
  height: 100vh;
  height: 100vh;
  background: var(--cream);
  border-left: 2px solid var(--gold);
  box-shadow: -10px 0 40px rgba(122, 31, 31, 0.25);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  z-index: 1050;
  overflow-y: auto;
  padding: 100px 24px 30px;
  display: flex;
  flex-direction: column;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  z-index: 10;
}
.mobile-menu-close:hover {
  background: var(--gold);
  color: var(--navy);
  transform: rotate(90deg);
}

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--line);
  transition: all 0.3s var(--ease);
}

.mobile-menu a i {
  color: var(--gold);
  font-size: 0.9rem;
  width: 20px;
  text-align: center;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--gold);
  padding-left: 14px;
}

.mobile-menu a.cta {
  background: var(--navy);
  color: var(--white);
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  border-bottom: none;
  padding: 15px 20px;
}
.mobile-menu a.cta i { color: var(--gold); }
.mobile-menu a.cta:hover { background: var(--gold); color: var(--navy); }
.mobile-menu a.cta:hover i { color: var(--navy); }

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(122, 31, 31, 0.5);
  backdrop-filter: blur(2px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.menu-overlay.open { opacity: 1; visibility: visible; }

/* HEADER RESPONSIVE */
@media (max-width: 1280px) {
  .header-inner { padding: 0 28px; gap: 12px; min-height: 86px; }
  .nav-menu a { padding: 10px 9px; font-size: 0.7rem; letter-spacing: 0.03em; }
  .nav-menu a.cta { padding: 10px 14px; font-size: 0.65rem; margin-left: 5px; }
  .brand-crest { width: 82px; height: 82px; }
  .brand-crest img { width: 80px; height: 80px; }
  .brand-text { font-size: 1.45rem; }
  .brand-text em { font-size: 0.74rem; }
}

@media (max-width: 1100px) {
  .header-inner { padding: 0 24px; min-height: 82px; }
  .nav-menu a i { display: none; }
  .nav-menu a { padding: 10px 8px; font-size: 0.68rem; }
  .nav-menu a.cta { padding: 10px 12px; font-size: 0.63rem; }
  .brand-crest { width: 82px; height: 82px; }
  .brand-crest img { width: 80px; height: 80px; }
  .brand-text { font-size: 1.35rem; }
  .brand-text em { font-size: 0.68rem; }
}

@media (max-width: 980px) {
  .nav-menu { display: none; }
  .menu-btn { display: flex; }
  .header-inner { padding: 0 24px; min-height: 82px; }
  .brand-crest { width: 82px; height: 82px; }
  .brand-crest img { width: 80px; height: 80px; }
  .brand-text { font-size: 1.35rem; }
  .brand-text em { font-size: 0.68rem; }
}

@media (max-width: 640px) {
  .topbar-inner {
    padding: 8px 16px;
    justify-content: center;
    text-align: center;
  }
  
  .topbar-left { gap: 14px; justify-content: center; width: 100%; }
  .topbar-left span:nth-child(3) { display: none; }
  .topbar-right { gap: 14px; justify-content: center; width: 100%; }
  .topbar-right a span { display: none; }
  .topbar-right a { gap: 0; }
  .topbar-divider { display: none; }

  .header-inner { padding: 0 16px; min-height: 72px; gap: 10px; }
  .brand { gap: 10px; }
  .brand-crest { width: 82px; height: 82px; }
  .brand-crest img { width: 80px; height: 80px; }
  .brand-text { font-size: 1.2rem; }
  .brand-text em { font-size: 0.6rem; letter-spacing: 0.08em; }
  .menu-btn { width: 42px; height: 42px; }
  .mobile-menu { width: 310px; padding: 90px 20px 26px; }
  .mobile-menu a { padding: 14px 6px; font-size: 0.8rem; }
  .mobile-menu-close { top: 16px; right: 16px; width: 40px; height: 40px; font-size: 1.1rem; }
}

@media (max-width: 400px) {
  .topbar-left { font-size: 0.68rem; gap: 10px; }
  .header-inner { padding: 0 14px; min-height: 84px; }
  .brand-crest { width: 82px; height: 82px; }
  .brand-crest img { width: 80px; height: 80px; }
  .brand-text { font-size: 1.3rem; }
  .brand-text em { font-size: 0.52rem; }
  .menu-btn { width: 40px; height: 40px; padding: 9px; }
  .menu-btn span { width: 20px; }
  .mobile-menu { width: 100vw; max-width: 100vw; padding: 82px 16px 24px; }
}

/* ============================================
   HERO
============================================ */
.hero {
  position: relative;
  height: clamp(480px, 70vh, 640px);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s var(--ease), visibility 1.2s;
  background-size: cover;
  background-position: center;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(122, 31, 31, 0.45) 0%, rgba(122, 31, 31, 0.25) 25%, rgba(122, 31, 31, 0.10) 50%);
}
.hero-slide.active { opacity: 1; visibility: visible; }

.hero-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  z-index: 2;
  width: 100%;
}

.hero-kicker {
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.8rem;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-kicker i { color: var(--gold); }
.hero-kicker::before { content: ""; width: 40px; height: 1px; background: var(--gold-light); flex-shrink: 0; }

.hero-title {
  color: var(--white);
  font-size: clamp(1.7rem, 5.5vw, 4rem);
  line-height: 1.1;
  margin: 0 0 20px;
  max-width: 750px;
}
.hero-title em { font-style: italic; color: var(--gold-light); font-weight: 400; }

.hero-lede {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  max-width: 520px;
  margin: 0 0 32px;
  line-height: 1.8;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.reveal-in { opacity: 0; transform: translateY(24px); animation: fadeUp 0.9s var(--ease) forwards; }
.hero-slide.active .reveal-in:nth-child(1) { animation-delay: 0.1s; }
.hero-slide.active .reveal-in:nth-child(2) { animation-delay: 0.25s; }
.hero-slide.active .reveal-in:nth-child(3) { animation-delay: 0.4s; }
.hero-slide.active .reveal-in:nth-child(4) { animation-delay: 0.55s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.35s var(--ease);
  font-family: var(--sans);
  cursor: none;
  text-align: center;
  border: 1px solid transparent;
}
.btn i { font-size: 0.9rem; }

.btn-primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(201, 162, 39, 0.5); }

.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-3px); }

.btn-ghost-light { border-color: rgba(255, 255, 255, 0.6); color: var(--white); background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.2); border-color: var(--white); transform: translateY(-3px); }

.btn-wide { width: 100%; }

.hero-dots {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.6);
  cursor: none;
  padding: 0;
  transition: all 0.3s var(--ease);
}
.hero-dot.active { background: var(--gold); border-color: var(--gold); transform: scale(1.4); }

/* ============================================
   PROGRAM CARDS
============================================ */
.programs { margin-top: -45px; position: relative; z-index: 5; }
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }

.program-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow-soft);
  transition: all 0.4s var(--ease);
}
.program-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--gold); }

.program-icon {
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  background: var(--ivory);
  border-radius: 50%;
  margin-bottom: 20px;
  border: 1px solid var(--line-gold);
  color: var(--navy);
  transition: all 0.4s var(--ease);
}
.program-card:hover .program-icon { background: var(--gold-pale); color: var(--gold); transform: rotate(-8deg) scale(1.1); }

.program-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.program-card p { color: var(--text-soft); font-size: 0.92rem; line-height: 1.8; }

/* ============================================
   ABOUT
============================================ */
.about { background: var(--ivory); }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
.about-visual { position: relative; }

.about-photo {
  height: 480px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line-gold);
}

.about-stat-badge {
  background: var(--navy);
  border-radius: var(--radius-sm);
  padding: 16px 16px;
  box-shadow: var(--shadow-hover);
  text-align: center;
  min-width: 150px;
  border: 2px solid var(--gold);
  z-index: 5;
}
.about-stat-badge .stat-num, .about-stat-badge .stat-suffix {
  font-family: var(--display);
  font-size: 2.2rem;
  color: var(--gold);
  font-weight: 700;
}
.about-stat-badge span:last-child {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== FOUR CORNER OWNER IMAGES ===== */
.owner-corner {
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold);
  box-shadow: 0 10px 30px rgba(122, 31, 31, 0.35);
  z-index: 6;
  background: var(--navy);
  transition: transform 0.4s var(--ease-bounce), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  cursor: none;
}

.owner-corner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.owner-corner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.owner-corner:hover {
  transform: scale(1.12);
  border-color: var(--gold-light);
  box-shadow: 0 16px 40px rgba(201, 162, 39, 0.55);
  z-index: 10;
}

.owner-corner:hover img {
  transform: scale(1.1);
}

.owner-tl { top: -22px; left: -22px; }
.owner-tr { top: -22px; right: -22px; }
.owner-bl { bottom: -22px; left: -22px; }
.owner-br { bottom: -22px; right: -22px; }

.tabs { margin: 28px 0; }
.tab-buttons { display: flex; gap: 0; margin-bottom: 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tab-btn {
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: none;
  transition: all 0.3s var(--ease);
}
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }

.tab-panel { display: none; color: var(--text-soft); font-size: 0.96rem; line-height: 1.9; }
.tab-panel.active { display: block; }

.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0 30px; }
.feature-list li {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}
.feature-list li i { color: var(--gold); font-size: 0.78rem; flex-shrink: 0; }

/* ============================================
   BADGE MARQUEE
============================================ */
.badge-strip {
  background: var(--navy);
  padding: 22px 0;
  overflow: hidden;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  margin-top: 10px;
}
.badge-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.badge-pill {
  flex-shrink: 0;
  color: var(--gold-light);
  font-weight: 500;
  font-size: 0.8rem;
  padding: 9px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(201, 162, 39, 0.4);
  font-family: var(--display);
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

/* ============================================
   CAMPUS
============================================ */
.campus-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; gap: 16px; }

.campus-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.4s var(--ease);
  box-shadow: var(--shadow-soft);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line-gold);
  cursor: none;
  padding: 0;
  text-align: left;
}
.c-wide { grid-column: span 2; }
.c-tall { grid-row: span 2; }

.campus-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(122, 31, 31, 0.9), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.campus-card:hover { transform: scale(1.03); }
.campus-card:hover::after { opacity: 1; }

.campus-label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: var(--white);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--ease);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}
.campus-label i { color: var(--gold); }
.campus-card:hover .campus-label { opacity: 1; transform: translateY(0); }

/* ============================================
   LIGHTBOX
============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(122, 31, 31, 0.97);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-panel { max-width: 720px; width: 100%; text-align: center; }
.lightbox-image {
  width: 100%;
  height: 420px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
  border: 2px solid var(--gold);
}
.lightbox-caption { color: var(--gold-pale); margin-top: 20px; font-size: 0.95rem; font-family: var(--display); font-style: italic; }
.lightbox-close {
  position: absolute;
  top: 24px; right: 30px;
  color: var(--white);
  font-size: 1.8rem;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  cursor: none;
  transition: all 0.3s var(--ease);
}
.lightbox-close:hover { color: var(--gold); border-color: var(--gold); transform: rotate(90deg); }

/* ============================================
   VIDEO
============================================ */
.video-section { background: var(--ivory); padding: 100px 0; }
.video-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.video-frame {
  position: relative;
  height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line-gold);
}
.video-frame::before { content: ""; position: absolute; inset: 0; background: rgba(122, 31, 31, 0.5); }

.play-btn {
  width: 78px; height: 78px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  padding-left: 5px;
  position: relative;
  z-index: 2;
  border: 2px solid var(--gold);
  cursor: none;
  transition: all 0.3s var(--ease);
}
.play-btn:hover { background: var(--gold); transform: scale(1.1); }

/* ============================================
   FACULTY
============================================ */
.faculty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.faculty-card { text-align: center; padding: 16px 8px; }

.faculty-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background-size: cover;
  background-position: center;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-soft);
  transition: all 0.4s var(--ease);
}
.faculty-card:hover .faculty-photo { transform: scale(1.08); border-color: var(--gold-pale); }

.faculty-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.faculty-role { font-size: 0.75rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }

/* ============================================
   EVENTS
============================================ */
.events { background: var(--ivory); }
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.event-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-gold);
  padding: 28px 24px 24px 90px;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s var(--ease);
}
.event-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--gold); }

.event-date {
  position: absolute;
  left: 20px; top: 24px;
  width: 56px; height: 62px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.7rem;
  line-height: 1.2;
  border: 1px solid var(--gold);
}
.event-date span { font-family: var(--display); font-size: 1.4rem; }

.event-meta { font-size: 0.7rem; color: var(--gold); font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.08em; display: flex; align-items: center; gap: 6px; }
.event-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.event-body p { font-size: 0.88rem; color: var(--text-soft); line-height: 1.8; }

/* ============================================
   TESTIMONIALS
============================================ */
.testimonials { background: var(--paper); }
.testi-track-wrap { overflow-x: auto; margin-top: 40px; padding-bottom: 14px; -webkit-overflow-scrolling: touch; }
.testi-track { display: flex; gap: 24px; padding-bottom: 10px; }

.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  min-width: 320px;
  max-width: 340px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line-gold);
  flex-shrink: 0;
  position: relative;
}
.testi-card::before {
  content: "\f10d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 14px; left: 18px;
  font-size: 2.2rem;
  color: var(--gold-pale);
  line-height: 1;
}
.testi-stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 16px; font-size: 0.85rem; position: relative; z-index: 1; }
.testi-card p { font-size: 0.92rem; color: var(--text-soft); margin-bottom: 22px; min-height: 80px; line-height: 1.9; font-style: italic; font-family: var(--display); position: relative; z-index: 1; }

.testi-who { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background-size: cover; background-position: center; border: 2px solid var(--gold); flex-shrink: 0; }
.testi-who strong { display: block; font-size: 0.9rem; color: var(--navy); font-family: var(--display); font-weight: 600; }
.testi-who span { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ============================================
   ADMISSION FORM
============================================ */
.admission { background: var(--cream); }
.admission-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
.admission-points { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.admission-points li { font-weight: 500; font-size: 0.9rem; color: var(--navy); display: flex; align-items: center; gap: 12px; }
.admission-points li i { color: var(--gold); font-size: 0.82rem; flex-shrink: 0; }

.admission-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line-gold);
  position: relative;
}
.admission-form::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  border-radius: var(--radius) var(--radius) 0 0;
}
.admission-form h3 { font-size: 1.3rem; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.admission-form h3 i { color: var(--gold); }
.form-subtitle { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 28px; font-style: italic; font-family: var(--display); }

.form-section-label {
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-full { grid-template-columns: 1fr; }
.form-group { margin-bottom: 18px; }

.admission-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admission-form input, .admission-form select, .admission-form textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  background: var(--cream);
  font-size: 16px;
  font-family: var(--sans);
  width: 100%;
  transition: all 0.3s var(--ease);
}
.admission-form select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A227' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}
.admission-form input:focus, .admission-form select:focus, .admission-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
  background: var(--white);
}
.admission-form textarea { resize: vertical; min-height: 70px; }

.radio-group { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 4px; }
.radio-label, .checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-soft);
  cursor: none;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  flex-direction: row;
}
.checkbox-label { align-items: flex-start; font-weight: 400; line-height: 1.5; }
.radio-label input, .checkbox-label input { 
  width: 18px; 
  height: 18px; 
  accent-color: var(--gold); 
  cursor: none; 
  margin: 0; 
  flex-shrink: 0;
  -webkit-appearance: radio;
  appearance: radio;
}
.checkbox-label input {
  -webkit-appearance: checkbox;
  appearance: checkbox;
}
.checkbox-label input { margin-top: 3px; }

.form-note { font-size: 0.82rem; color: var(--gold); margin-top: 14px; min-height: 1.2em; font-weight: 600; font-family: var(--display); font-style: italic; }
.form-note.success { color: #2E8B57; }

/* ============================================
   CONTACT SECTION
============================================ */
.contact {
  background: var(--ivory);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow-soft);
  transition: all 0.4s var(--ease);
}

.contact-info-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid var(--gold);
  transition: all 0.3s var(--ease);
}

.contact-info-item:hover .contact-info-icon {
  background: var(--gold);
  color: var(--navy);
  transform: rotate(-8deg) scale(1.05);
}

.contact-info-text h4 {
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--navy);
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-info-text p,
.contact-info-text a {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.7;
  display: block;
  transition: color 0.3s var(--ease);
}

.contact-info-text a:hover { color: var(--gold); }

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.contact-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border: 1px solid var(--gold);
  transition: all 0.3s var(--ease-bounce);
  cursor: none;
}

.contact-social-btn:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 25px rgba(201, 162, 39, 0.45);
}

.contact-map {
  position: relative;
  height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow-soft);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.2) contrast(1.05);
}

/* ============================================
   FOOTER
============================================ */
.footer {
  background: var(--navy);
  color: rgba(249, 239, 208, 0.8);
  padding: 70px 0 0;
  border-top: 3px solid var(--gold);
}
.footer-inner { display: flex; justify-content: space-between; gap: 50px; flex-wrap: wrap; padding-bottom: 44px; }
.footer-brand { max-width: 320px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.footer-brand p { width: 100%; margin-top: 6px; font-size: 0.86rem; line-height: 1.8; }
.footer-contact { color: var(--gold-pale) !important; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-contact i { color: var(--gold); }

.footer-brand .brand-crest { width: 64px; height: 64px; }
.footer-brand .brand-crest img { width: 62px; height: 62px; }

.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-links h4 { color: var(--white); font-size: 0.72rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.12em; padding-bottom: 10px; border-bottom: 2px solid var(--gold); display: inline-block; }
.footer-links a { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; padding: 6px 0; transition: color 0.3s var(--ease); }
.footer-links a i { color: var(--gold); font-size: 0.68rem; }
.footer-links a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(201, 162, 39, 0.25);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.75rem;
  max-width: var(--container);
  margin: 0 auto;
  color: rgba(249, 239, 208, 0.6);
}
.footer-legal a { color: inherit; }
.footer-legal a:hover { color: var(--gold); }

/* ============================================
   FLOATING BUTTONS
============================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 24px; left: 24px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 400;
  font-size: 1.4rem;
  transition: transform 0.3s var(--ease);
}
.whatsapp-btn:hover { transform: scale(1.1); }

.to-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  z-index: 400;
  transition: all 0.3s var(--ease);
  border: 1px solid var(--gold);
  cursor: none;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gold); color: var(--navy); }

/* ============================================
   SCROLL REVEAL
============================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============================================
   NOTICE & TOP STUDENT
============================================ */
.notice-board {
  background: var(--white);
  border-left: 6px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px 36px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line-gold);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.notice-board h3 {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.notice-board h3 i { color: var(--gold); }
.notice-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.notice-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 16px 20px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  transition: all 0.3s var(--ease);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-soft);
}
.notice-item:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
  transform: translateX(6px);
}
.notice-date {
  flex-shrink: 0;
  background: var(--navy);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  text-align: center;
  min-width: 70px;
  border: 1px solid var(--gold);
  line-height: 1.3;
}
.notice-date span { display: block; font-size: 1.1rem; font-family: var(--display); }
.notice-text { flex: 1; }
.notice-text strong {
  color: var(--navy);
  font-family: var(--display);
  font-weight: 700;
}

.top-student-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 10px;
}
.student-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px 26px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line-gold);
  transition: all 0.4s var(--ease);
  position: relative;
}
.student-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}
.student-card .rank-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 5px 20px;
  border-radius: 40px;
  border: 2px solid var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.student-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 16px auto 18px;
  background-size: cover;
  background-position: center;
  border: 4px solid var(--gold-pale);
  box-shadow: 0 8px 20px rgba(122, 31, 31, 0.15);
  transition: all 0.4s var(--ease);
}
.student-card:hover .student-photo {
  border-color: var(--gold);
  transform: scale(1.05);
}
.student-card h4 {
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 4px;
  font-weight: 700;
}
.student-class {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.student-score {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.7;
  font-style: italic;
  font-family: var(--display);
  border-top: 1px dashed var(--line-gold);
  padding-top: 14px;
  margin-top: 6px;
}
.student-score i { color: var(--gold); margin-right: 6px; }

/* ============================================
   CONTENT RESPONSIVE BREAKPOINTS
============================================ */
@media (max-width: 1024px) {
  .section { padding: 80px 0; }
  .section-inner { padding: 0 30px; }

  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .about-photo { height: 420px; }

  .video-inner { grid-template-columns: 1fr; gap: 40px; }
  .admission-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .campus-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 150px; }
  .faculty-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .top-student-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-inner { padding: 0 20px; }
  .section-head { margin-bottom: 36px; flex-direction: column; align-items: flex-start; }

  .hero { height: clamp(440px, 75vh, 560px); }
  .hero-inner { padding: 0 20px; }
  .hero-title { font-size: 1.9rem; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { padding: 12px 20px; font-size: 0.74rem; }

  .programs { margin-top: -40px; }
  .programs-grid { grid-template-columns: 1fr; gap: 18px; }
  .program-card { padding: 28px 22px; }

  .campus-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: 12px; }
  .c-tall { grid-row: span 1; }
  .c-wide { grid-column: span 2; }

  .faculty-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .faculty-photo { width: 90px; height: 90px; }

  .events-grid { grid-template-columns: 1fr; gap: 18px; }

  .about-photo { height: 320px; }
  .about-stat-badge { position: static; margin-top: -20px; margin-left: 20px; display: inline-flex; flex-direction: column; padding: 18px 22px; min-width: 130px; }
  .about-stat-badge .stat-num, .about-stat-badge .stat-suffix { font-size: 1.8rem; }

  .owner-corner { width: 74px; height: 74px; border-width: 3px; }
  .owner-tl { top: -14px; left: -14px; }
  .owner-tr { top: -14px; right: -14px; }
  .owner-bl { bottom: -14px; left: -14px; }
  .owner-br { bottom: -14px; right: -14px; }

  .notice-board { padding: 24px 20px; }
  .notice-item { flex-direction: column; gap: 10px; }
  .notice-date { align-self: flex-start; }
  .top-student-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .student-card { padding: 28px 18px 22px; }

  .feature-list { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .admission-form { padding: 28px 20px; }

  .video-frame { height: 260px; }
  .play-btn { width: 64px; height: 64px; font-size: 1.1rem; }

  .contact-map { height: 360px; }

  .footer-inner { flex-direction: column; gap: 36px; }
  .footer-links { gap: 32px; }
  .footer-bottom { padding: 18px 20px; text-align: center; flex-direction: column; align-items: center; }

  .testi-card { min-width: 260px; max-width: 280px; padding: 26px 20px; }

  .lightbox { padding: 20px; }
  .lightbox-image { height: 260px; }
  .lightbox-close { top: 14px; right: 16px; width: 42px; height: 42px; font-size: 1.4rem; }

  .whatsapp-btn { width: 46px; height: 46px; bottom: 18px; left: 18px; font-size: 1.2rem; }
  .to-top { width: 42px; height: 42px; bottom: 18px; right: 18px; font-size: 1rem; }
}

@media (max-width: 480px) {
  .section-inner { padding: 0 16px; }

  .hero { height: clamp(420px, 80vh, 520px); }
  .hero-title { font-size: 1.6rem; }
  .hero-lede { font-size: 0.9rem; margin-bottom: 24px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }

  .section-title { font-size: 1.5rem; }

  .brand-text { font-size: 1.05rem; }

  .tab-btn { padding: 10px 14px; font-size: 0.68rem; flex: 1; justify-content: center; }

  .campus-grid { grid-template-columns: 1fr; grid-auto-rows: 160px; }
  .c-wide, .c-tall { grid-column: span 1; grid-row: span 1; }
  .campus-label { opacity: 1; transform: translateY(0); font-size: 0.85rem; }
  .campus-card::after { opacity: 0.65; }

  .faculty-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .faculty-photo { width: 80px; height: 80px; }

  .event-card { padding: 22px 18px 18px 78px; }
  .event-date { left: 14px; top: 18px; width: 50px; height: 56px; }

  .testi-track-wrap { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .testi-card { min-width: 240px; max-width: 260px; padding: 24px 18px; }

  .admission-form { padding: 24px 16px; }

  .contact-info-item { padding: 16px; gap: 12px; }
  .contact-info-icon { width: 40px; height: 40px; font-size: 1rem; }
  .contact-info-text h4 { font-size: 0.78rem; }
  .contact-info-text p, .contact-info-text a { font-size: 0.86rem; }

  .video-frame { height: 220px; }

  .owner-corner { width: 58px; height: 58px; border-width: 3px; }
  .owner-tl { top: -10px; left: -10px; }
  .owner-tr { top: -10px; right: -10px; }
  .owner-bl { bottom: -10px; left: -10px; }
  .owner-br { bottom: -10px; right: -10px; }

  .notice-board h3 { font-size: 1.2rem; }
  .notice-item { padding: 14px 16px; font-size: 0.88rem; }
  .student-photo { width: 90px; height: 90px; }
}

@media (hover: none) and (pointer: coarse) {
  .program-card:hover, .campus-card:hover, .faculty-card:hover, .event-card:hover, .testi-card:hover, .contact-info-item:hover, .student-card:hover, .notice-item:hover { transform: none; }
  .program-card:active, .campus-card:active, .faculty-card:active, .event-card:active, .testi-card:active { transform: scale(0.98); }
  .btn:hover { transform: none; }
  .btn:active { transform: scale(0.97); }
  .campus-label { opacity: 1; transform: none; }
  .campus-card::after { opacity: 0.5; }
  .owner-corner:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}


/* ============================================
   NOTICE — Dynamic Layout (content left + files right)
============================================ */

/* Override original .notice-item (row layout for content + files) */
.notice-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 16px 20px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  transition: all 0.3s var(--ease);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-soft);
}

.notice-item:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
  transform: translateX(6px);
}

/* Date badge (left) */
.notice-date {
  flex-shrink: 0;
  background: var(--navy);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  text-align: center;
  min-width: 70px;
  border: 1px solid var(--gold);
  line-height: 1.3;
}
.notice-date span {
  display: block;
  font-size: 1.1rem;
  font-family: var(--display);
}

/* BODY: text (left) + files (right) */
.notice-body {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
}

.notice-text {
  flex: 1;
  color: var(--text-soft);
  min-width: 0;
  word-wrap: break-word;
  line-height: 1.7;
}
.notice-text strong {
  color: var(--navy);
  font-family: var(--display);
  font-weight: 700;
}

/* FILES — vertical stack on right side */
.notice-files {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  align-items: flex-end;
}

/* PDF chip */
.notice-file-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--gold-pale);
  border: 1px solid var(--line-gold);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.notice-file-link:hover {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

/* Image thumbnail (right side) */
.notice-file-thumb {
  position: relative;
  display: inline-block;
  width: 90px;
  height: 90px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  border: 2px solid var(--gold-pale);
  transition: all 0.3s var(--ease);
  overflow: hidden;
  flex-shrink: 0;
}
.notice-file-thumb:hover {
  border-color: var(--navy);
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(122, 31, 31, 0.25);
}
.notice-file-thumb .thumb-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(122, 31, 31, 0.88);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  padding: 3px 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Empty / loading states */
.notice-loading,
.notice-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 24px;
  font-style: italic;
  font-size: 0.9rem;
}

/* RESPONSIVE — mobile stacking */
@media (max-width: 768px) {
  .notice-item {
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
  }
  .notice-date {
    align-self: flex-start;
  }
  .notice-body {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .notice-files {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
  }
  .notice-file-thumb {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 480px) {
  .notice-item { padding: 12px 14px; font-size: 0.88rem; }
  .notice-file-thumb { width: 64px; height: 64px; }
  .notice-file-link { font-size: 12px; padding: 5px 10px; }
}

/*Career*/

/* ============================================================
   CAREER SECTION — LEFT TEXT + RIGHT FILES (SAME LINE)
   (Pure CSS — no JS/HTML change needed)
============================================================ */

.career-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}

.career-item {
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid var(--line, #e5e0d8);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.career-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(122, 31, 31, 0.10);
}

/* ---------- DATE BADGE ---------- */
.career-date {
  flex: 0 0 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: linear-gradient(135deg, var(--maroon, #7A1F1F), #5c1515);
  color: #fff;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  padding: 12px 6px;
}
.career-date span { font-size: 22px; display: block; }
.career-date em {
  font-size: 10.5px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .4px;
  opacity: .8;
}

/* ---------- BODY ---------- */
.career-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 18px 22px;
}

/* Tag pill */
.career-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--maroon, #7A1F1F);
  background: rgba(122, 31, 31, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1.4;
}
.career-tag i { font-size: 9.5px; }

/* ============================================
   ⭐ TEXT (LEFT)  +  FILES (RIGHT)  — SAME LINE
   CSS Grid trick: text grid area me left,
   files grid area me right (same row)
   ============================================ */

/* Body ke andar: tag full width, phir text+files side-by-side */
.career-body {
  display: grid;
  grid-template-columns: 1fr auto;   /* text flexible, files fixed */
  grid-template-areas:
    "tag   tag"
    "text  files";
  column-gap: 20px;
  row-gap: 8px;
  align-items: start;
}

.career-tag  { grid-area: tag; }
.career-text { grid-area: text; }

/* Files block ko right side me daalo */
.career-body .notice-files {
  grid-area: files;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  max-width: 220px;
  margin: 0;
}

/* Text styling */
.career-text {
  font-size: 15px;
  line-height: 1.6;
  color: #2b2b2b;
  white-space: pre-line;
  word-wrap: break-word;
  margin: 0;
  min-width: 0;
}

/* ---------- FILE CHIPS (right side) ---------- */
.career-body .notice-file-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--maroon, #7A1F1F);
  background: rgba(122, 31, 31, 0.08);
  border: 1px solid rgba(122, 31, 31, 0.18);
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.career-body .notice-file-link:hover {
  background: var(--maroon, #7A1F1F);
  color: #fff;
  transform: translateY(-1px);
}

/* Image thumbnails */
.career-body .notice-file-thumb {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line, #e5e0d8);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.career-body .notice-file-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.career-body .notice-file-thumb .thumb-badge {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 9px;
  text-align: center;
  padding: 2px 0;
}

/* Empty / loading */
.career-list .notice-empty,
.career-list .notice-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 30px 20px;
  background: #fff;
  border: 1px dashed var(--line, #e5e0d8);
  border-radius: 14px;
  color: #888;
  font-size: 14px;
  margin: 0;
}
.career-list .notice-empty i,
.career-list .notice-loading i { color: var(--maroon, #7A1F1F); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 700px) {
  /* Mobile: text upar, files neeche */
  .career-body {
    grid-template-columns: 1fr;
    grid-template-areas:
      "tag"
      "text"
      "files";
  }
  .career-body .notice-files {
    max-width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .career-date { flex: 0 0 66px; padding: 10px 4px; }
  .career-date span { font-size: 18px; }
  .career-date em { font-size: 9.5px; }
  .career-body { padding: 14px 16px; row-gap: 6px; }
  .career-text { font-size: 14px; }
  .career-body .notice-file-thumb { width: 48px; height: 48px; }
}