/* ================================================================
   BELLS UNIVERSITY OF TECHNOLOGY — FELICITATIONS WEBSITE
   Custom Stylesheet — Phase 1: Navbar + Hero
   Layers on top of style.css (Bootstrap 4 + Template)
   ================================================================ */

/* ── 1. CSS VARIABLES & COLOR OVERRIDES ── */
:root {
  /* University Brand */
  --bu-navy:        #002147;
  --bu-navy-light:  #003070;
  --bu-navy-deep:   #00142e;
  --bu-gold:        #ce992e;
  --bu-gold-light:  #e8b448;
  --bu-gold-pale:   #f5e0a8;
  --bu-gold-glow:   rgba(206, 153, 46, 0.38);
  --bu-white:       #ffffff;
  --bu-off-white:   #f8f5ee;
  --bu-text:        #1a1a2e;
  --bu-muted:       #6b7a9a;

  /* Override Bootstrap template primary/dark */
  --primary:  #ce992e;
  --dark:     #002147;

  /* Nav */
  --nav-h:         86px;
  --nav-h-sm:      62px;
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
}

/* Override Bootstrap primary colour references */
.text-primary  { color: var(--bu-gold)  !important; }
.bg-dark       { background-color: var(--bu-navy) !important; }
.border-primary{ border-color: var(--bu-gold) !important; }
.btn-primary   { background-color: var(--bu-gold); border-color: var(--bu-gold); color: var(--bu-navy); }
.btn-primary:hover { background-color: var(--bu-gold-light); border-color: var(--bu-gold-light); }
.btn-outline-primary { color: var(--bu-gold); border-color: var(--bu-gold); }
.btn-outline-primary:hover { background-color: var(--bu-gold); border-color: var(--bu-gold); color: var(--bu-navy); }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bu-navy-deep); }
::-webkit-scrollbar-thumb { background: var(--bu-gold); border-radius: 3px; }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* ── 2. CELEBRATION BURST OVERLAY ── */
.celebration-burst {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 21, 46, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}

.celebration-burst canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.burst-content {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: burstContentIn 0.7s var(--ease) forwards;
}

.burst-logo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 4px solid var(--bu-gold);
  box-shadow: 0 0 0 6px rgba(206,153,46,0.2), 0 0 40px var(--bu-gold-glow);
  animation: burst-logo-spin 3s ease-in-out;
}

.burst-text {
  font-family: 'Great Vibes', cursive;
  font-size: 2.2rem;
  color: var(--bu-gold-pale);
  margin-top: 1rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 20px var(--bu-gold-glow);
}

@keyframes burstContentIn {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes burst-logo-spin {
  0%   { transform: rotate(-8deg) scale(0.85); }
  40%  { transform: rotate(4deg) scale(1.05); }
  100% { transform: rotate(0deg) scale(1); }
}

/* ── 3. NAVBAR ── */
.bells-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9990;
  height: var(--nav-h);
  background: var(--bu-navy);
  border-bottom: 1px solid transparent;
  transition: height 0.35s var(--ease),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
}

.bells-nav.scrolled {
  height: var(--nav-h-sm);
  border-bottom-color: var(--bu-gold);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.bells-nav-inner {
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* ─ Nav Link Lists ─ */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  flex: 1;
}

.nav-links-left  { justify-content: flex-end; padding-right: 2.5rem; }
.nav-links-right { justify-content: flex-start; padding-left: 2.5rem; }

.nav-links li a {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  padding: 0.45rem 0.65rem;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 50%;
  width: 0; height: 2px;
  background: var(--bu-gold);
  transform: translateX(-50%);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--bu-gold-light);
  text-decoration: none;
}

.nav-links li a:hover::after,
.nav-links li a.active::after { width: 72%; }

/* Login button styling */
.nav-links li a.nav-login-btn {
  background: var(--bu-gold);
  color: var(--bu-navy);
  padding: 0.38rem 1rem;
  border-radius: 2px;
  font-weight: 700;
  transition: all 0.3s ease;
}
.nav-links li a.nav-login-btn:hover {
  background: var(--bu-gold-light);
  color: var(--bu-navy);
  text-decoration: none;
}
.nav-links li a.nav-login-btn::after { display: none; }

/* ─ Centre Logo (Desktop) ─ */
.nav-logo-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.nav-logo-center a { display: block; text-decoration: none; }

.logo-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--bu-gold);
  padding: 3px;
  background: #ffffff;
  box-shadow:
    0 0 0 1.5px rgba(255,255,255,0.12),
    0 0 18px var(--bu-gold-glow),
    0 0 45px rgba(206,153,46,0.12);
  transition: width 0.35s var(--ease),
              height 0.35s var(--ease),
              box-shadow 0.35s ease;
  animation: logoPulse 2.2s ease-in-out 0.8s 2;
}

.logo-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.bells-nav.scrolled .logo-ring {
  width: 50px;
  height: 50px;
}

@keyframes logoPulse {
  0%,100% {
    box-shadow:
      0 0 0 1.5px rgba(255,255,255,0.12),
      0 0 18px var(--bu-gold-glow),
      0 0 45px rgba(206,153,46,0.12);
  }
  50% {
    box-shadow:
      0 0 0 2px rgba(255,255,255,0.2),
      0 0 32px rgba(206,153,46,0.65),
      0 0 70px rgba(206,153,46,0.28);
  }
}

/* ─ Mobile Brand Logo ─ */
.mobile-nav-brand { display: flex; align-items: center; }

.mobile-logo-link { display: block; text-decoration: none; }

.mobile-logo-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--bu-gold);
  padding: 2px;
  background: #ffffff;
  box-shadow: 0 0 14px var(--bu-gold-glow);
  transition: 0.3s ease;
}

.mobile-logo-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* ─ Hamburger Toggler ─ */
.nav-toggler {
  background: none;
  border: 1.5px solid rgba(206,153,46,0.55);
  border-radius: 4px;
  padding: 7px 9px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.3s ease;
  outline: none;
}

.nav-toggler:hover { border-color: var(--bu-gold); }

.nav-toggler span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--bu-gold);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.nav-toggler.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggler.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggler.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─ Mobile Drawer ─ */
.mobile-drawer {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  z-index: 9980;
  background: var(--bu-navy-deep);
  border-bottom: 2px solid var(--bu-gold);
  padding: 0.75rem 0 1.25rem;
  transform: translateY(-6px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s var(--ease), opacity 0.32s ease;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0 1.25rem;
}

.mobile-drawer ul li a {
  display: block;
  padding: 0.82rem 0.75rem;
  color: rgba(255,255,255,0.82);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  border-left: 3px solid transparent;
  transition: all 0.25s ease;
}

.mobile-drawer ul li a:hover,
.mobile-drawer ul li a.active {
  color: var(--bu-gold-light);
  border-left-color: var(--bu-gold);
  padding-left: 1.1rem;
  text-decoration: none;
}

.mobile-drawer ul li a.drawer-login {
  color: var(--bu-gold);
  font-weight: 700;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9970;
  background: rgba(0,21,46,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* ── 4. HERO SECTION ── */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 580px;
  overflow: hidden;
  background: var(--bu-navy-deep);
}

/* Floating celebration emojis */
.hero-emoji {
  position: absolute;
  z-index: 4;
  font-size: 1.6rem;
  pointer-events: none;
  opacity: 0;
  user-select: none;
}

.hero-emoji.e1 { top: 10%;  left:  4%;  animation: floatEmoji 5s ease-in-out 1.2s infinite alternate; }
.hero-emoji.e2 { top:  8%;  right: 4%;  animation: floatEmoji 5.5s ease-in-out 1.8s infinite alternate; }
.hero-emoji.e3 { bottom: 18%; left:  3%; animation: floatEmoji 6s ease-in-out 2.4s infinite alternate; }
.hero-emoji.e4 { bottom: 20%; right: 3%; animation: floatEmoji 4.8s ease-in-out 2s infinite alternate; }

@keyframes floatEmoji {
  0%   { opacity: 0.55; transform: translateY(0px) rotate(-5deg); }
  50%  { opacity: 0.75; transform: translateY(-14px) rotate(5deg); }
  100% { opacity: 0.55; transform: translateY(-6px) rotate(-2deg); }
}

/* ─ Individual .s ─ */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* Slide backgrounds — replaced by real campus images later */
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: kbZoom 14s ease-in-out infinite alternate;
}

.slide-bg-1 {
  background:
    url('../img/carousel/bg-1.jpg') center/cover no-repeat,
    linear-gradient(135deg, #002147 0%, #003070 45%, #001530 100%);
}

.slide-bg-2 {
  background:
    url('../img/carousel/bg-2.jpg') center/cover no-repeat,
    linear-gradient(135deg, #001530 0%, #002147 55%, #003a80 100%);
}

@keyframes kbZoom {
  0%   { transform: scale(1.08) translate(0.5%, 0.5%); }
  100% { transform: scale(1.0)  translate(-0.5%, -0.5%); }
}

/* ─ Overlay ─ */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 33, 71, 0.28)  0%,
    rgba(0, 33, 71, 0.62)  45%,
    rgba(0, 20, 46, 0.92)  100%
  );
  z-index: 1;
}

