/* ==========================================================================
   1. DESIGN TOKENS & COLOR PALETTE
   ========================================================================== */
:root {
  /* Canvas Background */
  --bg-main: #050608;
  
  /* Beige & Warm Tones */
  --beige-main: #EAD8B1;        /* Refined Classic Beige */
  --beige-light: #F5EBE0;       /* Soft Cream */
  --beige-muted: #D4C3A3;
  --border-beige: rgba(234, 216, 177, 0.25);
  --beige-glow: rgba(234, 216, 177, 0.15);

  /* Typography Colors */
  --text-title: #EAD8B1;        /* Beige for Main Topics */
  --text-body: #FFFFFF;         /* Crisp White for Details */
  --text-subtle: #C5CBD3;       /* Soft Light Gray for Minor Details */
  --border-subtle: rgba(255, 255, 255, 0.08);

  /* Rainbow Sunset Gradient (Hero Catchphrase) */
  --rainbow-gradient: linear-gradient(135deg, #FDE047 0%, #F59E0B 35%, #EF4444 65%, #C084FC 100%);

  /* Fonts */
  --font-family: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ==========================================================================
   2. GLOBAL RESET & DEEP BLACK BACKGROUND
   ========================================================================== */

/* ==========================================================================
   FLOATING DUST PARTICLE CANVAS (Fixed Ambient Overlay)
   ========================================================================== */
#dust-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none; /* Allows clicks to pass through to buttons and links */
  z-index: 1;           /* Sits above the background, behind the page content */
}

/* Ensure all website sections sit cleanly on top of the particles */
.navbar, .hero-section, .section, .footer, .modal-overlay {
  position: relative;
  z-index: 2;
}

/* Floating particle css ends  */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main) !important;
  background-image: 
    radial-gradient(circle at 50% -5%, rgba(234, 216, 177, 0.14) 0%, rgba(234, 216, 177, 0.02) 45%, transparent 65%),
    radial-gradient(circle at 85% 35%, rgba(192, 132, 252, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 15% 75%, rgba(234, 216, 177, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text-body);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 2rem;
}

.icon-sm {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
}

/* ==========================================================================
   3. NAVIGATION BAR (Left Logo, Centered Links, Right Actions)
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 6, 8, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-beige);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  padding: 0.85rem 0;
  width: 100%;
}

.nav-container {
  max-width: 100% !important;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--beige-light);
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-wrapper {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: rgba(234, 216, 177, 0.08) !important;
  border: 1px solid var(--border-beige) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
}

.logo-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  transform: translateY(2px) scale(1.15) !important;
}

.nav-links {
  position: static;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.6rem, 1.1vw, 1.35rem);
  flex: 1;
  min-width: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-subtle);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--beige-main);
}

.nav-links a[href*="domains"],
.nav-links a[href*="stats"] {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

@media (max-width: 1150px) {
  .nav-container {
    flex-wrap: wrap;
    padding: 0 1rem;
    row-gap: 0.55rem;
  }

  .nav-links {
    order: 3;
    flex: 1 1 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0.45rem 0 0.2rem;
    border-top: 1px solid rgba(234, 216, 177, 0.12);
    gap: 1.15rem;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 600px) {
  .navbar {
    padding: 0.6rem 0;
  }

  .nav-container {
    padding: 0 0.75rem;
    gap: 0.4rem;
  }

  .nav-brand {
    gap: 0.45rem;
    font-size: 0.95rem;
  }

  .logo-wrapper {
    width: 32px !important;
    height: 32px !important;
  }

  .nav-actions {
    gap: 0.35rem;
  }

  .nav-actions .btn {
    padding: 0.4rem 0.7rem;
    font-size: 0.75rem;
  }

  .nav-actions .btn-login {
    padding: 0.38rem 0.65rem;
  }
}

/* ==========================================================================
   4. BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #FFF0CF, #EAD8B1) !important;
  color: #050608 !important; /* Forces crisp dark text on the light gold pill */
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(234, 216, 177, 0.25);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(234, 216, 177, 0.4);
  color: #000000 !important;
}

.btn-login {
  background: rgba(234, 216, 177, 0.05);
  color: var(--beige-light);
  border: 1px solid var(--border-beige);
  padding: 0.62rem 1.15rem;
}

