/**
 * =============================================================================
 * FLICS 2026 - Consolidated Theme Stylesheet
 * =============================================================================
 *
 * This file contains all theme styles including:
 * - CSS Custom Properties (Design Tokens)
 * - Navigation & Header
 * - Footer
 * - Page Hero
 * - Common Components
 * - Dark Mode Support
 *
 * =============================================================================
 */

/* =============================================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================================= */
:root {
  /* Brand Colors */
  --primary-color: #1e3a8a;
  --primary-light: #3b82f6;
  --secondary-color: #10b981;

  /* Accent Colors */
  --accent-color: var(--primary-light);
  --accent-light: var(--primary-light);

  /* Text Colors */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  /* Surface Colors */
  --white: #fff;
  --gray-200: #e5e7eb;
  --dark-bg: #0b1220;
  --dark-surface: #0f172a;
  --dark-border: rgba(255, 255, 255, 0.08);
  --light-surface: #f8fafc;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 18px;

  /* Transitions */
  --transition: all 0.28s ease;

  /* Shadows */
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 32px rgba(0, 0, 0, 0.12);

  /* Assets */
  --logo-size: clamp(220px, 30vw, 360px);

  /* Glass backgrounds */
  --glass-95: rgba(255, 255, 255, 0.95);
  --glass-98: rgba(255, 255, 255, 0.98);
}

/* =============================================================================
   2. UTILITIES
   ============================================================================= */
:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary-light), transparent 45%);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* =============================================================================
   3. COUNTDOWN
   ============================================================================= */
.countdown {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.countdown-item {
  background: var(--light-surface);
  border-radius: var(--radius-xl);
  padding: 1rem;
  min-width: 90px;
  text-align: center;
  border: 1px solid var(--dark-border);
  color: rgb(50, 28, 175);
}

.countdown-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  letter-spacing: 0.5px;
}

.countdown-label {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Responsive logo helper */
.-logo1 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading-logo1 .loading-logo-img1 {
  width: var(--logo-size);
  height: auto;
  display: block;
}

/* =============================================================================
   4. NAVBAR
   ============================================================================= */
.navbar {
  background: var(--glass-95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  padding: 1rem 0;
  z-index: 1030;
}

.navbar.scrolled {
  background: var(--glass-98) !important;
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 0;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary-color) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand img {
  height: 45px;
  width: auto;
  transition: var(--transition);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar.scrolled .navbar-brand img {
  height: 40px;
}

.brand-text {
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--text-primary) !important;
  margin: 0 0.25rem;
  padding: 0.65rem 0.9rem !important;
  border-radius: var(--radius-lg);
  position: relative;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
  background: rgba(30, 58, 138, 0.08);
  transform: translateY(-2px);
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
  transition: var(--transition);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
  width: 80%;
}

/* =============================================================================
   5. DROPDOWNS
   ============================================================================= */
.dropdown-menu {
  background: var(--glass-98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  padding: 0.75rem 0;
  margin-top: 0.5rem;
  min-width: 260px;
}

.dropdown-item {
  padding: 0.7rem 1rem;
  color: var(--text-primary);
  font-weight: 500;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dropdown-item:hover {
  background: rgba(30, 58, 138, 0.08);
  color: var(--primary-color);
  transform: translateX(6px);
}

.dropdown-item.disabled {
  pointer-events: none;
  opacity: 0.6;
}

/* =============================================================================
   6. NAVBAR TOGGLER & OFFCANVAS
   ============================================================================= */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  background: transparent;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.25);
}

.navbar-toggler:hover {
  background: rgba(30, 58, 138, 0.08);
  transform: scale(1.05);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(30, 58, 138, .85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.offcanvas.offcanvas-nav {
  width: 20rem;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.offcanvas-header img {
  height: 40px;
  width: auto;
}

/* =============================================================================
   7. NAVBAR RESPONSIVE
   ============================================================================= */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--glass-98);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    margin-top: 1rem;
    padding: 1.25rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
  }

  .navbar-nav {
    gap: 0.25rem;
  }

  .navbar-nav .nav-link {
    text-align: center;
    margin: 0;
    padding: 0.95rem !important;
  }

  .dropdown-menu {
    background: rgba(248, 250, 252, 0.95);
    border: none;
    box-shadow: none;
    margin: 0.5rem 0;
    border-radius: var(--radius-lg);
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.1rem;
  }

  .navbar-brand img {
    height: 36px;
  }

  .countdown-number {
    font-size: 1.75rem;
  }

  .countdown-item {
    min-width: 76px;
  }
}

/* =============================================================================
   8. FOOTER (matches header tokens)
   ============================================================================= */
.modern-footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  color: #fff;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.modern-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
}

.footer-main {
  padding: 3.25rem 0 2rem;
  position: relative;
  z-index: 1;
}

.footer-section {
  height: 100%;
}

/* Brand */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-logo {
  height: 50px;
  width: auto;
  filter: brightness(1.15) drop-shadow(0 2px 4px rgba(17, 20, 175, 0.28));
}

.footer-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, #fff 0%, #e5e7eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Links & headings */
.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-color) 100%);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(6px);
}

