/* ============================================
   SOC UGC Website - Main Stylesheet
   School of Communication Undergraduate Council
   American University
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
  /* Brand Colors - Extracted from brand assets */
  --midnight: #1B365D;
  --midnight-deep: #0F1E33;
  --au-blue: #2B4F8C;
  --berry: #B5305A;
  --berry-light: #D64D7A;
  --violet: #7B5D8E;
  --violet-light: #9B7DB0;
  --sky: #5B9BD5;
  --sky-light: #8BC4F0;
  --cloud: #E8F1F8;
  --white: #FFFFFF;
  
  /* Semantic Colors */
  --primary: var(--midnight);
  --primary-light: var(--au-blue);
  --accent: var(--berry);
  --accent-secondary: var(--violet);
  --success: #2D8F5E;
  --warning: #E5A530;
  --error: #D64545;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-bg-dark: rgba(27, 54, 93, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 8px 32px rgba(27, 54, 93, 0.15);
  --glass-blur: blur(20px);
  
  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-heading: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Font Sizes - Fluid Typography */
  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --text-lg: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  --text-xl: clamp(1.3rem, 1.1rem + 1vw, 1.7rem);
  --text-2xl: clamp(1.6rem, 1.3rem + 1.5vw, 2.2rem);
  --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --text-4xl: clamp(2.5rem, 1.8rem + 3.5vw, 4rem);
  --text-5xl: clamp(3rem, 2rem + 5vw, 5.5rem);
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 300;
  --z-toast: 400;
  --z-tooltip: 500;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--midnight);
  background: var(--cloud);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Pattern Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/pattern-bg.png');
  background-size: 600px;
  background-repeat: repeat;
  opacity: 0.4;
  pointer-events: none;
  z-index: -1;
}

/* Gradient Overlay */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(91, 155, 213, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(181, 48, 90, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(123, 93, 142, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--berry) 0%, var(--midnight) 50%, var(--au-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: 900px;
}

.container-wide {
  max-width: 1600px;
}

.section {
  padding: var(--space-4xl) 0;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

/* Flex Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }

/* Grid Utilities */
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ============================================
   GLASSMORPHISM COMPONENTS
   ============================================ */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
}

.glass-dark {
  background: var(--glass-bg-dark);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  padding: var(--space-xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

.glass-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--midnight) 0%, var(--berry) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(27, 54, 93, 0.18);
  border-color: rgba(181, 48, 90, 0.2);
}

.glass-card:hover::after {
  opacity: 1;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-xl);
  box-shadow: 
    0 4px 6px rgba(27, 54, 93, 0.05),
    0 24px 64px rgba(27, 54, 93, 0.1);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-md) 0;
  transition: all var(--transition-base);
}

.nav.scrolled {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(27, 54, 93, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--midnight);
  display: none;
}

@media (min-width: 768px) {
  .nav-logo-text {
    display: block;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex: 1;
}

.nav-link {
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--midnight);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: var(--space-md);
  right: var(--space-md);
  height: 2px;
  background: linear-gradient(90deg, var(--berry), var(--violet));
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link:hover {
  color: var(--berry);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--midnight);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

/* Mobile nav handled in comprehensive mobile styles section below */

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--midnight) 0%, var(--au-blue) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(27, 54, 93, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 54, 93, 0.4);
}

.btn-accent {
  background: linear-gradient(135deg, var(--berry) 0%, var(--berry-light) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(181, 48, 90, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(181, 48, 90, 0.4);
}

.btn-secondary {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  color: var(--midnight);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--midnight);
}

.btn-ghost {
  background: transparent;
  color: var(--midnight);
  border: 2px solid transparent;
}

.btn-ghost:hover {
  background: rgba(27, 54, 93, 0.05);
}

.btn-lg {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: var(--space-xs) var(--space-md);
  font-size: var(--text-xs);
}

.btn-icon {
  padding: var(--space-sm);
  border-radius: var(--radius-md);
}

/* ============================================
   HERO SECTION - STUNNING REDESIGN
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #e8f1f8 50%, #f0f4f8 100%);
}

/* Hero Background Effects */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(181, 48, 90, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(91, 155, 213, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 50% 80% at 60% 80%, rgba(123, 93, 142, 0.06) 0%, transparent 50%);
  animation: gradientShift 15s ease-in-out infinite alternate;
}

@keyframes gradientShift {
  0% { opacity: 1; transform: scale(1) rotate(0deg); }
  100% { opacity: 0.8; transform: scale(1.1) rotate(3deg); }
}

.hero-particles {
  position: absolute;
  inset: 0;
}

.hero-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--berry);
  border-radius: 50%;
  opacity: 0.3;
  animation: particleFloat 20s infinite;
}