.btn-login:hover {
  background: rgba(234, 216, 177, 0.15);
  color: var(--beige-main);
  border-color: var(--beige-main);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--beige-main);
  border: 1px solid var(--border-beige);
  width: 100%;
  padding: 0.6rem;
}

.btn-outline:hover {
  background: var(--beige-main);
  color: #050608;
  font-weight: 700;
}

.btn-glow {
  background: var(--beige-main);
  color: #050608;
  font-weight: 700;
  box-shadow: 0 0 18px var(--beige-glow);
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(234, 216, 177, 0.45);
}

.btn-block {
  width: 100%;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(234, 216, 177, 0.08);
  color: var(--beige-light);
  border: 1px solid var(--border-beige);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.card-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--beige-main);
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   5. HERO SECTION & EMBLEM
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 4rem;
  text-align: center;
}

.since-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--beige-main);
  margin-bottom: 0.75rem;
  padding: 0.35rem 1rem;
  background: rgba(234, 216, 177, 0.05);
  border: 1px solid rgba(234, 216, 177, 0.18);
  border-radius: 9999px;
  box-shadow: 0 0 16px rgba(234, 216, 177, 0.08);
}

.dot-separator {
  color: var(--beige-muted);
  font-size: 0.75rem;
  opacity: 0.6;
}

.hero-emblem-container {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emblem-backdrop-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(234, 216, 177, 0.35) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(32px);
  z-index: 0;
}

.hero-emblem {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 32px rgba(234, 216, 177, 0.4));
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-emblem:hover {
  transform: scale(1.05);
}

.lightning-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-top: 0;
  margin-bottom: 0.25rem;
  animation: electricFlicker 2.5s infinite alternate ease-in-out;
}

@keyframes electricFlicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    text-shadow: 
      0 0 8px #FFFFFF,
      0 0 16px var(--beige-main),
      0 0 32px #D4C3A3,
      0 0 50px rgba(234, 216, 177, 0.3);
    opacity: 1;
  }
  19%, 24%, 55% {
    text-shadow: none;
    opacity: 0.45;
  }
}

.club-tagline-wrapper {
  margin: 0 auto 2.5rem;
  max-width: 680px;
}

.club-tagline {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  color: var(--text-subtle);
  display: inline-block;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-beige);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
}

.gradient-text {
  background: linear-gradient(135deg, #FFF6E0 0%, #EAD8B1 50%, #C8A96E 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 30px rgba(234, 216, 177, 0.25);
}

.hero-subtitle {
  max-width: 680px;
  margin: 0 auto 3rem;
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.7;
}

.spotlight-card {
  max-width: 660px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(234, 216, 177, 0.08) 0%, rgba(10, 12, 18, 0.9) 100%);
  border: 1px solid var(--border-subtle);
  border-top: 1px solid var(--border-beige);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  border-radius: 20px;
  padding: 2.2rem;
  text-align: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.spotlight-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.spotlight-badge {
  font-size: 0.85rem;
  color: #4ADE80;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pulse-indicator {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.8);
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.spotlight-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
  color: var(--beige-light);
}

.spotlight-body p {
  color: var(--text-body);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.spotlight-footer {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ==========================================================================
   6. SECTIONS & GRADIENT GLASS CARDS
   ========================================================================== */
.section {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-title);
}

.section-desc {
  color: var(--text-body);
  font-size: 1rem;
  margin-top: 0.4rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.glass-card, .domain-card, .stat-card, .event-card, .team-card {
  background: linear-gradient(145deg, rgba(234, 216, 177, 0.08) 0%, rgba(10, 12, 18, 0.85) 100%);
  border: 1px solid var(--border-subtle);
  border-top: 1px solid var(--border-beige);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 18px;
}

.glass-card {
  padding: 2.25rem;
}

.card-icon-bubble {
  width: 48px;
  height: 48px;
  background: rgba(234, 216, 177, 0.1);
  color: var(--beige-main);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.glass-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--beige-light);
}

.glass-card p {
  color: var(--text-body);
  font-size: 0.95rem;
}

.email-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-beige);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-body);
}

.email-badge strong {
  color: var(--beige-main);
}

/* ==========================================================================
   7. DOMAINS GRID
   ========================================================================== */
.domains-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.domain-card {
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.domain-card:hover {
  transform: translateY(-5px);
  background: linear-gradient(145deg, rgba(234, 216, 177, 0.14) 0%, rgba(14, 18, 28, 0.95) 100%);
  border-color: var(--beige-main);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75);
}