.footer-links i {
  opacity: 0.8;
  transition: var(--transition);
}

/* Contact */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
}

.contact-item i {
  min-width: 20px;
}

.contact-item a {
  color: inherit;
  text-decoration: none;
}

.contact-item:hover {
  color: #fff;
  transform: translateX(4px);
}

/* Dates */
.important-dates {
  margin-bottom: 1.25rem;
}

.date-item {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.date-label {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.date-value {
  color: #fff;
  font-weight: 700;
}

/* Social */
.social-icons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.35);
}

/* Bottom bar */
.footer-bottom {
  background: rgba(0, 0, 0, 0.28);
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.footer-bottom .copyright {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.9rem;
}

/* Make links look consistent in footer */
.link-footer {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.link-footer:hover {
  color: #fff;
  text-decoration: underline;
}

/* Back-to-top visibility */
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* FOOTER responsive */
@media (max-width: 768px) {
  .footer-section {
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .date-item {
    flex-direction: column;
    align-items: center;
  }

  .social-icons {
    justify-content: center;
  }
}

/* Print */
@media print {
  .modern-footer {
    background: var(--white) !important;
    color: var(--text-primary) !important;
    page-break-inside: avoid;
  }

  .footer-main {
    padding: 2rem 0;
  }

  .social-icons,
  .footer-bottom {
    display: none;
  }
}

/* Optional dark-preference override */
@media (prefers-color-scheme: dark) {
  .modern-footer {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 50%, #2d2d2d 100%);
  }
}

/* =============================================================================
   9. PAGE HERO
   ============================================================================= */
.hero-banner {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.carousel-item img {
  height: 300px;
  object-fit: cover;
}

.hero-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23f8f9fa" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%23f8f9fa" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23f8f9fa"/></svg>');
  background-size: cover;
  background-repeat: no-repeat;
}

.page-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  padding: clamp(84px, 10vw, 120px) 0 64px;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(16, 185, 129, 0.25), transparent 60%),
    radial-gradient(1000px 600px at 85% -20%, rgba(59, 130, 246, 0.25), transparent 60%),
    linear-gradient(135deg, #0b1530 0%, #0f1f48 55%, #132a63 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 70%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 70%);
}

.hero-kicker {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: #a5b4fc;
  font-size: 0.85rem;
}

.page-hero h1 {
  font-weight: 800;
  line-height: 1.1;
}

.page-hero p.lead {
  color: rgba(255, 255, 255, 0.9);
  max-width: 840px;
  margin-inline: auto;
}

.hero-pills .pill {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* =============================================================================
   10. BACK TO TOP
   ============================================================================= */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.4);
}

/* =============================================================================
   11. GLOBAL STYLES & TYPOGRAPHY
   ============================================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--light-surface);
  overflow-x: hidden;
}

/* =============================================================================
   12. LOADING SCREEN
   ============================================================================= */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
  color: #fff;
}

.loading-logo {
  margin-bottom: 1.5rem;
}

.loading-logo-img {
  width: 180px;
  height: 180px;
  animation: logoFloat 2s ease-in-out infinite;
}

.loading-text {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
}

.loading-spinner {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.spinner-ring {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.spinner-ring:nth-child(2) { animation-delay: 0.1s; }
.spinner-ring:nth-child(3) { animation-delay: 0.2s; }

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* =============================================================================
   13. HERO SECTION
   ============================================================================= */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.1));
  animation: floatShape 20s ease-in-out infinite;
}

.shape-1 { width: 200px; height: 200px; top: 10%; left: 10%; animation-delay: 0s; }
.shape-2 { width: 150px; height: 150px; top: 20%; right: 15%; animation-delay: 5s; }
.shape-3 { width: 100px; height: 100px; bottom: 30%; left: 20%; animation-delay: 10s; }
.shape-4 { width: 120px; height: 120px; bottom: 20%; right: 25%; animation-delay: 15s; }
.shape-5 { width: 80px; height: 80px; top: 50%; left: 50%; animation-delay: 7s; }