.hero-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 25s; }
.hero-particles span:nth-child(2) { left: 20%; top: 60%; animation-delay: -5s; animation-duration: 20s; background: var(--violet); }
.hero-particles span:nth-child(3) { left: 35%; top: 10%; animation-delay: -10s; animation-duration: 28s; background: var(--sky); }
.hero-particles span:nth-child(4) { left: 50%; top: 80%; animation-delay: -15s; animation-duration: 22s; }
.hero-particles span:nth-child(5) { left: 65%; top: 30%; animation-delay: -3s; animation-duration: 26s; background: var(--au-blue); }
.hero-particles span:nth-child(6) { left: 75%; top: 70%; animation-delay: -8s; animation-duration: 24s; background: var(--violet); }
.hero-particles span:nth-child(7) { left: 85%; top: 15%; animation-delay: -12s; animation-duration: 30s; background: var(--sky); }
.hero-particles span:nth-child(8) { left: 90%; top: 50%; animation-delay: -7s; animation-duration: 21s; }
.hero-particles span:nth-child(9) { left: 5%; top: 85%; animation-delay: -18s; animation-duration: 27s; background: var(--au-blue); }
.hero-particles span:nth-child(10) { left: 45%; top: 45%; animation-delay: -2s; animation-duration: 23s; background: var(--violet); }

@keyframes particleFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  25% { transform: translate(30px, -50px) scale(1.5); opacity: 0.5; }
  50% { transform: translate(-20px, -100px) scale(1); opacity: 0.3; }
  75% { transform: translate(40px, -50px) scale(1.2); opacity: 0.4; }
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27, 54, 93, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 54, 93, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  flex-shrink: 0;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(181, 48, 90, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.6s ease-out;
  box-shadow: 0 4px 20px rgba(27, 54, 93, 0.1);
}

.hero-badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--berry);
  border-radius: 50%;
  animation: badgePulse 2s infinite;
  box-shadow: 0 0 0 0 rgba(181, 48, 90, 0.4);
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(181, 48, 90, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(181, 48, 90, 0); }
}

.hero-badge::before {
  display: none;
  width: 8px;
  height: 8px;
  background: var(--berry);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* Hero Title */
.hero-title {
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: var(--space-xl);
  letter-spacing: -0.02em;
}

.hero-title-line {
  display: block;
  overflow: hidden;
}

.hero-title-line:first-child {
  animation: slideInTitle 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards;
}

.hero-title-line-2 {
  animation: slideInTitle 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s backwards;
  background: linear-gradient(135deg, var(--midnight) 0%, var(--au-blue) 50%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--au-blue);
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
  animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.hero-subtitle strong {
  color: var(--midnight);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  animation: fadeInUp 0.6s ease-out 0.5s backwards;
  margin-bottom: var(--space-3xl);
}

/* Glow Button */
.btn-glow {
  position: relative;
  background: linear-gradient(135deg, var(--berry) 0%, var(--violet) 100%);
  box-shadow: 0 4px 20px rgba(181, 48, 90, 0.3);
  overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--berry-light) 0%, var(--berry) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(181, 48, 90, 0.4);
}

.btn-glow span,
.btn-glow svg {
  position: relative;
  z-index: 1;
}

/* Glass Button */
.btn-glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(27, 54, 93, 0.15);
  color: var(--midnight);
  box-shadow: 0 4px 15px rgba(27, 54, 93, 0.08);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(181, 48, 90, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27, 54, 93, 0.12);
}

/* Scroll Indicator */
.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-xs);
  color: var(--au-blue);
  font-size: var(--text-sm);
  font-weight: 500;
  animation: fadeInUp 0.6s ease-out 0.7s backwards;
}

.hero-scroll-indicator svg {
  animation: bounceDown 2s infinite;
  margin-top: 4px;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Hero Visual - HIDDEN for centered layout */
.hero-visual {
  display: none;
}

.hero-visual-glow {
  display: none;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-illustration {
  display: none;
}

.hero-float-icon {
  position: absolute;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(27, 54, 93, 0.15);
  backdrop-filter: blur(8px);
  animation: floatIcon 6s ease-in-out infinite;
}

.hero-float-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--berry);
}

.hero-float-1 { top: 10%; left: 15%; animation-delay: 0s; }
.hero-float-2 { top: 5%; left: 50%; animation-delay: 0.5s; }
.hero-float-3 { top: 15%; right: 10%; animation-delay: 1s; }
.hero-float-4 { top: 45%; left: 5%; animation-delay: 1.5s; }
.hero-float-5 { top: 40%; right: 5%; animation-delay: 2s; }
.hero-float-6 { bottom: 25%; left: 10%; animation-delay: 2.5s; }
.hero-float-7 { bottom: 15%; left: 45%; animation-delay: 3s; }
.hero-float-8 { bottom: 20%; right: 15%; animation-delay: 3.5s; }

.hero-float-1 svg { stroke: var(--berry); }
.hero-float-2 svg { stroke: var(--violet); }
.hero-float-3 svg { stroke: var(--sky); }
.hero-float-4 svg { stroke: var(--au-blue); }
.hero-float-5 svg { stroke: var(--berry); }
.hero-float-6 svg { stroke: var(--violet); }
.hero-float-7 svg { stroke: var(--sky); }
.hero-float-8 svg { stroke: var(--berry); }

@keyframes floatIcon {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-12px) rotate(3deg); }
  50% { transform: translateY(-6px) rotate(-2deg); }
  75% { transform: translateY(-18px) rotate(2deg); }
}