/* Decorative gold bar at top of overlay */
.slide-overlay::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent 0%, var(--bu-gold) 50%, transparent 100%);
}

/* ─ Caption Container ─ */
.slide-caption {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 1rem) 2rem 4rem;
  text-align: center;
}

.caption-inner {
  max-width: 820px;
  width: 100%;
}

/* All caption elements start invisible */
.caption-label,
.caption-name,
.caption-dept,
.caption-badge,
.caption-ctas {
  opacity: 0;
  transform: translateY(26px);
  will-change: opacity, transform;
}

/* ─ Label ─ */
.caption-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.caption-label span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--bu-gold-pale);
}

.label-line {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--bu-gold), transparent);
  display: block;
}

/* ─ Honouree Name ─ */
.caption-name {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.6);
  min-height: 1.2em;
}

/* Typewriter cursor */
.tw-cursor {
  display: inline-block;
  color: var(--bu-gold);
  font-weight: 300;
  animation: blink 0.8s step-end infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* ─ Department / Title ─ */
.caption-dept {
  margin-bottom: 1.5rem;
}

.caption-dept .dept-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.8rem, 2.2vw, 1.05rem);
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.caption-dept .dept-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  color: var(--bu-gold-pale);
  letter-spacing: 2px;
  margin: 0;
}

/* ─ Years of Service Badge ─ */
.caption-badge { margin-bottom: 2rem; }

.years-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(206, 153, 46, 0.14);
  border: 1.5px solid rgba(206,153,46,0.5);
  border-radius: 50px;
  padding: 0.55rem 1.5rem;
  backdrop-filter: blur(4px);
}

.years-badge .fa-medal {
  font-size: 1.2rem;
  color: var(--bu-gold);
}

.years-count {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--bu-gold-light);
  line-height: 1;
  min-width: 2ch;
}

.years-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  line-height: 1.3;
  max-width: 130px;
  text-align: left;
}

/* ─ CTA Buttons ─ */
.caption-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  background: var(--bu-gold);
  color: var(--bu-navy);
  text-decoration: none;
  padding: 0.75rem 1.7rem;
  border-radius: 2px;
  border: 2px solid var(--bu-gold);
  transition: all 0.3s ease;
  box-shadow: 0 4px 18px rgba(206,153,46,0.35);
}

.btn-gold:hover {
  background: var(--bu-gold-light);
  border-color: var(--bu-gold-light);
  color: var(--bu-navy);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(206,153,46,0.45);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  background: transparent;
  color: var(--bu-gold-pale);
  text-decoration: none;
  padding: 0.75rem 1.7rem;
  border-radius: 2px;
  border: 2px solid rgba(206,153,46,0.55);
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background: rgba(206,153,46,0.12);
  border-color: var(--bu-gold);
  color: var(--bu-gold-pale);
  text-decoration: none;
  transform: translateY(-2px);
}

/* ─ Carousel Controls ─ */
.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  background: rgba(0,33,71,0.6);
  border: 1.5px solid rgba(206,153,46,0.45);
  border-radius: 2px;
  color: var(--bu-gold);
  font-size: 1rem;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: all 0.28s ease;
}

.hero-prev { left: 1.5rem; }
.hero-next { right: 1.5rem; }

.hero-prev:hover,
.hero-next:hover {
  background: var(--bu-gold);
  border-color: var(--bu-gold);
  color: var(--bu-navy);
  transform: translateY(-50%) scale(1.05);
}

/* ─ Dot Indicators ─ */
.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 1.5px solid rgba(206,153,46,0.4);
  cursor: pointer;
  outline: none;
  padding: 0;
  transition: all 0.3s ease;
}

.hero-dot.active {
  background: var(--bu-gold);
  border-color: var(--bu-gold);
  transform: scale(1.35);
  box-shadow: 0 0 8px var(--bu-gold-glow);
}

/* ─ Scroll Cue ─ */
.scroll-cue {
  position: absolute;
  bottom: 1.8rem;
  right: 2rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  opacity: 0.6;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-cue span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bu-gold-pale);
}

.scroll-cue i {
  color: var(--bu-gold);
  font-size: 0.9rem;
}

@keyframes scrollBounce {
  0%,100% { transform: translateY(0); opacity: 0.6; }
  50%      { transform: translateY(6px); opacity: 0.9; }
}

/* ── 5. BACK TO TOP ── */
.bu-back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9900;
  width: 44px;
  height: 44px;
  background: var(--bu-gold);
  color: var(--bu-navy);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
  box-shadow: 0 4px 16px rgba(206,153,46,0.4);
  animation: none;
}

.bu-back-top.visible {
  opacity: 1;
  pointer-events: auto;
  animation: buBounce 1.2s ease-in-out infinite alternate;
}

.bu-back-top:hover {
  background: var(--bu-gold-light);
  color: var(--bu-navy);
  text-decoration: none;
  transform: translateY(-3px);
}

@keyframes buBounce {
  from { transform: translateY(0); }
  to   { transform: translateY(-6px); }
}

/* ── 6. RESPONSIVE ── */
@media (max-width: 991.98px) {
  .caption-ctas { gap: 0.75rem; }
  .btn-gold, .btn-outline-gold { font-size: 0.68rem; padding: 0.65rem 1.2rem; }
  .hero-prev, .hero-next { width: 42px; height: 42px; font-size: 0.9rem; }
  .hero-prev { left: 0.75rem; }
  .hero-next { right: 0.75rem; }
  .scroll-cue { display: none; }
}

@media (max-width: 575.98px) {
  .caption-label { flex-direction: column; gap: 0.4rem; }
  .label-line { max-width: 50px; }
  .years-badge { padding: 0.5rem 1rem; gap: 0.5rem; }
  .years-count { font-size: 1.5rem; }
  .years-text  { font-size: 0.62rem; }
  .caption-ctas { flex-direction: column; align-items: center; }
  .btn-gold,
  .btn-outline-gold { width: 100%; max-width: 260px; justify-content: center; }
  .hero-emoji.e3,
  .hero-emoji.e4 { display: none; }
}
/* ================================================
   BELLS UNIVERSITY — HONOUREES SECTION
   ================================================ */

/* ── Filter Buttons ── */
#honouree-filters { padding-left: 0; list-style: none; }

#honouree-filters .hon-filter-btn {
    cursor: pointer;
    border-color: var(--bu-gold);
    color: var(--bu-navy);
    font-size: .72rem;
    letter-spacing: 1.5px;
    transition: all .3s ease;
    border-radius: 2px;
}

#honouree-filters .hon-filter-btn:hover,
#honouree-filters .hon-filter-btn.active {
    background: var(--bu-gold);
    border-color: var(--bu-gold);
    color: var(--bu-navy);
}

/* ── Scroll entrance animation ── */
.hon-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .65s ease, transform .65s ease;
}

.hon-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger siblings */
.hon-item:nth-child(2) { transition-delay: .12s; }
.hon-item:nth-child(3) { transition-delay: .24s; }
.hon-item:nth-child(4) { transition-delay: .12s; }
.hon-item:nth-child(5) { transition-delay: .24s; }
.hon-item:nth-child(6) { transition-delay: .36s; }

/* ── Flip Card Wrapper ── */
.honouree-card {
    perspective: 1100px;
    height: 460px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform .72s cubic-bezier(.4, .2, .2, 1);
}

/* Flip on hover (desktop) and on .flipped class (mobile tap) */
.honouree-card:hover .card-inner,
.honouree-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 4px;
    overflow: hidden;
}

/* ── Card Front ── */
.card-front {
    background: #fff;
    box-shadow: 0 6px 30px rgba(0,0,0,.1);
    display: flex;
    flex-direction: column;
}

.card-photo-wrap {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.card-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.honouree-card:hover .card-photo-wrap img {
    transform: scale(1.06);
}

/* Years ribbon badge */
.years-ribbon {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--bu-gold);
    color: var(--bu-navy);
    border-radius: 50px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(206,153,46,.45);
    z-index: 2;
}

.years-ribbon .fa-medal { font-size: .85rem; }

.ribbon-years {
    font-size: 1.1rem;
    line-height: 1;
}

.years-ribbon small {
    font-size: .6rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: .85;
}

