/* =============================================================================
   Root Variables
   - Define global theme variables such as colors, images, and background settings.
============================================================================= */
:root {
  --text-color: #fff;
  --background-image: url('Images/Backgrounds/background-dark.png');
  --paragraph-bg: rgba(0, 0, 0, 0.007);
  --heading-color: #fff;
  --h3-bg: #44444401;
  --h3-color: #ddd;
  --settings-color: #3333339b;
  --backtotop-image: url('Images/Icons/scroll-up-pulsar-dual_dark/icons8-scroll-up-96.png');
  
  /* Font size scaling factor for accessibility */
  --font-scale: 1;
  
  /* Z-index hierarchy */
  --z-background: -10;
  --z-background-overlay: -1;
  --z-content: 1;
  --z-fixed-elements: 100;
  --z-navigation: 1000;
  --z-back-to-top: 1001;
  --z-settings-panel: 1002;
  --z-settings-gear: 1003;
  --z-gallery-overlay: 1004;
  --z-modal: 2000;
  --z-modal-content: 2001;
  --z-tooltip: 3000;

/* =============================================================================
   Global Styles
   - Base styles applied to HTML elements.
============================================================================= */
html {
  text-align: left; /* Ensure text is aligned to the left by default */
  overflow-x: hidden; /* Prevent horizontal scroll */
  scroll-behavior: smooth; /* Enable smooth scrolling */
}

/* Prevent horizontal overflow on all elements */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Performance optimization for animations */
.animate-logo,
.animate-title,
.page-title,
.back-to-top,
.gear-icon,
.gallery-item img,
.scroll-animate,
.scroll-animate-left,
.scroll-animate-right,
.scroll-animate-scale {
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .scroll-animate,
  .scroll-animate-left,
  .scroll-animate-right,
  .scroll-animate-scale {
    opacity: 1;
    transform: none;
  }
}

/* =============================================================================
   Body Styling (Default & Light Mode)
   - Sets default theme for the body including background and text color.
============================================================================= */

/* Default (Dark Theme) */
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background-image: var(--background-image);
  color: var(--text-color);
  transition: background-image 0.5s ease, color 0.5s ease;
}

/* Light Mode Overrides */
body.light-mode {
  --text-color: #000;
  --background-image: url('Images/Backgrounds/background-light.png');
  --paragraph-bg: rgba(255, 255, 255, 0.15);
  --settings-color: #dcdcdc9b;
  --backtotop-image: url('Images/Icons/scroll-up-pulsar-dual_light/icons8-scroll-up-96.png');
}

/* Light mode sidebar toggle */
body.light-mode .nav-sidebar-toggle {
  background: rgba(220, 220, 220, 0.98);
  border-color: rgba(0, 180, 219, 0.7);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

body.light-mode .nav-sidebar-toggle svg {
  stroke: #00b4db;
}

body.light-mode .nav-sidebar-toggle:hover {
  background: rgba(0, 180, 219, 0.4);
}

/* Light mode greeting adjustments */
body.light-mode .nav-greeting {
  background: linear-gradient(135deg, rgba(220, 220, 220, 0.95) 0%, rgba(240, 240, 240, 0.95) 100%);
  border-bottom: 1px solid rgba(0, 102, 204, 0.3);
}

body.light-mode #greeting {
  background: linear-gradient(135deg, #0066cc 0%, #333333 50%, #004499 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

body.light-mode #greeting::before,
body.light-mode #greeting::after {
  color: #0066cc;
}

/* Font scaling - applies to all text elements proportionally */
body {
  font-size: calc(16px * var(--font-scale));
}

h1 {
  font-size: calc(3rem * var(--font-scale));
}

h2 {
  font-size: calc(2.5rem * var(--font-scale));
}

h3 {
  font-size: calc(2rem * var(--font-scale));
}

h4 {
  font-size: calc(1.5rem * var(--font-scale));
}

h5 {
  font-size: calc(1.25rem * var(--font-scale));
}

h6 {
  font-size: calc(1rem * var(--font-scale));
}

p, span, li, label, a, button {
  font-size: calc(1rem * var(--font-scale));
}

small {
  font-size: calc(0.875rem * var(--font-scale));
}

/* =============================================================================
   Header and Logo
   - Styles for header container and logo placement including animations.
============================================================================= */

/* Hero Container - houses both header and hero section side by side */
.hero-container {
  max-width: 1400px;
  width: 100%;
  margin: 10px auto;
  padding: 0 20px;
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-evenly;
}

.header {
  flex: 0 1 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 100%;
  text-align: center;
}

.header::before {
  display: none;
}

.logo {
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  position: relative;
}

.logo img {
  display: block;
  width: auto;
  height: 170px;
  margin: 0;
  filter: drop-shadow(0 0 20px rgba(127, 255, 212, 0.25)) drop-shadow(0 0 40px rgba(127, 255, 212, 0.15));
}

.logo::before {
  display: none;
}

.animate-title em {
  transform: translateY(-10px);
}

.page-title em {
  display: block;
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 0;
  /* Fallback color for browsers that don't support gradient text */
  color: #00ffff;
  background: inherit;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.schoolLogo {
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: var(--z-background);
}

/* Logo Animations */
.animate-logo {
  animation: slideInFromLeft 0.5s ease-out forwards;
  will-change: transform, opacity;
}

.page-title.animate-title {
  animation: fadeInScale 0.8s ease-out forwards !important;
  transform: scale(0);
  opacity: 0;
}

.fixed-logo {
  position: fixed;
  bottom: 70px;
  right: 5px;
  animation: none;
  z-index: 100;
}

/* Faded transparent fixed logo styling */
.fixed-logo img {
  opacity: 0.15;
  filter: saturate(70%) brightness(110%) drop-shadow(0 0 20px rgba(127, 255, 212, 0.25)) drop-shadow(0 0 40px rgba(127, 255, 212, 0.15));
  transition: opacity 0.3s ease;
  pointer-events: none; /* prevent hover enlargement */
}

/* Optional: slight visibility on hover of parent link if needed */
a.fixed-logo img:hover, .fixed-logo img:hover {
  opacity: 0.4;
  pointer-events: none;
}

/* Ensure logo stays properly positioned when at top of page */
.header .logo {
  position: relative;
  z-index: 10;
}

.header {
  position: relative;
  z-index: 10;
}

.animate-schoolLogo {
  animation: slideInFromLeft 0.5s ease-out forwards;
}

.fixed-schoolLogo {
  position:fixed;
  bottom: 40px;
  right:5px;
  animation: none;
}

/* Logo Hover Effect */
a img {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  transform: translateZ(0); /* Force hardware acceleration */
}

a img:hover {
  transform: scale(1.5) translateZ(0);
}

/* Mobile logo adjustments */
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .header {
    width: 100%;
    min-width: auto;
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .page-title {
    text-align: center;
    padding-left: 0;
    margin-top: 10px;
  }
  
  .logo img {
    width: 150px !important;
    height: auto;
  }
  
  .hero-section {
    width: 100%;
  }
  
  /* Alternative: Make logos much smaller if you want to keep them */
  /*
  .logo img, .schoolLogo img, .fixed-logo img, .fixed-schoolLogo img {
    width: 40px !important;
    height: auto;
  }
  
  .logo, .fixed-logo {
    bottom: 10px;
    right: 10px;
  }
  
  .schoolLogo, .fixed-schoolLogo {
    bottom: 10px;
    right: 60px;
  }
  
  a img:hover {
    transform: scale(1.1);
  }
  */
}

/* =============================================================================
   Typography
   - Styling for text elements including paragraphs, headings, and lists.
============================================================================= */
p,
ul,
ol {
  margin: 1rem 0;
}

ul,
ol {
  padding-left: 1.5rem;
}

p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.6), 0 0 2px rgba(0, 0, 0, 0.3);
}

/* Bold text within paragraphs */
p b {
  text-align: center;
  font-weight: 900;
  font-size: xx-large;
}

/* Headings (h1, h2, h3) share a common text color */
h1,
h2,
h3 {
  color: var(--heading-color);
}

h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  text-align: center;
  font-weight: 700;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3), 0 0 2px rgba(0, 0, 0, 0.8);
  margin-top: 80px;
}

/* Enhanced Main Page Title Styling */
.page-title {
  background: linear-gradient(135deg, #00ffff 0%, #00d4ff 50%, #0099ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Montserrat', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  text-align: center;
  margin: 80px auto 40px auto;
  padding: 20px;
  position: relative;
  text-shadow: none;
  animation: titlePulse 3s ease-in-out infinite alternate;
  letter-spacing: 1px;
  will-change: transform, opacity;
  transform: translateZ(0); /* Force hardware acceleration */
}

.page-title::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 105%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.08), rgba(0, 212, 255, 0.03));
  border-radius: 20px;
  z-index: var(--z-background-overlay);
  box-shadow: 0 8px 32px rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.15);
}

.page-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #00ffff, transparent);
  border-radius: 2px;
  animation: titleUnderline 2s ease-in-out infinite alternate;
}

@keyframes titlePulse {
  0% { 
    transform: scale(1) translateZ(0); 
    opacity: 0.9;
  }
  100% { 
    transform: scale(1.02) translateZ(0); 
    opacity: 1;
  }
}

@keyframes titleUnderline {
  0% { width: 100px; opacity: 0.6; }
  100% { width: 250px; opacity: 1; }
}

/* Dynamic Greeting in Navigation */
.nav-greeting {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  z-index: 999;
  padding: 8px 0;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.95) 0%, rgba(74, 96, 116, 0.95) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 180, 219, 0.2);
}

.nav-greeting.hidden {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

#greeting {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  background: linear-gradient(135deg, #00d4ff 0%, #ffffff 50%, #00ffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: greetingGradient 3s ease-in-out infinite;
  margin: 0;
  padding: 4px 16px;
  letter-spacing: 0.3px;
  position: relative;
  white-space: nowrap;
}

#greeting::before {
  content: '⚡';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  opacity: 0.7;
  animation: pulseGlow 2s ease-in-out infinite;
  color: #00d4ff;
}

#greeting::after {
  content: '⚡';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  opacity: 0.7;  
  animation: pulseGlow 2s ease-in-out infinite 1s;
  color: #00ffff;
}

@keyframes greetingFade {
  0% { 
    opacity: 0; 
    transform: translateY(10px) scale(0.95); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
}

@keyframes greetingGradient {
  0%, 100% { 
    background-position: 0% 50%; 
  }
  50% { 
    background-position: 100% 50%; 
  }
}

@keyframes pulseGlow {
  0%, 100% { 
    opacity: 0.4; 
    transform: translateY(-50%) scale(1); 
    text-shadow: 0 0 5px currentColor;
  }
  50% { 
    opacity: 0.8; 
    transform: translateY(-50%) scale(1.1); 
    text-shadow: 0 0 10px currentColor;
  }
}

/* Global mobile styles to prevent horizontal scrolling */
@media (max-width: 768px) {
  * {
    max-width: 100vw;
    box-sizing: border-box;
  }
  
  body, html {
    overflow-x: hidden;
    width: 100%;
  }
  
  .container, main, section, div {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* Page title mobile adjustments */
  .page-title {
    font-size: 2rem;
    margin: 40px auto 20px auto;
    padding: 15px 10px;
    letter-spacing: 0.3px;
    line-height: 1.2;
  }
  
  .page-title::before {
    width: 95%;
    border-radius: 12px;
  }
  
  .page-title::after {
    width: 150px;
  }
  
  .nav-greeting {
    top: 60px;
    padding: 6px 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.98) 0%, rgba(74, 96, 116, 0.98) 100%);
  }
  
  #greeting {
    font-size: 0.85rem;
    padding: 3px 12px;
  }
  
  #greeting::before,
  #greeting::after {
    left: -16px;
    right: -16px;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 1.6rem;
    margin: 30px auto 15px auto;
    padding: 12px 8px;
    letter-spacing: 0.2px;
  }
  
  .page-title::before {
    width: 90%;
    border-radius: 10px;
  }
  
  .page-title::after {
    width: 120px;
  }
  
  .nav-greeting {
    top: 55px;
    padding: 4px 0;
  }
  
  #greeting {
    font-size: 0.75rem;
    padding: 2px 8px;
  }
  
  #greeting::before,
  #greeting::after {
    left: -14px;
    right: -14px;
    font-size: 0.6rem;
  }
}