.hero-connections {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.connection-line {
  stroke-dasharray: 8 4;
  animation: dashFlow 20s linear infinite;
}

@keyframes dashFlow {
  to { stroke-dashoffset: -100; }
}

.connection-node {
  animation: nodePulse 3s ease-in-out infinite;
}

@keyframes nodePulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@media (max-width: 1024px) {
  .hero-visual {
    display: none;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-scroll-indicator {
    align-items: center;
    margin: 0 auto;
  }
}

/* ============================================
   CENTERED HERO LAYOUT
   ============================================ */

.hero-centered {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-centered .container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-centered .hero-centered-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 100px);
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
  width: 100%;
}

.hero-content-center {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-xl);
}

.hero-title-large {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: var(--space-xl);
  color: var(--midnight);
  letter-spacing: -0.02em;
}

.hero-subtitle-large {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  color: var(--au-blue);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions-center {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-centered {
  position: relative;
}

.hero-centered .hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
}

/* Orbiting icons around the centered content */
.hero-orbit-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(27, 54, 93, 0.12), 0 4px 12px rgba(27, 54, 93, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: orbitFloat 5s ease-in-out infinite;
  z-index: 5;
}

.hero-orbit-icon svg {
  width: 30px;
  height: 30px;
}

/* Position icons scattered around the content */
.orbit-1 {
  top: 12%;
  left: 5%;
  animation-delay: 0s;
}
.orbit-1 svg { stroke: var(--berry); }

.orbit-2 {
  top: 8%;
  right: 18%;
  animation-delay: 0.8s;
}
.orbit-2 svg { stroke: var(--violet); }

.orbit-3 {
  top: 35%;
  right: 3%;
  animation-delay: 1.6s;
}
.orbit-3 svg { stroke: var(--sky); }

.orbit-4 {
  bottom: 20%;
  right: 10%;
  animation-delay: 2.4s;
}
.orbit-4 svg { stroke: var(--au-blue); }

.orbit-5 {
  bottom: 12%;
  left: 18%;
  animation-delay: 3.2s;
}
.orbit-5 svg { stroke: var(--berry); }

.orbit-6 {
  top: 50%;
  left: 2%;
  animation-delay: 4s;
}
.orbit-6 svg { stroke: var(--violet); }

@keyframes orbitFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-12px) scale(1.03);
  }
}

/* Responsive adjustments for centered hero */
@media (max-width: 1024px) {
  .hero-orbit-icon {
    width: 50px;
    height: 50px;
  }

  .hero-orbit-icon svg {
    width: 24px;
    height: 24px;
  }
}

/* Hide orbit icons on mobile - target everything */
@media (max-width: 900px) {
  .orbit-icons-container,
  .hero-orbit-icon,
  .orbit-1, .orbit-2, .orbit-3,
  .orbit-4, .orbit-5, .orbit-6,
  .hero-centered-wrapper .hero-orbit-icon,
  .hero-centered .hero-orbit-icon {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
  }
}

/* ============================================
   COLOR STRIPE DECORATION
   ============================================ */
.color-stripe {
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--midnight) 0%,
    var(--midnight) 16.66%,
    var(--au-blue) 16.66%,
    var(--au-blue) 33.33%,
    var(--berry) 33.33%,
    var(--berry) 50%,
    var(--violet) 50%,
    var(--violet) 66.66%,
    var(--sky) 66.66%,
    var(--sky) 83.33%,
    var(--cloud) 83.33%,
    var(--cloud) 100%
  );
}

.color-stripe-vertical {
  width: 6px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--midnight) 0%,
    var(--au-blue) 20%,
    var(--berry) 40%,
    var(--violet) 60%,
    var(--sky) 80%,
    var(--cloud) 100%
  );
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.team-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, var(--violet-light) 0%, var(--sky-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-3xl);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(123, 93, 142, 0.3);
  transition: transform var(--transition-base);
}

.team-card:hover .team-avatar {
  transform: scale(1.05) rotate(3deg);
}

/* Vacant Position Styling */
.team-card-vacant {
  border: 2px dashed rgba(27, 54, 93, 0.2);
  background: rgba(255, 255, 255, 0.5);
}

.team-avatar-vacant {
  background: linear-gradient(135deg, rgba(27, 54, 93, 0.1) 0%, rgba(91, 155, 213, 0.15) 100%) !important;
  color: var(--au-blue);
  border: 2px dashed var(--au-blue);
}

.team-card-vacant .team-name {
  color: var(--au-blue);
  font-style: italic;
}

.team-card-vacant .team-role {
  color: var(--violet);
}

/* Small Program Icons */
.program-icon-sm {
  width: 44px;
  height: 44px;
}

.team-name {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.team-role {
  font-size: var(--text-sm);
  color: var(--berry);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.team-description {
  font-size: var(--text-sm);
  color: var(--au-blue);
  line-height: 1.6;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: linear-gradient(135deg, rgba(27, 54, 93, 0.08) 0%, rgba(181, 48, 90, 0.08) 100%);
  color: var(--berry);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  border: 1px solid rgba(181, 48, 90, 0.15);
  position: relative;
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-subtitle {
  color: var(--au-blue);
  font-size: var(--text-lg);
}

/* ============================================
   FEATURES / SERVICES
   ============================================ */
.feature-card {
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--midnight) 0%, var(--berry) 100%);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(27, 54, 93, 0.3);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 12px 32px rgba(181, 48, 90, 0.35);
}

/* Program Cards */
.program-card {
  text-align: center;
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--midnight) 0%, var(--au-blue) 50%, var(--berry) 100%);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.program-card:hover::before {
  transform: scaleX(1);
}