.card-front-body {
    padding: 1.4rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hon-name {
    font-size: 1.7rem;
    color: var(--bu-navy);
    margin-bottom: .3rem;
    line-height: 1.2;
}

.hon-role {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    color: var(--bu-muted, #6b7a9a);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: .75rem;
}

.dept-badge {
    display: inline-block;
    background: rgba(0,33,71,.07);
    color: var(--bu-navy);
    font-family: 'Montserrat', sans-serif;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid rgba(0,33,71,.15);
}

.flip-hint {
    color: var(--bu-gold);
    font-size: .7rem;
    letter-spacing: 1px;
    opacity: .8;
}

/* ── Card Back ── */
.card-back {
    background: var(--bu-navy);
    transform: rotateY(180deg);
    padding: 1.8rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
}

.hon-name-back {
    font-size: 1.5rem;
    color: var(--bu-gold-pale, #f5e0a8);
    margin-bottom: .5rem;
    line-height: 1.2;
}

.card-bio {
    font-family: 'Montserrat', sans-serif;
    font-size: .78rem;
    color: rgba(255,255,255,.82);
    line-height: 1.7;
    margin-bottom: .75rem;
    flex: 1;
}

.card-achievements {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.card-achievements li {
    font-family: 'Montserrat', sans-serif;
    font-size: .72rem;
    color: rgba(255,255,255,.78);
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-achievements li i {
    color: var(--bu-gold);
    font-size: .7rem;
    flex-shrink: 0;
}

/* View Full Profile button */
.btn-view-profile {
    display: block;
    width: 100%;
    background: var(--bu-gold);
    color: var(--bu-navy);
    border: none;
    border-radius: 2px;
    font-family: 'Montserrat', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: .7rem 1rem;
    cursor: pointer;
    transition: background .3s ease, transform .2s ease;
    outline: none;
}

.btn-view-profile:hover {
    background: var(--bu-gold-light, #e8b448);
    transform: translateY(-1px);
}

/* ── Full Profile Modal ── */
.hon-modal-content {
    border: none;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 70px rgba(0,0,0,.4);
}

/* Close button */
.hon-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 10;
    background: rgba(0,0,0,.55);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    cursor: pointer;
    transition: background .25s ease;
    outline: none;
}

.hon-modal-close:hover { background: var(--bu-gold); color: var(--bu-navy); }

/* Left photo panel */
.hon-modal-photo-panel {
    position: relative;
    height: 100%;
    min-height: 300px;
    overflow: hidden;
}

.hon-modal-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hon-modal-photo-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,21,46,.88));
    padding: 2rem 1rem 1rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hon-modal-years-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #fff;
    text-align: center;
}

.hon-modal-years-badge .fa-medal {
    color: var(--bu-gold);
    font-size: 1.3rem;
    margin-bottom: 2px;
}

.hon-modal-years-badge span {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--bu-gold-light, #e8b448);
    line-height: 1;
}

.hon-modal-years-badge small {
    font-family: 'Montserrat', sans-serif;
    font-size: .6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: .85;
}

/* Right details panel */
.hon-modal-details {
    padding: 2rem 1.8rem;
    background: #fff;
    height: 100%;
    overflow-y: auto;
    max-height: 80vh;
}

.hon-modal-name {
    font-size: 2.2rem;
    color: var(--bu-navy);
    line-height: 1.15;
    margin-bottom: .3rem;
}

.hon-modal-role {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--bu-gold);
    margin-bottom: 1rem;
}

.hon-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,33,71,.1);
}

.hon-modal-meta span {
    font-family: 'Montserrat', sans-serif;
    font-size: .72rem;
    color: #6b7a9a;
    font-weight: 600;
}

.hon-modal-meta i { color: var(--bu-gold); }

.hon-modal-bio {
    font-family: 'Montserrat', sans-serif;
    font-size: .82rem;
    line-height: 1.85;
    color: #555;
    margin-bottom: 1.2rem;
}

/* Quote */
.hon-modal-quote-wrap {
    position: relative;
    background: rgba(0,33,71,.04);
    border-left: 3px solid var(--bu-gold);
    padding: 1rem 1rem 1rem 2.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0 4px 4px 0;
}

.quote-mark {
    position: absolute;
    top: -8px;
    left: 12px;
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    color: var(--bu-gold);
    line-height: 1;
    opacity: .5;
}

.hon-modal-quote {
    font-size: 1.25rem;
    color: var(--bu-navy);
    margin: 0;
    line-height: 1.5;
    font-style: normal;
}

/* Awards list */
.awards-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bu-navy);
    margin-bottom: .75rem;
}

.awards-heading i { color: var(--bu-gold); }

.awards-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.awards-list li {
    font-family: 'Montserrat', sans-serif;
    font-size: .78rem;
    color: #555;
    padding: .55rem 0;
    border-bottom: 1px solid rgba(0,33,71,.07);
    display: flex;
    align-items: center;
    gap: 10px;
}

.awards-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bu-gold);
    flex-shrink: 0;
}
/* ── Responsive ── */
@media (max-width: 767.98px) {
    .honouree-card { height: auto; }
    .card-inner    { transform-style: flat; }

    /* On mobile, show front and back stacked — no 3D flip */
    .card-front { position: relative; }
    .card-back  {
        position: relative;
        transform: none;
        margin-top: -4px;
    }

    .honouree-card:hover .card-inner,
    .honouree-card.flipped .card-inner { transform: none; }

    .flip-hint { display: none; }

    .hon-modal-photo-panel { min-height: 220px; }
    .hon-modal-details { max-height: none; padding: 1.5rem 1.2rem; }
    .hon-modal-name { font-size: 1.7rem; }
}

/* ================================================
   BELLS UNIVERSITY — JOURNEY & AWARDS SECTION
   ================================================ */

/* ── Honouree Tabs ── */
.journey-tabs-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 3rem;
    padding-bottom: 4px;
}

.journey-tabs {
    display: flex;
    justify-content: center;
    gap: .5rem;
    min-width: max-content;
    margin: 0 auto;
    padding: 0 1rem;
    border-bottom: 2px solid rgba(0,33,71,.1);
}

.journey-tab {
    font-family: 'Montserrat', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--bu-muted, #6b7a9a);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: .85rem 1.2rem;
    margin-bottom: -2px;
    cursor: pointer;
    outline: none;
    transition: all .3s ease;
    white-space: nowrap;
}

.journey-tab:hover { color: var(--bu-navy); }

.journey-tab.active {
    color: var(--bu-navy);
    border-bottom-color: var(--bu-gold);
}

.journey-tab i { color: var(--bu-gold); }

/* ── Timeline Panels ── */
.journey-panel {
    display: none;
    animation: journeyFadeIn .45s ease;
}

.journey-panel.active { display: block; }

@keyframes journeyFadeIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Timeline Spine (centre vertical line) ── */
.journey-timeline::after {
    position: absolute;
    content: '';
    width: 2px;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--bu-gold) 8%,
        var(--bu-gold) 92%,
        transparent
    );
    transform-origin: top center;
    animation: drawSpine 1.4s ease forwards;
}

@keyframes drawSpine {
    from { transform: scaleY(0); opacity: 0; }
    to   { transform: scaleY(1); opacity: 1; }
}

/* ── Timeline Row ── */
.journey-row {
    position: relative;
    margin-bottom: 2.5rem;
    align-items: center;
}

/* ── Node Column (centre) ── */
.journey-node-col {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative;
}

.journey-node {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--bu-navy);
    border: 3px solid var(--bu-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bu-gold);
    font-size: 1.1rem;
    box-shadow: 0 0 0 4px rgba(206,153,46,.18), 0 4px 16px rgba(0,0,0,.18);
    transition: transform .3s ease, box-shadow .3s ease;
    flex-shrink: 0;
}

.journey-row:hover .journey-node {
    transform: scale(1.12);
    box-shadow: 0 0 0 6px rgba(206,153,46,.28), 0 6px 22px rgba(0,0,0,.22);
}

/* ── Journey Card ── */
.journey-card {
    background: #fff;
    border-radius: 4px;
    padding: 1.4rem 1.6rem;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    border-top: 3px solid var(--bu-gold);
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease;
}

.journey-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 36px rgba(0,0,0,.13);
}

/* Pointer arrow toward the spine */
.journey-left-col .journey-card::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    border-width: 10px 0 10px 10px;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
    filter: drop-shadow(3px 0 2px rgba(0,0,0,.06));
}

.journey-right-col .journey-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
    border-width: 10px 10px 10px 0;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
    filter: drop-shadow(-3px 0 2px rgba(0,0,0,.06));
}

/* Year badge */
.journey-year {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--bu-gold);
    background: rgba(206,153,46,.1);
    border: 1px solid rgba(206,153,46,.3);
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: .6rem;
}

.journey-award {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--bu-navy);
    margin-bottom: .5rem;
    line-height: 1.35;
}

.journey-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: .78rem;
    color: #666;
    line-height: 1.75;
    margin: 0;
}

/* ── Scroll-entrance animations ── */
.journey-left-col .journey-card,
.journey-right-col .journey-card {
    opacity: 0;
}

.journey-left-col .journey-card {
    transform: translateX(-35px);
    transition: opacity .6s ease, transform .6s ease;
}

.journey-right-col .journey-card {
    transform: translateX(35px);
    transition: opacity .6s ease, transform .6s ease;
}

.journey-node {
    opacity: 0;
    transform: scale(0.6);
    transition: opacity .5s ease .2s, transform .5s ease .2s;
}

.journey-row.visible .journey-left-col .journey-card,
.journey-row.visible .journey-right-col .journey-card {
    opacity: 1;
    transform: translateX(0);
}