/* h1 Hover Effect */
h1:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

h2 {
  text-align: center;
  font-weight: 800;
  color: rgb(4, 228, 253);
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  margin: 3rem 0 2rem 0;
  text-shadow: 0 2px 8px rgba(0, 255, 255, 0.2), 0 0 2px rgba(0, 0, 0, 0.7);
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00ffff, transparent);
  border-radius: 2px;
}

h3 {
  background-color: var(--h3-bg);
  border-radius: 8px;
  padding: 0.5em;
  text-align: center;
  font-weight: 300;
  color: var(--h3-color);
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.6);
}

figcaption {
  background: linear-gradient(145deg, var(--h3-bg), rgba(255, 255, 255, 0.05));
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  font-weight: 400;
  color: var(--h3-color);
  font-style: italic;
  margin-top: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.6);
}
/* =============================================================================
   Content Containers
   - Enhanced styles for boxed content, paragraphs, and sections.
============================================================================= */

/* Paragraph Container Box */
.paragraph-box {
  background: linear-gradient(145deg, var(--paragraph-bg), rgba(255, 255, 255, 0.02));
  padding: 2rem;
  margin: 2rem auto;
  max-width: 900px;
  border-radius: 16px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: calc(100% - 2rem);
  box-sizing: border-box;
}

.paragraph-box:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Paragraph styling inside boxes */
.paragraph-box p {
  margin: 0;
  line-height: 1.8;
  font-family: 'Roboto', sans-serif;
  font-size: 1.15rem;
  color: var(--text-color);
  text-align: justify;
  text-indent: 1.5rem;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.8), 0 0 2px rgba(0, 0, 0, 0.4);
}

.paragraph-box p:first-of-type {
  text-indent: 0;
}

.paragraph-box p:not(:last-child) {
  margin-bottom: 1.2rem;
}

/* Enhanced link styling within paragraphs */
.paragraph-box a {
  color: #00d4ff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.paragraph-box a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00ffff, #00d4ff);
  transition: width 0.3s ease;
}

.paragraph-box a:hover {
  color: #00ffff;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
}

.paragraph-box a:hover::after {
  width: 100%;
}

/* =============================================================================
   Section Styling
   - Enhanced styling for main content sections.
============================================================================= */
section {
  margin: 0rem 0;
  padding: 5rem 0;
  position: relative;
}

/* Wave Divider Styles */
.custom-shape-divider-bottom-1763431144 {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: visible;
  line-height: 0;
  transform: translateY(-35px);
  z-index: 10;
  pointer-events: none;
}

.custom-shape-divider-bottom-1763431144 svg {
  position: relative;
  display: block;
  width: calc(117% + 1.3px);
  height: 125px;
  z-index: 10;
}

.custom-shape-divider-bottom-1763431144 .shape-fill {
  fill: #1a1a2e;
}

/* Wave divider color variants to match previous section backgrounds */
/* Gradients are defined in the SVG <defs> section of each wave divider */
/* The gradients are applied via the SVG fill attribute and match the section background gradients */

.wave-from-events-hero {
  opacity: 0.85;
}

.wave-from-events-hero path[opacity="1"].shape-fill {
  /* Gradient: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(30, 60, 114, 0.8)) */
  fill: url(#events-hero-gradient);
}

.wave-from-upcoming-events {
  opacity: 0.9;
}

.wave-from-upcoming-events path[opacity="1"].shape-fill {
  /* Gradient: linear-gradient(135deg, #1a1a2e, #16213e) */
  fill: url(#upcoming-events-gradient);
}

.wave-from-competition-timeline {
  opacity: 0.9;
}

.wave-from-competition-timeline path[opacity="1"].shape-fill {
  /* Gradient: linear-gradient(135deg, #0a0a0a, #1a1a2e) */
  fill: url(#competition-timeline-gradient);
}

.wave-from-event-stats {
  opacity: 0.9;
}

.wave-from-event-stats path[opacity="1"].shape-fill {
  /* Gradient: linear-gradient(135deg, #1a1a2e, #16213e) */
  fill: url(#event-stats-gradient);
}

section:not(:last-child)::after {
  content: '';
  position: relative;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
}

/* =============================================================================
   SVG Wave Dividers
   - Styling for SVG wave dividers between sections
   - Ensures waves appear above section backgrounds
============================================================================= */

/* Top wave divider (waves coming from top) */
.custom-shape-divider-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 10;
  pointer-events: none;
}

.custom-shape-divider-top svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 150px;
  z-index: 10;
}

.custom-shape-divider-top .shape-fill {
  fill: var(--background-image);
}

/* Bottom wave divider (waves at bottom of section) */
.custom-shape-divider-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 10;
  pointer-events: none;
}

.custom-shape-divider-bottom svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 150px;
  z-index: 10;
}

.custom-shape-divider-bottom .shape-fill {
  fill: var(--background-image);
}

/* Ensure sections with wave dividers have proper stacking context */
section.has-wave-divider {
  isolation: isolate;
}

/* Alternative wave divider styles for different sections */
.wave-divider-cyan .shape-fill {
  fill: rgba(0, 255, 255, 0.15);
}

.wave-divider-dark .shape-fill {
  fill: rgba(0, 0, 0, 0.4);
}

.wave-divider-light .shape-fill {
  fill: rgba(255, 255, 255, 0.08);
}

/* Light mode wave dividers */
body.light-mode .wave-divider-cyan .shape-fill {
  fill: rgba(0, 180, 219, 0.15);
}

body.light-mode .wave-divider-dark .shape-fill {
  fill: rgba(0, 0, 0, 0.15);
}

body.light-mode .wave-divider-light .shape-fill {
  fill: rgba(0, 0, 0, 0.08);
}

/* Responsive wave heights */
@media (max-width: 768px) {
  .custom-shape-divider-top svg,
  .custom-shape-divider-bottom svg {
    height: 100px;
  }
}

@media (max-width: 480px) {
  .custom-shape-divider-top svg,
  .custom-shape-divider-bottom svg {
    height: 70px;
  }
}

/* Table of Contents Styling */
.toc {
  margin: 3rem auto;
}

.toc .paragraph-box {
  background: linear-gradient(145deg, rgba(0, 255, 255, 0.05), rgba(0, 212, 255, 0.02));
  border-left: 4px solid #00ffff;
}

.toc ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.toc li {
  margin: 0.8rem 0;
  font-size: 1.1rem;
}

.toc a {
  color: #00d4ff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.toc a:hover {
  color: #00ffff;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
}

/* Image and Figure Styling */
figure.center {
  margin: 3rem auto;
  text-align: center;
  max-width: 600px;
}

figure.center img {
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

figure.center img:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

/* =============================================================================
   Enhanced Quick Facts Section
   - Modern styling for the tabbed quick facts component.
============================================================================= */

/* Quick Facts Container */
#quick-facts {
  max-width: 900px;
  margin: 3rem auto;
  background: linear-gradient(145deg, rgba(0, 255, 255, 0.05), rgba(0, 212, 255, 0.02));
  border-radius: 20px;
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.2);
  overflow: hidden;
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#quick-facts:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Section Heading for Quick Facts */
#quick-facts h2 {
  text-align: center;
  margin: 2rem 0 1.5rem 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  background: linear-gradient(135deg, #00ffff 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  position: relative;
}

#quick-facts h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00ffff, transparent);
  border-radius: 2px;
}

/* =============================================================================
   Enhanced Tabs
   - Modern styling for tabbed navigation and content areas.
============================================================================= */
.tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: none;
  padding: 0 1rem;
  gap: 8px;
  justify-content: center;
}

.tab {
  flex: none;
  padding: 8px 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  outline: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 1rem;
}

.tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.tab:hover::before {
  left: 100%;
}

.tab:hover {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(0, 212, 255, 0.1));
  border-color: rgba(0, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 255, 0.2);
  color: #00ffff;
}

.tab.active {
  background: linear-gradient(135deg, #00ffff, #00d4ff);
  border-color: #00ffff;
  color: #000;
  font-weight: 700;
  transform: translateY(-3px);
  box-shadow: 
    0 10px 30px rgba(0, 255, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.tab.active::before {
  display: none;
}

/* Tab Content Container */
.tab-content {
  padding: 2rem;
  min-height: 120px;
}

.content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: slideInContent 0.5s ease-out;
}

@keyframes slideInContent {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Enhanced paragraph styling within tab content */
.content p {
  margin: 1rem 0;
  line-height: 1.7;
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  color: var(--text-color);
}

.content p:first-child {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  text-align: center;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.6);
}

.content p:last-child {
  font-style: italic;
  opacity: 1;
  border-left: 3px solid rgba(0, 255, 255, 0.3);
  padding-left: 1rem;
  margin-left: 1rem;
}

/* Enhanced links within content */
.content a {
  color: #00d4ff;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
}

.content a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00ffff, #00d4ff);
  transition: width 0.3s ease;
}

.content a:hover {
  color: #00ffff;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}

.content a:hover::after {
  width: 100%;
}

/* Responsive Design for Quick Facts */
@media (max-width: 768px) {
  #quick-facts {
    margin: 2rem 15px;
    border-radius: 16px;
    max-width: none;
    width: calc(100% - 30px);
  }
  
  #quick-facts h2 {
    font-size: 1.6rem;
    margin: 1.5rem 0 1rem 0;
  }
  
  .tabs {
    flex-direction: column;
    gap: 8px;
    padding: 0 15px;
    align-items: stretch;
  }
  
  .tab {
    flex: none;
    width: 100%;
    margin-bottom: 8px;
    font-size: 0.85rem;
    padding: 12px 16px;
    text-align: center;
  }
  
  .tab-content {
    padding: 1.5rem 15px;
  }
  
  .content p:first-child {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .content p:last-child {
    margin-left: 0;
    padding-left: 15px;
    border-left-width: 2px;
  }
}

@media (max-width: 480px) {
  #quick-facts {
    margin: 1.5rem 10px;
    width: calc(100% - 20px);
  }
  
  #quick-facts h2 {
    font-size: 1.4rem;
    margin: 1rem 0 0.8rem 0;
  }
  
  .tabs {
    padding: 0 10px;
  }
  
  .tab {
    font-size: 0.8rem;
    padding: 10px 12px;
    margin-bottom: 6px;
  }
  
  .tab-content {
    padding: 1rem 10px;
  }
  
  .content p:first-child {
    font-size: 1rem;
  }
  
  .content p:last-child {
    padding-left: 12px;
  }
}

/* =============================================================================
   Enhanced Setting Controls
   - Modern styling for individual setting controls.
============================================================================= */
.dark-mode-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

/* =============================================================================
   Links & Buttons
   - Styling for anchor tags, hover effects, and button appearances.
============================================================================= */
a {
  text-decoration: none;
  color: aquamarine;
}

a:hover {
  text-decoration: underline;
  font-size: 20px;
  color: turquoise;
}

a:active {
  text-decoration: none;
  color: navy;
}

a::after {
  text-decoration: none;
  color: navy;
}

button {
  color: aquamarine;
  background-color: black;
}

button:active,
button:hover {
  background-color: #000;
}

/* =============================================================================
   FAQ Components
   - Styles for expandable FAQ sections using existing paragraph-box style
============================================================================= */

.faq-section {
  margin: 2rem auto;
  max-width: 1200px;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  overflow: hidden;
  position: relative;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: aquamarine;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: turquoise;
  background-color: transparent;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: inherit;
}

.faq-icon {
  font-size: 2rem;
  font-weight: bold;
  color: aquamarine;
  transition: transform 0.3s ease, color 0.3s ease;
  min-width: 2rem;
  text-align: center;
}

.faq-question:hover .faq-icon {
  color: turquoise;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  color: turquoise;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease, margin 0.4s ease;
  margin-top: 0;
  padding-top: 0;
}

.faq-answer.active {
  max-height: 1000px;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(127, 255, 212, 0.3);
}

.faq-answer p {
  margin: 0 0 1rem 0;
  line-height: 1.7;
  opacity: 0.9;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.faq-answer li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  opacity: 0.9;
}

.faq-answer a {
  color: aquamarine;
  text-decoration: underline;
  text-decoration-color: rgba(127, 255, 212, 0.3);
  transition: all 0.3s ease;
}

.faq-answer a:hover {
  color: turquoise;
  text-decoration-color: turquoise;
  font-size: inherit;
}