@keyframes floatShape {
  0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
  25% { transform: translateY(-20px) translateX(10px) rotate(90deg); }
  50% { transform: translateY(-10px) translateX(-15px) rotate(180deg); }
  75% { transform: translateY(-30px) translateX(5px) rotate(270deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  color: var(--secondary-color);
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
  transition: var(--transition);
}

.hero-badge:hover {
  background: rgba(16, 185, 129, 0.15);
  transform: translateY(-2px);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.text-gradient {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-subtitle-accent {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--primary-color);
  margin-top: 1rem;
}

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

.hero-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.hero-link:hover {
  color: var(--primary-light);
  border-bottom-color: var(--primary-light);
}

.hero-info-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: var(--transition);
}

.card-icon i {
  font-size: 1.25rem;
  color: #fff;
}

.hero-info-card h5 {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.card-description {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.hero-cta {
  margin-bottom: 4rem;
}

.hero-stats {
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--primary-color);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  font-weight: 500;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}

.scroll-indicator:hover {
  transform: translateX(-50%) translateY(-5px);
}

.scroll-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.scroll-arrow {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  animation: scrollBounce 2s infinite;
}

.scroll-arrow i {
  color: var(--primary-color);
  font-size: 1.125rem;
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* =============================================================================
   14. ABOUT PREVIEW & FEATURE SECTIONS
   ============================================================================= */
.about-preview {
  padding: 4rem 0;
  background: var(--light-surface);
}

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

.section-badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary-color);
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

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

.feature-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon i {
  font-size: 1.125rem;
  color: #fff;
}

.feature-content h5 {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.feature-content p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* =============================================================================
   15. TIMELINE SECTION
   ============================================================================= */
.page-content {
  padding: 4rem 0;
  background: #fff;
}

.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  transform: translateX(-50%);
  border-radius: 9999px;
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-marker {
  width: 60px;
  height: 60px;
  background: #fff;
  border: 4px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.timeline-marker i {
  font-size: 1.125rem;
  color: var(--primary-color);
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.1);
  border-color: var(--secondary-color);
}

.timeline-item:hover .timeline-marker i {
  color: var(--secondary-color);
}

.timeline-content {
  flex: 1;
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  margin: 0 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.timeline-item:hover .timeline-content {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-color: var(--primary-light);
}

.timeline-date {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.timeline-desc {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =============================================================================
   16. CTA SECTION
   ============================================================================= */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cta-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 100px 100px, 150px 150px, 200px 200px;
  animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================================================
   17. BUTTONS (Bootstrap-compatible sizing)
   ============================================================================= */
.btn {
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: #fff;
  border-color: var(--primary-color);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  color: #fff;
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--primary-color);
  border-color: #fff;
}

.btn-light:hover {
  background: #f1f5f9;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.8125rem;
  border-radius: 0.375rem;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.0625rem;
  border-radius: 0.625rem;
}

.pulse-btn {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.glow-btn {
  position: relative;
  overflow: hidden;
}

.glow-btn::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #fff, #f0f0f0, #fff);
  border-radius: inherit;
  z-index: -1;
  animation: glowRotate 3s linear infinite;
  opacity: 0;
  transition: var(--transition);
}

.glow-btn:hover::before {
  opacity: 1;
}

@keyframes glowRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* =============================================================================
   18. RESPONSIVE ADJUSTMENTS
   ============================================================================= */
@media (max-width: 1200px) {
  .hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }

  .section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
  }
}

@media (max-width: 992px) {
  .timeline-line {
    left: 30px;
  }

  .timeline-item {
    flex-direction: row !important;
    padding-left: 80px;
  }

  .timeline-item:nth-child(even) {
    flex-direction: row !important;
  }

  .timeline-marker {
    position: absolute;
    left: 0;
  }

  .timeline-content {
    margin-left: 0;
    margin-right: 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 90vh;
  }

  .hero-content {
    padding: 2rem 0;
  }

  .hero-info-card {
    margin-bottom: 1.5rem;
  }

  .countdown-timer {
    gap: 0.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-lg {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 576px) {
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.25rem 1rem;
  }

  .timeline-item {
    padding-left: 60px;
  }

  .timeline-marker {
    width: 40px;
    height: 40px;
  }

  .timeline-marker i {
    font-size: 1rem;
  }

  .timeline-content {
    padding: 1rem;
  }
}

/* =============================================================================
   19. ACCESSIBILITY & PRINT
   ============================================================================= */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.btn:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

/* Particle System Container */
.particle-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: rgba(59, 130, 246, 0.6);
  border-radius: 50%;
  pointer-events: none;
}

@media print {
  .navbar,
  .scroll-indicator,
  .back-to-top,
  .floating-shapes,
  .particle-container {
    display: none !important;
  }

  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }

  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
  }
}

/* =============================================================================
   20. DARK MODE - System/Browser Preference
   ============================================================================= */
@media (prefers-color-scheme: dark) {
  /* Variables Override */
  :root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --light-bg: #0f172a;
    --light-surface: #1e293b;
    --white: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --glass-95: rgba(15, 23, 42, 0.95);
    --glass-98: rgba(15, 23, 42, 0.98);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  }

  /* Body */
  body {
    background-color: #0f172a !important;
    color: #f1f5f9;
  }

  .bg-light {
    background-color: #0f172a !important;
  }

  /* Typography */
  h1, h2, h3, h4, h5, h6 {
    color: #f1f5f9;
  }

  p {
    color: #e2e8f0;
  }

  .lead {
    color: #cbd5e1;
  }

  ul, ol, li {
    color: #e2e8f0;
  }

  .text-muted {
    color: #94a3b8 !important;
  }

  .text-dark {
    color: #f1f5f9 !important;
  }

  /* Navigation */
  .navbar {
    background: rgba(15, 23, 42, 0.98) !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }

  .navbar.scrolled {
    background: rgba(15, 23, 42, 0.98) !important;
  }

  .navbar-brand {
    color: #f1f5f9 !important;
  }

  .navbar-brand:hover {
    color: var(--primary-light) !important;
  }

  .brand-text {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .navbar-nav .nav-link {
    color: #cbd5e1 !important;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    color: var(--primary-light) !important;
    background: rgba(59, 130, 246, 0.15);
  }

  .navbar-toggler {
    border-color: #cbd5e1;
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23cbd5e1' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  /* Dropdown */
  .dropdown-menu {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  }

  .dropdown-item {
    color: #cbd5e1;
  }

  .dropdown-item:hover,
  .dropdown-item.active {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary-light);
  }

  /* Offcanvas */
  .offcanvas.offcanvas-nav {
    background: #0f172a;
    border-right-color: rgba(148, 163, 184, 0.15);
  }

  .offcanvas-header {
    border-bottom-color: rgba(148, 163, 184, 0.15);
  }

  .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
  }

  /* Mobile Nav Collapse */
  @media (max-width: 991.98px) {
    .navbar-collapse {
      background: #1e293b;
      border-color: rgba(148, 163, 184, 0.15);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    }

    .dropdown-menu {
      background: #334155;
    }
  }

  /* Cards */
  .card {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.15);
  }

  .card-body {
    background: #1e293b;
  }

  .card h3, .card h4, .card h5 {
    color: #f1f5f9;
  }

  .card p, .card li {
    color: #cbd5e1;
  }

  /* Content Cards */
  .content-card {
    background: #1e293b !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.3) !important;
  }

  .content-card h2, .content-card h3, .content-card h4, .content-card h5 {
    color: #f1f5f9;
  }

  .content-card p, .content-card li, .content-card span:not(.badge) {
    color: #cbd5e1;
  }

  .content-card strong {
    color: #f1f5f9;
  }

  /* Countdown */
  .countdown-item {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.2);
  }

  .countdown-number {
    color: var(--primary-light);
  }

  .countdown-label {
    color: #94a3b8;
  }

  /* Buttons */
  .btn-outline-primary {
    color: var(--primary-light);
    border-color: var(--primary-light);
  }

  .btn-outline-primary:hover {
    background: var(--primary-light);
    color: #0f172a;
  }

  /* Links */
  a {
    color: var(--primary-light);
  }

  a:hover {
    color: #60a5fa;
  }

  /* Tables */
  table {
    color: #f1f5f9;
  }

  th {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.2);
    color: #f1f5f9;
  }

  td {
    border-color: rgba(148, 163, 184, 0.15);
    color: #e2e8f0;
  }

  tr:hover {
    background: rgba(59, 130, 246, 0.1);
  }

  /* Forms */
  input, textarea, select {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.2);
    color: #f1f5f9;
  }

  input:focus, textarea:focus, select:focus {
    border-color: var(--primary-light);
    background: #334155;
  }

  input::placeholder, textarea::placeholder {
    color: #64748b;
  }

  /* Borders */
  .border {
    border-color: rgba(148, 163, 184, 0.2) !important;
  }

  .border-bottom {
    border-bottom-color: rgba(148, 163, 184, 0.2) !important;
  }

  .border-top {
    border-top-color: rgba(148, 163, 184, 0.2) !important;
  }

  /* Bootstrap Overrides */
  .bg-white {
    background-color: #1e293b !important;
  }

  /* Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }

  ::-webkit-scrollbar-track {
    background: #1e293b;
  }

  ::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #64748b;
  }

  /* Selection */
  ::selection {
    background: rgba(59, 130, 246, 0.4);
    color: #f1f5f9;
  }

  ::-moz-selection {
    background: rgba(59, 130, 246, 0.4);
    color: #f1f5f9;
  }

  /* Badges */
  .badge.bg-primary {
    background: rgba(59, 130, 246, 0.8) !important;
  }

  .badge.bg-info {
    background: rgba(6, 182, 212, 0.8) !important;
  }

  .badge.bg-success {
    background: rgba(34, 197, 94, 0.8) !important;
  }

  /* Strong/Bold text */
  strong, .fw-bold {
    color: #f1f5f9;
  }

  /* Back to Top */
  .back-to-top {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
    border-color: var(--primary-light);
  }

  .back-to-top:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-light) 100%);
  }

  /* Alerts */
  .alert {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.2);
    color: #cbd5e1;
  }

  .alert-primary {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
  }

  .alert h5 {
    color: #f1f5f9;
  }

  /* Note/Callout boxes */
  .note, .note-callout {
    background: rgba(16, 185, 129, 0.1) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    color: #cbd5e1 !important;
  }

  /* Feature cards and similar */
  .feature-card, .info-card, .tpl-card, .guideline-card {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.15);
  }

  .feature-card h5, .info-card h5, .tpl-card .fw-semibold {
    color: #f1f5f9;
  }

  .feature-card p, .info-card p {
    color: #cbd5e1;
  }

  /* Timeline */
  .timeline-content, .t-item {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.15);
  }

  .t-title, .timeline-title {
    color: #f1f5f9;
  }

  .t-desc, .timeline-desc {
    color: #cbd5e1;
  }

  .t-date {
    color: var(--primary-light);
  }

  /* Section headers */
  .section-title {
    color: #f1f5f9;
  }

  /* g-chip styling */
  .g-chip {
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
    border-color: #4338ca;
  }

  /* Checklist */
  .checklist ul li + li {
    border-color: #475569;
  }

  /* Hero Section Dark Mode */
  .hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  }

  .hero-info-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9) 0%, rgba(30, 41, 59, 0.7) 100%);
    border-color: rgba(148, 163, 184, 0.2);
  }

  .hero-info-card h5 {
    color: #f1f5f9;
  }

  .hero-stats {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(148, 163, 184, 0.2);
  }

  .stat-number {
    color: var(--primary-light);
  }

  .stat-label {
    color: #94a3b8;
  }

  .scroll-arrow {
    background: #1e293b;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  }

  .scroll-arrow i {
    color: var(--primary-light);
  }

  .scroll-text {
    color: #94a3b8;
  }

  .shape {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(16, 185, 129, 0.15));
  }

  /* About Preview Section */
  .about-preview {
    background: #0f172a;
  }

  .section-badge {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
  }

  .feature-card {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.15);
  }

  .feature-content h5 {
    color: #f1f5f9;
  }

  .feature-content p {
    color: #cbd5e1;
  }

  /* Page Content Section */
  .page-content {
    background: #0f172a;
  }

  .timeline-marker {
    background: #1e293b;
    border-color: var(--primary-light);
  }

  .timeline-marker i {
    color: var(--primary-light);
  }

  .timeline-item:hover .timeline-marker {
    border-color: var(--secondary-color);
  }

  .timeline-item:hover .timeline-marker i {
    color: var(--secondary-color);
  }

  /* Timeline dates - make them white/light in dark mode */
  .timeline-date {
    color: #f1f5f9 !important;
  }

  .timeline-title {
    color: #f1f5f9 !important;
  }

  .timeline-desc {
    color: #cbd5e1 !important;
  }

  .timeline-content {
    background: #1e293b !important;
    border-color: rgba(148, 163, 184, 0.15) !important;
  }

  .timeline-content:hover {
    border-color: var(--primary-light) !important;
  }

  /* CTA Section Dark Mode */
  .cta-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  }

  /* List items */
  .list-unstyled li {
    color: #e2e8f0;
  }

  /* Accordion (Bootstrap) */
  .accordion-item {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.15);
  }

  .accordion-button {
    background: #1e293b;
    color: #f1f5f9;
  }

  .accordion-button:not(.collapsed) {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary-light);
  }

  .accordion-button::after {
    filter: invert(1);
  }

  .accordion-body {
    background: #1e293b;
    color: #cbd5e1;
  }

  /* Modal Dark Mode */
  .modal-content {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.2);
  }

  .modal-header {
    border-bottom-color: rgba(148, 163, 184, 0.15);
  }

  .modal-header .modal-title {
    color: #f1f5f9;
  }

  .modal-footer {
    border-top-color: rgba(148, 163, 184, 0.15);
  }

  /* List Groups */
  .list-group-item {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.15);
    color: #e2e8f0;
  }

  .list-group-item:hover {
    background: rgba(59, 130, 246, 0.1);
  }

  /* Nav Tabs/Pills */
  .nav-tabs .nav-link {
    color: #94a3b8;
  }

  .nav-tabs .nav-link.active {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.2);
    color: var(--primary-light);
  }

  .nav-pills .nav-link {
    color: #94a3b8;
  }

  .nav-pills .nav-link.active {
    background: var(--primary-light);
    color: #0f172a;
  }

  /* Progress Bars */
  .progress {
    background: #334155;
  }

  /* Breadcrumbs */
  .breadcrumb {
    background: transparent;
  }

  .breadcrumb-item a {
    color: var(--primary-light);
  }

  .breadcrumb-item.active {
    color: #94a3b8;
  }

  /* Committee Cards */
  .committee-card .card {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  }

  .committee-card .card:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  }

  .icon-circle {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.08));
    border-color: rgba(148, 163, 184, 0.2);
  }

  .member-avatar {
    background: radial-gradient(120% 120% at 100% 0%, #334155 0%, #475569 45%, #64748b 100%);
    border-color: rgba(148, 163, 184, 0.2);
  }

  .member-avatar .fallback {
    color: #e2e8f0;
  }

  .member-name a {
    color: var(--primary-light);
  }

  .member-actions a {
    background: rgba(59, 130, 246, 0.15);
    color: #a5b4fc;
    border-color: rgba(148, 163, 184, 0.2);
  }

  .filter-count.badge {
    background: rgba(59, 130, 246, 0.2);
    color: #a5b4fc;
    border-color: rgba(148, 163, 184, 0.2);
  }

  .input-group .form-control {
    background: #1e293b;
    color: #f1f5f9;
    border-color: rgba(148, 163, 184, 0.2);
  }

  .input-group-text {
    background: #1e293b;
    color: #94a3b8;
    border-color: rgba(148, 163, 184, 0.2);
  }

  mark.search-hit {
    background: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
  }

  /* Enhanced Table Dark Mode */
  .table {
    --bs-table-bg: #1e293b;
    --bs-table-color: #f1f5f9;
    --bs-table-border-color: rgba(148, 163, 184, 0.2);
    --bs-table-striped-bg: rgba(30, 41, 59, 0.7);
    --bs-table-hover-bg: rgba(59, 130, 246, 0.15);
    color: #f1f5f9;
    background: #1e293b;
  }

  .table-striped > tbody > tr:nth-of-type(odd) {
    --bs-table-bg-type: rgba(15, 23, 42, 0.5);
    background-color: rgba(15, 23, 42, 0.5);
  }

  .table-hover > tbody > tr:hover {
    --bs-table-bg-type: rgba(59, 130, 246, 0.15);
    background-color: rgba(59, 130, 246, 0.15);
  }

  .table > thead {
    background: #0f172a;
  }

  .table > thead th {
    background: #0f172a;
    color: #f1f5f9;
    border-bottom-color: rgba(148, 163, 184, 0.3);
  }

  .table > tbody td {
    border-bottom-color: rgba(148, 163, 184, 0.1);
  }

  .fees-table,
  .dates-table {
    background: #1e293b;
  }

  .fees-table thead th,
  .dates-table thead th {
    background: #0f172a;
    color: #f1f5f9;
  }

  .fees-table tbody td,
  .dates-table tbody td {
    background: transparent;
    color: #e2e8f0;
  }

  .fees-table .badge,
  .dates-table .badge {
    background: rgba(59, 130, 246, 0.2) !important;
    color: #a5b4fc !important;
  }

  /* Table-responsive wrapper */
  .table-responsive {
    background: #1e293b;
    border-radius: 0.5rem;
  }

  /* Page Hero in dark mode */
  .page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  }

  .page-hero .display-5,
  .page-hero .display-6,
  .page-hero h1,
  .page-hero h2 {
    color: #f1f5f9;
  }

  .page-hero .lead {
    color: #cbd5e1;
  }

  .page-hero .kicker,
  .page-hero .hero-kicker {
    color: var(--primary-light);
  }

  /* Hover Card Dark Mode */
  .hover-card {
    background: #1e293b !important;
    border-color: rgba(148, 163, 184, 0.15) !important;
  }

  .hover-card:hover {
    border-color: var(--primary-light) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
  }

  /* Note Callout Dark Mode */
  .note-callout {
    background: rgba(16, 185, 129, 0.1) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    color: #cbd5e1 !important;
  }

  .note-callout strong {
    color: #f1f5f9 !important;
  }

  /* Icons in dark mode */
  .bi.text-primary {
    color: var(--primary-light) !important;
  }

  .bi.text-success {
    color: #34d399 !important;
  }

  .bi.text-info {
    color: #22d3ee !important;
  }

  .bi.text-warning {
    color: #fbbf24 !important;
  }

  /* Section backgrounds */
  .py-5,
  .py-lg-6 {
    background-color: #0f172a;
  }

  section.bg-light {
    background-color: #0f172a !important;
  }

  /* Sponsors section cards */
  .sponsor-card,
  .partner-card {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.15);
  }

  /* Speaker cards */
  .speaker-card {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.15);
  }

  .speaker-card h5 {
    color: #f1f5f9;
  }

  .speaker-card p {
    color: #cbd5e1;
  }

  .speaker-card img {
    border-color: rgba(148, 163, 184, 0.2);
  }

  /* Venue cards */
  .venue-card,
  .accommodation-card {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.15);
  }

  /* Contact form dark mode */
  .form-control,
  .form-select {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.2);
    color: #f1f5f9;
  }

  .form-control:focus,
  .form-select:focus {
    background: #334155;
    border-color: var(--primary-light);
    color: #f1f5f9;
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
  }

  .form-control::placeholder {
    color: #64748b;
  }

  .form-label {
    color: #e2e8f0;
  }

  /* Info boxes and panels */
  .info-box,
  .info-panel {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.15);
  }

  /* Submission guidelines */
  .guideline-item,
  .step-card {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.15);
  }

  .guideline-item h5,
  .step-card h5 {
    color: #f1f5f9;
  }

  .guideline-item p,
  .step-card p {
    color: #cbd5e1;
  }

  /* Topic tags/chips */
  .topic-tag,
  .track-tag {
    background: rgba(59, 130, 246, 0.15);
    color: #a5b4fc;
    border-color: rgba(59, 130, 246, 0.3);
  }

  /* Blockquotes */
  blockquote {
    background: #1e293b;
    border-left-color: var(--primary-light);
    color: #e2e8f0;
  }

  /* Code blocks */
  code,
  pre {
    background: #0f172a;
    color: #e2e8f0;
    border-color: rgba(148, 163, 184, 0.2);
  }

  /* Figure captions */
  figcaption {
    color: #94a3b8;
  }

  /* Horizontal rules */
  hr {
    border-color: rgba(148, 163, 184, 0.2);
  }

  /* Shadow utilities */
  .shadow,
  .shadow-sm,
  .shadow-lg {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3) !important;
  }

  /* Journal Publication Section Dark Mode */
  .journal-opportunity {
    background: #1e293b !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
  }

  .journal-item {
    background: #0f172a !important;
    border-color: rgba(148, 163, 184, 0.15) !important;
  }

  .journal-item:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4) !important;
    border-color: var(--primary-light) !important;
  }

  .journal-name {
    color: #f1f5f9 !important;
  }

  .journal-publisher {
    color: #94a3b8 !important;
  }

  .journal-logo {
    background: #1e293b !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
  }

  .journal-meta .lede,
  .lede {
    color: #94a3b8 !important;
  }

  .title {
    color: var(--primary-light) !important;
  }

  /* Sponsors Section Dark Mode */
  .sponsors-section {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%) !important;
  }

  .sponsors-section::before {
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent) !important;
  }

  .sponsor-card {
    background: #1e293b !important;
    border-color: rgba(148, 163, 184, 0.15) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  }

  .sponsor-card:hover {
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.2) !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
  }

  .sponsors-title {
    color: var(--primary-light) !important;
  }

  .sponsors-subtitle {
    color: #94a3b8 !important;
  }

  /* Hero Sponsors Dark Mode */
  .hero-sponsors-label {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%) !important;
    color: var(--primary-light) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
    text-shadow: none !important;
  }

  .hero-sponsor-logo {
    background: rgba(30, 41, 59, 0.9) !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
  }

  .hero-sponsor-logo:hover {
    border-color: var(--primary-light) !important;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2) !important;
  }

  /* bg-body-tertiary Bootstrap class dark mode */
  .bg-body-tertiary {
    background-color: #0f172a !important;
  }

  /* text-secondary Bootstrap class dark mode */
  .text-secondary {
    color: #94a3b8 !important;
  }

  /* text-primary for headings */
  h3.text-primary,
  .text-primary {
    color: var(--primary-light) !important;
  }

  /* Sponsorship Tiers Dark Mode */
  .tier {
    background: #1e293b !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
  }

  .tier h4 {
    color: #f1f5f9 !important;
  }

  .tier .price {
    color: var(--primary-light) !important;
  }

  .tier ul li {
    color: #e2e8f0 !important;
  }

  .tier li i {
    color: #34d399 !important;
  }

  .tier-badge {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(148, 163, 184, 0.3) !important;
  }

  .badge-platinum {
    background: linear-gradient(135deg, #334155 0%, #475569 60%, #64748b 100%) !important;
    border-color: #64748b !important;
  }

  .badge-platinum i {
    color: #f1f5f9 !important;
  }

  /* Note boxes dark mode */
  .note {
    background: rgba(16, 185, 129, 0.1) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    border-left-color: #10b981 !important;
    color: #cbd5e1 !important;
  }

  /* Quote boxes dark mode */
  .quote {
    color: #e2e8f0 !important;
    border-left-color: #6366f1 !important;
  }

  /* Logo wall dark mode */
  .logo-wall img {
    filter: grayscale(1) contrast(1.1) brightness(1.2) !important;
  }

  /* Stats dark mode */
  .stat .num {
    color: var(--primary-light) !important;
  }

  .stat .desc {
    color: #94a3b8 !important;
  }

  /* Contact Page Cards Dark Mode */
  .contact-tile {
    background: #1e293b !important;
    border-color: rgba(148, 163, 184, 0.15) !important;
  }

  .contact-tile:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4) !important;
    border-color: var(--primary-light) !important;
  }

  .contact-tile h5,
  .contact-tile .fw-semibold {
    color: #f1f5f9 !important;
  }

  .contact-tile p,
  .contact-tile .text-muted {
    color: #94a3b8 !important;
  }

  /* Form Card Dark Mode */
  .form-card {
    background: #1e293b !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
  }

  .form-card h2,
  .form-card .h4 {
    color: #f1f5f9 !important;
  }

  .form-card .form-control,
  .form-card .form-select {
    background: #0f172a !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
    color: #f1f5f9 !important;
  }

  .form-card .form-control:focus,
  .form-card .form-select:focus {
    background: #1e293b !important;
    border-color: var(--primary-light) !important;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25) !important;
  }

  /* Hero sections on interior pages */
  .hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%) !important;
  }

  .hero h1,
  .hero h2,
  .hero .display-6 {
    color: #f1f5f9 !important;
  }

  .hero .kicker {
    color: var(--primary-light) !important;
  }

  .hero p,
  .hero h5 {
    color: #cbd5e1 !important;
  }

  /* Sticky CTA dark mode */
  .sticky-cta {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.06), #0f172a 40%) !important;
    border-top-color: rgba(148, 163, 184, 0.2) !important;
  }

  /* Header spacer background */
  .header-spacer {
    background: #0f172a !important;
  }

  /* General muted text */
  p.text-muted,
  span.text-muted,
  .text-muted {
    color: #94a3b8 !important;
  }

  /* Previous Editions / Versions Page Dark Mode */
  .edition-card {
    background: #1e293b !important;
    border-color: rgba(148, 163, 184, 0.15) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
  }

  .edition-card:hover {
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4) !important;
  }

  .edition-cover {
    border-bottom-color: rgba(148, 163, 184, 0.15) !important;
  }

  .edition-card .card-body,
  .edition-card .p-3 {
    background: #1e293b !important;
  }

  .edition-card h5,
  .edition-card .h5,
  .edition-card .fw-bold {
    color: #f1f5f9 !important;
  }

  .edition-card p,
  .edition-card .text-muted {
    color: #94a3b8 !important;
  }

  .edition-card .small {
    color: #94a3b8 !important;
  }

  .badge-muted {
    background: rgba(247, 130, 144, 0.2) !important;
    color: #fca5a5 !important;
    border-color: rgba(247, 130, 144, 0.3) !important;
  }

  /* Timeline section dark mode */
  .timeline-section,
  #timeline {
    background: #0f172a !important;
  }

  .t-item {
    background: #1e293b !important;
    border-color: rgba(148, 163, 184, 0.15) !important;
  }

  .t-item:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4) !important;
  }

  .t-title {
    color: #f1f5f9 !important;
  }

  .t-desc {
    color: #cbd5e1 !important;
  }

  .t-date {
    color: var(--primary-light) !important;
  }

  /* Chip/Tag Elements Dark Mode (cf-workshops.php) */
  .chip {
    background: rgba(59, 130, 246, 0.15) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
    color: #a5b4fc !important;
  }

  .chip i {
    color: var(--primary-light) !important;
  }

  /* Subnav Dark Mode */
  .subnav-wrap {
    background: #0f172a !important;
    border-bottom-color: rgba(148, 163, 184, 0.15) !important;
  }

  .subnav .nav-link {
    color: #94a3b8 !important;
  }

  .subnav .nav-link.active {
    color: var(--primary-light) !important;
  }

  /* Hero Pills Dark Mode */
  .hero-pills .pill {
    background: rgba(30, 41, 59, 0.8) !important;
    border-color: rgba(148, 163, 184, 0.25) !important;
    color: #f1f5f9 !important;
  }

  /* bg-primary bg-opacity-10 sections */
  .bg-primary.bg-opacity-10 {
    background-color: rgba(30, 41, 59, 0.8) !important;
  }

  section.bg-primary.bg-opacity-10 {
    background: #1e293b !important;
  }

  /* Icon list items in dark mode */
  .icon-li span {
    color: #e2e8f0 !important;
  }

  .icon-li i.bi {
    color: var(--primary-light) !important;
  }

  /* Topics list dark mode */
  .topics-2col li span {
    color: #e2e8f0 !important;
  }

  /* Code element enhancement */
  code {
    background: rgba(30, 41, 59, 0.8) !important;
    color: #f472b6 !important;
    padding: 0.2em 0.4em !important;
    border-radius: 4px !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
  }

  /* OL list items (numbered) dark mode */
  ol li {
    color: #e2e8f0 !important;
  }

  /* Table th inside dates-table */
  .dates-table tbody th {
    background: transparent !important;
    color: var(--primary-light) !important;
  }
}