.program-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, var(--au-blue) 0%, var(--sky) 100%);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(43, 79, 140, 0.3);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.program-card:hover .program-icon {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 28px rgba(43, 79, 140, 0.4);
}

.program-title {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--midnight);
}

.program-subtitle {
  font-size: var(--text-sm);
  color: var(--au-blue);
}

/* Value Icons (for lists) */
.value-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--berry) 0%, var(--violet) 100%);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(181, 48, 90, 0.25);
}

.feature-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.feature-description {
  color: var(--au-blue);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* ============================================
   STATS - ENHANCED
   ============================================ */
.stats-section {
  position: relative;
  z-index: 10;
  padding: var(--space-2xl) 0;
}

.stats-panel {
  padding: var(--space-2xl) var(--space-xl);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 4px 6px rgba(27, 54, 93, 0.03),
    0 20px 60px rgba(27, 54, 93, 0.12);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  text-align: center;
  padding: var(--space-lg);
  position: relative;
  transition: transform var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-card::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(27, 54, 93, 0.1), transparent);
}

.stat-card:last-child::after {
  display: none;
}

@media (max-width: 768px) {
  .stat-card::after {
    display: none;
  }
}

.stat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(181, 48, 90, 0.1) 0%, rgba(123, 93, 142, 0.1) 100%);
  color: var(--berry);
  transition: all var(--transition-base);
}

.stat-card:hover .stat-icon {
  background: linear-gradient(135deg, var(--berry) 0%, var(--violet) 100%);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 24px rgba(181, 48, 90, 0.3);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  background: linear-gradient(135deg, var(--berry) 0%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xs);
  line-height: 1;
  letter-spacing: -0.02em;
}

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

.stat-label {
  font-size: var(--text-base);
  color: var(--midnight);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.stat-detail {
  font-size: var(--text-xs);
  color: var(--au-blue);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   EVENTS
   ============================================ */
.event-card {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  align-items: flex-start;
}

.event-date {
  text-align: center;
  min-width: 70px;
  padding: var(--space-md);
  background: linear-gradient(135deg, var(--midnight) 0%, var(--au-blue) 100%);
  border-radius: var(--radius-md);
  color: var(--white);
}

.event-date-day {
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1;
}

.event-date-month {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.event-info {
  flex: 1;
}

.event-title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.event-meta {
  font-size: var(--text-sm);
  color: var(--au-blue);
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--midnight-deep);
  color: var(--cloud);
  padding: var(--space-4xl) 0 var(--space-xl);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--midnight) 0%,
    var(--au-blue) 20%,
    var(--berry) 40%,
    var(--violet) 60%,
    var(--sky) 80%,
    var(--cloud) 100%
  );
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand img {
  height: 50px;
  margin-bottom: var(--space-lg);
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(232, 241, 248, 0.7);
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 300px;
}

.footer-title {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: rgba(232, 241, 248, 0.7);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--sky-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-copyright {
  font-size: var(--text-sm);
  color: rgba(232, 241, 248, 0.5);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cloud);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--berry);
  transform: translateY(-2px);
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-md);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--midnight);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--berry);
  box-shadow: 0 0 0 3px rgba(181, 48, 90, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(27, 54, 93, 0.4);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ============================================
   DASHBOARD SPECIFIC
   ============================================ */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

.dashboard-sidebar {
  width: 280px;
  background: var(--midnight-deep);
  color: var(--white);
  padding: var(--space-xl);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: var(--z-sticky);
}

.dashboard-main {
  flex: 1;
  margin-left: 280px;
  padding: var(--space-xl);
  min-height: 100vh;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: white;
  border-radius: var(--radius-md);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: var(--au-blue);
  flex-shrink: 0;
}

/* Sidebar overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
  display: block;
  opacity: 1;
}

@media (max-width: 1024px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .dashboard-sidebar {
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    z-index: 100;
  }

  .dashboard-sidebar.open {
    transform: translateX(0);
  }

  .dashboard-main {
    margin-left: 0;
  }

  .dashboard-header {
    gap: var(--space-md);
  }
}

.sidebar-logo {
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo img {
  height: 40px;
  filter: brightness(0) invert(1);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.sidebar-link:hover,
.sidebar-link.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.sidebar-link.active {
  background: var(--berry);
}

.sidebar-link svg {
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

.sidebar-section {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-section-title {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: var(--space-md);
  padding: 0 var(--space-md);
}

/* Dashboard Header */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.dashboard-welcome {
  font-size: var(--text-2xl);
  font-weight: 600;
}

.dashboard-user {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.dashboard-user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--berry) 0%, var(--violet) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
}

/* Dashboard Cards */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.dashboard-card {
  padding: var(--space-xl);
}

.dashboard-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.dashboard-card-title {
  font-size: var(--text-sm);
  color: var(--au-blue);
  font-weight: 600;
}

.dashboard-card-value {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--midnight);
}

.dashboard-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.dashboard-card-icon.blue {
  background: rgba(91, 155, 213, 0.15);
  color: var(--sky);
}

.dashboard-card-icon.berry {
  background: rgba(181, 48, 90, 0.15);
  color: var(--berry);
}

.dashboard-card-icon.violet {
  background: rgba(123, 93, 142, 0.15);
  color: var(--violet);
}

