/* =====================
   ROOT VARIABLES & RESET
   ===================== */

:root {
  --primary-purple: #6B46C1;
  --dark-purple: #553C9A;
  --light-purple: #8B5CF6;
  --neon-green: #10B981;
  --bright-green: #00FF88;
  --pure-white: #FFFFFF;
  --off-white: #F8FAFC;
  --text-gray: #64748B;
  --dark-bg: #0F172A;
  
  /* WIT Colors */
  --wit-primary: #E91E63;
  --wit-secondary: #C2185B;
  --wit-accent: #F06292;
  --wit-gradient: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
  
  --font-mono: 'JetBrains Mono', 'Menlo', 'Monaco', 'Courier New', monospace;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-purple: 0 20px 25px -5px rgba(107, 70, 193, 0.3);
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--pure-white);
  background-color: var(--dark-bg);
  overflow-x: hidden;
}

/* =====================
   NAVIGATION
   ===================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background: rgba(107, 70, 193, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logos {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.3s ease;
}

.navbar-brand .logo {
  height: 80px;
  width: auto;
  transition: all 0.3s ease;
}

.main-logo {
  filter: brightness(0) invert(1); /* Makes it white */
}

.wit-logo-nav {
  height: 30px; /* Slightly smaller than main logo */
  filter: drop-shadow(0 2px 8px rgba(233, 30, 99, 0.3));
}

.logo-separator {
  color: var(--pure-white);
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.6;
}

/* Hover effects */
.navbar-brand:hover .main-logo {
  transform: scale(1.05);
  filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(255, 255, 255, 0.3));
}

.navbar-brand:hover .wit-logo-nav {
  transform: scale(1.05);
  filter: drop-shadow(0 2px 12px rgba(233, 30, 99, 0.5));
}

.navbar-brand:hover .logo-separator {
  opacity: 1;
  color: var(--neon-green);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .brand-logos {
    gap: 0.3rem;
  }
  
  .navbar-brand .logo {
    height: 38px;
  }
  
  .wit-logo-nav {
    height: 35px;
  }
  
  .logo-separator {
    font-size: 1rem;
  }
}

/* When navbar shrinks on scroll */
#mainNav.navbar-shrink .brand-logos {
  gap: 0.3rem;
}

#mainNav.navbar-shrink .navbar-brand .logo {
  height: 40px;
}

#mainNav.navbar-shrink .wit-logo-nav {
  height: 37px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--pure-white);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-green);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Body locked when mobile navigation open */
body.nav-open {
  overflow: hidden;
  touch-action: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--pure-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar.navbar-solid {
  background: #5a189a; /* Imperial purple */
  color: #fff;
  transition: background 0.3s;
}

.navbar.navbar-solid .nav-link {
  color: #fff;
}

/* =====================
   LIVE PRICE WIDGET
   ===================== */

.price-widget {
  position: fixed;
  top: 50%;
  right: -300px;
  transform: translateY(-50%);
  width: 320px;
  background: var(--primary-purple);
  border-radius: 15px 0 0 15px;
  z-index: 999;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-xl);
}

.price-widget.open {
  right: 0;
}

.price-widget-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-widget-header h4 {
  font-family: var(--font-mono);
  color: var(--pure-white);
  font-size: 1rem;
  margin: 0;
}

.toggle-widget {
  background: none;
  border: none;
  color: var(--pure-white);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.toggle-widget:hover {
  background: rgba(255, 255, 255, 0.1);
}

.price-widget-content {
  padding: 1rem 1.5rem;
}

.price-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.75rem;
}

.price-item:last-child {
  border-bottom: none;
}

.symbol {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--pure-white);
}

.price {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--pure-white);
}

.change {
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
}

.change.positive {
  background: rgba(16, 185, 129, 0.2);
  color: var(--neon-green);
}

.change.negative {
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
}

.mini-chart {
  width: 60px;
  height: 30px;
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}

/* =====================
   HERO SECTION
   ===================== */

.hero {
  /* Base fills viewport but can grow if content needs more vertical space on ultra-wide displays */
  min-height: 100vh;
  height: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: clamp(50px, 8vh, 100px) 0 clamp(24px, 5vh, 60px);
  overflow: visible;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-background canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(107, 70, 193, 0.8) 0%, 
    rgba(85, 60, 154, 0.7) 50%, 
    rgba(15, 23, 42, 0.9) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 2rem max(1rem, env(safe-area-inset-left)) 2rem max(1rem, env(safe-area-inset-right));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 1rem;
}

.hero-logo {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.pulsing-logo {
  height: 120px;
  width: auto;
  animation: pulse 2s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.05); opacity: 1; }
}

.hero-title {
  font-family: var(--font-mono);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  position: relative;
  text-align: center;
  width: 100%;
  color: var(--pure-white);
}

.neon-underline {
  height: 4px;
  background: var(--bright-green);
  margin: 1rem auto 0;
  border-radius: 2px;
  animation: sweep-in 1.5s ease-out 0.5s both;
  box-shadow: 0 0 20px var(--bright-green);
  max-width: 300px;
  width: 60%; /* Responsive width */
}

@keyframes sweep-in {
  0% { width: 0; }
  100% { width: 200px; }
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.75rem;
  font-weight: 400;
  text-align: center;
  width: 100%;
}

/* =====================
   HERO RESPONSIVE TUNING
   ===================== */
@media (max-width: 900px) {
  .hero {
    padding: clamp(60px, 9vh, 110px) 0 clamp(28px, 6vh, 70px);
  min-height: 100svh;
  height: auto;
  }
  .pulsing-logo { height: 100px; }
  .hero-title { font-size: clamp(2.4rem, 8.5vw, 4rem); }
}