.journey-row.visible .journey-node {
    opacity: 1;
    transform: scale(1);
}

/* ── Responsive ── */
@media (max-width: 767.98px) {
    .journey-timeline::after {
        left: 26px;
        margin-left: 0;
    }

    .journey-row { margin-bottom: 1.8rem; }

    .journey-spacer { display: none; }

    .journey-node-col {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 52px;
    }

    .journey-left-col,
    .journey-right-col {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding-left: 68px;
        text-align: left !important;
    }

    /* Hide pointer arrows on mobile */
    .journey-left-col .journey-card::after,
    .journey-right-col .journey-card::before { display: none; }

    /* Reset slide animations on mobile */
    .journey-left-col .journey-card { transform: translateX(0); }
    .journey-right-col .journey-card { transform: translateX(0); }

    .journey-tab { font-size: .65rem; padding: .7rem .85rem; }
}
/* ================================================
   BELLS UNIVERSITY — GALLERY SECTION
   ================================================ */

.bells-gallery-section {
    background: var(--bu-navy);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Subtle background pattern */
.bells-gallery-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        rgba(206,153,46,.06) 1px, transparent 1px
    );
    background-size: 28px 28px;
    pointer-events: none;
}

/* Gold accent line top */
.bells-gallery-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(
        to right, transparent, var(--bu-gold), transparent
    );
}

/* ── Section Header ── */
.gal-header {
    position: relative;
    z-index: 1;
    padding-bottom: 2.5rem;
}

.gal-header .section-title::before,
.gal-header .section-title::after {
    background: var(--bu-gold);
}

.gal-header-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: .82rem;
    color: rgba(255,255,255,.55);
    letter-spacing: 1px;
    margin-top: .75rem;
}

/* ── Gallery Container ── */
.gal-container { position: relative; z-index: 1; }

/* ── Tabs ── */
.gal-tabs-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 2.5rem;
    padding-bottom: 4px;
}

.gal-tabs {
    display: flex;
    justify-content: center;
    gap: .4rem;
    min-width: max-content;
    margin: 0 auto;
    padding: 0 1rem;
}

.gal-tab {
    font-family: 'Montserrat', sans-serif;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,.6);
    background: rgba(255,255,255,.05);
    border: 1.5px solid rgba(206,153,46,.2);
    border-radius: 2px;
    padding: .6rem 1.1rem;
    cursor: pointer;
    outline: none;
    transition: all .3s ease;
    white-space: nowrap;
}

.gal-tab:hover {
    color: rgba(255,255,255,.9);
    border-color: rgba(206,153,46,.5);
    background: rgba(206,153,46,.08);
}

.gal-tab.active {
    background: var(--bu-gold);
    border-color: var(--bu-gold);
    color: var(--bu-navy);
}

.gal-tab i { font-size: .65rem; }
/* ── Gallery Grid (CSS Columns — natural aspect ratios) ── */
.gal-grid {
    display: block;
    column-count: 3;
    column-gap: 14px;
}

/* ── Individual Item ── */
.gal-item {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    display: inline-block;
    width: 100%;
    margin-bottom: 14px;
    border-radius: 4px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .55s ease, transform .55s ease;
}

.gal-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger entrance */
.gal-item:nth-child(3n+2) { transition-delay: .1s; }
.gal-item:nth-child(3n+3) { transition-delay: .2s; }

/* ── Item inner — height follows image naturally ── */
.gal-item-inner {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    height: auto;
}

/* ── Image — natural dimensions, no crop, no stretch ── */
.gal-img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.0);
    transition: transform 7s ease;
}

.gal-item:hover .gal-img {
    transform: scale(1.04);
}

/* ── Overlay ── */
.gal-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,21,46,.88) 0%,
        rgba(0,21,46,.3) 55%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .4s ease;
}

.gal-item:hover .gal-overlay { opacity: 1; }

/* ── Zoom icon ── */
.gal-zoom {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--bu-gold);
    color: var(--bu-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: all .3s ease;
    margin-bottom: auto;
    margin-top: auto;
    backdrop-filter: blur(4px);
    background: rgba(0,33,71,.3);
}

.gal-zoom:hover {
    background: var(--bu-gold);
    color: var(--bu-navy);
    transform: scale(1.1);
    text-decoration: none;
}

/* ── Caption ── */
.gal-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: .75rem 1rem;
    text-align: left;
}

.gal-caption span {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: .78rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 3px;
}

.gal-caption small {
    font-family: 'Montserrat', sans-serif;
    font-size: .62rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--bu-gold-pale, #f5e0a8);
}

.gal-caption small i { font-size: .58rem; }

/* ── Load More Button ── */
.gal-load-more {
    font-family: 'Montserrat', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: transparent;
    color: var(--bu-gold);
    border: 1.5px solid var(--bu-gold);
    border-radius: 2px;
    padding: .8rem 2rem;
    cursor: pointer;
    outline: none;
    transition: all .3s ease;
}

.gal-load-more:hover {
    background: var(--bu-gold);
    color: var(--bu-navy);
}

/* ── Lightbox overrides ── */
.lb-data .lb-caption {
    font-family: 'Montserrat', sans-serif;
    font-size: .8rem;
    font-weight: 600;
    color: #fff;
}

.lb-outerContainer { border-radius: 4px; }

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .gal-grid { column-count: 2; }
}

@media (max-width: 575.98px) {
    .bells-gallery-section { padding: 70px 0 50px; }
    .gal-grid { column-count: 1; }
    .gal-overlay { opacity: 1; }
}
/* ================================================
   BELLS UNIVERSITY — FELICITATIONS SECTION
   ================================================ */

.bells-felic-section {
    background: var(--bu-navy-deep, #00142e);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

/* Subtle radial glow at centre */
.bells-felic-section::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(
        circle, rgba(206,153,46,.06) 0%, transparent 70%
    );
    pointer-events: none;
}

/* Section title colours on dark bg */
.bells-felic-section .section-title h6 { color: var(--bu-gold) !important; }
.bells-felic-section .section-title::before,
.bells-felic-section .section-title::after { background: var(--bu-gold); }

.felic-intro {
    font-family: 'Montserrat', sans-serif;
    font-size: .82rem;
    color: rgba(255,255,255,.5);
    letter-spacing: .5px;
    line-height: 1.8;
}

/* ── Slider Wrap ── */
.felic-slider-wrap {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 3.5rem 4rem;
    min-height: 340px;
}

/* ── Individual Slide ── */
.felic-slide {
    display: none;
    animation: felicFadeIn .55s ease;
}

.felic-slide.active { display: block; }

@keyframes felicFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Decorative Quote Mark ── */
.felic-quote-mark {
    font-family: 'Great Vibes', cursive;
    font-size: 7rem;
    color: var(--bu-gold);
    opacity: .22;
    line-height: .7;
    margin-bottom: -1.5rem;
    user-select: none;
}

/* ── Excerpt Text ── */
.felic-excerpt {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.02rem;
    font-weight: 400;
    color: rgba(255,255,255,.88);
    line-height: 1.9;
    margin-bottom: 2rem;
    font-style: italic;
}

/* ── Author Row ── */
.felic-author-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.8rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(206,153,46,.2);
}

/* Initials avatar */
.felic-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: .85rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    border: 2px solid rgba(206,153,46,.4);
    box-shadow: 0 4px 14px rgba(0,0,0,.3);
}

.felic-author-name {
    font-size: 1.6rem;
    color: var(--bu-gold-pale, #f5e0a8);
    margin-bottom: 2px;
    line-height: 1.2;
}

.felic-author-dept {
    font-family: 'Montserrat', sans-serif;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
}

/* ── Slide Actions ── */
.felic-slide-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Like button */
.felic-like-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: rgba(206,153,46,.1);
    border: 1.5px solid rgba(206,153,46,.3);
    border-radius: 50px;
    color: rgba(255,255,255,.6);
    font-family: 'Montserrat', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    padding: .45rem 1rem;
    cursor: pointer;
    outline: none;
    transition: all .3s ease;
}

.felic-like-btn:hover,
.felic-like-btn.liked {
    background: rgba(206,153,46,.18);
    border-color: var(--bu-gold);
    color: var(--bu-gold);
}

.felic-like-btn .fa-heart { transition: transform .1s ease; }

.felic-like-btn.liked .fa-heart { color: #e04a4a; }

@keyframes heartPop {
    0%   { transform: scale(1); }
    35%  { transform: scale(1.5); }
    65%  { transform: scale(0.88); }
    100% { transform: scale(1); }
}

.felic-like-btn.pop .fa-heart {
    animation: heartPop .38s ease;
}

/* Read Full button */
.felic-read-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--bu-gold);
    color: var(--bu-navy);
    border: none;
    border-radius: 2px;
    font-family: 'Montserrat', sans-serif;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: .55rem 1.3rem;
    cursor: pointer;
    outline: none;
    transition: all .3s ease;
}