.domain-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(234, 216, 177, 0.12);
  color: var(--beige-main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.domain-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--beige-light);
}

.domain-card p {
  color: var(--text-body);
  font-size: 0.9rem;
}

/* ==========================================================================
   8. STATS GRID
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  padding: 2.2rem 1.5rem;
  text-align: center;
}

.stat-icon-wrap {
  width: 42px;
  height: 42px;
  background: rgba(234, 216, 177, 0.1);
  color: var(--beige-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--beige-light);
  font-family: var(--font-mono);
}

.stat-label {
  color: var(--text-body);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* ==========================================================================
   9. EVENTS GRID
   ========================================================================== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.event-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-card:hover {
  transform: translateY(-5px);
  border-color: var(--beige-main);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75);
}

.event-banner-placeholder {
  height: 160px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--beige-main);
  border-bottom: 1px solid var(--border-subtle);
}

.event-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--beige-main);
  margin-bottom: 0.4rem;
}

.event-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--beige-light);
}

.event-body p {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* ==========================================================================
   10. TEAM, BOARD & LEADS ACCORDION
   ========================================================================== */
.team-grid {
  display: grid;
  gap: 1.5rem;
}

.faculty-grid {
  max-width: 720px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.executive-grid {
  max-width: 1100px;
  margin: 2rem auto 0;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.team-card {
  padding: 1.85rem 1.25rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: var(--beige-main);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75);
}

.faculty-card {
  border: 1px solid var(--border-beige);
  background: linear-gradient(145deg, rgba(234, 216, 177, 0.12) 0%, rgba(14, 18, 28, 0.95) 100%);
}

.avatar-placeholder {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(234, 216, 177, 0.15), rgba(255, 255, 255, 0.05));
  border: 2px solid var(--border-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--beige-main);
  margin: 0 auto 1.1rem;
}

.team-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--beige-light);
}

.team-role {
  font-size: 0.84rem;
  color: var(--text-body);
  font-weight: 500;
  display: block;
}

.faculty-role {
  color: var(--beige-main);
  font-weight: 600;
}

.leads-dropdown-wrapper {
  max-width: 1000px;
  margin: 2.5rem auto 0;
}

.leads-accordion {
  background: linear-gradient(145deg, rgba(234, 216, 177, 0.08) 0%, rgba(10, 12, 18, 0.9) 100%);
  border: 1px solid var(--border-beige);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6);
}

.leads-dropdown-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.75rem;
  cursor: pointer;
  user-select: none;
  list-style: none;
  font-size: 1rem;
  color: var(--beige-light);
}

.leads-dropdown-btn::-webkit-details-marker {
  display: none;
}

.dropdown-title-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.text-gold {
  color: var(--beige-main);
}

.dropdown-arrow {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-subtle);
}

.leads-accordion[open] .dropdown-arrow {
  transform: rotate(180deg);
  color: var(--beige-main);
}

.leads-grid-container {
  padding: 1.25rem 1.75rem 1.75rem;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.lead-group-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.15rem;
}

.lead-group-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  color: var(--beige-main);
}

.lead-group-header h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--beige-light);
}

.lead-role-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
}

.lead-role-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lead-role-list span {
  color: var(--text-subtle);
}

.lead-role-list strong {
  color: var(--text-body);
  font-weight: 600;
}

/* ==========================================================================
   11. FAQ ACCORDION
   ========================================================================== */
.faq-accordion {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: linear-gradient(145deg, rgba(234, 216, 177, 0.06) 0%, rgba(10, 12, 18, 0.9) 100%);
  border: 1px solid var(--border-subtle);
  border-top: 1px solid var(--border-beige);
  border-radius: 14px;
  overflow: hidden;
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  user-select: none;
  list-style: none;
  color: var(--beige-light);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-body);
  font-size: 0.95rem;
}

/* ==========================================================================
   12. FOOTER (Evenly Spaced 3-Column Layout)
   ========================================================================== */
.footer {
  background: #020304;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col {
  flex: 1;
  max-width: 320px;
}

.footer-col:nth-child(2) {
  text-align: left;
  padding-left: 2rem;
}

.footer-col:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 2rem;
}

.footer-col h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--beige-light);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--beige-light);
}