@media (max-width: 600px) {
  .hero {
  min-height: 100svh;
  padding: clamp(55px, 8vh, 95px) 0 2.25rem;
  }
  .pulsing-logo { height: 88px; }
  .hero-title { font-size: clamp(2.2rem, 9vw, 3.4rem); letter-spacing: 0.08em; }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 1.4rem; }
  .cta-button { padding: 0.85rem 1.6rem; font-size: 1rem; }
}

/* Height-constrained larger screens (e.g., small laptops with low vertical resolution) */
@media (max-height: 760px) and (min-width: 601px) {
  .hero { padding: 40px 0 40px; min-height: 100dvh; }
  .pulsing-logo { height: 95px; }
  .hero-title { font-size: clamp(2.2rem, 5.5vw, 3.6rem); margin-bottom: 0.75rem; }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 1.1rem; }
  .cta-button { padding: 0.85rem 1.6rem; font-size: 1rem; }
}

@media (max-width: 400px) {
  .hero { padding: 60px 0 2.25rem; min-height: 100svh; }
  .pulsing-logo { height: 78px; }
  .hero-title { font-size: clamp(2rem, 10vw, 3rem); }
  .hero-subtitle { font-size: 0.9rem; }
}

/* Ultra-wide screens: ensure content stays centered and not clipped */
@media (min-aspect-ratio: 21/9) and (min-width: 1400px) {
  .hero { padding-top: 4rem; padding-bottom: 4rem; }
  .hero-content { max-width: 1100px; }
  .pulsing-logo { height: 140px; }
  .hero-title { font-size: clamp(3.2rem, 5vw, 5.2rem); }
  .hero-subtitle { font-size: 1.3rem; }
}

/* Safety: if CTA ever wraps below fold because of extreme zoom, allow hero to grow */
@supports (height: 100dvh) {
  .hero { min-height: 100dvh; }
}

.cta-button {
  background: var(--pure-white);
  color: var(--primary-purple);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  box-shadow: var(--shadow-lg);
}

.cta-button:hover {
  background: var(--bright-green);
  color: var(--dark-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  text-decoration: none;
}

/* =====================
   ABOUT SECTION - REVAMPED
   ===================== */

/* Horizontal scroll indicator (mobile hint for scrollable carousels/grids) */
.scroll-indicator-wrapper { display:none; width:100%; margin:6px 0 0; height:6px; position:relative; }
.scroll-indicator-track { width:100%; height:4px; background:rgba(255,255,255,0.15); border-radius:4px; overflow:hidden; position:relative; }
.scroll-indicator-thumb { height:100%; background:linear-gradient(90deg,var(--bright-green), var(--primary-purple)); width:20%; border-radius:4px; transform:translateX(0); transition:transform 0.1s linear, width 0.2s ease; }
.scroll-indicator-wrapper.fade { opacity:0; transition:opacity 0.5s ease 1s; }
.scroll-indicator-wrapper.active { opacity:1; }

@media (max-width:768px) {
  .scroll-indicator-wrapper { display:block; }
}

/* Mission Section - Full Width with Background */
.about-section {
  padding: 0;
}

.mission-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.mission-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/Event Photos/2018_inaugural_event (1).jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: blur(8px) brightness(0.3);
  z-index: 1;
}

.mission-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(107, 70, 193, 0.7) 0%, 
    rgba(15, 23, 42, 0.8) 50%, 
    rgba(107, 70, 193, 0.6) 100%);
  z-index: 2;
}

.mission-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 4rem 2rem;
}

.mission-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.mission-title {
  font-family: var(--font-mono);
  font-size: 4rem;
  font-weight: 800;
  color: var(--pure-white);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--pure-white) 0%, var(--bright-green) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mission-text {
  font-size: 1.5rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.mission-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.mission-stats .stat-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
}

.mission-stats .stat-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--bright-green) 0%, var(--neon-green) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.mission-stats .stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Programs Carousel Section */
.programs-section {
  padding: 8rem 0;
  background: linear-gradient(135deg, var(--dark-bg) 0%, #1E293B 50%, var(--dark-bg) 100%);
  position: relative;
}

.programs-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(107, 70, 193, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.programs-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.programs-title {
  font-family: var(--font-mono);
  font-size: 3.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 4rem;
  color: var(--pure-white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
}

.programs-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--bright-green) 100%);
  border-radius: 2px;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 600px;
}

.carousel-track {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-slide {
  width: 33.333%;
  height: 100%;
  position: relative;
  opacity: 0.7;
  transition: opacity 0.8s ease;
}

.program-slide.active {
  opacity: 1;
}

.slide-content {
  position: relative;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 2px solid rgba(107, 70, 193, 0.3);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slide-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  z-index: 3;
  transition: all 3.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: opacity 3.0s ease;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(107, 70, 193, 0.8) 0%, 
    rgba(15, 23, 42, 0.7) 50%, 
    rgba(16, 185, 129, 0.6) 100%);
}