.felic-read-btn:hover {
    background: var(--bu-gold-light, #e8b448);
    transform: translateY(-1px);
}

/* ── Prev / Next Controls ── */
.felic-prev,
.felic-next {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 1.5px solid rgba(206,153,46,.35);
    color: var(--bu-gold);
    font-size: .9rem;
    cursor: pointer;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
}

.felic-prev { left: 0; }
.felic-next { right: 0; }

.felic-prev:hover,
.felic-next:hover {
    background: var(--bu-gold);
    border-color: var(--bu-gold);
    color: var(--bu-navy);
}

/* ── Dots ── */
.felic-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: .5rem;
}

.felic-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
    border: 1.5px solid rgba(206,153,46,.3);
    padding: 0;
    cursor: pointer;
    outline: none;
    transition: all .3s ease;
}

.felic-dot.active {
    background: var(--bu-gold);
    border-color: var(--bu-gold);
    transform: scale(1.35);
}

/* ── CTA ── */
.felic-cta-wrap { padding: 2rem 0 0; }

.felic-cta-btn {
    display: inline-flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bu-gold);
    border: 1.5px solid var(--bu-gold);
    border-radius: 2px;
    padding: .85rem 2rem;
    text-decoration: none;
    transition: all .3s ease;
}

.felic-cta-btn:hover {
    background: var(--bu-gold);
    color: var(--bu-navy);
    text-decoration: none;
}

/* ══ FULL MESSAGE MODAL ══ */
.felic-modal-content {
    border: none;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,.5);
}

/* Modal Header */
.felic-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 1.6rem;
    background: var(--bu-navy);
    position: relative;
}

.felic-modal-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: .88rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    border: 2px solid rgba(206,153,46,.5);
}

.felic-modal-author h4 {
    font-size: 1.7rem;
    color: var(--bu-gold-pale, #f5e0a8);
    margin-bottom: 1px;
    line-height: 1.2;
}

.felic-modal-author span {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    margin-bottom: 3px;
}

.felic-modal-author small {
    font-family: 'Montserrat', sans-serif;
    font-size: .65rem;
    color: rgba(255,255,255,.35);
}

.felic-modal-author small i { color: var(--bu-gold); }

.felic-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: rgba(255,255,255,.1);
    border: none;
    color: rgba(255,255,255,.7);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
    transition: all .25s ease;
    font-size: .85rem;
}

.felic-modal-close:hover { background: var(--bu-gold); color: var(--bu-navy); }

/* Scrollable Message Body */
.felic-modal-body {
    padding: 2rem 2rem 1rem;
    background: #fff;
    max-height: 38vh;
    overflow-y: auto;
    position: relative;
}

.felic-modal-quote-mark {
    font-family: 'Great Vibes', cursive;
    font-size: 5rem;
    color: var(--bu-gold);
    opacity: .18;
    line-height: .6;
    margin-bottom: -1rem;
    user-select: none;
}

.felic-modal-text {
    font-family: 'Montserrat', sans-serif;
    font-size: .85rem;
    color: #444;
    line-height: 2;
    white-space: pre-line;
}

/* Modal Footer */
.felic-modal-footer {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: .9rem 1.6rem;
    background: #f8f5ee;
    border-top: 1px solid rgba(0,33,71,.08);
    border-bottom: 1px solid rgba(0,33,71,.08);
}

.felic-modal-like {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: none;
    border: 1.5px solid rgba(0,33,71,.15);
    border-radius: 50px;
    color: #666;
    font-family: 'Montserrat', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    padding: .38rem .9rem;
    cursor: pointer;
    outline: none;
    transition: all .3s ease;
}

.felic-modal-like:hover,
.felic-modal-like.liked {
    border-color: var(--bu-gold);
    color: var(--bu-gold);
    background: rgba(206,153,46,.06);
}

.felic-modal-like.liked .fa-heart { color: #e04a4a; }

.felic-modal-like.pop .fa-heart {
    animation: heartPop .38s ease;
}

.felic-modal-comment-count {
    font-family: 'Montserrat', sans-serif;
    font-size: .72rem;
    font-weight: 600;
    color: #888;
}

.felic-modal-comment-count i { color: var(--bu-gold); }

/* ── Comments ── */
.felic-comments-wrap {
    background: #fff;
    padding: 1.2rem 1.6rem 1.4rem;
}

.felic-comments-list {
    max-height: 180px;
    overflow-y: auto;
    margin-bottom: 1.2rem;
    padding-right: 4px;
}

/* Scrollbar inside comments */
.felic-comments-list::-webkit-scrollbar { width: 4px; }
.felic-comments-list::-webkit-scrollbar-thumb { background: var(--bu-gold); border-radius: 2px; }

.felic-comment {
    display: flex;
    gap: .75rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.fc-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: .68rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.fc-body {
    flex: 1;
    background: #f8f5ee;
    border-radius: 0 8px 8px 8px;
    padding: .6rem .9rem;
}

.fc-meta {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .3rem;
}

.fc-meta strong {
    font-family: 'Montserrat', sans-serif;
    font-size: .72rem;
    color: var(--bu-navy);
}

.fc-meta small {
    font-family: 'Montserrat', sans-serif;
    font-size: .62rem;
    color: #aaa;
}

.fc-body p {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* Comment input */
.felic-comment-input-wrap {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
}

.fc-self {
    margin-top: 4px;
}

.fc-input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.fc-textarea {
    width: 100%;
    border: 1.5px solid rgba(0,33,71,.15);
    border-radius: 4px;
    padding: .6rem .9rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .78rem;
    color: var(--bu-navy);
    resize: none;
    outline: none;
    transition: border-color .3s ease;
    line-height: 1.6;
}

.fc-textarea:focus { border-color: var(--bu-gold); }
.fc-textarea::placeholder { color: #bbb; }

.fc-post-btn {
    align-self: flex-end;
    background: var(--bu-navy);
    color: #fff;
    border: none;
    border-radius: 2px;
    font-family: 'Montserrat', sans-serif;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: .5rem 1.1rem;
    cursor: pointer;
    outline: none;
    transition: background .3s ease;
}

.fc-post-btn:hover { background: var(--bu-gold); color: var(--bu-navy); }

/* ── Responsive ── */
@media (max-width: 767.98px) {
    .felic-slider-wrap { padding: 0 2.5rem 4rem; }
    .felic-excerpt { font-size: .88rem; }
    .felic-slide-actions { flex-direction: column; align-items: flex-start; }
    .felic-modal-body { max-height: 30vh; }
    .felic-comments-list { max-height: 140px; }
}

@media (max-width: 575.98px) {
    .bells-felic-section { padding: 70px 0 40px; }
    .felic-slider-wrap { padding: 0 2rem 4rem; }
    .felic-prev { left: -0.5rem; }
    .felic-next { right: -0.5rem; }
}
/* ================================================
   BELLS UNIVERSITY — EVENTS SECTION
   ================================================ */

.bells-events-section {
    background: var(--bu-off-white, #f8f5ee);
    position: relative;
}

/* Gold top accent line */
.bells-events-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(
        to right, transparent, var(--bu-gold), transparent
    );
}

/* ── Countdown ── */
.events-countdown-wrap {
    text-align: center;
    margin-bottom: 3.5rem;
}

.countdown-label {
    font-family: 'Montserrat', sans-serif;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--bu-gold);
    margin-bottom: 1rem;
}

.countdown-label i { color: var(--bu-gold); }

.events-countdown {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--bu-navy);
    border-radius: 6px;
    padding: 1.2rem 2rem;
    box-shadow: 0 8px 32px rgba(0,33,71,.18);
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 58px;
}

.cu-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--bu-gold-light, #e8b448);
    line-height: 1;
    margin-bottom: .3rem;
    transition: all .3s ease;
}

.cu-label {
    font-family: 'Montserrat', sans-serif;
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
}

.countdown-sep {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bu-gold);
    opacity: .5;
    margin-bottom: .5rem;
    animation: sepBlink 1s step-end infinite;
}

@keyframes sepBlink {
    0%,100% { opacity: .5; }
    50%      { opacity: .1; }
}

/* Countdown expired state */
.countdown-expired .cu-number { color: rgba(255,255,255,.4); }
.countdown-expired-msg {
    font-family: 'Montserrat', sans-serif;
    font-size: .78rem;
    color: var(--bu-gold);
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: .75rem;
    display: none;
}

/* ── Event Cards Grid ── */
.events-grid { align-items: stretch; }

/* ── Card entrance animation ── */
.event-item {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .6s ease, transform .6s ease;
}

.event-item.visible { opacity: 1; transform: translateY(0); }
.event-item:nth-child(2) { transition-delay: .12s; }
.event-item:nth-child(3) { transition-delay: .24s; }

/* ── Event Card ── */
.event-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(0,0,0,.09);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .35s ease, box-shadow .35s ease;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 44px rgba(0,0,0,.14);
}

/* ── Card Image ── */
.event-card-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 7s ease;
}

.event-card:hover .event-img {
    transform: scale(1.05);
}

/* Date badge on image */
.event-date-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--bu-gold);
    color: var(--bu-navy);
    border-radius: 4px;
    padding: 6px 12px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
    line-height: 1.2;
}