.footer-tagline {
  color: var(--beige-main);
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.footer-address {
  color: var(--text-body);
  font-size: 0.88rem;
  line-height: 1.7;
}

.contact-list {
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-body);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.contact-list strong {
  color: var(--beige-main);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-links a {
  text-decoration: none;
  color: var(--text-body);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
  color: var(--beige-main);
  transform: translateX(4px);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  font-size: 0.82rem;
  color: var(--text-subtle);
}

@media (max-width: 820px) {
  .footer-grid {
    flex-direction: column;
    gap: 2.5rem;
  }
  .footer-col {
    max-width: 100%;
    padding-left: 0 !important;
  }
}

/* ==========================================================================
   13. LOGIN MODAL & ROLE SWITCHER
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: linear-gradient(145deg, rgba(234, 216, 177, 0.1) 0%, rgba(10, 12, 18, 0.95) 100%);
  border: 1px solid var(--border-beige);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  padding: 2.25rem;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-subtle);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
}

.modal-header {
  margin-bottom: 1.5rem;
}

.modal-header h3 {
  font-size: 1.35rem;
  margin-top: 0.25rem;
  color: var(--beige-light);
}

.modal-header p {
  color: var(--text-body);
  font-size: 0.88rem;
  margin-top: 0.35rem;
}

.login-role-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.25rem;
  margin-bottom: 1.5rem;
  gap: 0.25rem;
}

.role-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: var(--text-subtle);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.role-tab.active {
  background: var(--beige-main);
  color: #050608;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--beige-light);
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus {
  border-color: var(--beige-main);
}

.form-sub-options {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.remember-me {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-subtle) !important;
  cursor: pointer;
}

.forgot-link {
  color: var(--beige-main);
  text-decoration: none;
  font-size: 0.82rem;
}

.forgot-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   14. SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   15. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-section {
    padding: 3rem 0 2rem;
  }
  .hero-emblem-container {
    width: 220px;
    height: 220px;
  }
  .spotlight-card {
    padding: 1.5rem;
  }
}



/* Password Input Wrapper & Beige Toggle */
.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-input-wrapper input {
  width: 100%;
  padding-right: 2.75rem; /* Leaves space so text doesn't overlap the eye */
}

.password-toggle-btn {
  position: absolute;
  right: 0.75rem;
  background: transparent;
  border: none;
  color: var(--beige-main); /* #EAD8B1 */
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.password-toggle-btn:hover {
  color: var(--beige-light); /* #F5EBE0 */
  background: rgba(234, 216, 177, 0.1);
}

.password-toggle-btn:focus-visible {
  outline: 1px solid var(--beige-main);
}

/* ==========================================================================
   THEME SWITCHER & LIGHT MODE ENGINE (Default: Dark Mode)
   ========================================================================== */

/* Toggle Button Styling */
.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--beige-main);
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
  background: rgba(234, 216, 177, 0.12);
  border-color: var(--border-beige);
}

/* Light Mode Overrides */
body.light-mode {
  --bg-main: #FAF8F5;
  --bg-card: #FFFFFF;
  --beige-main: #9E7422;
  --beige-light: #000000;
  --border-beige: rgba(0, 0, 0, 0.15);
  --border-subtle: rgba(0, 0, 0, 0.1);
  --text-body: #111827;
  --text-subtle: #4B5563;
}

/* Headings & Section Titles */
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode .hero-title,
body.light-mode .section-title,
body.light-mode .club-name-tag,
body.light-mode .badge-text {
  color: #000000 !important;
  text-shadow: none !important;
}

/* Body & Descriptions */
body.light-mode main p,
body.light-mode section p,
body.light-mode .hero-quote,
body.light-mode .hero-lead {
  color: #111827 !important;
}

/* Hero Title Gradient in Light Mode */
body.light-mode .text-gradient-gold,
body.light-mode .gradient-text {
  background: linear-gradient(135deg, #111827 0%, #374151 50%, #9E7422 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* FAQ Cards in Light Mode */
body.light-mode .faq-item,
body.light-mode .faq-question,
body.light-mode details summary {
  color: #111827 !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

/* Preserve Navbar Legibility (Dark Bar with White Text) */
body.light-mode .navbar,
body.light-mode .header {
  background: #090C11 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.light-mode .nav-brand span,
body.light-mode .nav-brand,
body.light-mode .nav-links a,
body.light-mode .nav-link {
  color: #FFFFFF !important;
}

body.light-mode .nav-links a:hover,
body.light-mode .nav-link:hover {
  color: #EAD8B1 !important;
}

body.light-mode .navbar .btn-outline {
  border-color: rgba(234, 216, 177, 0.4) !important;
  color: #EAD8B1 !important;
}

body.light-mode .theme-toggle-btn {
  border-color: rgba(255, 255, 255, 0.2);
  color: #EAD8B1;
}

/* Preserve Footer Legibility (Dark Bar with White Text) */
body.light-mode footer,
body.light-mode .footer {
  background: #07090E !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.light-mode footer h3,
body.light-mode footer h4,
body.light-mode .footer h3,
body.light-mode .footer h4 {
  color: #FFFFFF !important;
}

body.light-mode footer p,
body.light-mode footer address,
body.light-mode footer a,
body.light-mode .footer p,
body.light-mode .footer a {
  color: #E5E7EB !important;
}

body.light-mode footer a:hover,
body.light-mode .footer a:hover,
body.light-mode footer strong,
body.light-mode .footer strong {
  color: #EAD8B1 !important;
}

body.light-mode .footer-bottom,
body.light-mode .copyright-text {
  color: #9CA3AF !important;
}

/* ==========================================================================
   ANNOUNCEMENTS CAROUSEL
   ========================================================================== */
.announcements-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;  
  scrollbar-width: none;     
  width: 100%;
  padding-bottom: 1rem;
}

.announcements-carousel::-webkit-scrollbar {
  display: none;
}

.announcement-card {
  flex: 0 0 100%;
  scroll-snap-align: center;
  min-width: 100%;
}


/* ==========================================================================
   ZOOM-ADAPTIVE & FLUID NAVBAR (Prevents collision during zoom & resize)
   ========================================================================== */

/* 1. Fluid Nav Header */
.workspace-header,
header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 6, 8, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(234, 216, 177, 0.18);
  padding: clamp(0.5rem, 1.2vw, 0.85rem) 0;
}

.workspace-nav,
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(0.75rem, 2vw, 1.5rem);
  gap: clamp(0.5rem, 1.5vw, 1.5rem); /* Dynamic gap that shrinks as you zoom */
  box-sizing: border-box;
}

/* 2. Brand & Logo (Anchored & Adaptive) */
.nav-brand {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1vw, 0.75rem);
  text-decoration: none;
  color: #F5EBE0;
  font-weight: 700;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  flex-shrink: 0; /* Never collapse the logo */
}

.logo-wrapper {
  width: clamp(30px, 3.5vw, 38px);
  height: clamp(30px, 3.5vw, 38px);
  border-radius: 50%;
  background: rgba(234, 216, 177, 0.1);
  border: 1px solid rgba(234, 216, 177, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* 3. Middle Navigation Links (Auto-Collapsing on High Zoom) */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 1.6vw, 1.5rem); /* Scales down font gaps automatically */
  flex: 1 1 auto;
  min-width: 0; /* Allows flex box to contract gracefully */
}

.nav-links a {
  text-decoration: none;
  color: #C5CBD3;
  font-size: clamp(0.78rem, 1.1vw, 0.92rem);
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
  padding: 0.2rem clamp(0.2rem, 0.5vw, 0.5rem);
}

.nav-links a:hover {
  color: #EAD8B1;
}

/* 4. Action Buttons (Far Right) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 1vw, 0.75rem);
  flex-shrink: 0;
}

/* Action button fluid sizing */
.nav-actions .btn,
.nav-actions a,
.nav-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: clamp(0.35rem, 0.8vw, 0.55rem) clamp(0.65rem, 1.2vw, 1.1rem) !important;
  font-size: clamp(0.75rem, 1vw, 0.88rem) !important;
  font-weight: 600;
  border-radius: 8px !important;
  white-space: nowrap;
}

/* ==========================================================================
   ZOOM & MOBILE FALLBACK (Under 900px or >150% Desktop Zoom)
   ========================================================================== */
@media screen and (max-width: 900px) {
  /* Hide the crowded links before they ever collide */
  .nav-links {
    display: none !important;
  }

  .workspace-nav,
  .nav-container {
    justify-content: space-between;
  }
}

#leadership-section,
.section {
  scroll-margin-top: 90px;
}


/* //Join Eureka Modal Select Domain Preference option edit  */
/* =========================================================================
   CUSTOM STYLED SELECT DROPDOWN (Matches Modal Text Inputs)
   ========================================================================= */
.modal-form select,
.modal-form input[type="text"],
.modal-form input[type="password"] {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--beige-light);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Custom styled select box & custom dropdown arrow */
.modal-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 2.75rem; /* Space for arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23EAD8B1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
}

/* Focus Glow */
.modal-form select:focus,
.modal-form input[type="text"]:focus,
.modal-form input[type="password"]:focus {
  border-color: var(--beige-main);
  box-shadow: 0 0 0 3px rgba(234, 216, 177, 0.12);
}

/* Style the dropdown menu options */
.modal-form select option {
  background: #0f1219;
  color: #fff;
  padding: 0.75rem 1rem;
}

.modal-form select option[disabled] {
  color: var(--text-subtle);
}

/* Ensure Spotlight Card text stays light on its dark backdrop in all themes */
body.light-mode #hero-spotlight-container,
#hero-spotlight-container {
  color: #ffffff;
}