/* =============================================================================
   Home Page Hero Section
   - Engaging hero section with achievements and stats
============================================================================= */

.hero-section {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content {
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.8), rgba(127, 255, 212, 0.1));
  padding: 2rem 2.5rem;
  border-radius: 20px;
  border: 2px solid rgba(127, 255, 212, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: 700px;
  max-width: 100%;
  margin: 0 auto;
}

/* Wide hero content for index page */
.hero-content.wide {
  width: 900px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  width: 100%;
}

.hero-stats .stat-item {
  text-align: center;
  padding: 1.5rem 2rem;
  background: rgba(127, 255, 212, 0.1);
  border-radius: 15px;
  border: 1px solid rgba(127, 255, 212, 0.3);
  min-width: 180px;
  width: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: visible;
  white-space: nowrap;
}

.hero-stats .stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(127, 255, 212, 0.2);
}

.hero-stats .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  color: aquamarine;
  text-shadow: 0 0 8px rgba(127, 255, 212, 0.6);
  line-height: 1.2;
  margin-bottom: 0.3rem;
  height: auto;
  overflow: visible;
  box-sizing: content-box;
  padding: 0.2rem 0;
}

.hero-stats .stat-label {
  display: block;
  font-size: 0.85rem;
  color: turquoise;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* =============================================================================
   Highlights Section
   - Achievement cards and success stories
============================================================================= */

.highlights-section {
  margin: 4rem auto;
  max-width: 1200px;
}

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

.highlight-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid rgba(127, 255, 212, 0.3);
}

.highlight-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(127, 255, 212, 0.2);
  border-color: rgba(127, 255, 212, 0.6);
}

.highlight-icon {
  text-align: center;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
}

.highlight-card h3 {
  color: aquamarine;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  text-align: center;
  text-shadow: 0 0 5px rgba(127, 255, 212, 0.5);
}

.highlight-card p {
  text-align: center;
  line-height: 1.6;
  opacity: 0.9;
}

/* =============================================================================
   Call-to-Action Section
   - Engagement buttons and team interaction
============================================================================= */

.cta-section {
  margin: 4rem auto;
  max-width: 1000px;
}

.cta-container {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.9), rgba(127, 255, 212, 0.05));
  border: 2px solid rgba(127, 255, 212, 0.4);
}

.cta-title {
  font-size: 2rem;
  color: aquamarine;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(127, 255, 212, 0.5);
}

.cta-description {
  font-size: 1.2rem;
  color: turquoise;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  line-height: 1.6;
}

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

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-size: 1.1rem;
  min-width: 160px;
  justify-content: center;
}

.cta-button.primary {
  background: linear-gradient(145deg, aquamarine, turquoise);
  color: black;
  box-shadow: 0 5px 15px rgba(127, 255, 212, 0.3);
}

.cta-button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(127, 255, 212, 0.4);
  filter: brightness(1.1);
}

.cta-button.secondary {
  background: rgba(127, 255, 212, 0.1);
  color: aquamarine;
  border: 2px solid aquamarine;
}

.cta-button.secondary:hover {
  background: aquamarine;
  color: black;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(127, 255, 212, 0.3);
}

.cta-button.tertiary {
  background: rgba(64, 224, 208, 0.1);
  color: turquoise;
  border: 2px solid turquoise;
}

.cta-button.tertiary:hover {
  background: turquoise;
  color: black;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(64, 224, 208, 0.3);
}

/* Mobile Responsiveness for Hero and Highlights */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-stats {
    gap: 1.5rem;
  }
  
  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 280px;
  }
}

/* =============================================================================
   Enhanced Quick Facts Section
   - Improved styling for facts presentation
============================================================================= */

.quick-facts-section {
  margin: 4rem auto;
  max-width: 1200px;
}

.facts-container {
  border: 2px solid rgba(127, 255, 212, 0.4);
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.8), rgba(127, 255, 212, 0.05));
}

.facts-intro {
  text-align: center;
  font-size: 1.2rem;
  color: turquoise;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* =============================================================================
   Enhanced Team Showcase Section
   - Better presentation for team members
============================================================================= */

.team-showcase-section {
  margin: 4rem auto;
  max-width: 1200px;
}

.team-intro {
  text-align: center;
  margin-bottom: 3rem;
  border: 2px solid rgba(127, 255, 212, 0.4);
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.8), rgba(127, 255, 212, 0.05));
}

.team-intro p {
  font-size: 1.2rem;
  color: turquoise;
  opacity: 0.9;
  line-height: 1.6;
  text-align: center;
}

/* =============================================================================
   SVG Icon Styling
   - Professional styling for SVG icons replacing emojis
============================================================================= */

/* Hero Section Icons */
.hero-trophy-icon {
  color: #FFD700;
  vertical-align: middle;
  margin-right: 0.5rem;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
}

/* Section Title Icons */
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  text-align: center;
  font-size: 2.2rem;
  color: aquamarine;
  margin-bottom: 3rem;
  text-shadow: 0 0 10px rgba(127, 255, 212, 0.5);
}

.section-icon {
  color: aquamarine;
  filter: drop-shadow(0 0 8px rgba(127, 255, 212, 0.4));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.section-title:hover .section-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 12px rgba(127, 255, 212, 0.6));
}

/* Highlight Card Icons */
.highlight-icon svg {
  color: aquamarine;
  filter: drop-shadow(0 0 10px rgba(127, 255, 212, 0.5));
  transition: all 0.3s ease;
}

.highlight-card:hover .highlight-icon svg {
  color: turquoise;
  filter: drop-shadow(0 0 15px rgba(64, 224, 208, 0.6));
}

/* CTA Button Icons */
.button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button-icon svg {
  transition: transform 0.2s ease;
}

.cta-button:hover .button-icon svg {
  transform: scale(1.1);
}

/* Specific button icon colors */
.cta-button.primary .button-icon svg {
  color: inherit;
}

.cta-button.secondary .button-icon svg {
  color: aquamarine;
}

.cta-button.secondary:hover .button-icon svg {
  color: black;
}

.cta-button.tertiary .button-icon svg {
  color: turquoise;
}

.cta-button.tertiary:hover .button-icon svg {
  color: black;
}

/* Table of Contents Grid */
.toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.toc-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.toc-item:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 255, 255, 0.2);
}

.toc-item h3 {
  color: var(--accent-color);
  margin: 0 0 10px 0;
  font-size: 1.2em;
}

.toc-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95em;
  line-height: 1.5;
}

/* Mobile responsiveness for icons */
@media (max-width: 768px) {
  .section-title {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .section-icon {
    width: 24px;
    height: 24px;
  }
  
  .highlight-icon svg {
    width: 40px;
    height: 40px;
  }
}

/* Rounded corners for specific elements */
#backToTop,
#darkModeToggle {
  border-radius: 10%;
}

/* For the gallery page */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* =============================================================================
   Enhanced Gallery & Media Pages
   - Modern responsive layouts with advanced functionality
============================================================================= */

/* Gallery Controls */
.gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2rem auto;
  padding: 1rem 2rem;
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.filter-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid rgba(0, 255, 255, 0.3);
  color: var(--text-color);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(0, 255, 255, 0.2);
  border-color: rgba(0, 255, 255, 0.8);
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

.view-toggle {
  display: flex;
  gap: 0.5rem;
}

.view-btn {
  padding: 0.5rem;
  background: transparent;
  border: 1px solid rgba(0, 255, 255, 0.3);
  color: var(--text-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.view-btn:hover,
.view-btn.active {
  background: rgba(0, 255, 255, 0.2);
  border-color: rgba(0, 255, 255, 0.8);
}

/* Gallery Container */
.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.gallery-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.gallery-grid.gallery-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.gallery-grid.gallery-masonry {
  columns: 3;
  column-gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  break-inside: avoid;
  margin-bottom: 1.5rem;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
  border-color: rgba(0, 255, 255, 0.8);
}

.image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(30, 60, 114, 0.8) 100%
  );
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

.gallery-item:hover .image-overlay {
  opacity: 1;
}

.image-overlay h3 {
  color: white;
  font-size: 1.2rem;
  margin: 0 0 0.5rem 0;
  font-weight: 600;
}

.image-overlay p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin: 0 0 1rem 0;
  line-height: 1.4;
}

.view-btn-overlay {
  background: rgba(0, 255, 255, 0.2);
  border: 2px solid rgba(0, 255, 255, 0.8);
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-btn-overlay:hover {
  background: rgba(0, 255, 255, 0.4);
  transform: scale(1.1);
}

/* Image Modal/Lightbox */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.image-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.modal-close {
  position: absolute;
  top: -50px;
  right: -10px;
  background: none;
  border: none;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10001;
}

.modal-close:hover {
  color: rgba(0, 255, 255, 0.8);
  transform: scale(1.1);
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 255, 255, 0.2);
  border: 2px solid rgba(0, 255, 255, 0.5);
  color: white;
  font-size: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-prev {
  left: -80px;
}

.modal-next {
  right: -80px;
}

.modal-nav:hover {
  background: rgba(0, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.modal-info {
  text-align: center;
  margin-top: 1rem;
  color: white;
  max-width: 500px;
}

.modal-title {
  font-size: 1.5rem;
  margin: 0 0 0.5rem 0;
  color: rgba(0, 255, 255, 0.9);
}

.modal-description {
  font-size: 1rem;
  margin: 0;
  opacity: 0.9;
  line-height: 1.5;
}

/* Media Page Styles */
.media-hero {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(30, 60, 114, 0.3));
  border-radius: 20px;
  margin: 2rem auto;
  max-width: 1200px;
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  background: linear-gradient(45deg, #00ffff, #66d9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.hero-description {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Media Categories */
.media-categories {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.category-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
  border-color: rgba(0, 255, 255, 0.8);
}

.category-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.category-icon svg {
  color: rgba(0, 255, 255, 0.8);
  filter: drop-shadow(0 4px 8px rgba(0, 255, 255, 0.3));
}

.category-card h3 {
  font-size: 1.4rem;
  margin: 0 0 1rem 0;
  color: rgba(0, 255, 255, 0.9);
}

.category-card p {
  opacity: 0.8;
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
}

.category-stats {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

.stat-item svg {
  width: 16px;
  height: 16px;
}

/* Latest Updates */
.latest-updates {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.latest-updates h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: rgba(0, 255, 255, 0.9);
}

.updates-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.update-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 15px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.update-card:hover {
  transform: translateX(5px);
  border-color: rgba(0, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.update-date {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(30, 60, 114, 0.3));
  border-radius: 10px;
  padding: 0.8rem;
  text-align: center;
  min-width: 80px;
  border: 1px solid rgba(0, 255, 255, 0.3);
}

.update-date .month {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(0, 255, 255, 0.9);
  margin-bottom: 0.2rem;
}

.update-date .day {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.update-content {
  flex: 1;
}

.update-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  color: rgba(0, 255, 255, 0.9);
}

.update-content p {
  margin: 0 0 1rem 0;
  opacity: 0.8;
  line-height: 1.5;
}

.update-link {
  color: rgba(0, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.update-link:hover {
  color: rgba(0, 255, 255, 1);
  text-decoration: underline;
}

/* Social Media Section */
.social-media {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.social-media h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: rgba(0, 255, 255, 0.9);
}

.social-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.social-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.social-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 255, 255, 0.3);
}

.social-card.facebook:hover {
  border-color: #1877f2;
  box-shadow: 0 15px 35px rgba(24, 119, 242, 0.3);
}

.social-card.ftc:hover {
  border-color: #ff6b35;
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.3);
}

.social-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.social-card h3 {
  margin: 0 0 1rem 0;
  font-size: 1.3rem;
  color: rgba(0, 255, 255, 0.9);
}

.social-card p {
  margin: 0 0 1.5rem 0;
  opacity: 0.8;
  line-height: 1.5;
}

.social-link {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(30, 60, 114, 0.3));
  border: 1px solid rgba(0, 255, 255, 0.5);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.3), rgba(30, 60, 114, 0.4));
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 255, 255, 0.3);
}

/* Animations */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fade-in-up 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
  .gallery-controls {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .filter-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .gallery-grid.gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .gallery-grid.gallery-masonry {
    columns: 2;
  }
  
  .modal-nav {
    display: none;
  }
  
  .modal-content {
    padding: 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .category-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .category-card {
    padding: 1.5rem;
  }
  
  .update-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .update-date {
    align-self: center;
  }
  
  .social-cards {
    grid-template-columns: 1fr;
  }
  
  .media-hero,
  .media-categories,
  .latest-updates,
  .social-media {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 480px) {
  .gallery-container {
    padding: 0 1rem;
  }
  
  .gallery-controls {
    margin: 1rem;
    padding: 0.8rem;
  }
  
  .filter-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .gallery-grid.gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid.gallery-masonry {
    columns: 1;
  }
  
  .image-modal {
    padding: 1rem;
  }
  
  .modal-close {
    top: -40px;
    right: 0;
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .category-card h3 {
    font-size: 1.2rem;
  }
  
  .category-icon svg,
  .category-icon img {
    width: 48px;
    height: 48px;
  }
  
  .updates-grid {
    gap: 1rem;
  }
  
  .update-date {
    min-width: 70px;
  }
  
  .update-date .day {
    font-size: 1.3rem;
  }
  
  .social-icon svg {
    width: 28px;
    height: 28px;
  }
}

/* Performance optimizations */
.gallery-item img {
  will-change: transform;
}

.image-overlay {
  will-change: opacity;
}

.modal-content {
  will-change: transform;
}

/* Accessibility improvements */
.filter-btn:focus,
.view-btn:focus,
.category-card:focus {
  outline: 2px solid rgba(0, 255, 255, 0.8);
  outline-offset: 2px;
}

.category-card:focus {
  transform: translateY(-5px);
}

/* Print styles */
@media print {
  .gallery-controls,
  .modal-nav,
  .modal-close,
  .view-btn-overlay {
    display: none;
  }
  
  .gallery-item {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* =============================================================================
   Sponsorship Page Styles
   - Modern sponsorship page with tiers, benefits, and contact sections
============================================================================= */

/* Sponsorship Hero */
.sponsor-hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(30, 60, 114, 0.3));
  border-radius: 20px;
  margin: 2rem auto;
  max-width: 1200px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.sponsor-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.3; }
  50% { transform: scale(1.1) rotate(180deg); opacity: 0.1; }
}

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

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  min-width: 120px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

/* Why Sponsor Section */
.why-sponsor {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.why-sponsor h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: rgba(0, 255, 255, 0.9);
}

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

.benefit-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.benefit-card:hover::before {
  left: 100%;
}

.benefit-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 255, 255, 0.8);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
}

.benefit-icon {
  margin-bottom: 1.5rem;
  color: rgba(0, 255, 255, 0.8);
  display: flex;
  justify-content: center;
}

.benefit-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: rgba(0, 255, 255, 0.9);
}