.dashboard-card-icon.success {
  background: rgba(45, 143, 94, 0.15);
  color: var(--success);
}

/* Tool Panel */
.tool-panel {
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.tool-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.tool-title {
  font-size: var(--text-xl);
  font-weight: 600;
}

.tool-actions {
  display: flex;
  gap: var(--space-sm);
}

/* Embedded Content */
.embed-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--glass-border);
}

.embed-container iframe {
  width: 100%;
  height: 600px;
  border: none;
}

.embed-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 400px;
  background: linear-gradient(135deg, rgba(91, 155, 213, 0.05) 0%, rgba(181, 48, 90, 0.05) 100%);
  color: var(--au-blue);
  text-align: center;
  padding: var(--space-xl);
}

.embed-placeholder-icon {
  font-size: 48px;
  margin-bottom: var(--space-md);
  opacity: 0.5;
}

/* ============================================
   PAGE HERO (for subpages)
   ============================================ */
.page-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(27, 54, 93, 0.03) 0%,
    rgba(181, 48, 90, 0.05) 50%,
    rgba(123, 93, 142, 0.03) 100%);
}

.page-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: radial-gradient(circle at 25% 25%, rgba(181, 48, 90, 0.1) 0%, transparent 50%),
                    radial-gradient(circle at 75% 75%, rgba(27, 54, 93, 0.1) 0%, transparent 50%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.page-hero-title {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.page-hero-subtitle {
  font-size: var(--text-lg);
  color: var(--au-blue);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-hero {
    padding: 120px 0 60px;
  }

  .page-hero-title {
    font-size: var(--text-3xl);
  }
}

/* ============================================
   EVENTS TIMELINE
   ============================================ */
.events-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 100px;
}

.timeline-line {
  position: absolute;
  left: 50px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--berry) 0%, var(--violet) 50%, var(--au-blue) 100%);
  border-radius: 1px;
}

.timeline-event {
  position: relative;
  margin-bottom: var(--space-xl);
}

.timeline-date-badge {
  position: absolute;
  left: -100px;
  top: 20px;
  width: 70px;
  text-align: center;
  background: linear-gradient(135deg, var(--berry) 0%, var(--violet) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-sm) var(--space-xs);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(181, 48, 90, 0.3);
}

.timeline-month {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

.timeline-day {
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1;
}

.timeline-card {
  position: relative;
  padding: var(--space-xl);
  margin-left: var(--space-xl);
}

.timeline-card::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-xl) - 6px);
  top: 28px;
  width: 12px;
  height: 12px;
  background: var(--white);
  border: 3px solid var(--berry);
  border-radius: 50%;
  z-index: 1;
}

.timeline-card-header {
  margin-bottom: var(--space-md);
}

.event-type-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-type-badge.networking {
  background: rgba(27, 54, 93, 0.1);
  color: var(--au-blue);
}

.event-type-badge.career {
  background: rgba(181, 48, 90, 0.1);
  color: var(--berry);
}

.event-type-badge.community {
  background: rgba(123, 93, 142, 0.1);
  color: var(--violet);
}

.event-type-badge.wellness {
  background: rgba(102, 51, 153, 0.1);
  color: #663399;
}

.event-type-badge.workshop {
  background: rgba(0, 128, 128, 0.1);
  color: teal;
}

.event-type-badge.advocacy {
  background: rgba(27, 54, 93, 0.1);
  color: var(--midnight);
}

.timeline-card-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: var(--space-sm);
}

.timeline-card-desc {
  color: var(--au-blue);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.timeline-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--au-blue);
}

.meta-item svg {
  color: var(--berry);
}

@media (max-width: 768px) {
  .events-timeline {
    padding-left: 0;
  }

  .timeline-line {
    left: 20px;
  }

  .timeline-date-badge {
    position: relative;
    left: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    margin-left: 50px;
  }

  .timeline-month {
    font-size: var(--text-sm);
  }

  .timeline-day {
    font-size: var(--text-lg);
  }

  .timeline-card {
    margin-left: 50px;
  }

  .timeline-card::before {
    left: calc(-50px + 14px);
  }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-section {
  background: linear-gradient(135deg, var(--midnight) 0%, var(--au-blue) 100%);
  padding: var(--space-lg) 0;
  overflow: hidden;
  position: relative;
}

.marquee-section::before,
.marquee-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
}

.marquee-section::before {
  left: 0;
  background: linear-gradient(90deg, var(--midnight) 0%, transparent 100%);
}

.marquee-section::after {
  right: 0;
  background: linear-gradient(90deg, transparent 0%, var(--au-blue) 100%);
}

.marquee-track {
  display: flex;
  width: fit-content;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  animation: marqueeScroll 30s linear infinite;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.marquee-dot {
  width: 8px;
  height: 8px;
  background: var(--berry);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: var(--space-4xl) 0;
}

.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.cta-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--midnight) 0%,
    var(--au-blue) 20%,
    var(--berry) 40%,
    var(--violet) 60%,
    var(--sky) 80%,
    var(--cloud) 100%
  );
}

.cta-content {
  padding: var(--space-3xl);
  text-align: center;
  position: relative;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: linear-gradient(135deg, rgba(181, 48, 90, 0.1) 0%, rgba(123, 93, 142, 0.1) 100%);
  border: 1px solid rgba(181, 48, 90, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--berry);
  margin-bottom: var(--space-xl);
}