.edb-day {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.edb-month {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.edb-year {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: .58rem;
    opacity: .75;
    letter-spacing: 1px;
}

/* Event type tag */
.event-type-tag {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(206,153,46,.85);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

/* ── Card Body ── */
.event-card-body {
    padding: 1.5rem 1.5rem 1rem;
    flex: 1;
}

.event-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--bu-navy);
    margin-bottom: 1rem;
    line-height: 1.35;
}

.event-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.event-meta li {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    color: #666;
    padding: .38rem 0;
    border-bottom: 1px solid rgba(0,33,71,.06);
}

.event-meta li:last-child { border-bottom: none; }

.event-meta li i {
    color: var(--bu-gold);
    font-size: .75rem;
    margin-top: 2px;
    flex-shrink: 0;
    width: 14px;
}

.event-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    color: #888;
    line-height: 1.75;
    margin: 0;
}

/* ── Card Footer ── */
.event-card-footer {
    display: flex;
    gap: .6rem;
    padding: 1rem 1.5rem 1.5rem;
    flex-wrap: wrap;
}

/* Add to Calendar button */
.event-calendar-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: transparent;
    color: var(--bu-navy);
    border: 1.5px solid rgba(0,33,71,.2);
    border-radius: 2px;
    padding: .55rem .8rem;
    cursor: pointer;
    outline: none;
    transition: all .3s ease;
    white-space: nowrap;
}

.event-calendar-btn:hover {
    border-color: var(--bu-gold);
    color: var(--bu-gold);
    background: rgba(206,153,46,.06);
}

/* RSVP button */
.event-rsvp-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: var(--bu-navy);
    color: #fff;
    border: 1.5px solid var(--bu-navy);
    border-radius: 2px;
    padding: .55rem .8rem;
    cursor: pointer;
    outline: none;
    transition: all .3s ease;
    white-space: nowrap;
}

.event-rsvp-btn:hover {
    background: var(--bu-gold);
    border-color: var(--bu-gold);
    color: var(--bu-navy);
}

.event-rsvp-btn.attending {
    background: var(--bu-gold);
    border-color: var(--bu-gold);
    color: var(--bu-navy);
}

.event-rsvp-btn.attending:hover {
    background: transparent;
    color: var(--bu-navy);
    border-color: rgba(0,33,71,.3);
}

/* ── Responsive ── */
@media (max-width: 767.98px) {
    .events-countdown { padding: .9rem 1rem; gap: .3rem; }
    .cu-number { font-size: 1.6rem; }
    .countdown-unit { min-width: 42px; }
    .countdown-sep { font-size: 1.3rem; }
    .event-card-footer { flex-direction: column; }
    .event-calendar-btn,
    .event-rsvp-btn { flex: unset; width: 100%; }
}
/* ================================================
   BELLS UNIVERSITY — LEAVE A FELICITATION SECTION
   ================================================ */

.bells-submit-section {
    background: var(--bu-navy);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Dot grid background texture */
.bells-submit-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        rgba(206,153,46,.05) 1px, transparent 1px
    );
    background-size: 28px 28px;
    pointer-events: none;
}

/* Section title on dark bg */
.bells-submit-section .section-title h6 { color: var(--bu-gold) !important; }
.bells-submit-section .section-title::before,
.bells-submit-section .section-title::after { background: var(--bu-gold); }

.submit-intro {
    font-family: 'Montserrat', sans-serif;
    font-size: .82rem;
    color: rgba(255,255,255,.5);
    line-height: 1.8;
}

/* ── Form Card ── */
.submit-form-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 16px 56px rgba(0,0,0,.3);
    position: relative;
    z-index: 1;
}

.sfcard-header {
    background: var(--bu-navy);
    color: var(--bu-gold-pale, #f5e0a8);
    font-family: 'Montserrat', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 1rem 1.6rem;
    border-bottom: 2px solid var(--bu-gold);
}

.sfcard-body { padding: 1.8rem; }

/* ── Form Labels ── */
.sf-label {
    font-family: 'Montserrat', sans-serif;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--bu-navy);
    margin-bottom: .45rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sf-label span { color: var(--bu-gold); }

/* ── Inputs ── */
.sf-input,
.sf-select,
.sf-textarea {
    width: 100%;
    border: 1.5px solid rgba(0,33,71,.15);
    border-radius: 3px;
    padding: .7rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .8rem;
    color: var(--bu-navy);
    background: #fafafa;
    outline: none;
    transition: border-color .3s ease, box-shadow .3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.sf-input:focus,
.sf-select:focus,
.sf-textarea:focus {
    border-color: var(--bu-gold);
    box-shadow: 0 0 0 3px rgba(206,153,46,.12);
    background: #fff;
}

.sf-input::placeholder,
.sf-textarea::placeholder { color: #bbb; }

.sf-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ce992e' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.sf-textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.7;
}

/* Character counter */
.sf-char-counter {
    font-family: 'Montserrat', sans-serif;
    font-size: .62rem;
    font-weight: 600;
    color: #aaa;
    letter-spacing: 0;
    text-transform: none;
    transition: color .3s ease;
}

.sf-char-counter.near-limit { color: #e07b2e; }
.sf-char-counter.at-limit   { color: #dc3545; }

/* ── Inline field errors ── */
.sf-error {
    font-family: 'Montserrat', sans-serif;
    font-size: .65rem;
    color: #dc3545;
    font-weight: 600;
    margin-top: .3rem;
    min-height: 16px;
    letter-spacing: .3px;
}

/* Invalid field highlight */
.sf-input.invalid,
.sf-select.invalid,
.sf-textarea.invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220,53,69,.1);
}

/* ── Pending notice ── */
.sf-notice {
    font-family: 'Montserrat', sans-serif;
    font-size: .7rem;
    color: #888;
    background: rgba(206,153,46,.07);
    border-left: 3px solid var(--bu-gold);
    border-radius: 0 3px 3px 0;
    padding: .65rem 1rem;
    margin-bottom: 1.4rem;
    line-height: 1.6;
}

.sf-notice i { color: var(--bu-gold); }

/* ── Submit Button ── */
.sf-submit-btn {
    display: block;
    width: 100%;
    background: var(--bu-navy);
    color: #fff;
    border: none;
    border-radius: 3px;
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: .9rem 1rem;
    cursor: pointer;
    outline: none;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}

.sf-submit-btn:hover:not(:disabled) {
    background: var(--bu-gold);
    color: var(--bu-navy);
}

.sf-submit-btn:disabled {
    opacity: .75;
    cursor: not-allowed;
}

.sf-submit-btn.success-state {
    background: #1a6b3a;
    color: #fff;
}

/* ── Success Panel ── */
.sf-success-panel {
    text-align: center;
    padding: 2rem 1rem;
}

.sfsp-icon {
    font-size: 3rem;
    color: #1a6b3a;
    margin-bottom: 1rem;
    animation: successPop .5s ease;
}

@keyframes successPop {
    0%   { transform: scale(0); opacity: 0; }
    70%  { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

.sf-success-panel h4 {
    font-size: 2.2rem;
    color: var(--bu-navy);
    margin-bottom: .5rem;
}

.sf-success-panel p {
    font-family: 'Montserrat', sans-serif;
    font-size: .8rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.sf-another-btn {
    background: none;
    border: 1.5px solid var(--bu-gold);
    border-radius: 2px;
    color: var(--bu-gold);
    font-family: 'Montserrat', sans-serif;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: .65rem 1.5rem;
    cursor: pointer;
    outline: none;
    transition: all .3s ease;
}

.sf-another-btn:hover {
    background: var(--bu-gold);
    color: var(--bu-navy);
}

/* ── Live Preview ── */
.sf-preview-wrap { position: relative; z-index: 1; }

.sf-preview-label {
    font-family: 'Montserrat', sans-serif;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bu-gold);
    margin-bottom: .75rem;
}

.sf-preview-card {
    background: var(--bu-navy-deep, #00142e);
    border: 1px solid rgba(206,153,46,.2);
    border-radius: 6px;
    padding: 2rem;
    box-shadow: 0 12px 40px rgba(0,0,0,.35);
    margin-bottom: 1.5rem;
    transition: all .3s ease;
}

.sfp-quote {
    font-family: 'Great Vibes', cursive;
    font-size: 5rem;
    color: var(--bu-gold);
    opacity: .2;
    line-height: .6;
    margin-bottom: -.8rem;
    user-select: none;
}

.sfp-message {
    font-family: 'Montserrat', sans-serif;
    font-size: .82rem;
    color: rgba(255,255,255,.75);
    line-height: 1.85;
    font-style: italic;
    margin-bottom: 1.4rem;
    min-height: 80px;
    white-space: pre-wrap;
    word-break: break-word;
}

.sfp-divider {
    border: none;
    border-top: 1px solid rgba(206,153,46,.2);
    margin-bottom: 1.2rem;
}

.sfp-author-row {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-bottom: 1rem;
}

.sfp-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bu-gold);
    color: var(--bu-navy);
    font-family: 'Montserrat', sans-serif;
    font-size: .78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid rgba(206,153,46,.4);
    transition: all .3s ease;
}

.sfp-name {
    font-size: 1.4rem;
    color: var(--bu-gold-pale, #f5e0a8);
    margin-bottom: 2px;
    line-height: 1.2;
}

.sfp-dept {
    font-family: 'Montserrat', sans-serif;
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
}

.sfp-for-wrap {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .65rem;
}

.sfp-for-label {
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,.3);
}

.sfp-for-name {
    color: var(--bu-gold);
    font-weight: 600;
}

/* ── Tips ── */
.sf-tips {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(206,153,46,.15);
    border-radius: 4px;
    padding: 1.2rem 1.4rem;
}

.sf-tips-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--bu-gold);
    margin-bottom: .75rem;
}

.sf-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sf-tips ul li {
    font-family: 'Montserrat', sans-serif;
    font-size: .72rem;
    color: rgba(255,255,255,.45);
    padding: .35rem 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
    padding-left: 1rem;
    position: relative;
    line-height: 1.5;
}

.sf-tips ul li:last-child { border-bottom: none; }

.sf-tips ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--bu-gold);
    opacity: .6;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .sf-preview-wrap { margin-top: 0; }
}