.benefit-card p {
  opacity: 0.8;
  line-height: 1.6;
  margin: 0;
}

/* Sponsorship Tiers */
.sponsorship-tiers {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 20px;
}

.sponsorship-tiers h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: rgba(0, 255, 255, 0.9);
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: start;
}

.tier-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.tier-card.featured {
  transform: scale(1.05);
  border-color: rgba(0, 255, 255, 0.6);
  box-shadow: 0 20px 50px rgba(0, 255, 255, 0.2);
}

.tier-card.bronze:hover {
  border-color: #cd7f32;
  box-shadow: 0 15px 40px rgba(205, 127, 50, 0.3);
}

.tier-card.silver:hover {
  border-color: #c0c0c0;
  box-shadow: 0 15px 40px rgba(192, 192, 192, 0.3);
}

.tier-card.gold:hover {
  border-color: #ffd700;
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
}

.tier-header {
  padding: 2rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  position: relative;
}

.tier-card.bronze .tier-header {
  background: linear-gradient(135deg, rgba(205, 127, 50, 0.2), rgba(205, 127, 50, 0.1));
}

.tier-card.silver .tier-header {
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.2), rgba(192, 192, 192, 0.1));
}

.tier-card.gold .tier-header {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
}

.tier-header h3 {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  color: rgba(0, 255, 255, 0.9);
}

.tier-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.tier-badge {
  position: absolute;
  top: 10px;
  right: 20px;
  background: linear-gradient(135deg, #00ffff, #66d9ff);
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.4);
}

.tier-benefits {
  padding: 2rem;
}

.tier-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tier-benefits li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tier-benefits li:last-child {
  border-bottom: none;
}

.tier-benefits svg {
  color: rgba(0, 255, 255, 0.8);
  flex-shrink: 0;
}

/* Impact Section */
.impact-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.impact-section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: rgba(0, 255, 255, 0.9);
}

.impact-grid {
  display: grid;
  gap: 2rem;
}

.impact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.impact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 255, 255, 0.8);
  box-shadow: 0 15px 35px rgba(0, 255, 255, 0.2);
}

.impact-card:nth-child(even) {
  direction: rtl;
}

.impact-card:nth-child(even) .impact-content {
  direction: ltr;
}

.impact-image {
  height: 250px;
  overflow: hidden;
}

.impact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.impact-card:hover .impact-image img {
  transform: scale(1.1);
}

.impact-content {
  padding: 2rem;
}

.impact-content h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: rgba(0, 255, 255, 0.9);
}

.impact-content p {
  opacity: 0.8;
  line-height: 1.6;
  margin: 0;
}

/* Current Sponsors */
.current-sponsors {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 20px;
}

.current-sponsors h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: rgba(0, 255, 255, 0.9);
}

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

.sponsor-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.sponsor-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 255, 255, 0.8);
  box-shadow: 0 15px 35px rgba(0, 255, 255, 0.2);
}

.sponsor-card img {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 10px;
}

.sponsor-card h4 {
  margin-bottom: 0.5rem;
  color: rgba(0, 255, 255, 0.9);
}

.sponsor-card p {
  opacity: 0.8;
  font-size: 0.9rem;
  margin: 0;
}

.sponsor-placeholder {
  background: rgba(255, 255, 255, 0.03);
  border: 2px dashed rgba(0, 255, 255, 0.3);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.sponsor-placeholder:hover {
  border-color: rgba(0, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
}

.placeholder-content svg {
  color: rgba(0, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.placeholder-content h4 {
  color: rgba(0, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.placeholder-content p {
  opacity: 0.6;
  font-size: 0.9rem;
  margin: 0;
}

/* Contact Section */
.sponsor-contact {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.contact-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: rgba(0, 255, 255, 0.9);
}

.contact-content > p {
  font-size: 1.2rem;
  opacity: 0.8;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 255, 255, 0.8);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
}

.contact-icon {
  margin-bottom: 1.5rem;
  color: rgba(0, 255, 255, 0.8);
  display: flex;
  justify-content: center;
}

.contact-card h3 {
  margin-bottom: 1rem;
  color: rgba(0, 255, 255, 0.9);
  font-size: 1.3rem;
}

.contact-card p {
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.contact-link {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(30, 60, 114, 0.3));
  border: 1px solid rgba(0, 255, 255, 0.5);
  color: rgba(0, 255, 255, 0.9);
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.contact-link:hover {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.3), rgba(30, 60, 114, 0.4));
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 255, 255, 0.3);
  color: white;
}

/* Responsive Design for Sponsorship Page */
@media (max-width: 768px) {
  .sponsor-hero {
    padding: 2rem 1rem;
  }
  
  .hero-stats {
    gap: 1rem;
  }
  
  .stat-card {
    min-width: 100px;
    padding: 1rem;
  }
  
  .stat-card .stat-number {
    font-size: 1.5rem;
  }
  
  .hero-stats .stat-number {
    font-size: 2rem;
  }
  
  .why-sponsor,
  .sponsorship-tiers,
  .impact-section,
  .current-sponsors,
  .sponsor-contact {
    padding: 2rem 1rem;
  }
  
  .benefits-grid,
  .tiers-grid,
  .sponsors-grid,
  .contact-methods {
    grid-template-columns: 1fr;
  }
  
  .tier-card.featured {
    transform: none;
  }
  
  .impact-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .impact-card:nth-child(even) {
    direction: ltr;
  }
  
  .impact-image {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    align-items: center;
  }
  
  .stat-card {
    width: 200px;
  }
  
  .tier-header {
    padding: 1.5rem;
  }
  
  .tier-benefits {
    padding: 1.5rem;
  }
  
  .impact-content {
    padding: 1.5rem;
  }
  
  .contact-card {
    padding: 1.5rem;
  }
  
  .benefit-card {
    padding: 1.5rem;
  }
}

/* =============================================================================
   Utility Classes
   - Helper classes for common layout adjustments.
============================================================================= */
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 40%;
}


/* =============================================================================
   Enhanced Settings Panel
   - Modern styling for the settings panel and controls.
============================================================================= */
.settings-panel {
  position: fixed;
  top: 0;
  left: -350px; /* Panel is hidden off-screen by default */
  width: 350px;
  height: 100vh;
  box-sizing: border-box;
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.8), rgba(30, 60, 114, 0.6));
  backdrop-filter: blur(20px);
  box-shadow: 2px 0 30px rgba(0, 0, 0, 0.5);
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 30px;
  z-index: var(--z-settings-panel);
  border-right: 1px solid rgba(0, 255, 255, 0.2);
  overflow-y: auto;
}

/* When the panel is open, slide it into view */
.settings-panel.open {
  left: 0;
}

/* Settings panel heading */
.settings-panel h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #00ffff;
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0, 255, 255, 0.3);
  position: relative;
}

.settings-panel h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00ffff, transparent);
  border-radius: 1px;
}

/* Enhanced setting group containers */
.dark-mode-toggle,
.font-size-adjustment,
.high-contrast-toggle,
.language-selector {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  transition: all 0.3s ease;
}

.dark-mode-toggle:hover,
.font-size-adjustment:hover,
.high-contrast-toggle:hover,
.language-selector:hover {
  background: rgba(0, 255, 255, 0.05);
  border-color: rgba(0, 255, 255, 0.2);
  transform: translateX(5px);
}

/* Enhanced labels */
.settings-panel label {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  display: block;
  margin-bottom: 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Custom checkbox styling */
input[type="checkbox"] {
  appearance: none;
  width: 50px;
  height: 25px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

input[type="checkbox"]::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 19px;
  height: 19px;
  background: #ffffff;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #00ffff, #00d4ff);
  border-color: #00ffff;
}

input[type="checkbox"]:checked::before {
  left: 27px;
  background: #ffffff;
}

/* Custom range slider styling */
input[type="range"] {
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  outline: none;
  margin: 10px 0;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #00ffff, #00d4ff);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 255, 255, 0.3);
  transition: all 0.3s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(0, 255, 255, 0.5);
}

/* Custom select styling */
select {
  width: 100%;
  padding: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

select:hover,
select:focus {
  border-color: rgba(0, 255, 255, 0.4);
  background: rgba(0, 255, 255, 0.1);
}

select option {
  background: #1a1a1a;
  color: #ffffff;
}

/* Responsive Design for Settings Panel */
@media (max-width: 768px) {
  .settings-panel {
    width: 100vw;
    left: -100vw;
    padding: 20px;
  }
  
  .gear-icon {
    bottom: 70px;
    left: 15px;
    width: 45px;
    height: 45px;
  }
  
  .gear-icon svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .settings-panel {
    padding: 15px;
  }
  
  .settings-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .dark-mode-toggle,
  .font-size-adjustment,
  .high-contrast-toggle,
  .language-selector {
    padding: 15px;
    margin: 15px 0;
  }
  
  .gear-icon svg {
    width: 22px;
    height: 22px;
  }
}

/* Enhanced Gear Icon for toggling the settings panel */
.gear-icon {
  position: fixed;
  bottom: 80px;
  left: 20px;
  cursor: pointer;
  z-index: var(--z-settings-gear);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 212, 255, 0.05));
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.gear-icon:hover {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(0, 212, 255, 0.1));
  border-color: rgba(0, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 255, 255, 0.2);
}

.gear-icon svg {
  width: 28px;
  height: 28px;
  color: #00ffff;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.gear-icon:hover svg {
  transform: rotate(90deg) scale(1.1);
  color: #ffffff;
  filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.6));
}

/* Enhanced rotation animation when panel is open */
.gear-icon.active svg {
  transform: rotate(180deg) scale(1.05);
  color: #ffffff;
}

/* Mobile styles for gear icon */
@media (max-width: 768px) {
  .gear-icon {
    width: 40px;
    height: 40px;
    bottom: 60px;
    left: 10px;
  }
  
  .gear-icon svg {
    width: 22px;
    height: 22px;
  }
  
  .gear-icon:hover {
    transform: translateY(-1px);
  }
  
  .gear-icon:hover svg {
    transform: rotate(90deg) scale(1.05);
  }
}