/* Click-based Image Transition Effects */
.slide-content.image-mode .slide-text {
  opacity: 0;
  transform: scale(0.9) translateY(-20px);
  visibility: hidden;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-content.image-mode .slide-image {
  opacity: 1;
  transform: scale(1.02);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-content.image-mode .slide-image img {
  transform: scale(1.05);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-content.image-mode .image-overlay {
  opacity: 0.2;
  transition: opacity 0.6s ease;
}

/* Hover Effects - Subtle indication for interaction */
/* Hover Effects - Show dimmed/blurred image background */
.slide-content:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

.slide-content:hover .slide-text {
  transform: scale(1.02);
  transition: transform 0.3s ease;
  background: rgba(15, 23, 42, 0.7); /* More transparent background on hover */
}

.slide-content:hover .slide-text h3 {
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
  transition: text-shadow 0.3s ease;
}

/* Show blurred/dimmed image on hover */
.slide-content:hover .slide-image {
  opacity: 0.6; /* Show image but dimmed */
  filter: blur(4px) brightness(0.4); /* Blur and dim the image */
  transition: all 0.4s ease;
  z-index: 1; /* Behind text */
}

.slide-content:hover .slide-image img {
  transform: scale(1.05);
  transition: transform 0.4s ease;
}

.slide-content:hover .image-overlay {
  opacity: 0.6; /* Reduce overlay opacity to show more of the image */
  background: linear-gradient(135deg, 
    rgba(107, 70, 193, 0.5) 0%, 
    rgba(15, 23, 42, 0.4) 50%, 
    rgba(16, 185, 129, 0.3) 100%);
  transition: all 0.4s ease;
}

.slide-content:hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid var(--bright-green);
  border-radius: 20px;
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
/* Reset hover effects when in image mode (after click) */
.slide-content.image-mode:hover .slide-image {
  opacity: 1 !important; /* Full opacity when in image mode */
  filter: none !important; /* Remove blur and dimming when in image mode */
}

/* Click indicator */
.slide-content::before {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(16, 185, 129, 0.9);
  color: var(--dark-bg);
  padding: 0.5rem 1rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 5;
  pointer-events: none;
}

.slide-content:hover::before {
  opacity: 1;
  transform: translateY(0);
}

.slide-content.image-mode::before {
  background: rgba(107, 70, 193, 0.9);
  color: var(--pure-white);
}

/* Smooth transitions for all states */
.slide-text,
.slide-image {
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-image img {
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}


.slide-text h3 {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--pure-white);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--bright-green) 0%, var(--primary-purple) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slide-text p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.slide-features {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.feature-tag {
  background: rgba(107, 70, 193, 0.2);
  border: 1px solid var(--primary-purple);
  color: var(--pure-white);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Carousel Navigation */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  pointer-events: none;
  z-index: 4;
}

.carousel-btn {
  background: rgba(107, 70, 193, 0.8);
  border: 2px solid var(--primary-purple);
  color: var(--pure-white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  pointer-events: all;
  backdrop-filter: blur(20px);
}

.carousel-btn:hover {
  background: var(--bright-green);
  color: var(--dark-bg);
  border-color: var(--bright-green);
  transform: scale(1.1);
}

.carousel-btn:active {
  transform: scale(0.95);
}

/* Pagination Dots */
.carousel-pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.pagination-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid var(--primary-purple);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.pagination-dot.active {
  background: var(--primary-purple);
  transform: scale(1.2);
}

.pagination-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bright-green);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pagination-dot.active::after {
  opacity: 1;
}

.pagination-dot:hover {
  border-color: var(--bright-green);
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .mission-title {
    font-size: 3rem;
  }
  
  .mission-text {
    font-size: 1.3rem;
  }
  
  .programs-title {
    font-size: 2.5rem;
  }
  
  .slide-text h3 {
    font-size: 2rem;
  }
  
  .slide-text p {
    font-size: 1.1rem;
  }
  
  .carousel-container {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .mission-background {
    background-attachment: scroll;
  }
  
  .mission-title {
    font-size: 2.5rem;
  }
  
  .mission-text {
    font-size: 1.1rem;
  }
  
  .mission-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .programs-title {
    font-size: 2rem;
  }
  
  /* Programs carousel tightening */
  .programs-section .carousel-container { height: 430px; }
  .programs-section .slide-text { padding: 1.1rem 1.1rem 1.25rem; }
  .programs-section .slide-text h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }
  .programs-section .slide-text p { font-size: 0.92rem; line-height: 1.45; margin-bottom: 1rem; }
  .programs-section .feature-tag { font-size: 0.68rem; padding: 0.35rem 0.55rem; }
  .programs-section .slide-features { gap: 0.35rem; }
  .programs-section .program-slide { display: flex; align-items: center; }
  .programs-section .slide-content { display: flex; }
  .programs-section .slide-text { overflow-y: auto; scrollbar-width: none; }
  .programs-section .slide-text::-webkit-scrollbar { display: none; }
  .programs-section .slide-text:after { content:""; position:absolute; bottom:0; left:0; right:0; height:28px; pointer-events:none; background:linear-gradient(to top, rgba(15,23,42,0.95), rgba(15,23,42,0)); }
  
  .slide-features {
    gap: 0.5rem;
  }
  
  .feature-tag {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
  
  .carousel-container {
    height: 450px;
  }
  
  .carousel-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .carousel-nav {
    padding: 0 1rem;
  }
}

/* =====================
   EVENTS SECTION
   ===================== */

.events-section {
  padding: 8rem 0;
  background: var(--dark-bg);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-family: var(--font-mono);
  font-size: 3rem;
  text-align: center;
  margin-bottom: 4rem;
  color: var(--pure-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-carousel {
  position: relative;
  overflow: hidden;
}

.timeline-container {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-card {
  min-width: 350px;
  background: var(--pure-white);
  border: 2px solid var(--primary-purple);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
}

.event-card.active {
  transform: scale(1.05);
  box-shadow: var(--shadow-purple);
}

.event-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.date-chip {
  background: var(--bright-green);
  color: var(--dark-bg);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.875rem;
}

.market-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.market-indicator.buy-side {
  background: var(--neon-green);
}

.market-indicator.sell-side {
  background: #EF4444;
}

.event-content h3 {
  color: var(--dark-bg);
  font-family: var(--font-mono);
  margin-bottom: 1rem;
}

.event-content p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.event-details {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-gray);
}

.register-btn {
  background: var(--primary-purple);
  color: var(--pure-white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.register-btn:hover {
  background: var(--dark-purple);
  transform: translateY(-2px);
}

.register-btn.closed {
  background: var(--text-gray);
  color: var(--pure-white);
  cursor: not-allowed;
  opacity: 0.7;
}

.register-btn.closed:hover {
  background: var(--text-gray);
  transform: none;
  cursor: not-allowed;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-btn {
  background: var(--primary-purple);
  border: none;
  color: var(--pure-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--bright-green);
  color: var(--dark-bg);
  transform: scale(1.1);
}

/* =====================
   PROGRAMS CAROUSEL NAV REPOSITION
   Move nav buttons from center left/right overlay to bottom row to avoid covering text
   ===================== */
/* Scope to programs section only so events carousel (which uses .carousel-controls) unaffected */
.programs-section .carousel-nav {
  position: static; /* remove absolute overlay */
  transform: none;
  width: 100%;
  justify-content: center;
  gap: 1.25rem;
  padding: 1.25rem 0 0; /* space above pagination dots */
  pointer-events: none; /* let buttons handle events */
}

.programs-section .carousel-nav .carousel-btn {
  pointer-events: all;
  width: 52px;
  height: 52px;
}

@media (max-width: 768px) {
  .programs-section .carousel-nav {
    gap: 0.75rem;
    padding-top: 0.75rem;
  }
  .programs-section .carousel-nav .carousel-btn {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .programs-section .carousel-nav .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* =====================
   RESOURCES SECTION
   ===================== */

.resources-section {
  padding: 8rem 0;
  background: linear-gradient(135deg, #1E293B 0%, var(--dark-bg) 100%);
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--primary-purple);
  color: var(--pure-white);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--bright-green);
  color: var(--dark-bg);
  border-color: var(--bright-green);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.resource-card {
  height: 300px;
  perspective: 1000px;
  cursor: pointer;
}

.card-front,
.card-back {
  position: absolute;
  inset: 0;
  background: var(--pure-white);
  border: 2px solid var(--primary-purple);
  border-radius: 15px;
  padding: 2rem;
  transition: transform 0.6s ease;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.card-back {
  transform: rotateY(180deg);
  background: var(--primary-purple);
  color: var(--pure-white);
}

.resource-card:hover .card-front {
  transform: rotateY(-180deg);
}

.resource-card:hover .card-back {
  transform: rotateY(0);
}

.resource-icon {
  font-size: 3rem;
  color: var(--primary-purple);
  margin-bottom: 1rem;
}

.card-front h3 {
  color: var(--dark-bg);
  font-family: var(--font-mono);
  margin-bottom: 1rem;
}

.difficulty-badge {
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
}

.difficulty-badge.beginner {
  background: rgba(16, 185, 129, 0.2);
  color: var(--neon-green);
}

.difficulty-badge.intermediate {
  background: rgba(251, 191, 36, 0.2);
  color: #F59E0B;
}

.difficulty-badge.advanced {
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
}

.card-back p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.resource-link {
  background: var(--bright-green);
  color: var(--dark-bg);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.resource-link:hover {
  background: var(--pure-white);
  color: var(--primary-purple);
  transform: translateY(-2px);
  text-decoration: none;
}

/* =====================
   TEAM SECTION
   ===================== */

.team-section {
  padding: 8rem 0;
  background: var(--dark-bg);
} 

/* .team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 300rem;
  margin-top: 2rem;
} */

.team-member {
  text-align: center;
}

/* .member-photo {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-purple);
  transition: all 0.5s ease;
} */
.member-photo {
  position: relative;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-purple);
  transition: all 0.5s ease;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.member-overlay {
  position: absolute;
  inset: 0;
  background: var(--primary-purple);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.5s ease;
}

.member-photo:hover .member-overlay {
  opacity: 1;
}

.member-photo:hover img {
  filter: invert(1);
}

.member-overlay h3 {
  font-family: var(--font-mono);
  color: var(--pure-white);
  margin-bottom: 0.5rem;
  transform: translateY(20px);
  transition: transform 0.5s ease 0.1s;
}

.member-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  transform: translateY(20px);
  transition: transform 0.5s ease 0.2s;
}

.member-photo:hover .member-overlay h3,
.member-photo:hover .member-overlay p {
  transform: translateY(0);
}

/* =====================
   SPONSORS SECTION
   ===================== */

.sponsors-section {
  padding: 8rem 0;
  background: var(--pure-white);
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.sponsor-card {
  background: var(--pure-white);
  border: 1px solid rgba(107, 70, 193, 0.2);
  border-radius: 12px;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sponsor-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(45deg, var(--primary-purple), var(--bright-green));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
  z-index: -1;
}

.sponsor-card:hover::before {
  opacity: 1;
}

.sponsor-card:hover {
  transform: translateY(-5px);
  background: var(--pure-white);
  box-shadow: var(--shadow-purple);
}

.sponsor-card img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.7);
  transition: all 0.3s ease;
}

/* Enlarge QRT logo specifically */
.sponsor-card img[alt="QRT"] {
  max-height: 120px;
  transform: scale(1.2);
}

.sponsor-card:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .sponsors-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }
  
  .sponsor-card {
    padding: 1.5rem 0.75rem;
    min-height: 100px;
  }
  
  .sponsor-card img {
    max-height: 60px;
  }
  
  /* QRT logo mobile sizing */
  .sponsor-card img[alt="QRT"] {
    max-height: 70px;
    transform: scale(1.0);
  }
}

/* Sponsor Tiers */
.sponsor-tier {
  margin-bottom: 4rem;
}

.sponsor-tier:last-child {
  margin-bottom: 0;
}

.tier-title {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  width: 100%;
}

.tier-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  width: 60px;
  border-radius: 2px;
}

.gold-tier .tier-title {
  color: #f29822;
}

.gold-tier .tier-title::after {
  background: linear-gradient(90deg, #f29822, #e67e22);
}

.silver-tier .tier-title {
  color: #7C3AED;
}

.silver-tier .tier-title::after {
  background: linear-gradient(90deg, #7C3AED, #6D28D9);
}

.bronze-tier .tier-title {
  color: #4338CA;
}

.bronze-tier .tier-title::after {
  background: linear-gradient(90deg, #4338CA, #3730A3);
}
/* Add after line 946 - after the bronze-tier .tier-title::after section */

/* =====================
   MISSING SECTION FIXES
   ===================== */

/* Ensure all sections are visible */
.about-section,
.events-section,  
.resources-section,
.team-section,
.sponsors-section {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Override any Bootstrap display:none classes */
.d-none {
  display: block !important;
}

/* Fix About Section Content */
.about-container {
  display: grid !important;
}

.mission-box {
  display: block !important;
}

.highlights-grid {
  display: grid !important;
}

/* Fix Events Section Content */
.timeline-carousel {
  display: block !important;
}

.timeline-container {
  display: flex !important;
}

.event-card {
  display: block !important;
  position: relative !important;
}

/* Fix Resources Section Content */
.resources-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 2rem !important;
  margin-top: 2rem !important;
}

.resource-card {
  display: block !important;
  height: 300px !important;
  position: relative !important;
  perspective: 1000px !important;
}

.card-front,
.card-back {
  display: flex !important;
  position: absolute !important;
  inset: 0 !important;
}

/* Fix Team Section Content */
.team-grid {
  display: grid;
  gap: clamp(1rem, 5vw, 2rem);
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  align-items: start;
  justify-items: center;
}

.team-member {
  display: block !important;
}

.member-photo {
  display: block !important;
  position: relative !important;
}

/* Enhanced Sponsor Tier Grid Layouts */
.sponsors-grid {
  display: grid !important;
}

.gold-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
  gap: 3rem !important;
  justify-items: center !important;
  justify-content: space-between !important;
}

.silver-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 2.5rem !important;
  justify-items: center !important;
  justify-content: space-between !important;
}

.bronze-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 2rem !important;
  justify-items: center !important;
  justify-content: space-between !important;
}

/* Enhanced Sponsor Card Styling by Tier */
.sponsor-card.gold {
  width: 350px !important;
  height: 180px !important;
  background: linear-gradient(135deg, rgba(242, 152, 34, 0.3), rgba(230, 126, 34, 0.1)) !important;
  border: 3px solid #f29822 !important;
  box-shadow: 0 10px 40px rgba(242, 152, 34, 0.3) !important;
  padding: 2rem !important;
}

.sponsor-card.gold:hover {
  transform: translateY(-10px) scale(1.05) !important;
  box-shadow: 0 20px 60px rgba(242, 152, 34, 0.5) !important;
  border-color: #e67e22 !important;
}

.sponsor-card.silver {
  width: 280px !important;
  height: 150px !important;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(109, 40, 217, 0.05)) !important;
  border: 2px solid #7C3AED !important;
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.3) !important;
  padding: 1.5rem !important;
}

.sponsor-card.silver:hover {
  transform: translateY(-8px) scale(1.03) !important;
  box-shadow: 0 15px 50px rgba(124, 58, 237, 0.4) !important;
  border-color: #6D28D9 !important;
}

.sponsor-card.bronze {
  width: 220px !important;
  height: 130px !important;
  background: linear-gradient(135deg, rgba(67, 56, 202, 0.1), rgba(55, 48, 163, 0.05)) !important;
  border: 2px solid #4338CA !important;
  box-shadow: 0 6px 25px rgba(67, 56, 202, 0.3) !important;
  padding: 1.25rem !important;
}

.sponsor-card.bronze:hover {
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 12px 40px rgba(67, 56, 202, 0.4) !important;
  border-color: #3730A3 !important;
}

/* Enhanced tier title styling */
.tier-title {
  font-family: var(--font-mono) !important;
  font-size: 2rem !important;
  font-weight: 800 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  margin-bottom: 3rem !important;
  position: relative !important;
  display: block !important;
}

/* Gold tier enhanced styling */
.gold-tier .tier-title {
  background: linear-gradient(45deg, #f29822, #e67e22) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.gold-tier .tier-title::after {
  width: 150px !important;
  height: 4px !important;
}

/* Silver tier enhanced styling */
.silver-tier .tier-title {
  background: linear-gradient(45deg, #7C3AED, #6D28D9) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.silver-tier .tier-title::after {
  width: 120px !important;
  height: 3px !important;
}

/* Bronze tier enhanced styling */
.bronze-tier .tier-title {
  background: linear-gradient(45deg, #4338CA, #3730A3) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.bronze-tier .tier-title::after {
  width: 100px !important;
  height: 3px !important;
}

/* Sponsor card shimmer effect */
.sponsor-card::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%) !important;
  transform: translateX(-100%) !important;
  transition: transform 0.6s !important;
}

.sponsor-card:hover::before {
  transform: translateX(100%) !important;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
  .gold-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.5rem !important;
    justify-content: space-between !important;
  }
  
  .silver-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.25rem !important;
    justify-content: space-between !important;
  }
  
  .bronze-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem !important;
    justify-content: space-between !important;
  }
  
  .sponsor-card.gold {
    width: 100% !important;
    height: 140px !important;
    padding: 1.5rem !important;
  }
  
  .sponsor-card.silver {
    width: 100% !important;
    height: 120px !important;
    padding: 1.25rem !important;
  }
  
  .sponsor-card.bronze {
    width: 100% !important;
    height: 100px !important;
    padding: 1rem !important;
  }
  
  .tier-title {
    font-size: 1.5rem !important;
  }
}

/* Force content to show on load */
.section-container {
  display: block !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 2rem !important;
}

/* Override any conflicting styles */
.sponsors-section .section-title {
  color: var(--dark-bg) !important;
  display: block !important;
}

.sponsors-section {
  background: var(--pure-white) !important;
  padding: 8rem 0 !important;
  display: block !important;
}

/* Fix filter buttons in Resources section */
.filter-bar {
  display: flex !important;
  justify-content: center !important;
  gap: 1rem !important;
  margin-bottom: 3rem !important;
}

.filter-btn {
  display: inline-block !important;
}

/* Fix contact section */
.contact-content {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 4rem !important;
}

.contact-form,
.contact-info {
  display: block !important;
}
/* Tier-specific grid layouts */
.gold-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.silver-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.bronze-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Tier-specific card styling */
.sponsor-card.gold {
  border: 2px solid rgba(242, 152, 34, 0.3);
  box-shadow: 0 4px 20px rgba(242, 152, 34, 0.1);
}

.sponsor-card.gold::before {
  background: linear-gradient(45deg, #f29822, #e67e22);
}

.sponsor-card.gold:hover {
  box-shadow: 0 8px 30px rgba(242, 152, 34, 0.3);
}

.sponsor-card.silver {
  border: 2px solid rgba(124, 58, 237, 0.3);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.1);
}

.sponsor-card.silver::before {
  background: linear-gradient(45deg, #7C3AED, #6D28D9);
}

.sponsor-card.silver:hover {
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.3);
}

.sponsor-card.bronze {
  border: 2px solid rgba(67, 56, 202, 0.3);
  box-shadow: 0 4px 20px rgba(67, 56, 202, 0.1);
}

.sponsor-card.bronze::before {
  background: linear-gradient(45deg, #4338CA, #3730A3);
}

.sponsor-card.bronze:hover {
  box-shadow: 0 8px 30px rgba(67, 56, 202, 0.3);
}

/* Small mobile devices - 3 cards per row */
@media (max-width: 480px) {
  .gold-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
    justify-content: space-between !important;
  }
  
  .silver-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
    justify-content: space-between !important;
  }
  
  .bronze-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
    justify-content: space-between !important;
  }
  
  .sponsor-card.gold {
    height: 120px !important;
    padding: 1rem !important;
  }
  
  .sponsor-card.silver {
    height: 100px !important;
    padding: 0.75rem !important;
  }
  
  .sponsor-card.bronze {
    height: 80px !important;
    padding: 0.75rem !important;
  }
  
  .tier-title {
    font-size: 1.25rem !important;
  }
  
  /* QRT logo sizing for small mobile */
  .sponsor-card img[alt="QRT"] {
    max-height: 60px;
    transform: scale(0.9);
  }
}

/* =====================
   CONTACT SECTION
   ===================== */

.contact-section {
  padding: 8rem 0;
  background: linear-gradient(135deg, #1E293B 0%, var(--dark-bg) 100%);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

/* Ensure text inside contact items aligns left consistently */
.contact-item > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.contact-item h3,
.contact-item p {
  text-align: left;
  width: 100%;
}

.contact-item i {
  color: var(--bright-green);
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

.contact-item h3 {
  color: var(--pure-white);
  font-family: var(--font-mono);
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.contact-form {
  background: rgba(107, 70, 193, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 1rem;
  color: var(--pure-white);
  font-family: var(--font-sans);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--bright-green);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.submit-btn {
  background: var(--bright-green);
  color: var(--dark-bg);
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background: var(--neon-green);
  transform: translateY(-2px);
}

/* =====================
   FOOTER
   ===================== */

.footer {
  background: var(--dark-purple);
  padding: 3rem 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-left p {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--bright-green);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-self: end;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 50%;
}

.social-links a:hover {
  color: var(--bright-green);
  background: rgba(16, 185, 129, 0.1);
  transform: translateY(-2px);
}

.imperial-crest {
  height: 50px;
  width: auto;
  filter: brightness(0.8);
}

/* =====================
   RESPONSIVE DESIGN
   ===================== */
@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, minmax(200px, 1fr));
    gap: 2rem;

  }
}
@media (max-width: 768px) {
  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(107, 70, 193, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    transition: right 0.3s ease;
  }
  
  .nav-list.open {
    right: 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .price-widget {
    width: 280px;
    right: -280px;
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-left {
    position: static;
  }
  
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-left {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-left p {
    font-size: 0.8rem;
    max-width: 100%;
    word-wrap: break-word;
    margin: 0.5rem 0;
  }
  
  .footer-right {
    justify-self: center;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .imperial-crest {
    max-width: 150px;
    height: auto;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
  }
  
  .timeline-container {
    padding: 1rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
  }
  
  /* Hide scrollbar for webkit browsers */
  .timeline-container::-webkit-scrollbar {
    display: none;
  }
  
  .timeline-carousel {
    overflow: visible;
  }
  
  /* Hide carousel controls on mobile */
  .carousel-controls {
    display: none;
  }
  
  .event-card {
    min-width: 240px;
    flex-shrink: 0;
    padding: 1.5rem;
  }
  
  /* Optimize event card content for mobile */
  .event-content h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .event-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
  }
  
  .event-details {
    font-size: 0.8rem;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .date-chip {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
  
  .resources-grid {
    display: flex !important;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 1rem;
    padding: 1rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    grid-template-columns: none;
  }
  
  /* Hide scrollbar for webkit browsers */
  .resources-grid::-webkit-scrollbar {
    display: none;
  }
  
  .resource-card {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
  }
  
  .card-front,
  .card-back {
    padding: 0.75rem;
  }
  
  .resource-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .card-front h3 {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
  }
  
  .difficulty-badge {
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
  }
  
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
  
  .member-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 0.75rem;
  }
  
  .member-overlay h3 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
  }
  
  .member-overlay p {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .mission-box {
    padding: 2rem;
  }
  
  .stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .filter-bar {
    flex-direction: row;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  
  .event-card {
    min-width: 200px;
    flex-shrink: 0;
    padding: 1rem;
  }
  
  /* Further optimize event card content for small mobile */
  .event-content h3 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
  }
  
  .event-content p {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
  }
  
  .event-details {
    font-size: 0.75rem;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-direction: column;
  }
  
  .date-chip {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }
  
  .register-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  /* Enhanced events carousel mobile styles */
  .timeline-container {
    padding: 0.5rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .timeline-container::-webkit-scrollbar {
    display: none;
  }
  
  .timeline-carousel {
    overflow: visible;
  }
  
  .carousel-controls {
    display: none;
  }
  
  /* Enhanced programs carousel mobile styles */
  .programs-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .slide-text {
    padding: 1rem;
  }
  
  .slide-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
  }
  
  .slide-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }
  
  .slide-features {
    gap: 0.3rem;
  }
  
  .feature-tag {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    white-space: nowrap;
  }
  
  .programs-section .carousel-container { height: 320px; }
  .programs-section .slide-text { padding: 0.85rem 0.9rem 1rem; }
  .programs-section .slide-text h3 { font-size: 1.05rem; }
  .programs-section .slide-text p { font-size: 0.78rem; line-height: 1.4; margin-bottom: 0.75rem; }
  .programs-section .feature-tag { font-size: 0.6rem; padding: 0.28rem 0.5rem; }
  .programs-section .slide-features { gap: 0.25rem; }
  .programs-section .carousel-nav { bottom: 4px; }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .carousel-nav {
    padding: 0 0.5rem;
  }
  
  /* Enhanced resources section mobile styles */
  .resources-grid {
  display: flex !important;
  flex-direction: row;
  grid-template-columns: none;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  }
  
  /* Enhanced footer styles for small screens */
  .footer {
    padding: 2rem 0;
  }
  
  .footer-container {
    padding: 0 1rem;
  }
  
  .footer-left p {
    font-size: 0.75rem;
    padding: 0 0.5rem;
  }
  
  .footer-links {
    gap: 1rem;
  }
  
  .footer-links a {
    font-size: 0.8rem;
  }
  
  .filter-bar {
    gap: 0.3rem;
  }
  
  .filter-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .resource-card {
    width: 150px;
    height: 150px;
  }
  
  .card-front,
  .card-back {
    padding: 0.5rem;
  }
  
  .resource-icon {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
  }
  
  .card-front h3 {
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
    line-height: 1.1;
  }
  
  .difficulty-badge {
    font-size: 0.6rem;
    padding: 0.25rem 0.5rem;
  }
  
  .card-back p {
    font-size: 0.75rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }
  
  .resource-link {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }
  
  /* Enhanced team section mobile styles */
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.1rem;
  }
  
  .member-photo {
    width: 100px;
    height: 100px;
    margin: 0 auto 0.5rem;
  }
  
  .member-overlay h3 {
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
  }
  
  .member-overlay p {
    font-size: 0.7rem;
    line-height: 1.2;
  }
}

/* Medium-small screens (481px to 767px) */
@media (min-width: 481px) and (max-width: 767px) {
  .programs-section .carousel-container { height: 400px; }
  .programs-section .slide-text { padding: 1.2rem 1.2rem 1.35rem; }
  .programs-section .slide-text h3 { font-size: 1.28rem; margin-bottom: 0.8rem; }
  .programs-section .slide-text p { font-size: 0.85rem; line-height: 1.45; margin-bottom: 0.9rem; }
  .programs-section .feature-tag { font-size: 0.62rem; padding: 0.3rem 0.55rem; }
  .programs-section .slide-features { gap: 0.3rem; }
  
  .feature-tag {
    font-size: 0.72rem;
    padding: 0.35rem 0.7rem;
  }
  
  .carousel-container {
    height: 400px;
  }
}

/* =====================
   UTILITY CLASSES
   ===================== */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.text-center {
  text-align: center;
}

.hidden {
  display: none;
}

#mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
  color: #487eb0;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #212529;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
  color: #487eb0;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link.active,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active {
  color: #487eb0 !important;
  background-color: transparent;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active:hover {
  background-color: transparent;
}

@media (min-width: 992px) {
  #mainNav {
    border-color: transparent;
    background-color: transparent;
  }
  #mainNav .navbar-brand {
    color: rgba(255, 255, 255, 0.7);
  }
  #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
    color: #fff;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link {
    padding: 0.5rem 1rem;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
    color: rgba(255, 255, 255, 0.7);
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    color: #fff;
  }
  #mainNav.navbar-shrink {
    border-bottom: 1px solid rgba(33, 37, 41, 0.1);
    background-color: #fff;
  }
  #mainNav.navbar-shrink .navbar-brand {
    color: #487eb0;
  }
  #mainNav.navbar-shrink .navbar-brand:focus, #mainNav.navbar-shrink .navbar-brand:hover {
    color: #487eb0;
  }
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus {
    color: #212529;
  }
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    color: #487eb0;
  }
}