@media (max-width: 767.98px) {
    .bells-submit-section { padding: 70px 0 50px; }
    .sfcard-body { padding: 1.3rem; }
}

/* ================================================
   BELLS UNIVERSITY — AUTH MODAL & RESET PAGE
   ================================================ */

/* ── Modal dialog sizing ── */
.auth-dialog { max-width: 490px; width: 100%; }

/* ── Standalone Reset Page ── */
.auth-page-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: var(--bu-navy);
    font-family: 'Montserrat', sans-serif;
}

.auth-page-bg {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 2rem 1rem;
    background-image: radial-gradient(rgba(206,153,46,.05) 1px, transparent 1px);
    background-size: 28px 28px;
}

.auth-page-card {
    width: 100%;
    max-width: 480px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,.5);
}

.auth-back-link {
    font-family: 'Montserrat', sans-serif;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: color .3s ease;
    align-self: flex-start;
}

.auth-back-link:hover { color: var(--bu-gold); text-decoration: none; }

/* ── Shared Card ── */
.auth-content {
    background: #fff;
    border: none;
    border-radius: 8px;
}

/* ── Header ── */
.auth-header {
    background: var(--bu-navy);
    text-align: center;
    padding: 1.6rem 1.5rem 1.2rem;
    border-bottom: 2px solid var(--bu-gold);
}

.auth-logo-ring {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--bu-gold);
    padding: 3px;
    background: #fff;
    margin: 0 auto .75rem;
    box-shadow: 0 0 0 2px rgba(255,255,255,.1),
                0 0 22px var(--bu-gold-glow, rgba(206,153,46,.35));
}

.auth-logo-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.auth-univ-name {
    font-family: 'Montserrat', sans-serif;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
    margin-bottom: .2rem;
}

.auth-tagline {
    font-family: 'Great Vibes', cursive;
    font-size: 1.35rem;
    color: var(--bu-gold-pale, #f5e0a8);
    margin: 0;
}

/* ── Close button ── */
.auth-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: none;
    color: rgba(255,255,255,.7);
    font-size: .8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
    transition: all .25s ease;
}

.auth-close:hover { background: var(--bu-gold); color: var(--bu-navy); }

/* ── 3-Tab Navigation ── */
.auth-tabs {
    display: flex;
    position: relative;
    background: #f0ece4;
    border-bottom: 1px solid rgba(0,33,71,.1);
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #aaa;
    padding: .9rem .4rem;
    cursor: pointer;
    outline: none;
    transition: color .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

.auth-tab i { font-size: .7rem; flex-shrink: 0; }
.auth-tab.active { color: var(--bu-navy); }

/* Sliding gold indicator — 1/3 width */
.auth-tab-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(100% / 3);
    height: 2.5px;
    background: var(--bu-gold);
    transition: transform .32s cubic-bezier(.4,0,.2,1);
    border-radius: 2px 2px 0 0;
}

.auth-tab-bar.on-signup { transform: translateX(100%); }
.auth-tab-bar.on-reset  { transform: translateX(200%); }

/* Short/long label switching */
.auth-tab-short { display: none; }
.auth-tab-long  { display: inline; }

/* ── Panels ── */
.auth-panel { display: none; }

.auth-panel.active {
    display: block;
    animation: authPanelIn .32s ease;
}

@keyframes authPanelIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Form ── */
.auth-form { padding: 1.5rem 1.6rem; }

.auth-field { margin-bottom: .9rem; }

.auth-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: .63rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--bu-navy);
    margin-bottom: .38rem;
}

.auth-optional {
    font-size: .58rem;
    font-weight: 600;
    color: #aaa;
    letter-spacing: 0;
    text-transform: none;
}

/* Forgot password link (inside label) */
.auth-forgot-link {
    background: none;
    border: none;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: .62rem;
    font-weight: 700;
    color: var(--bu-gold);
    cursor: pointer;
    outline: none;
    text-transform: none;
    letter-spacing: 0;
    transition: color .25s ease;
}