/* High Contrast Mode - Better readability and visibility */
.high-contrast {
  background-color: #000000 !important;
  color: #ffffff !important;
}

.high-contrast body {
  background-color: #000000 !important;
  color: #ffffff !important;
}

.high-contrast * {
  background-color: inherit !important;
  color: inherit !important;
  border-color: #ffffff !important;
}

.high-contrast h1, .high-contrast h2, .high-contrast h3, .high-contrast h4, .high-contrast h5, .high-contrast h6 {
  color: #ffff00 !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9) !important;
}

.high-contrast p, .high-contrast label, .high-contrast span, .high-contrast li {
  color: #ffffff !important;
}

.high-contrast a {
  color: #00ff00 !important;
  text-decoration: underline;
}

.high-contrast button, .high-contrast input[type="button"], .high-contrast input[type="submit"] {
  background-color: #ffff00 !important;
  color: #000000 !important;
  border: 2px solid #ffff00 !important;
}

.high-contrast nav {
  background-color: #000000 !important;
  border: 2px solid #ffffff !important;
}

.high-contrast .settings-panel {
  background-color: #000000 !important;
  border: 2px solid #00ff00 !important;
  left: -350px !important;
}

.high-contrast .settings-panel.open {
  left: 0 !important;
}

.high-contrast .gear-icon {
  background-color: transparent !important;
  color: #ffff00 !important;
}

.high-contrast .gear-icon svg {
  stroke: #ffff00 !important;
  fill: none !important;
}

.high-contrast .nav-sidebar-toggle {
  background: #000000 !important;
  border-color: #ffff00 !important;
}

.high-contrast .nav-sidebar-toggle svg {
  stroke: #ffff00 !important;
}

.high-contrast .nav-sidebar-toggle:hover {
  background: rgba(255, 255, 0, 0.2) !important;
}

/* =============================================================================
   Navigation
   - Modern, professional styles for top navigation tabs.
============================================================================= */
nav.top-tabs {
  background: linear-gradient(135deg, #2c3e50 0%, #4a6074 50%, #607d8b 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-navigation);
  overflow: hidden;
  animation: slideDown 0.8s ease-out forwards;
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(0, 180, 219, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  padding: 0;
  will-change: top, left, width, transform;
}

/* Scrolled state - vertical navigation sidebar on the left */
nav.top-tabs.scrolled {
  top: 60px;
  left: 10px;
  right: auto;
  transform: none;
  width: auto;
  max-width: none;
  background: rgba(44, 62, 80, 0.95);
  border-radius: 15px;
  padding: 12px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 180, 219, 0.3);
  animation: slideInLeft 0.4s ease-out forwards;
  display: flex !important;
  flex-direction: column !important;
  height: auto;
  position: fixed;
  z-index: var(--z-navigation);
  width: max-content;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sidebar toggle button */
.nav-sidebar-toggle {
  position: fixed;
  left: 10px;
  top: 120px;
  width: 40px;
  height: 50px;
  background: rgba(44, 62, 80, 0.95);
  border: 1px solid rgba(0, 180, 219, 0.5);
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: calc(var(--z-navigation) + 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-sidebar-toggle:hover {
  background: rgba(0, 180, 219, 0.3);
  border-color: rgba(0, 180, 219, 0.8);
}

.nav-sidebar-toggle svg {
  transition: transform 0.3s ease;
  stroke: #00ffff;
  transform: rotate(0deg);
}

nav.top-tabs.scrolled .nav-sidebar-toggle svg {
  transform: rotate(0deg);
}

nav.top-tabs.scrolled .nav-sidebar-toggle {
  display: flex;
}

/* Collapsed sidebar state */
nav.top-tabs.scrolled.sidebar-collapsed {
  transform: translateX(calc(-100% - 20px));
}

/* Toggle button rotates based on sidebar state */
/* When collapsed, arrow points right (expand) */
.nav-sidebar-toggle.collapsed svg {
  transform: rotate(0deg) !important;
}

/* When expanded, arrow points left (collapse) */
.nav-sidebar-toggle.expanded svg {
  transform: rotate(180deg) !important;
}

/* Hover expansion when collapsed */
nav.top-tabs.scrolled.sidebar-collapsed.sidebar-hover-expanded {
  transform: translateX(0);
}

/* Toggle button position adjustments */
nav.top-tabs.scrolled.sidebar-collapsed.sidebar-hover-expanded .nav-sidebar-toggle svg {
  transform: rotate(180deg);
}

/* Adjust nav position when settings panel is open */
nav.top-tabs.scrolled.nav-with-settings-open {
  left: 370px;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Wide screen optimizations */
@media (min-width: 1200px) {
  nav.top-tabs.scrolled {
    max-width: none;
    padding: 12px 0;
  }
  
  nav.top-tabs.scrolled .nav-menu li a {
    padding: 14px 16px;
    font-size: 14px;
    gap: 8px;
  }
}

/* Ultra-wide screen optimizations */
@media (min-width: 1600px) {
  nav.top-tabs.scrolled {
    max-width: none;
    padding: 14px 0;
  }
  
  nav.top-tabs.scrolled .nav-menu li a {
    padding: 16px 18px;
    font-size: 14px;
    gap: 10px;
  }
  
  nav.top-tabs.scrolled .nav-menu .nav-icon {
    width: 22px;
    height: 22px;
  }
}

nav.top-tabs .nav-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrolled state navigation menu - vertical layout */
nav.top-tabs.scrolled .nav-menu {
  gap: 0 !important;
  padding: 0 !important;
  flex-direction: column !important;
  width: auto !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
}

/* Hide desktop nav on mobile - moved to main mobile section below */

/* Mobile navigation styles - now using horizontal SVG icons */

nav.top-tabs .nav-menu li {
  position: relative;
  margin: 0 2px;
}

nav.top-tabs .nav-menu li a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 28px;
  text-align: center;
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px 8px 0 0;
  position: relative;
  overflow: hidden;
}

/* Wide screen navigation at top */
@media (min-width: 1200px) {
  nav.top-tabs .nav-menu li a {
    padding: 22px 32px;
    font-size: 19px;
    gap: 12px;
  }
}

/* Ultra-wide screen navigation at top */
@media (min-width: 1600px) {
  nav.top-tabs .nav-menu li a {
    padding: 24px 36px;
    font-size: 20px;
    gap: 14px;
  }
  
  nav.top-tabs .nav-menu .nav-icon {
    width: 26px;
    height: 26px;
  }
}

/* Scrolled state navigation links - vertical compact */
nav.top-tabs.scrolled .nav-menu li a {
  padding: 12px 14px;
  font-size: 13px;
  gap: 6px;
  border-radius: 6px;
  letter-spacing: 0.4px;
  justify-content: flex-start;
  width: 100%;
  margin: 2px 0;
  border-radius: 8px 8px 0 0;
}

nav.top-tabs.scrolled .nav-menu .nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Mobile scrolled navigation - vertical on left side */
@media (max-width: 768px) {
  nav.top-tabs.scrolled {
    top: 80px !important;
    left: 5px !important;
    right: auto !important;
    max-width: none !important;
    padding: 8px 0;
    border-radius: 12px;
    width: auto !important;
  }
  
  nav.top-tabs.scrolled .nav-menu {
    flex-direction: column;
    overflow: visible;
    scrollbar-width: auto;
    -ms-overflow-style: auto;
    gap: 0;
  }
  
  nav.top-tabs.scrolled .nav-menu::-webkit-scrollbar {
    display: auto;
  }
  
  nav.top-tabs.scrolled .nav-menu li {
    flex-shrink: 1;
  }
  
  nav.top-tabs.scrolled .nav-menu li a {
    padding: 10px 12px;
    font-size: 12px;
    gap: 4px;
    white-space: nowrap;
    justify-content: flex-start;
    width: 100%;
  }
  
  /* Mobile collapsed sidebar */
  nav.top-tabs.scrolled.sidebar-collapsed {
    transform: translateX(calc(-100% - 15px));
  }
  
  nav.top-tabs.scrolled.sidebar-collapsed.sidebar-hover-expanded {
    transform: translateX(0);
  }
  
  /* Mobile toggle button positioning */
  .nav-sidebar-toggle {
    top: 140px !important;
  }
}

/* Only hide text on very small screens when scrolled */
@media (max-width: 480px) {
  nav.top-tabs.scrolled .nav-menu li a .nav-text {
    display: none;
  }
  
  nav.top-tabs.scrolled .nav-menu li a {
    padding: 10px 12px;
    gap: 0;
    justify-content: center;
  }
}

/* Desktop SVG icon styles */
nav.top-tabs .nav-menu .nav-icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  transition: all 0.4s ease;
}

nav.top-tabs .nav-menu .nav-text {
  font-size: inherit;
  font-weight: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
}

/* Hover effect with sliding animation */
nav.top-tabs .nav-menu li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #00ffff, #00d4ff, #0099ff);
  transition: left 0.4s ease;
}

nav.top-tabs .nav-menu li a:hover::before {
  left: 0;
}

nav.top-tabs .nav-menu li a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #00ffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 255, 255, 0.2);
}

nav.top-tabs .nav-menu li a:hover .nav-icon {
  stroke: #00ffff;
  transform: scale(1.1);
}

/* Active page styling */
nav.top-tabs .nav-menu li a.active {
  background: rgba(0, 255, 255, 0.2);
  color: #00ffff;
  box-shadow: 0 4px 8px rgba(0, 255, 255, 0.3);
}

nav.top-tabs .nav-menu li a.active::before {
  left: 0;
  background: #00ffff;
}

nav.top-tabs .nav-menu li a.active .nav-icon {
  stroke: #00ffff;
}

/* Navigation spacer to prevent content from hiding behind fixed nav */
.nav-spacer {
  height: 0;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: height;
}

.nav-spacer.scrolled {
  height: 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .nav-spacer {
    height: 0;
  }
  
  nav.top-tabs .nav-menu li a {
    padding: 16px 20px;
    font-size: 17px;
  }
}
  
  /* Mobile nav header removed - using horizontal icons now */
  
  /* Mobile horizontal navigation with SVG icons */
  nav.top-tabs .nav-menu {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-around !important;
    align-items: center;
    flex-wrap: wrap;
    padding: 8px 4px;
    margin: 0;
    background: linear-gradient(135deg, #2c3e50 0%, #4a6074 50%, #607d8b 100%);
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: var(--z-navigation);
    gap: 2px;
  }
  
  nav.top-tabs .nav-menu li {
    flex: 1;
    margin: 0;
    border: none;
    min-width: 50px;
    max-width: 80px;
  }
  
  nav.top-tabs .nav-menu li a {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 4px;
    font-size: 10px;
    font-weight: 500;
    border-radius: 6px;
    text-align: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 50px;
    gap: 2px;
  }
  
  nav.top-tabs .nav-menu li a::before {
    display: none;
  }
  
  nav.top-tabs .nav-menu li a:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 255, 255, 0.3);
  }
  
  nav.top-tabs .nav-menu li a:active {
    transform: translateY(0);
  }
  
  /* SVG icon styles for mobile */
  nav.top-tabs .nav-menu .nav-icon {
    width: 18px;
    height: 18px;
    stroke: #ffffff;
    transition: all 0.3s ease;
    margin-bottom: 2px;
  }
  
  nav.top-tabs .nav-menu .nav-text {
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  
  nav.top-tabs .nav-menu li a:hover .nav-icon {
    stroke: #00ffff;
    transform: scale(1.1);
  }
  
  nav.top-tabs .nav-menu li a.active {
    background: rgba(0, 255, 255, 0.25);
  }
  
  nav.top-tabs .nav-menu li a.active .nav-icon {
    stroke: #00ffff;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  nav.top-tabs ul li a {
    padding: 16px 18px;
    font-size: 15px;
  }
}

/* =============================================================================
   Footer
   - Footer layout and link styles.
============================================================================= */
.site-footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #3a5169 100%);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
  color: #fff;
  padding: 30px 0 20px 0;
  text-align: center;
  margin-top: 0rem;
  border-top: 2px solid rgba(0, 180, 219, 0.3);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00ffff, transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