.cta-badge svg {
  color: var(--berry);
}

.cta-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: var(--space-md);
}

.cta-subtitle {
  font-size: var(--text-lg);
  color: var(--au-blue);
  max-width: 500px;
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

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

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

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

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

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.animate-fadeIn { animation: fadeIn 0.5s ease-out; }
.animate-fadeInUp { animation: fadeInUp 0.5s ease-out; }
.animate-fadeInDown { animation: fadeInDown 0.5s ease-out; }
.animate-slideInLeft { animation: slideInLeft 0.5s ease-out; }
.animate-slideInRight { animation: slideInRight 0.5s ease-out; }

/* Stagger animations */
.stagger > * {
  opacity: 0;
  animation: fadeInUp 0.5s ease-out forwards;
}

.stagger > *:nth-child(1) { animation-delay: 0.1s; }
.stagger > *:nth-child(2) { animation-delay: 0.2s; }
.stagger > *:nth-child(3) { animation-delay: 0.3s; }
.stagger > *:nth-child(4) { animation-delay: 0.4s; }
.stagger > *:nth-child(5) { animation-delay: 0.5s; }
.stagger > *:nth-child(6) { animation-delay: 0.6s; }
.stagger > *:nth-child(7) { animation-delay: 0.7s; }
.stagger > *:nth-child(8) { animation-delay: 0.8s; }

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-midnight { color: var(--midnight); }
.text-berry { color: var(--berry); }
.text-violet { color: var(--violet); }
.text-sky { color: var(--sky); }
.text-muted { color: var(--au-blue); }

.bg-midnight { background-color: var(--midnight); }
.bg-berry { background-color: var(--berry); }
.bg-cloud { background-color: var(--cloud); }

.font-display { font-family: var(--font-display); }
.font-heading { font-family: var(--font-heading); }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   LOADING STATES
   ============================================ */
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(27, 54, 93, 0.05) 25%,
    rgba(27, 54, 93, 0.1) 50%,
    rgba(27, 54, 93, 0.05) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(27, 54, 93, 0.1);
  border-top-color: var(--berry);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ============================================
   LOGIN MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 30, 51, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

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

.modal {
  width: 100%;
  max-width: 440px;
  margin: var(--space-lg);
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition-base);
}

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

.modal-content {
  padding: var(--space-2xl);
  text-align: center;
}

.modal-logo {
  width: 80px;
  margin: 0 auto var(--space-lg);
}

.modal-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
}

.modal-subtitle {
  color: var(--au-blue);
  margin-bottom: var(--space-2xl);
}

.modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--au-blue);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(27, 54, 93, 0.05);
  color: var(--midnight);
}

/* Google Sign In Button */
.btn-google {
  width: 100%;
  padding: var(--space-md) var(--space-xl);
  background: var(--white);
  border: 2px solid var(--glass-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  font-weight: 600;
  color: var(--midnight);
  transition: all var(--transition-fast);
}

.btn-google:hover {
  border-color: var(--midnight);
  box-shadow: 0 4px 12px rgba(27, 54, 93, 0.1);
}

.btn-google svg {
  width: 24px;
  height: 24px;
}

/* Login Divider */
.login-divider {
  display: flex;
  align-items: center;
  margin: var(--space-lg) 0;
  color: var(--au-blue);
  font-size: var(--text-sm);
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--glass-border);
}

.login-divider span {
  padding: 0 var(--space-md);
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.toast {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--text-sm);
  font-weight: 500;
  animation: slideInRight 0.3s ease-out;
  max-width: 400px;
}

.toast-success {
  background: var(--success);
  color: var(--white);
}

.toast-error {
  background: var(--error);
  color: var(--white);
}

.toast-info {
  background: var(--sky);
  color: var(--white);
}

/* ============================================
   PAGE TRANSITIONS & ANIMATIONS
   ============================================ */

/* Smooth page load animation */
@keyframes pageLoad {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

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

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

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

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Apply page load animation */
body {
  animation: pageLoad 0.6s ease-out;
}

/* Staggered animations for sections */
.section {
  animation: fadeInUp 0.8s ease-out both;
}

.section:nth-child(2) { animation-delay: 0.1s; }
.section:nth-child(3) { animation-delay: 0.2s; }
.section:nth-child(4) { animation-delay: 0.3s; }
.section:nth-child(5) { animation-delay: 0.4s; }

/* Card hover animations */
.glass-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(27, 54, 93, 0.2);
}