/* =============================================================================
   21. COMMITTEE PAGE STYLES
   ============================================================================= */
/* Committee design tokens */
.committee-card .card {
  background: var(--light-surface);
  border: 1px solid rgba(2, 6, 23, 0.08);
  box-shadow: 0 10px 25px rgba(2, 6, 23, 0.08);
  border-radius: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.committee-card .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.14);
}

.role-ribbon {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* Card header icon pill */
.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(13, 110, 253, 0.12), rgba(13, 110, 253, 0.04));
  border: 1px solid rgba(2, 6, 23, 0.08);
}

/* Avatars & member line */
.member-item {
  align-items: center;
}

.member-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(120% 120% at 100% 0%, #c7d2fe 0%, #e0e7ff 45%, #f5f3ff 100%);
  border: 1px solid rgba(2, 6, 23, 0.08);
  margin-right: 0.75rem;
  flex: 0 0 36px;
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.member-avatar .fallback {
  font-weight: 700;
  font-size: 0.85rem;
  color: #334155;
}

.member-name a {
  text-decoration: none;
}

.member-name a:hover {
  text-decoration: underline;
}

/* Inline action icons (site/email) */
.member-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  margin-left: 0.25rem;
  background: #eef2ff;
  color: #1e3a8a;
  border: 1px solid rgba(2, 6, 23, 0.08);
  transition: transform 0.15s ease, background 0.15s ease;
}

.member-actions a:hover {
  transform: translateY(-2px);
}

/* Filter/search controls */
.filter-count.badge {
  background: #e9f2ff;
  color: #0b3a8a;
  border: 1px solid rgba(2, 6, 23, 0.08);
}

/* Search highlights */
mark.search-hit {
  padding: 0.1rem 0.2rem;
  background: #fff3cd;
}

/* Committee print styles */
@media print {
  .input-group,
  [role="toolbar"],
  .role-ribbon {
    display: none !important;
  }
}