.footer-nav {
  margin-bottom: 15px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-nav li {
  position: relative;
  margin: 0;
}

.footer-nav a {
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

.footer-nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.footer-nav a:hover::before {
  left: 100%;
}

.footer-nav a:hover {
  color: #00ffff;
  background: rgba(0, 255, 255, 0.15);
  border-color: #00ffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 255, 255, 0.3);
}

.footer-nav a:active {
  transform: translateY(0);
  transition: transform 0.1s;
}

/* Mobile responsiveness for footer */
@media (max-width: 768px) {
  .site-footer {
    padding: 25px 10px 15px 10px;
    margin-top: 0rem;
  }
  
  .footer-nav ul {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-nav a {
    padding: 10px 16px;
    font-size: 14px;
    min-width: 120px;
  }
}

/* =============================================================================
   Back to Top Button
   - Button that appears to allow quick scroll-to-top, including hover effects.
============================================================================= */
.back-to-top {
  position: fixed;
  top: 50%;
  right: 20px;
  width: 50px;
  height: 50px;
  background-image: var(--backtotop-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: transparent !important;
  border: none;
  outline: none;
  cursor: pointer;
  z-index: var(--z-back-to-top);
  pointer-events: none;
  /* Initially hidden off-screen */
  transform: translateX(100%) translateY(-50%) scale(1);
  transition: background-size 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

/* When scrolled down, the button slides into view */
.back-to-top.show {
  transform: translateX(0) translateY(-50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* Hover effects for the back-to-top button */
.back-to-top:hover {
  background-size: 120%; /* Smooth scale-up effect */
  transform: translateX(0) translateY(-50%) scale(1.1);
}

/* Remove default highlight effects */
.back-to-top:hover,
.back-to-top:focus,
.back-to-top:active {
  background-color: transparent !important;
  outline: none;
  box-shadow: none;
  border: none;
  filter: none;
}

/* Mobile styles for back-to-top button */
@media (max-width: 768px) {
  .back-to-top {
    width: 35px;
    height: 35px;
    right: 10px;
    top: auto;
    bottom: 15px;
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.8;
    pointer-events: auto;
  }
  
  .back-to-top.show {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 1;
  }
  
  .back-to-top:hover {
    background-size: 110%;
    transform: translateY(0) translateX(0) scale(1.05);
  }
}

/* =============================================================================
   Gallery
   - Grid layout for image gallery and modal display styles.
============================================================================= */
#gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem;
}

.gallery-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  transform: translateZ(0);
}

.gallery-item:hover img {
  transform: scale(1.1) translateZ(0);
}

/* Description text below each gallery image */
.gallery-item .description {
  margin-top: 0.5rem;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: var(--primary-text-color);
  z-index: var(--z-content);
}

/* Modal Overlay for enlarged gallery view */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: var(--z-modal);
  align-items: center;
  justify-content: flex-start;
  padding-left: 20px;
}

/* Modal Content Container */
.modal-content {
  display: flex;
  background: #fff;
  width: 70%;
  max-width: 800px;
  border-radius: 8px;
  overflow: hidden;
  animation: slideIn 0.5s ease-out;
}

/* Modal Left: Enlarged Image Area */
.modal-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-left img {
  width: 100%;
  height: auto;
  max-width: 350px;
}

/* Modal Right: Detailed Description Area */
.modal-right {
  flex: 1;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-right .modal-description {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  color: #333;
  line-height: 1.5;
}

/* Close Button for Modal */
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* =============================================================================
   Meet the Team Section
   - Modern card-based layout for team members with consistent styling.
============================================================================= */

/* Main Team Section Container */
#meet-the-team {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 2rem;
  background: linear-gradient(145deg, rgba(0, 255, 255, 0.05), rgba(0, 212, 255, 0.02));
  border-radius: 20px;
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.2);
  overflow: hidden;
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#meet-the-team:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Team Section Heading */
#meet-the-team h2 {
  text-align: center;
  margin: 2rem 0 1.5rem 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  background: linear-gradient(135deg, #00ffff 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  position: relative;
}

#meet-the-team h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00ffff, transparent);
  border-radius: 2px;
}

/* Team Section Description */
#meet-the-team > p {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

/* Team Grid Layout */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 1rem 0;
}

/* Prevent gallery items from interfering with team grid layout */
.team-grid .gallery-item {
  display: none !important;
}

/* Individual Team Member Card */
.team-member {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  backdrop-filter: blur(10px);
}

.team-member:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(0, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(0, 255, 255, 0.4);
}

/* Member Image Container */
.member-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-member:hover .member-image img {
  transform: scale(1.1);
}

/* Image Overlay */
.member-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.8), rgba(0, 212, 255, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.team-member:hover .member-overlay {
  opacity: 1;
}

.view-details {
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  border-radius: 20px;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.team-member:hover .view-details {
  transform: translateY(0);
}

/* Member Information */
.member-info {
  padding: 1.5rem;
  text-align: center;
}

.member-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 0.5rem 0;
  background: linear-gradient(135deg, #00ffff 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: brightness(1.3);
}

body.light-mode .member-name {
  background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: brightness(1);
}

.member-role {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 0.25rem 0;
  font-weight: 500;
}

.member-grade {
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-style: italic;
}

/* Team Modal Styles */
.team-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.team-modal-content {
  display: flex;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
  max-width: 900px;
  width: 90%;
  border-radius: 20px;
  overflow: hidden;
  animation: slideInModal 0.4s ease-out;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  position: relative;
}

@keyframes slideInModal {
  0% { 
    opacity: 0; 
    transform: scale(0.8) translateY(50px);
  }
  100% { 
    opacity: 1; 
    transform: scale(1) translateY(0);
  }
}

/* Ensure close button stays visible during animations */
.team-modal.show .team-close {
  opacity: 1;
  visibility: visible;
  animation: fadeInCloseButton 0.3s ease-in 0.2s both;
}

@keyframes fadeInCloseButton {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.team-modal-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 212, 255, 0.05));
}

.team-modal-left img {
  width: 100%;
  height: auto;
  max-width: 350px;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.team-modal-right {
  flex: 1;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-modal-description {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2rem;
  color: #333;
  line-height: 1.7;
  text-align: center;
}

.team-close {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #666;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: var(--z-modal-content);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.1);
  user-select: none;
  pointer-events: auto;
}

.team-close:hover {
  color: #00ffff;
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  #meet-the-team {
    margin: 2rem 1rem;
    padding: 1.5rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .member-image {
    height: 200px;
  }
  
  .team-modal-content {
    flex-direction: column;
    max-width: 95%;
  }
  
  .team-modal-left,
  .team-modal-right {
    flex: none;
    padding: 1.5rem;
  }
  
  .team-modal-left img {
    max-width: 250px;
  }
  
  .team-modal-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  #meet-the-team h2 {
    font-size: 1.6rem;
  }
  
  .member-image {
    height: 180px;
  }
  
  .member-info {
    padding: 1rem;
  }
  
  .member-name {
    font-size: 1.1rem;
  }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 2s ease forwards;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInScale {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes slideInFromRight {
  from {
    transform: translateX(200px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

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

@keyframes slideInDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Scroll-triggered animation classes */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
}

.scroll-animate.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
}

.scroll-animate-left.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
}

.scroll-animate-right.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
}

.scroll-animate-scale.animate-in {
  opacity: 1;
  transform: scale(1);
}

/* =============================================================================
   Events Page Styles
   - Modern styling for events timeline, statistics, and competition information
============================================================================= */

.upcoming-events {
  padding: 2rem 0;
  background: transparent;
  position: relative;
  overflow: visible;
  z-index: 9;
}

/* SVG Wave Background */
.upcoming-events .section-wave-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80%; /* Extended to allow waves to overlap next section */
  z-index: -1;
  pointer-events: none;
}

.upcoming-events .section-wave-bg .shape-fill {
  fill: url(#upcoming-events-gradient);
}

.upcoming-events .container {
  position: relative;
  z-index: 1;
}

.upcoming-events h2 {
  color: white;
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
  text-shadow: 0 4px 20px rgba(0, 255, 255, 0.3);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.event-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.event-card:hover::before {
  left: 100%;
}

.event-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 255, 255, 0.25);
  border-color: rgba(0, 255, 255, 0.4);
}

.event-card.upcoming {
  border-color: rgba(255, 152, 0, 0.3);
}

.event-card.upcoming:hover {
  border-color: rgba(255, 152, 0, 0.6);
  box-shadow: 0 25px 50px rgba(255, 152, 0, 0.2);
}

.event-card.announcement {
  border-color: rgba(76, 175, 80, 0.3);
}

.event-card.announcement:hover {
  border-color: rgba(76, 175, 80, 0.6);
  box-shadow: 0 25px 50px rgba(76, 175, 80, 0.2);
}

.event-date {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(0, 255, 255, 0.1));
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
  position: relative;
  z-index: 2;
}

.event-card.upcoming .event-date {
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.2), rgba(255, 152, 0, 0.1));
  border-bottom-color: rgba(255, 152, 0, 0.2);
}

.event-card.announcement .event-date {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(76, 175, 80, 0.1));
  border-bottom-color: rgba(76, 175, 80, 0.2);
}

.event-date .month {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #00ffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.event-card.upcoming .event-date .month {
  color: #ff9800;
}

.event-card.announcement .event-date .month {
  color: #4caf50;
}

.event-date .day {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.event-content {
  padding: 2.5rem;
  position: relative;
  z-index: 2;
}

.event-content h3 {
  color: white;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.event-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #00ffff;
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.event-card.upcoming .event-location {
  color: #ff9800;
}

.event-card.announcement .event-location {
  color: #4caf50;
}

.event-location svg {
  flex-shrink: 0;
}

.event-description {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Event Links Styling */
.event-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.event-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.15), rgba(0, 255, 255, 0.05));
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 8px;
  color: #00ffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.event-links a.ftc-events-link {
  padding: 0.6rem 1rem;
}

.event-links a .link-logo {
  width: 100px;
  height: auto;
}

.event-links a.ftc-scout-link {
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
}

.event-links a .link-icon {
  width: 2em;
  height: 2em;
  fill: currentColor;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.event-links a .link-logo {
  transition: transform 0.3s ease;
}

.event-links a:hover .link-logo {
  transform: scale(1.05);
}

.event-links a span {
  font-size: 0.85rem;
  white-space: nowrap;
}

.event-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.event-links a:hover {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.25), rgba(0, 255, 255, 0.15));
  border-color: rgba(0, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.event-links a:hover::before {
  left: 100%;
}

.event-links a:active {
  transform: translateY(0);
}

/* Event card specific link colors */
.event-card.upcoming .event-links a {
  border-color: rgba(255, 152, 0, 0.3);
  color: #ff9800;
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.15), rgba(255, 152, 0, 0.05));
}

.event-card.upcoming .event-links a:hover {
  border-color: rgba(255, 152, 0, 0.6);
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.25), rgba(255, 152, 0, 0.15));
  box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

.event-card.announcement .event-links a {
  border-color: rgba(76, 175, 80, 0.3);
  color: #4caf50;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.05));
}

.event-card.announcement .event-links a:hover {
  border-color: rgba(76, 175, 80, 0.6);
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.25), rgba(76, 175, 80, 0.15));
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.event-status {
  display: flex;
  justify-content: flex-end;
}

.status-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