body.light-mode #hero-spotlight-container h3,
#hero-spotlight-container h3 {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

body.light-mode #hero-spotlight-container p,
#hero-spotlight-container p {
  color: #E2E8F0 !important; /* Crisp light-slate readable over image */
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

/* Event card button high-contrast visibility */
.event-card a.btn-outline,
.event-card .btn-outline {
  background-color: #FFFFFF !important;
  color: #000000 !important;
  border: 1px solid #E2E8F0 !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  padding: 0.65rem 1.25rem !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Hover state */
.event-card a.btn-outline:hover,
.event-card .btn-outline:hover {
  background-color: var(--beige-main, #EAD8B1) !important;
  color: #050608 !important;
  border-color: var(--beige-main, #EAD8B1) !important;
  transform: translateY(-2px);
}

/* =========================================================================
   VIT BHOPAL LOGO (HIGH VISIBILITY)
   ========================================================================= */

/* Ensure the left group aligns with full header height */
.nav-brand-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.vit-brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;              /* Taller frame to let the crest breathe */
  width: 155px;             /* Much wider frame so the full text spreads out */
  overflow: hidden;         /* Keeps margins cropped cleanly */
  text-decoration: none;
  position: relative;
  flex-shrink: 0;
}

.vit-logo {
  height: 52px !important;
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
  display: block !important;
  
  /* Zoom up to 3.8x to make both emblem and "VIT BHOPAL" boldly visible */
  transform: scale(3.8);
  transform-origin: center center;

  /* High contrast dark mode styling */
  filter: invert(1) brightness(1.9) contrast(1.3);
  mix-blend-mode: screen;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.vit-brand-link:hover .vit-logo {
  transform: scale(4.0);
  filter: invert(1) brightness(2.2) contrast(1.3);
}

.brand-divider {
  width: 1.5px;
  height: 32px;
  background-color: var(--border-subtle, rgba(255, 255, 255, 0.25));
  flex-shrink: 0;
}

/* Light Mode Overrides */
body.light-mode .vit-brand-link {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  height: 42px;
  width: 140px;
}

body.light-mode .vit-logo {
  filter: none !important;
  mix-blend-mode: normal !important;
  transform: scale(3.2);
}

body.light-mode .brand-divider {
  background-color: rgba(0, 0, 0, 0.15);
}

/* =========================================================
   V3 GEOMETRIC TEAM CARDS (Refined Dark Glassmorphism)
   ========================================================= */
.team-card-v2 {
  position: relative;
  width: 230px;
  height: 350px;
  /* Darker top gradient mimicking a distinct header block */
  background: linear-gradient(180deg, rgba(5, 6, 8, 0.9) 0%, rgba(10, 12, 18, 0.9) 25%, rgba(234, 216, 177, 0.05) 100%);
  border: 1px solid var(--border-beige);
  border-radius: 20px; 
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1.5rem;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.team-card-v2.faculty-card-v2 {
  width: 280px;
  height: 390px;
}

.team-card-v2:hover {
  transform: translateY(-5px);
  border-color: var(--beige-main);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 15px rgba(234, 216, 177, 0.1);
}

/* 1. Inner Geometric Frame (Mimics the blue card's inner stroke) */
.team-card-v2::before {
  content: '';
  position: absolute;
  top: 10px; left: 10px; right: 10px; bottom: 10px;
  border: 1px solid rgba(234, 216, 177, 0.15); /* Subtle inner beige line */
  border-radius: 12px;
  pointer-events: none;
  z-index: 4; /* Frames the image perfectly */
}

/* 2. Bottom Geometric Accent (Mimics the intersecting triangle lines) */
.team-card-v2::after {
  content: '';
  position: absolute;
  bottom: -35px;
  left: 50%;
  margin-left: -35px; /* Center alignment */
  width: 70px;
  height: 70px;
  border: 1px solid rgba(234, 216, 177, 0.35); /* Distinct geometric line */
  transform: rotate(45deg);
  pointer-events: none;
  z-index: 5;
}

.team-card-v2 .member-name {
  color: var(--beige-light);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  text-align: center;
  z-index: 3;
  position: relative; 
}

.team-card-v2 .member-role {
  color: var(--beige-main);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
  z-index: 3;
  position: relative;
}

/* 3. Upgraded Header Divider */
.role-ornament {
  width: 70%;
  height: 1px;
  /* Fades out smoothly at the edges */
  background: linear-gradient(90deg, transparent, rgba(234, 216, 177, 0.3), transparent);
  margin: 0.8rem auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
}

.role-ornament .diamond {
  width: 6px;
  height: 6px;
  background: var(--bg-main);
  border: 1px solid var(--beige-main);
  transform: rotate(45deg);
  position: absolute;
}

/* Image Wrapper Updates */
.card-image-wrapper {
  flex: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.member-portrait {
  width: 90%;
  height: 90%;
  object-fit: contain;
  object-position: center; 
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.team-card-v2:hover .member-portrait {
   transform: scale(1.05);
   filter: brightness(1.1) contrast(1.05);
}

/* =========================================================
   GEOMETRIC TEAM SECTION BANNERS (For team.html)
   ========================================================= */
.team-section-banner {
  background: linear-gradient(90deg, rgba(10, 12, 18, 0.95), rgba(20, 24, 34, 0.95));
  border: 1px solid var(--beige-main);
  color: var(--beige-main);
  padding: 0.8rem 3.5rem;
  margin: 4rem auto 2.5rem auto;
  width: fit-content;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  /* Creates the pointed ribbon ends from the reference image */
  clip-path: polygon(15px 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 15px 100%, 0 50%);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 10;
}

.team-grid-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  width: 100%;
}

/* Forces the Board Members into the 3-top, 2-bottom layout */
.board-grid-wrapper {
  max-width: 920px; 
  margin-left: auto;
  margin-right: auto;
}
/* =========================================================
   LIGHT MODE EXCEPTIONS FOR TEAM CARDS V2
   ========================================================= */
body.light-mode .team-card-v2 {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 245, 0.95) 25%, rgba(197, 169, 119, 0.1) 100%);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body.light-mode .team-card-v2:hover {
  border-color: var(--beige-main);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 0 15px rgba(197, 169, 119, 0.3);
}

body.light-mode .team-card-v2::before {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .team-card-v2::after {
  border: 1px solid rgba(0, 0, 0, 0.2);
}

body.light-mode .team-card-v2 .member-name {
  color: var(--text-title);
}

body.light-mode .team-card-v2 .member-role {
  color: #8A6B32; /* Darker gold for readability on white */
  font-weight: 700;
}

body.light-mode .role-ornament {
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);
}

body.light-mode .role-ornament .diamond {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.3);
}

/* =========================================================
   LIGHT MODE EXCEPTIONS FOR EVENT/DOMAIN/STAT CARDS
   ========================================================= */
body.light-mode .glass-card, 
body.light-mode .domain-card, 
body.light-mode .stat-card, 
body.light-mode .event-card, 
body.light-mode .stat-grid {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body.light-mode .event-card .event-banner-placeholder {
  background: rgba(0,0,0,0.03);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

body.light-mode .event-card h3,
body.light-mode .domain-card h3,
body.light-mode .stat-card h3 {
  color: var(--text-title) !important;
}

body.light-mode .event-card p,
body.light-mode .domain-card p,
body.light-mode .stat-card p {
  color: var(--text-body) !important;
}

body.light-mode .card-tag, 
body.light-mode .event-category {
  background: rgba(0,0,0,0.05);
  color: #8A6B32 !important;
}