header.masthead {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 35rem;
  padding: 15rem 0;
  background: linear-gradient(to bottom, rgba(22, 22, 22, 0.7) 30%, rgba(22, 22, 22, 0.5) 75%, #161616 100%), url("../img/bg-masthead.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
}

header.masthead hr {
  margin-top: 30px;
  margin-bottom: 30px;
}

header.masthead h1 {
  font-size: 3rem;
}

header.masthead p {
  font-weight: 300;
}

@media (min-width: 768px) {
  header.masthead p {
    font-size: 1.15rem;
  }
}

@media (min-width: 992px) {
  header.masthead {
    height: 100vh;
    padding: 0;
  }
  header.masthead h1 {
    font-size: 4rem;
  }
}

@media (min-width: 1200px) {
  header.masthead h1 {
    font-size: 5rem;
  }
}

.about-section {
  background: linear-gradient(to bottom, rgba(22, 22, 22, 1) 15%, rgba(22, 22, 22, 0.8) 90%, rgba(22, 22, 22, 0.6) 100%);
  height: auto;
  padding-bottom: 10rem;
  padding-top: rem;
}

.about-section h2 {
  color: #f5f6fa;
  padding-bottom: 1rem;
}

.about-section p {
  color: #f5f6fa;
  text-align: justify;
}

.about-section .btn {
  font-size: 150%;
  margin-top: 1rem;
}

.committee-section {
  padding-top: 3rem;
}

.committee-section h3 {
  font-size: 1.5rem;
}

.profiles .profile-item {
  transition: transform .25s, background .25s;
}

.profiles .profile-item:hover {
  transform: scale(1.2);
  position: relative;
  z-index: 1;  
}

.modal {
  animation-duration: 0.5s;
  overflow-y: auto;
}

.modal-open {
 overflow: auto;
}

.modal-open[style], .navbar {
  padding-right: 0px !important;
}

.modal-dialog {
  max-width: 600px;
  width: 100%;
}

.modal-img {
  padding-top: 2.5rem;
}

.modal-text {
  text-align: justify;
  padding-left: 2rem;
  padding-right: 2rem;
}

.gallery-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.portfolio-box {
  position: relative;
  display: block;
  max-width: 600px;
  margin: 0 auto;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.portfolio-box .portfolio-box-caption {
  position: absolute;
  bottom: 0;
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  opacity: 0;
  color: #fff;
  background: rgba(240, 95, 64, 0.9);
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  text-align: center;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category,
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  padding: 0 15px;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  font-size: 18px;
}

.portfolio-box:hover .portfolio-box-caption {
  opacity: 1;
}

.portfolio-box:focus {
  outline: none;
}

@media (min-width: 768px) {
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
    font-size: 16px;
  }
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
    font-size: 22px;
  }
}