/* Status-based colors (completed/ongoing/upcoming) */
.status-badge.upcoming {
  background: linear-gradient(45deg, #ff9800, #ffb74d);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.status-badge.active,
.status-badge.ongoing {
  background: linear-gradient(45deg, #4caf50, #66bb6a);
  color: white;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
  animation: pulse 2s infinite;
}

.status-badge.completed {
  background: linear-gradient(45deg, #607d8b, #90a4ae);
  color: white;
  box-shadow: 0 4px 15px rgba(96, 125, 139, 0.3);
}

/* Event type-based colors (overrides status colors when type is specified) */
.status-badge.type-competition,
.status-badge.type-league-meet {
  background: linear-gradient(45deg, #2196f3, #42a5f5);
  color: white;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
}

.status-badge.type-qualifier {
  background: linear-gradient(45deg, #9c27b0, #ba68c8);
  color: white;
  box-shadow: 0 4px 15px rgba(156, 39, 176, 0.4);
}

.status-badge.type-tournament {
  background: linear-gradient(45deg, #ff5722, #ff8a65);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
}

.status-badge.type-championship {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  color: #1a1a2e;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
  font-weight: 900;
}

.status-badge.type-world-championship {
  background: linear-gradient(45deg, #e91e63, #f06292);
  color: white;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.5);
  font-weight: 900;
  animation: pulse 2s infinite;
}

.status-badge.type-milestone {
  background: linear-gradient(45deg, #00bcd4, #4dd0e1);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 188, 212, 0.4);
}

.status-badge.type-workshop {
  background: linear-gradient(45deg, #795548, #a1887f);
  color: white;
  box-shadow: 0 4px 15px rgba(121, 85, 72, 0.4);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

.events-hero {
  padding: 8rem 0 4rem;
  text-align: center;
  color: white;
  position: relative;
  background: transparent;
  overflow: visible;
  z-index: 10;
}

/* SVG Wave Background */
.events-hero .hero-wave-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 125%; /* Extended to allow waves to overlap next section */
  z-index: -1;
  pointer-events: none;
}

.events-hero .hero-wave-bg .shape-fill {
  fill: url(#events-hero-gradient);
}

.events-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.events-hero .container,
.events-hero .hero-content {
  position: relative;
  z-index: 1;
}

.events-hero .hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 255, 255, 0.5);
}

.events-hero .hero-description {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.competition-timeline {
  padding: 6rem 0;
  background: transparent;
  position: relative;
  overflow: visible;
  z-index: 8;
}

/* SVG Wave Background */
.competition-timeline .section-wave-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 19%; /* Extended to allow waves to overlap next section */
  z-index: -1;
  pointer-events: none;
}

.competition-timeline .section-wave-bg .shape-fill {
  fill: url(#competition-timeline-gradient);
}

.competition-timeline .container {
  position: relative;
  z-index: 1;
}

.competition-timeline h2 {
  color: white;
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 0 4px 20px rgba(0, 255, 255, 0.3);
}

/* Timeline Tabs */
.timeline-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.timeline-tab {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 25px;
  padding: 0.8rem 2rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.timeline-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.timeline-tab:hover {
  border-color: rgba(0, 255, 255, 0.6);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 255, 255, 0.2);
}

.timeline-tab:hover::before {
  left: 100%;
}

.timeline-tab.active {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(0, 255, 255, 0.1));
  border-color: #00ffff;
  color: white;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

.timeline-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00ffff, transparent);
  border-radius: 2px;
}

/* Timeline Content Wrapper */
.timeline-content-wrapper {
  position: relative;
  min-height: 600px;
}

.timeline-year-content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.timeline-year-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

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

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #00ffff, rgba(0, 255, 255, 0.3));
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  display: flex;
  align-items: flex-start;
  z-index: 2;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
}

/* Timeline marker colors by status */
.timeline-item.completed .timeline-marker {
  background: linear-gradient(45deg, #607d8b, #90a4ae);
  box-shadow: 0 0 20px rgba(96, 125, 139, 0.6);
}

.timeline-item.ongoing .timeline-marker {
  background: linear-gradient(45deg, #4caf50, #66bb6a);
  box-shadow: 0 0 25px rgba(76, 175, 80, 0.8);
  animation: pulse-upcoming 2s infinite;
}

.timeline-item.upcoming .timeline-marker {
  background: linear-gradient(45deg, #ff9800, #ffb74d);
  box-shadow: 0 0 20px rgba(255, 152, 0, 0.6);
  animation: pulse-upcoming 2s infinite;
}

/* Timeline marker colors by event type (overrides status) */
.timeline-item.type-competition .timeline-marker,
.timeline-item.type-league-meet .timeline-marker {
  background: linear-gradient(45deg, #2196f3, #42a5f5);
  box-shadow: 0 0 20px rgba(33, 150, 243, 0.6);
}

.timeline-item.type-qualifier .timeline-marker {
  background: linear-gradient(45deg, #9c27b0, #ba68c8);
  box-shadow: 0 0 20px rgba(156, 39, 176, 0.6);
}

.timeline-item.type-tournament .timeline-marker {
  background: linear-gradient(45deg, #ff5722, #ff8a65);
  box-shadow: 0 0 20px rgba(255, 87, 34, 0.6);
}

.timeline-item.type-championship .timeline-marker {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
  transform: scale(1.2);
}

.timeline-item.type-world-championship .timeline-marker {
  background: linear-gradient(45deg, #e91e63, #f06292);
  box-shadow: 0 0 30px rgba(233, 30, 99, 0.9);
  transform: scale(1.3);
  animation: pulse-world-championship 2s infinite;
}

.timeline-item.type-milestone .timeline-marker {
  background: linear-gradient(45deg, #00bcd4, #4dd0e1);
  box-shadow: 0 0 20px rgba(0, 188, 212, 0.6);
}

.timeline-item.type-workshop .timeline-marker {
  background: linear-gradient(45deg, #795548, #a1887f);
  box-shadow: 0 0 20px rgba(121, 85, 72, 0.6);
}

.timeline-item.highlight .timeline-marker {
  transform: scale(1.2);
}

@keyframes pulse-upcoming {
  0%, 100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.15);
  }
}

@keyframes pulse-world-championship {
  0%, 100% {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 30px rgba(233, 30, 99, 0.9);
  }
  50% {
    transform: translateX(-50%) scale(1.4);
    box-shadow: 0 0 40px rgba(233, 30, 99, 1);
  }
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 2rem;
  width: 20px;
  height: 20px;
  background: #00ffff;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 3;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
  border: 3px solid #0a0a0a;
}

.timeline-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  width: calc(50% - 2rem);
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 255, 255, 0.2);
  border-color: rgba(0, 255, 255, 0.4);
}

/* Timeline content colors by event type */
.timeline-item.type-championship .timeline-content {
  border-color: rgba(255, 215, 0, 0.4);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.08));
}

.timeline-item.type-championship .timeline-content:hover {
  box-shadow: 0 25px 50px rgba(255, 215, 0, 0.3);
  border-color: rgba(255, 215, 0, 0.6);
}

.timeline-item.type-world-championship .timeline-content {
  border-color: rgba(233, 30, 99, 0.5);
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.2), rgba(233, 30, 99, 0.1));
}

.timeline-item.type-world-championship .timeline-content:hover {
  box-shadow: 0 25px 50px rgba(233, 30, 99, 0.4);
  border-color: rgba(233, 30, 99, 0.7);
}

.timeline-item.type-qualifier .timeline-content {
  border-color: rgba(156, 39, 176, 0.3);
  background: linear-gradient(135deg, rgba(156, 39, 176, 0.1), rgba(156, 39, 176, 0.05));
}

.timeline-item.type-qualifier .timeline-content:hover {
  box-shadow: 0 25px 50px rgba(156, 39, 176, 0.2);
  border-color: rgba(156, 39, 176, 0.5);
}

.timeline-item.type-tournament .timeline-content {
  border-color: rgba(255, 87, 34, 0.3);
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.1), rgba(255, 87, 34, 0.05));
}

.timeline-item.type-tournament .timeline-content:hover {
  box-shadow: 0 25px 50px rgba(255, 87, 34, 0.2);
  border-color: rgba(255, 87, 34, 0.5);
}

.timeline-item.highlight .timeline-content {
  border-color: rgba(255, 152, 0, 0.4);
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.15), rgba(255, 152, 0, 0.08));
}

.timeline-item.highlight .timeline-content:hover {
  box-shadow: 0 25px 50px rgba(255, 152, 0, 0.3);
  border-color: rgba(255, 152, 0, 0.6);
}

.timeline-content h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.timeline-date {
  display: inline-block;
  color: #00ffff;
  font-weight: 600;
  font-size: 0.9rem;
  background: rgba(0, 255, 255, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(0, 255, 255, 0.3);
}

.timeline-item.type-championship .timeline-date {
  color: #ffd700;
  background: rgba(255, 215, 0, 0.15);
  border-color: rgba(255, 215, 0, 0.4);
}

.timeline-item.type-world-championship .timeline-date {
  color: #e91e63;
  background: rgba(233, 30, 99, 0.15);
  border-color: rgba(233, 30, 99, 0.4);
}

.timeline-item.type-qualifier .timeline-date {
  color: #ba68c8;
  background: rgba(156, 39, 176, 0.1);
  border-color: rgba(156, 39, 176, 0.3);
}

.timeline-item.type-tournament .timeline-date {
  color: #ff8a65;
  background: rgba(255, 87, 34, 0.1);
  border-color: rgba(255, 87, 34, 0.3);
}

.timeline-item.highlight .timeline-date {
  color: #ff9800;
  background: rgba(255, 152, 0, 0.1);
  border-color: rgba(255, 152, 0, 0.3);
}

.timeline-content p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Timeline Links Styling */
.timeline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.timeline-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.15), rgba(0, 255, 255, 0.05));
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 8px;
  color: #00ffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.timeline-links a.ftc-events-link {
  padding: 0.6rem 1rem;
}

.timeline-links a .link-logo {
  width: 100px;
  height: auto;
}

.timeline-links a.ftc-scout-link {
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
}

.timeline-links a .link-icon {
  width: 2em;
  height: 2em;
  fill: currentColor;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.timeline-links a .link-logo {
  transition: transform 0.3s ease;
}

.timeline-links a:hover .link-logo {
  transform: scale(1.05);
}

.timeline-links a span {
  font-size: 0.85rem;
  white-space: nowrap;
}

.timeline-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.timeline-links a:hover {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.25), rgba(0, 255, 255, 0.15));
  border-color: rgba(0, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.timeline-links a:hover::before {
  left: 100%;
}

.timeline-links a:active {
  transform: translateY(0);
}

/* Timeline type-specific link colors */
.timeline-item.type-championship .timeline-links a {
  border-color: rgba(255, 215, 0, 0.4);
  color: #ffd700;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
}

.timeline-item.type-championship .timeline-links a:hover {
  border-color: rgba(255, 215, 0, 0.6);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 215, 0, 0.15));
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.timeline-item.type-world-championship .timeline-links a {
  border-color: rgba(233, 30, 99, 0.4);
  color: #e91e63;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.15), rgba(233, 30, 99, 0.05));
}

.timeline-item.type-world-championship .timeline-links a:hover {
  border-color: rgba(233, 30, 99, 0.6);
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.25), rgba(233, 30, 99, 0.15));
  box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}

.timeline-item.type-qualifier .timeline-links a {
  border-color: rgba(156, 39, 176, 0.3);
  color: #ba68c8;
  background: linear-gradient(135deg, rgba(156, 39, 176, 0.15), rgba(156, 39, 176, 0.05));
}

.timeline-item.type-qualifier .timeline-links a:hover {
  border-color: rgba(156, 39, 176, 0.6);
  background: linear-gradient(135deg, rgba(156, 39, 176, 0.25), rgba(156, 39, 176, 0.15));
  box-shadow: 0 5px 15px rgba(156, 39, 176, 0.3);
}

.timeline-item.type-tournament .timeline-links a {
  border-color: rgba(255, 87, 34, 0.3);
  color: #ff8a65;
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.15), rgba(255, 87, 34, 0.05));
}

.timeline-item.type-tournament .timeline-links a:hover {
  border-color: rgba(255, 87, 34, 0.6);
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.25), rgba(255, 87, 34, 0.15));
  box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
}

.timeline-item.type-competition .timeline-links a {
  border-color: rgba(33, 150, 243, 0.3);
  color: #42a5f5;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.15), rgba(33, 150, 243, 0.05));
}

.timeline-item.type-competition .timeline-links a:hover {
  border-color: rgba(33, 150, 243, 0.6);
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.25), rgba(33, 150, 243, 0.15));
  box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.timeline-status {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.timeline-status .status-badge {
  /* Status badge styles are inherited from main .status-badge rules */
}

.timeline-status .status-badge.championship {
  background: linear-gradient(45deg, #ff9800, #ffb74d);
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
  animation: pulse 2s infinite;
}

/* Event Support Section */
.event-support {
  padding: 6rem 0;
  background: transparent;
  position: relative;
  overflow: visible;
}

.support-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}

.support-content h2 {
  color: white;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-shadow: 0 4px 20px rgba(0, 255, 255, 0.3);
}

.support-content > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 4rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.support-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.support-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(0, 255, 255, 0.1), transparent);
  animation: rotate 6s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.support-card:hover::before {
  opacity: 1;
}

.support-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 255, 255, 0.25);
  border-color: rgba(0, 255, 255, 0.4);
}