/* Feature cards animation on scroll */
.feature-card,
.program-card,
.event-card,
.team-card {
  animation: fadeInUp 0.6s ease-out both;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

.program-card:nth-child(1) { animation-delay: 0.05s; }
.program-card:nth-child(2) { animation-delay: 0.1s; }
.program-card:nth-child(3) { animation-delay: 0.15s; }
.program-card:nth-child(4) { animation-delay: 0.2s; }
.program-card:nth-child(5) { animation-delay: 0.25s; }
.program-card:nth-child(6) { animation-delay: 0.3s; }

/* Icon animations */
.feature-icon,
.program-icon,
.value-icon {
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.glass-card:hover .feature-icon,
.glass-card:hover .program-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Button hover effects */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::after {
  width: 300px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(27, 54, 93, 0.2);
}

.btn:active {
  transform: translateY(0);
}


/* Hero section special animations */
.hero-content {
  animation: slideInLeft 0.8s ease-out 0.2s both;
}

.hero-visual {
  animation: slideInRight 0.8s ease-out 0.4s both;
}

.hero-visual img {
  animation: float 6s ease-in-out infinite;
}

/* Section header animations */
.section-header {
  animation: fadeInUp 0.6s ease-out both;
}

.section-tag {
  animation: fadeInScale 0.5s ease-out 0.2s both;
}

.section-title {
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.section-subtitle {
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* Text gradient animation */
.text-gradient {
  background: linear-gradient(135deg, var(--berry), var(--violet), var(--sky), var(--berry));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 8s ease-in-out infinite;
}

/* Smooth scrolling for internal links */
html {
  scroll-behavior: smooth;
}

/* Loading state animation */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 1.5s infinite;
}

/* Stats counter animation */
.stat-number {
  transition: all 0.3s ease;
}

.stat-card:hover .stat-number {
  transform: scale(1.1);
  color: var(--berry);
}

/* Footer animations */
.footer {
  animation: fadeInUp 0.6s ease-out both;
}

.footer-social a {
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.footer-social a:hover {
  transform: translateY(-5px) scale(1.1);
}

/* Modal animations */
.modal-overlay {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal {
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.3s ease;
}

.modal-overlay.active .modal {
  animation: fadeInScale 0.4s ease-out;
}

/* Event card special hover */
.event-card {
  position: relative;
  overflow: hidden;
}

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

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

/* Color stripe animation */
.color-stripe {
  height: 4px;
  background: linear-gradient(90deg, var(--berry), var(--violet), var(--sky), var(--berry));
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
}

/* ============================================
   COMPREHENSIVE MOBILE STYLES
   ============================================ */

/* Mobile Navigation - Full Overhaul */
@media (max-width: 900px) {
  .nav {
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
  }

  .nav-inner {
    padding: var(--space-sm) var(--space-md);
    position: relative;
    z-index: 1002;
  }

  .nav-logo img {
    height: 40px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    z-index: 1001;
    padding: 80px var(--space-xl);
    overflow-y: auto;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .nav-link {
    font-size: 1.5rem;
    font-weight: 600;
    padding: var(--space-md) var(--space-lg);
    color: var(--midnight);
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(27, 54, 93, 0.08);
  }

  .nav-links .nav-link:last-child {
    border-bottom: none;
  }

  .nav-links .nav-link:hover,
  .nav-links .nav-link.active {
    color: var(--berry);
    background: rgba(207, 49, 84, 0.05);
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1003;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .nav-actions {
    gap: var(--space-sm);
    position: relative;
    z-index: 1002;
  }

  .nav-actions .btn {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--text-sm);
  }

  #dashboardBtn {
    display: none !important;
  }

  #loginBtn {
    padding: var(--space-xs) var(--space-sm);
  }

  #loginBtn svg {
    display: none;
  }
}

/* Mobile Hero Section */
@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero .container {
    width: 100%;
    padding: 0 var(--space-md);
  }

  .hero-centered .hero-centered-wrapper {
    min-height: auto;
    padding: var(--space-xl) 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .hero-content-center {
    padding: 0;
    text-align: center;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-badge {
    font-size: 11px;
    padding: 6px 14px;
    margin-bottom: var(--space-md);
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title-large {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: var(--space-md);
    text-align: center;
    width: 100%;
  }

  .hero-subtitle-large {
    font-size: var(--text-base);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
    padding: 0 var(--space-sm);
    text-align: center;
    width: 100%;
  }

  .hero-actions-center {
    flex-direction: column;
    gap: var(--space-md);
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
  }

  .hero-actions-center .btn {
    width: 100%;
    justify-content: center;
    padding: var(--space-md) var(--space-lg);
  }

  .hero-scroll-indicator {
    position: relative;
    bottom: auto;
    margin-top: var(--space-xl);
  }

  .hero-bg {
    opacity: 0.3;
  }
}

/* Mobile Marquee Section */
@media (max-width: 768px) {
  .marquee-section {
    padding: var(--space-md) 0;
  }

  .marquee-item {
    font-size: var(--text-sm);
  }

  .marquee-content {
    gap: var(--space-lg);
  }
}

/* Mobile Stats Section */
@media (max-width: 768px) {
  .stats-section {
    padding: var(--space-xl) 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    padding: var(--space-lg);
  }

  .stat-card {
    padding: var(--space-md);
    text-align: center;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto var(--space-sm);
  }

  .stat-icon svg {
    width: 20px;
    height: 20px;
  }

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

  .stat-label {
    font-size: var(--text-sm);
    margin-bottom: 2px;
  }

  .stat-detail {
    font-size: 10px;
  }
}

/* Mobile Grids */
@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .gap-2xl {
    gap: var(--space-lg);
  }

  .container {
    padding: 0 var(--space-md);
  }
}

/* Mobile Sections */
@media (max-width: 768px) {
  .section {
    padding: var(--space-2xl) 0;
  }

  .section-sm {
    padding: var(--space-xl) 0;
  }

  .section-header {
    margin-bottom: var(--space-xl);
    padding: 0;
  }

  .section-tag {
    font-size: 11px;
    padding: 4px 12px;
    margin-bottom: var(--space-sm);
  }

  .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    line-height: 1.2;
    margin-bottom: var(--space-sm);
  }

  .section-subtitle {
    font-size: var(--text-base);
    line-height: 1.6;
    padding: 0 var(--space-sm);
  }
}

/* Mobile Cards */
@media (max-width: 768px) {
  .glass-card,
  .glass-panel {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
  }

  .feature-card {
    padding: var(--space-lg);
  }

  .feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
  }

  .feature-title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-xs);
  }

  .feature-description {
    font-size: var(--text-sm);
    line-height: 1.5;
  }

  .program-card {
    padding: var(--space-md);
  }

  .program-icon {
    width: 40px;
    height: 40px;
  }

  .program-title {
    font-size: var(--text-sm);
  }
}