.auth-forgot-link:hover { color: var(--bu-gold-light, #e8b448); }

/* ── Input wrap ── */
.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: .85rem;
    color: #ccc;
    font-size: .75rem;
    pointer-events: none;
    z-index: 1;
    transition: color .3s ease;
}

.auth-input-wrap:focus-within .auth-input-icon { color: var(--bu-gold); }

.auth-input {
    width: 100%;
    padding: .68rem .85rem .68rem 2.3rem;
    border: 1.5px solid rgba(0,33,71,.15);
    border-radius: 3px;
    font-family: 'Montserrat', sans-serif;
    font-size: .8rem;
    color: var(--bu-navy);
    background: #fafafa;
    outline: none;
    transition: border-color .3s ease, box-shadow .3s ease;
    -webkit-appearance: none;
    appearance: none;
    /* Comfortable touch targets */
    min-height: 44px;
}

.auth-input:focus {
    border-color: var(--bu-gold);
    box-shadow: 0 0 0 3px rgba(206,153,46,.12);
    background: #fff;
}

.auth-input::placeholder { color: #ccc; }
.auth-input.invalid { border-color: #dc3545; box-shadow: 0 0 0 3px rgba(220,53,69,.1); }

/* Select */
.auth-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath fill='%23ce992e' d='M5 7L0 0h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .85rem center;
    padding-right: 2rem;
    cursor: pointer;
}

/* Show/hide password toggle */
.auth-eye {
    position: absolute;
    right: .75rem;
    background: none;
    border: none;
    color: #ccc;
    font-size: .8rem;
    cursor: pointer;
    outline: none;
    padding: 0;
    transition: color .25s ease;
    z-index: 2;
    min-width: 24px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-eye:hover,
.auth-eye.active { color: var(--bu-gold); }

/* ── Password Strength ── */
.pw-strength-wrap {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-top: .38rem;
}

.pw-strength-bar {
    flex: 1;
    height: 3px;
    background: rgba(0,33,71,.1);
    border-radius: 2px;
    overflow: hidden;
}

.pw-strength-fill {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: width .4s ease, background .4s ease;
}

.pw-strength-fill.s1 { width: 20%; background: #dc3545; }
.pw-strength-fill.s2 { width: 40%; background: #fd7e14; }
.pw-strength-fill.s3 { width: 60%; background: #ffc107; }
.pw-strength-fill.s4 { width: 80%; background: #20c997; }
.pw-strength-fill.s5 { width: 100%; background: #1a6b3a; }

.pw-strength-label {
    font-family: 'Montserrat', sans-serif;
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #aaa;
    white-space: nowrap;
    min-width: 45px;
}

/* ── Field errors ── */
.auth-field-err {
    font-family: 'Montserrat', sans-serif;
    font-size: .62rem;
    font-weight: 600;
    color: #dc3545;
    margin-top: .28rem;
    min-height: 14px;
}

/* ── Server messages ── */
.auth-server-msg {
    font-family: 'Montserrat', sans-serif;
    font-size: .7rem;
    font-weight: 600;
    padding: .6rem .9rem;
    border-radius: 3px;
    margin-bottom: .85rem;
    display: none;
    line-height: 1.5;
}

.auth-server-msg.error {
    display: block;
    background: rgba(220,53,69,.08);
    border-left: 3px solid #dc3545;
    color: #dc3545;
}

.auth-server-msg.success {
    display: block;
    background: rgba(26,107,58,.08);
    border-left: 3px solid #1a6b3a;
    color: #1a6b3a;
}

/* ── Remember me + Terms ── */
.auth-remember,
.auth-terms { margin-bottom: .85rem; }

.auth-check-label {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: .72rem;
    color: #666;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

.auth-check-label input[type="checkbox"] { display: none; }

.auth-check-box {
    width: 17px;
    height: 17px;
    min-width: 17px;
    border: 1.5px solid rgba(0,33,71,.2);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    transition: all .25s ease;
    background: #fff;
}

.auth-check-label input:checked + .auth-check-box {
    background: var(--bu-gold);
    border-color: var(--bu-gold);
}

.auth-check-label input:checked + .auth-check-box::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: .52rem;
    color: var(--bu-navy);
}

.auth-check-label a { color: var(--bu-gold); text-decoration: none; }
.auth-check-label a:hover { text-decoration: underline; }

/* ── Submit Button ── */
.auth-submit-btn {
    display: block;
    width: 100%;
    background: var(--bu-navy);
    color: #fff;
    border: none;
    border-radius: 3px;
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: .85rem;
    cursor: pointer;
    outline: none;
    transition: background .3s ease;
    margin-bottom: 1rem;
    min-height: 48px;
    text-align: center;
    text-decoration: none;
}

.auth-submit-btn:hover:not(:disabled) { background: var(--bu-gold); color: var(--bu-navy); }
.auth-submit-btn:disabled { opacity: .7; cursor: not-allowed; }

.auth-submit-link {
    display: block;
    line-height: 1.4;
}

/* ── Switch link ── */
.auth-switch {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: .7rem;
    color: #999;
    margin: 0;
}

.auth-switch-btn {
    background: none;
    border: none;
    color: var(--bu-gold);
    font-family: 'Montserrat', sans-serif;
    font-size: .7rem;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    padding: 0;
    transition: color .25s ease;
}

.auth-switch-btn:hover { color: var(--bu-gold-light, #e8b448); }

/* ── Reset Panel Styles ── */
.auth-reset-intro {
    text-align: center;
    margin-bottom: 1.2rem;
}

.auth-reset-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0,33,71,.07);
    border: 2px solid rgba(0,33,71,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto .85rem;
    font-size: 1.3rem;
    color: var(--bu-gold);
}

.auth-reset-intro p {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    color: #888;
    line-height: 1.7;
    margin: 0;
}

/* Reset success state */
.auth-reset-success {
    text-align: center;
}

.auth-reset-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(26,107,58,.08);
    border: 2px solid rgba(26,107,58,.2);
    color: #1a6b3a;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    animation: successPop .45s ease;
}

@keyframes successPop {
    from { transform: scale(0.6); opacity: 0; }
    70%  { transform: scale(1.1); }
    to   { transform: scale(1);   opacity: 1; }
}

.auth-reset-success h4 {
    font-size: 2rem;
    color: var(--bu-navy);
    margin-bottom: .5rem;
}

.auth-reset-success p {
    font-family: 'Montserrat', sans-serif;
    font-size: .78rem;
    color: #888;
    margin-bottom: .3rem;
}

.auth-reset-email-display {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: .82rem;
    color: var(--bu-navy);
    font-weight: 700;
    margin-bottom: .9rem;
    word-break: break-all;
}

.auth-reset-note {
    font-family: 'Montserrat', sans-serif;
    font-size: .72rem;
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 1.2rem !important;
}

/* Token state styles (reset-password.php) */
.auth-reset-page-body { padding: 1.5rem; }

.auth-token-state { text-align: center; }

.auth-token-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.6rem;
}

.auth-token-icon.invalid  { background: rgba(220,53,69,.08);  border: 2px solid rgba(220,53,69,.2);  color: #dc3545; }
.auth-token-icon.expired  { background: rgba(253,126,20,.08); border: 2px solid rgba(253,126,20,.2); color: #fd7e14; }
.auth-token-icon.success  { background: rgba(26,107,58,.08);  border: 2px solid rgba(26,107,58,.2);  color: #1a6b3a; }

.auth-token-state h4 {
    font-size: 1.9rem;
    color: var(--bu-navy);
    margin-bottom: .5rem;
}

.auth-token-state p {
    font-family: 'Montserrat', sans-serif;
    font-size: .78rem;
    color: #888;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 575.98px) {

    /* Modal takes up nearly full screen */
    .auth-dialog {
        margin: .5rem;
        max-width: calc(100vw - 1rem);
    }

    /* Shorter tab text on very small screens */
    .auth-tab-long  { display: none; }
    .auth-tab-short { display: inline; }

    /* Tabs smaller */
    .auth-tab {
        font-size: .6rem;
        padding: .8rem .3rem;
        gap: .25rem;
        flex-direction: column;
    }

    .auth-tab i { font-size: .75rem; }

    /* Forms more compact */
    .auth-form { padding: 1.1rem 1.1rem; }

    /* Stack two-column rows on mobile */
    .auth-form .form-row .col-sm-6,
    .auth-form .form-row .col-sm-7,
    .auth-form .form-row .col-sm-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Logo slightly smaller */
    .auth-logo-ring { width: 60px; height: 60px; }

    /* Header padding */
    .auth-header { padding: 1.2rem 1rem 1rem; }

    /* Back link on reset page */
    .auth-page-bg { padding: 1rem; align-items: flex-start; }
    .auth-back-link { position: static; margin-bottom: 1rem; display: inline-block; }
}

@media (max-width: 380px) {
    .auth-tab { font-size: .55rem; padding: .75rem .2rem; }
    .auth-tab i { font-size: .7rem; }
    .auth-input { font-size: .75rem; }
}
/* ── Fix: Make auth panels scroll when content overflows ── */
.auth-content {
    display: flex;
    flex-direction: column;
    max-height: 92vh;
    overflow: hidden;
}

/* Header and tabs stay fixed — only the panel scrolls */
.auth-header  { flex-shrink: 0; }
.auth-tabs    { flex-shrink: 0; }

.auth-panel.active {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    flex: 1;
}

/* Scrollbar inside the panel */
.auth-panel.active::-webkit-scrollbar       { width: 8px; }
.auth-panel.active::-webkit-scrollbar-track { background: #f0ece4; }
.auth-panel.active::-webkit-scrollbar-thumb { background: var(--bu-gold); border-radius: 2px; }

/* Ensure form bottom isn't clipped */
.auth-form { padding-bottom: 1.8rem; }

/* Mobile: tighter max height */
@media (max-width: 575.98px) {
    .auth-content { max-height: 96vh; }
}
/* ================================================
   BELLS UNIVERSITY — CEREMONIAL COMMITTEE SECTION
   ================================================ */

.bells-committee-section {
    background: var(--bu-off-white, #f8f5ee);
    position: relative;
}

/* Gold bottom accent line */
.bells-committee-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(
        to right, transparent, var(--bu-gold), transparent
    );
}

/* ── Card entrance animation ── */
.committee-item {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .55s ease, transform .55s ease;
}

.committee-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger */
.committee-item:nth-child(2) { transition-delay: .08s; }
.committee-item:nth-child(3) { transition-delay: .16s; }
.committee-item:nth-child(4) { transition-delay: .24s; }
.committee-item:nth-child(5) { transition-delay: .10s; }
.committee-item:nth-child(6) { transition-delay: .18s; }
.committee-item:nth-child(7) { transition-delay: .26s; }
.committee-item:nth-child(8) { transition-delay: .34s; }

/* ── Card ── */
.committee-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
    text-align: center;
    transition: transform .35s ease, box-shadow .35s ease;
}

.committee-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 38px rgba(0,0,0,.12);
}

/* ── Photo wrap ── */
.committee-photo-wrap {
    position: relative;
    padding: 1.5rem 1.5rem 0;
    background: linear-gradient(
        180deg,
        rgba(0,33,71,.04) 0%,
        transparent 100%
    );
}

/* Circular photo */
.committee-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    outline: 3px solid var(--bu-gold);
    outline-offset: 2px;
    display: block;
    margin: 0 auto;
    transition: outline-color .3s ease, transform .35s ease;
}

.committee-card:hover .committee-photo {
    transform: scale(1.05);
    outline-color: var(--bu-gold-light, #e8b448);
}

/* Role icon badge */
.committee-badge {
    position: absolute;
    bottom: 4px;
    right: calc(50% - 58px);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bu-gold);
    color: var(--bu-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .6rem;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

/* ── Info ── */
.committee-info {
    padding: 1rem 1rem 1.4rem;
    border-top: 2px solid rgba(206,153,46,.15);
    margin-top: 1rem;
}

.committee-name {
    font-family: 'Montserrat', sans-serif;
    font-size: .88rem;
    font-weight: 700;
    color: var(--bu-navy);
    margin-bottom: .3rem;
    line-height: 1.3;
}

.committee-role {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--bu-gold);
}

/* ── Responsive ── */
@media (max-width: 575.98px) {
    .committee-photo {
        width: 80px;
        height: 80px;
    }

    .committee-badge {
        right: calc(50% - 48px);
        width: 22px;
        height: 22px;
        font-size: .55rem;
    }

    .committee-name { font-size: .8rem; }
    .committee-role { font-size: .58rem; }
    .committee-info { padding: .75rem .75rem 1.1rem; }
    .committee-photo-wrap { padding: 1.1rem 1.1rem 0; }
}

@media (max-width: 380px) {
    .committee-photo { width: 70px; height: 70px; }
}