.support-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(0, 255, 255, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 2;
  border: 2px solid rgba(0, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.support-card:hover .support-icon {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.3), rgba(0, 255, 255, 0.15));
  border-color: rgba(0, 255, 255, 0.5);
  transform: scale(1.1);
}

.support-icon svg {
  color: #00ffff;
  transition: all 0.3s ease;
}

.support-card:hover .support-icon svg {
  color: #40e0d0;
}

.support-card h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.support-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.support-link {
  display: inline-block;
  background: linear-gradient(45deg, #00ffff, #40e0d0);
  color: #000000 !important;
  text-decoration: none;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-weight: 800;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.support-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 255, 255, 0.4);
  filter: brightness(1.1);
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #00ffff, rgba(0, 255, 255, 0.3));
  transform: translateX(-50%);
}

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

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
}

.timeline-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 15px;
  padding: 2rem;
  width: calc(50% - 2rem);
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background: #00ffff;
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -30px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -30px;
}

.event-date {
  color: #00ffff;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-title {
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.event-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.event-status {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-completed {
  background: linear-gradient(45deg, #4caf50, #66bb6a);
  color: white;
}

.status-upcoming {
  background: linear-gradient(45deg, #ff9800, #ffb74d);
  color: white;
}

.status-current {
  background: linear-gradient(45deg, #00ffff, #40e0d0);
  color: #000;
  animation: pulse 2s infinite;
}

.event-stats {
  padding: 6rem 0;
  background: transparent;
  position: relative;
  overflow: visible;
  z-index: 7;
}

/* SVG Wave Background */
.event-stats .section-wave-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 125%; /* Extended to allow waves to overlap next section */
  z-index: -1;
  pointer-events: none;
}

.event-stats .section-wave-bg .shape-fill {
  fill: url(#event-stats-gradient);
}

.stats-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.stat-card:hover::before {
  left: 100%;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
  border-color: rgba(0, 255, 255, 0.4);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #00ffff;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  color: white;
  font-size: 1.1rem;
  font-weight: 500;
}

.support-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
  text-align: center;
}

.support-content {
  max-width: 1100px;
  margin: 0 auto;
}

.support-section h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.support-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 3rem;
}

/* =============================================================================
   Contact Page Styles
   - Complete styling for contact forms, team availability, and contact methods
============================================================================= */

section.contact-methods {
  display: block !important;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  position: relative;
}

section.contact-methods::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%, rgba(0, 255, 255, 0.08), transparent),
              radial-gradient(circle at 70% 70%, rgba(0, 255, 255, 0.05), transparent);
  pointer-events: none;
}

section.contact-methods .container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

section.contact-methods h2 {
  color: white;
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
  text-shadow: 0 4px 20px rgba(0, 255, 255, 0.3);
}

section.contact-methods .contact-grid {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  grid-template-columns: none !important;
}

/* Ensure all cards are in a horizontal row on wide screens */
@media (min-width: 1024px) {
  .contact-grid {
    flex-wrap: nowrap;
    gap: 1.5rem;
  }
  
  .contact-method-card {
    flex: 1;
    min-width: 0;
    max-width: none;
  }
}

/* Ensure 2 cards are centered on wider screens */
@media (min-width: 769px) {
  .contact-grid {
    flex-wrap: wrap;
    max-width: 800px;
  }
}

.contact-method-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 450px;
}

.contact-method-card.primary {
  border-color: rgba(0, 255, 255, 0.4);
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.15), rgba(0, 255, 255, 0.08));
}

.contact-method-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.contact-method-card:hover::before {
  left: 100%;
}

.contact-method-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 255, 255, 0.25);
  border-color: rgba(0, 255, 255, 0.5);
}

.contact-method-card .contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(0, 255, 255, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  border: 2px solid rgba(0, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.contact-method-card:hover .contact-icon {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.3), rgba(0, 255, 255, 0.15));
  border-color: rgba(0, 255, 255, 0.6);
  transform: scale(1.1);
}

.contact-method-card .contact-icon svg {
  color: #00ffff;
  transition: all 0.3s ease;
}

.contact-method-card:hover .contact-icon svg {
  color: #40e0d0;
}

.contact-method-card h3 {
  color: white;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-method-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.contact-link {
  display: inline-block;
  color: #00ffff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 25px;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
  word-break: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-link.primary {
  background: linear-gradient(45deg, #00ffff, #40e0d0);
  color: #000;
  border-color: transparent;
  font-size: 0.9rem;
  padding: 0.8rem 1rem;
  text-align: center;
  width: fit-content;
  max-width: 100%;
}

.contact-link:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: rgba(0, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 255, 255, 0.3);
}

.contact-link.primary:hover {
  background: linear-gradient(45deg, #40e0d0, #00ffff);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 255, 255, 0.4);
}

.contact-details {
  margin-top: 1rem;
}

.contact-details small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-style: italic;
}

.quick-contact {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
  position: relative;
}

.quick-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 40% 60%, rgba(0, 255, 255, 0.06), transparent),
              radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.04), transparent);
  pointer-events: none;
}

.quick-contact .container {
  position: relative;
  z-index: 2;
}

.quick-contact h2 {
  color: white;
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
  text-shadow: 0 4px 20px rgba(0, 255, 255, 0.3);
}

.quick-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.quick-contact-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 255, 0.15);
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.quick-contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.08), transparent);
  transition: left 0.5s ease;
}

.quick-contact-card:hover::before {
  left: 100%;
}

.quick-contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
  border-color: rgba(0, 255, 255, 0.3);
}

.quick-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.15), rgba(0, 255, 255, 0.08));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.quick-contact-card:hover .quick-icon {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.25), rgba(0, 255, 255, 0.12));
  border-color: rgba(0, 255, 255, 0.4);
  transform: scale(1.1);
}

.quick-icon svg {
  color: #00ffff;
  transition: all 0.3s ease;
}

.quick-contact-card:hover .quick-icon svg {
  color: #40e0d0;
}

.quick-contact-card h3 {
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.quick-contact-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.quick-link {
  display: inline-block;
  color: #00ffff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 20px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.quick-link:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: rgba(0, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 255, 255, 0.2);
}

.contact-form-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Full-width background wrapper for shape divider spanning behind hero */
.hero-background-wrapper {
  position: relative;
  width: 100%;
  padding-top: 0;
  padding-bottom: 40px;
  margin-top: -90px;
  padding-top: 90px;
  background: transparent;
  overflow: visible;
}

.custom-shape-divider-top-1763691057 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: visible;
  line-height: 0;
  z-index: 0;
  pointer-events: none;
  height: 1000px;
}

/* Ensure all main content stays above shape */
main {
  position: relative;
  z-index: 10;
}

.custom-shape-divider-top-1763691057 svg {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: calc(100% + 1.3px);
  height: 1000px;
  transform-origin: top center;
}

.custom-shape-divider-top-1763691057 .shape-fill {
  fill: #1F28367D;
}

/* Ensure hero content appears above divider */
.hero-background-wrapper .hero-container {
  position: relative;
  z-index: 10;
  padding-top: 40px;
}

.hero-background-wrapper .hero-container > * {
  position: relative;
  z-index: 10;
}

.form-container h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.form-container p {
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.contact-form {
  display: grid;
  gap: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.form-group {
  position: relative;
}

.form-group label {
  color: #00ffff;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00ffff;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.checkbox-group input[type="checkbox"] {
  appearance: none;
  width: 50px;
  height: 25px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin: 0;
  flex-shrink: 0;
}

.checkbox-group input[type="checkbox"]::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 2px;
  width: 19px;
  height: 19px;
  background: #ffffff;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%);
}

.checkbox-group input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #00ffff, #00d4ff);
  border-color: #00ffff;
}

.checkbox-group input[type="checkbox"]:checked::before {
  left: 27px;
  background: #ffffff;
  transform: translateY(-50%);
}

.checkbox-group input[type="checkbox"]:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(0, 255, 255, 0.5);
}

.checkbox-group input[type="checkbox"]:checked:hover {
  background: linear-gradient(135deg, #40e0d0, #00ffff);
}

.checkbox-group label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: normal;
  text-transform: none;
  letter-spacing: normal;
  margin: 0;
  cursor: pointer;
  user-select: none;
}

.submit-btn {
  background: linear-gradient(45deg, #00ffff, #40e0d0);
  color: #000000 !important;
  border: none;
  padding: 1rem 3rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  justify-self: center;
  min-width: 200px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.4);
  filter: brightness(1.1);
}

.team-availability {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
}

.availability-container {
  max-width: 1000px;
  margin: 0 auto;
}

.availability-container h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
}

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

.availability-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.availability-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
  border-color: rgba(0, 255, 255, 0.4);
}

.availability-card h3 {
  color: #00ffff;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-item:last-child {
  border-bottom: none;
}

.day {
  color: white;
  font-weight: 500;
}

.time {
  color: rgba(255, 255, 255, 0.8);
}

.status-available {
  color: #4caf50;
  font-weight: 600;
}

.status-limited {
  color: #ff9800;
  font-weight: 600;
}

.status-unavailable {
  color: #f44336;
  font-weight: 600;
}

/* Responsive Design for Events and Contact Pages */
@media (max-width: 768px) {
  .events-hero h1 {
    font-size: 2.5rem;
  }
  
  .events-grid {
    grid-template-columns: 1fr;
  }
  
  .event-card {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .timeline::before {
    left: 2rem;
  }
  
  .timeline-item {
    justify-content: flex-end !important;
  }
  
  .timeline-marker {
    left: 2rem !important;
    transform: translateX(-50%);
  }
  
  .timeline-content {
    width: calc(100% - 4rem);
    margin-left: 1rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  
  .stat-card {
    max-width: 400px;
    width: 100%;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .form-container {
    padding: 2rem;
  }
  
  .availability-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .events-hero {
    padding: 6rem 0 3rem;
  }
  
  .events-hero h1 {
    font-size: 2rem;
  }
  
  .upcoming-events h2,
  .competition-timeline h2 {
    font-size: 2.2rem;
  }
  
  .event-content {
    padding: 2rem;
  }
  
  .timeline-content {
    padding: 2rem;
  }
  
  .form-container {
    padding: 1.5rem;
  }
  
  .form-container h2 {
    font-size: 2rem;
  }
  
  .submit-btn {
    width: 100%;
  }
  
  .availability-card {
    padding: 1.5rem;
  }
  
  .support-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  
  .support-card {
    padding: 2rem;
    margin: 0 auto;
    max-width: 500px;
  }
  
  .support-content h2 {
    font-size: 2.2rem;
  }
  
  .contact-grid {
    flex-direction: column;
    max-width: 500px;
    padding: 0 0.5rem;
    gap: 1.5rem;
  }
  
  .contact-method-card {
    padding: 2.5rem 2rem;
    margin: 0 auto;
    max-width: 100%;
  }
  
  .contact-methods {
    padding: 6rem 1rem;
  }
  
  .quick-contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .quick-contact h2,
  .contact-methods h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .events-hero {
    padding: 6rem 0 3rem;
  }
  
  .events-hero h1 {
    font-size: 2rem;
  }
  
  .upcoming-events h2,
  .competition-timeline h2 {
    font-size: 2.2rem;
  }
  
  .event-content {
    padding: 2rem;
  }
  
  .timeline-content {
    padding: 2rem;
  }
  
  .form-container {
    padding: 1.5rem;
  }
  
  .form-container h2 {
    font-size: 2rem;
  }
  
  .submit-btn {
    width: 100%;
  }
  
  .availability-card {
    padding: 1.5rem;
  }
  
  .support-content h2 {
    font-size: 2rem;
  }
  
  .support-grid {
    padding: 0 0.5rem;
  }
  
  .support-card {
    padding: 2rem 1.5rem;
  }
  
  .contact-method-card {
    padding: 2rem 1.5rem;
    margin: 0 auto;
    max-width: 100%;
  }
  
  .contact-link {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
  
  .contact-link.primary {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .contact-grid {
    flex-direction: column;
    max-width: 400px;
    padding: 0;
    gap: 1rem;
  }
  
  .contact-methods {
    padding: 4rem 0.5rem;
  }
  
  .quick-contact-grid {
    grid-template-columns: 1fr;
  }
  
  .quick-contact h2,
  .contact-methods h2 {
    font-size: 2rem;
  }
}

/* Hide sponsorship tiers section */
.sponsorship-tiers {
  display: none;
}