/* Mobile Team Grid */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .team-card {
    padding: var(--space-lg);
  }

  .team-avatar {
    width: 60px;
    height: 60px;
    font-size: var(--text-xl);
  }

  .team-name {
    font-size: var(--text-lg);
  }

  .team-role {
    font-size: var(--text-sm);
  }

  .team-description {
    font-size: var(--text-sm);
  }
}

/* Mobile Footer */
@media (max-width: 768px) {
  .footer {
    padding: var(--space-2xl) 0 var(--space-lg);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-brand img {
    height: 48px;
    margin: 0 auto var(--space-md);
  }

  .footer-brand p {
    font-size: var(--text-sm);
    max-width: 280px;
    margin: 0 auto;
  }

  .footer-column h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-md);
  }

  .footer-links {
    justify-content: center;
    gap: var(--space-sm);
  }

  .footer-links a {
    font-size: var(--text-sm);
    padding: var(--space-xs) 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
    padding-top: var(--space-lg);
    margin-top: var(--space-xl);
  }

  .footer-social {
    justify-content: center;
    order: -1;
  }

  .footer-bottom p {
    font-size: var(--text-xs);
  }
}

/* Mobile CTA Section */
@media (max-width: 768px) {
  .cta-section {
    padding: var(--space-2xl) var(--space-md);
  }

  .cta-content h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: var(--space-sm);
  }

  .cta-content p {
    font-size: var(--text-base);
    margin-bottom: var(--space-lg);
  }

  .cta-actions {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* Mobile Forms */
@media (max-width: 768px) {
  .form-group {
    margin-bottom: var(--space-md);
  }

  .form-label {
    font-size: var(--text-sm);
    margin-bottom: var(--space-xs);
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: var(--space-sm) var(--space-md);
    font-size: 16px; /* Prevent zoom on iOS */
  }

  .form-textarea {
    min-height: 120px;
  }
}

/* Mobile Modal */
@media (max-width: 768px) {
  .modal-overlay {
    padding: var(--space-md);
    align-items: flex-end;
  }

  .modal {
    width: 100%;
    max-width: none;
    max-height: 90vh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: var(--space-xl) var(--space-lg);
    margin: 0;
  }

  .modal-logo {
    width: 56px;
    height: 56px;
  }

  .modal-title {
    font-size: var(--text-xl);
  }

  .modal-subtitle {
    font-size: var(--text-sm);
  }
}

/* Mobile Buttons */
@media (max-width: 768px) {
  .btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-sm);
  }

  .btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-base);
  }

  .btn svg {
    width: 16px;
    height: 16px;
  }
}

/* Mobile Page Hero */
@media (max-width: 768px) {
  .page-hero {
    padding: 120px 0 var(--space-2xl);
  }

  .page-hero-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .page-hero-subtitle {
    font-size: var(--text-base);
    padding: 0 var(--space-sm);
  }
}

/* Mobile Events Timeline */
@media (max-width: 768px) {
  .events-timeline {
    padding-left: var(--space-lg);
  }

  .timeline-line {
    left: 0;
  }

  .event-card {
    padding: var(--space-lg);
  }

  .event-date {
    font-size: var(--text-xs);
  }

  .event-title {
    font-size: var(--text-lg);
  }

  .event-description {
    font-size: var(--text-sm);
  }
}

/* Very Small Screens (< 480px) */
@media (max-width: 480px) {
  .hero-title-large {
    font-size: 1.5rem;
  }

  .hero-subtitle-large {
    font-size: var(--text-sm);
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .stat-card {
    flex-direction: row;
    text-align: left;
    gap: var(--space-md);
  }

  .stat-icon {
    margin: 0;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .btn-lg {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-sm);
  }

  .nav-actions .btn {
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--text-xs);
  }
}

/* Touch-friendly tap targets */
@media (max-width: 768px) {
  a, button, .btn, .nav-link, input, select, textarea {
    min-height: 44px;
  }

  .nav-link {
    min-height: auto;
  }
}

/* Fix for iOS Safari viewport */
@supports (-webkit-touch-callout: none) {
  .hero {
    min-height: -webkit-fill-available;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  body::before,
  body::after,
  .nav,
  .footer,
  .btn,
  .modal-overlay {
    display: none !important;
  }

  .glass,
  .glass-card,
  .glass-panel {
    background: var(--white) !important;
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
}