.text-primary {
  color: #487eb0 !important;
}

.btn {
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 300px;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.btn-xl {
  padding: 1rem 2rem;
}

.btn-primary {
  background-color: #487eb0;
  border-color: #487eb0;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  color: #fff;
  background-color: #ee4b28 !important;
}

.btn-primary:active, .btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(240, 95, 64, 0.5) !important;
}

/* =====================
   WIT (WOMEN IN TRADING) SECTION
   ===================== */

.wit-link {
  background: var(--wit-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.wit-section {
  padding: 8rem 0;
  background: linear-gradient(135deg, 
    var(--dark-bg) 0%, 
    rgba(233, 30, 99, 0.05) 25%, 
    var(--dark-bg) 50%,
    rgba(194, 24, 91, 0.08) 75%, 
    var(--dark-bg) 100%
  );
  position: relative;
}

.wit-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(233, 30, 99, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(194, 24, 91, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.wit-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.wit-logo {
  height: 80px;
  width: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 20px rgba(233, 30, 99, 0.3));
}

.wit-title {
  background: var(--wit-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.wit-subtitle {
  font-size: 1.2rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.wit-about {
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.wit-mission {
  background: rgba(233, 30, 99, 0.05);
  border: 1px solid rgba(233, 30, 99, 0.2);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(233, 30, 99, 0.1);
}

.wit-mission h3 {
  color: var(--wit-primary);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.wit-mission p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--pure-white);
  margin-bottom: 2rem;
}

.wit-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.wit-stats .stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(233, 30, 99, 0.1);
  border-radius: 15px;
  border: 1px solid rgba(233, 30, 99, 0.3);
}

.wit-stats .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--wit-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.wit-stats .stat-label {
  color: var(--wit-accent);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.wit-team {
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.subsection-title {
  color: var(--wit-primary);
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.subsection-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--wit-gradient);
  border-radius: 2px;
}


.wit-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  justify-items: center;
}

/* For exactly 3 members - create inverted triangle layout */
@media (min-width: 900px) {
  .wit-team-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    justify-items: center;
    max-width: 600px;
  }
  
  .wit-team-grid .team-member:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }
  
  .wit-team-grid .team-member:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }
  
  .wit-team-grid .team-member:nth-child(3) {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
  }
}

@media (max-width: 899px) and (min-width: 600px) {
  .wit-team-grid {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
  }
  
  .wit-team-grid .team-member:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

@media (max-width: 599px) {
  .wit-team-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

@media (max-width: 598px) {
  .wit-team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1rem;
  }
}

.wit-member .member-photo {
  border: 3px solid var(--wit-primary);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
  box-shadow: 0 15px 35px rgba(233, 30, 99, 0.2);
}

.wit-overlay {
  background: var(--wit-gradient) !important;
}

.wit-overlay h4 {
  color: var(--pure-white);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.wit-overlay p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 500;
}

/* WIT overlay responsive text shrink */
@media (max-width: 768px) {
  .wit-overlay h4 { font-size: 1.05rem; }
  .wit-overlay p { font-size: 0.85rem; }
}
@media (max-width: 600px) {
  .wit-overlay h4 { font-size: 0.95rem; }
  .wit-overlay p { font-size: 0.78rem; }
}
@media (max-width: 420px) {
  .wit-overlay h4 { font-size: 0.88rem; letter-spacing: 0.5px; }
  .wit-overlay p { font-size: 0.7rem; }
}

.wit-sponsors {
  position: relative;
  z-index: 2;
}

.wit-gold-tier, .wit-bronze-tier {
  margin-bottom: 3rem;
}

.wit-gold-tier .tier-title,
.wit-bronze-tier .tier-title {
  color: var(--wit-primary);
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

.wit-gold-grid, .wit-bronze-grid {
  display: grid;
  gap: 2rem;
  justify-items: center;
}

.wit-gold-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.wit-bronze-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.wit-gold, .wit-bronze {
  background: rgba(233, 30, 99, 0.05);
  border: 2px solid var(--wit-primary);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(233, 30, 99, 0.1);
}

.wit-gold:hover, .wit-bronze:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(233, 30, 99, 0.2);
  border-color: var(--wit-accent);
}

.wit-gold img, .wit-bronze img {
  max-width: 100%;
  height: auto;
  filter: brightness(1.1) contrast(1.1);
}

/* Responsive Design for WIT Section */
@media (max-width: 768px) {
  .wit-section {
    padding: 4rem 0;
  }
  
  .wit-title {
    font-size: 2rem;
  }
  
  .wit-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .wit-mission {
    padding: 2rem;
  }
  
  .wit-mission h3 {
    font-size: 1.5rem;
  }
  
  .subsection-title {
    font-size: 1.8rem;
  }
  
  .wit-team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .wit-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .wit-logo {
    height: 60px;
  }
}

