/* ===========================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   =========================================== */
:root {
  /* Use the dark mode colors as the default */
  /* Primary Brand Colors */
  --primary-color: #4d94ff;
  --secondary-color: #3d7ddb;
  --accent-color: #42a5f5;
  
  /* Status Colors */
  --success-color: #2e7d32;
  --warning-color: #f57c00;
  --error-color: #d32f2f;
  
  /* Text Colors */
  --text-color: #f5f5f5;
  --text-light: #d0d0d0;
  --text-muted: #a8a8a8;
  
  /* Gray Scale */
  --light-gray: #2c2c2c;
  --medium-gray: #404040;
  --border-color: #606060;
  --white: #1a1a1a;
  --black: #000000;
  
  /* Background Colors */
  --bg-primary: #1f1f1f;
  --bg-secondary: #2a2a2a;
  
  /* Animation & Effects */
  --transition-speed: 0.3s;
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
  --hover-shadow: 0 8px 20px rgba(77, 148, 255, 0.2);
  --intense-shadow: 0 20px 40px rgba(77, 148, 255, 0.3);
  
  /* Typography Scales */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  /* Spacing Scale */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
}

/* ===========================================
   KEYFRAME ANIMATIONS
   =========================================== */
/* Advanced Animations */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes slideInLeft {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(30, 136, 229, 0.3); }
  50% { box-shadow: 0 0 30px rgba(30, 136, 229, 0.6); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ===========================================
   ACCESSIBILITY FEATURES
   =========================================== */
/* High Contrast Mode for Maximum Accessibility */
.high-contrast-mode {
  --text-color: #000000;
  --text-light: #1a1a1a;
  --text-muted: #333333;
  --bg-primary: #ffffff;
  --bg-secondary: #f8f8f8;
  --white: #ffffff;
  --primary-color: #000066;
  --secondary-color: #000099;
  --accent-color: #0066cc;
  --border-color: #666666;
}

/* High contrast text styles */
.high-contrast-mode h1,
.high-contrast-mode h2,
.high-contrast-mode h3,
.high-contrast-mode h4,
.high-contrast-mode h5,
.high-contrast-mode h6 {
  color: #000000;
  font-weight: 700;
  text-shadow: none;
}

.high-contrast-mode p,
.high-contrast-mode span,
.high-contrast-mode div {
  color: #000000;
  font-weight: 500;
  text-shadow: none;
}

/* High contrast button styles */
.high-contrast-mode .button {
  background-color: #000066;
  color: #ffffff;
  border: 2px solid #000000;
  font-weight: 700;
}

.high-contrast-mode .button:hover {
  background-color: #000099;
  border-color: #333333;
}

/* Skip to main content link for screen readers */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #00205b;
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 10000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 6px;
}

/* ===========================================
   BASE STYLES & BODY
   =========================================== */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--white);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 450;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===========================================
   TEXT STYLING UTILITIES
   =========================================== */
/* Enhanced Text Contrast with Maximum Readability */
.text-high-contrast {
  color: var(--text-color);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.text-medium-contrast {
  color: var(--text-light);
  font-weight: 500;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.text-low-contrast {
  color: var(--text-muted);
  font-weight: 400;
}

/* Ultra-high contrast for critical text */
.text-ultra-contrast {
  color: var(--black);
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Enhanced readability for body text */
.text-readable {
  color: var(--text-color);
  font-weight: 450;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* ===========================================
   BACKGROUND EFFECTS & ANIMATIONS
   =========================================== */
/* Particle Background Animation */
.particle-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatParticle 20s linear infinite;
  opacity: 0.6;
}

/* Advanced Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--secondary-color), var(--primary-color));
  z-index: 1001;
  transition: width 0.1s ease;
  box-shadow: 0 2px 10px rgba(30, 136, 229, 0.4);
}

.scroll-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s ease-in-out infinite;
}

/* Advanced Floating Elements */
.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.floating-shape {
  position: absolute;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.floating-shape:nth-child(2) {
  top: 20%;
  right: 15%;
  animation-delay: -2s;
}

.floating-shape:nth-child(3) {
  bottom: 15%;
  left: 20%;
  animation-delay: -4s;
}

.floating-shape:nth-child(4) {
  bottom: 30%;
  right: 10%;
  animation-delay: -1s;
}

.floating-shape:nth-child(5) {
  top: 50%;
  left: 5%;
  animation-delay: -3s;
}

.floating-shape:nth-child(6) {
  top: 60%;
  right: 5%;
  animation-delay: -5s;
}

/* ===========================================
   HEADER STYLES
   =========================================== */
/* Enhanced Header with Maximum Contrast */
header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: rgba(0, 26, 77, 0.99);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  z-index: 1000;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

.header-scrolled {
  background: rgba(0, 26, 77, 1);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
}

/* Logo and branding styles */
.logo-container {
  display: flex;
  align-items: center;
  transition: transform var(--transition-speed) ease;
}

.logo-container:hover {
  transform: scale(1.05);
}

.logo {
  height: 40px;
  margin-right: 10px;
  transition: transform var(--transition-speed) ease;
}

.logo:hover {
  transform: rotate(5deg);
}

.team-name {
  font-size: 1.5em;
  font-weight: bold;
  color: white;
  text-decoration: none;
  transition: color var(--transition-speed) ease;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.team-name:hover {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Contact link styling */
.contact-link {
  font-size: 1em;
  text-decoration: none;
  color: white;
  margin-right: 20px;
  transition: all var(--transition-speed) ease;
  padding: 10px 18px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.contact-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Burger menu button */
.burger-menu {
  display: flex;
  align-items: center;
  justify-content: center;
}

.burger-icon {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 8px 15px;
  font-size: 1em;
  border-radius: 8px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.burger-icon:hover,
.burger-icon:focus {
  background-color: var(--secondary-color);
  outline: 2px solid var(--white);
  outline-offset: 2px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ===========================================
   SIDEBAR STYLES (ENHANCED)
   =========================================== */
.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  height: 100%;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 20px;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 10000;
  border-bottom-left-radius: 0.75rem;
  overflow-y: auto;
}

.sidebar.open {
  transform: translateX(0);
}

.sidebar-x {
  text-align: right;
  color: var(--white);
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 20px;
  font-size: 1.2em;
  padding: 5px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.sidebar-x:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar .logo {
  display: block;
  margin: 0 auto 20px auto;
  height: 60px;
}

.sidebar a[aria-label="Team Sheldon Home"] {
  border: none;
  outline: none;
  background: none;
  padding: 0;
  margin: 0;
}

.sidebar a[aria-label="Team Sheldon Home"]:hover,
.sidebar a[aria-label="Team Sheldon Home"]:focus {
  border: none;
  outline: none;
  background: none;
}

.sidebar-a {
  margin: 15px 0;
}

.sidebar a {
  display: block;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
  margin: 5px 0;
}

.sidebar button {
  display: block;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
  margin: 5px 0;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
}

.sidebar a:hover,
.sidebar a:focus,
.sidebar button:hover,
.sidebar button:focus {
  background-color: rgba(255, 255, 255, 0.15);
  outline: 2px solid rgba(255, 255, 255, 0.3);
  outline-offset: 2px;
  transform: translateX(3px);
}

.sidebar a[onclick]:hover,
.sidebar a[onclick]:focus,
.sidebar button[onclick]:hover,
.sidebar button[onclick]:focus {
  background-color: rgba(255, 255, 255, 0.2);
}

.resources-submenu {
  margin-left: 20px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.resources-submenu.show {
  opacity: 1;
  max-height: 200px;
}

.submenu-item {
  font-size: 0.9em;
  padding-left: 10px;
  border-left: 2px solid rgba(255, 255, 255, 0.3);
  margin: 10px 0;
}

.submenu-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.submenu-item:focus {
  background-color: rgba(255, 255, 255, 0.2);
  outline: 2px solid #ffffff;
  outline-offset: 2px;
  border-left-color: #ffffff;
}

.sidebar-links {
  padding-bottom: 30px;
}

/* ===========================================
   HERO SECTION STYLES
   =========================================== */
/* Ultra-Enhanced Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
  color: white;
  text-align: center;
  padding: 140px 20px 100px;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.05"><polygon points="0,0 1000,100 1000,0"/></svg>');
  background-size: cover;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeInUp 1s ease 0.3s forwards;
  background: linear-gradient(45deg, white, #e3f2fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 1s ease 0.6s forwards;
  font-weight: 300;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s ease 0.9s forwards;
  margin-top: 50px;
}

.hero-button {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
  padding: 18px 35px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all var(--transition-speed) ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.hero-button:hover::before {
  left: 100%;
}

.hero-button:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border-color: var(--accent-color);
}

.hero-button:active {
  transform: translateY(-2px);
}

/* Advanced Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s ease-in-out infinite;
  color: white;
  font-size: 1.5rem;
  opacity: 0.8;
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 30px;
  background: linear-gradient(to bottom, white, transparent);
}

/* ===========================================
   SCROLL ANIMATIONS
   =========================================== */
/* Enhanced Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-animation {
  transition-delay: 0.1s;
}

.stagger-animation:nth-child(2) {
  transition-delay: 0.2s;
}

.stagger-animation:nth-child(3) {
  transition-delay: 0.3s;
}

.stagger-animation:nth-child(4) {
  transition-delay: 0.4s;
}

/* ===========================================
   MAIN CONTENT & SECTIONS
   =========================================== */
main {
  padding: 0;
  text-align: center;
}

/* Enhanced Section Background Contrast */
section {
  padding: 60px 40px;
  border-top: 1px solid var(--border-color);
  text-align: center;
  position: relative;
  background-color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Alternating section backgrounds */
section:nth-child(even) {
  background-color: var(--bg-primary);
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.05);
}

section:nth-child(odd) {
  background-color: var(--white);
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.08);
}

/* Enhanced Section Titles with Maximum Contrast */
section h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  color: var(--text-color);
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ===========================================
   TYPOGRAPHY STYLES
   =========================================== */
.title {
  margin: 50px 100px;
  font-size: 3em;
  margin-bottom: 40px;
  font-weight: bold;
}

.title h1 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

h2 {
  font-size: 2.2em;
  margin-top: 20px;
  color: var(--text-color);
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h3 {
  font-size: 1.4em;
  color: var(--text-light);
  margin-bottom: 30px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Enhanced Paragraph Styling with Maximum Contrast */
p {
  font-size: 1.1em;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 30px;
  color: var(--text-color);
  font-weight: 450;
  letter-spacing: 0.01em;
}

/* Strong contrast for important text */
.text-emphasis {
  color: var(--black);
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Section introductions with maximum contrast */
section > p {
  color: var(--text-color);
  font-weight: 500;
  font-size: 1.15em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Enhanced readability for descriptive text */
.description-text {
  color: var(--text-light);
  font-weight: 450;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* ===========================================
   LAYOUT COMPONENTS
   =========================================== */
/* Grid layout system */
.grid {
  margin: 0 40px;
}

.grid-1 {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap; 
}

.grid-content {
  flex: 1;
  min-width: 280px;
}

.grid-content-p {
  line-height: 1.6;
}

.grid-img {
  max-width: 220px;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  margin-right: 20px;
}

/* Column layout system */
.columns {
  margin: 20px 40px;
  padding: 0 20px;
}

.column {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap; 
}

.column-content {
  flex: 1;
  width: 100%;
  padding: 0 20px;
}

.column-content-p {
  margin: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  line-height: 1.6;
  justify-content: center;
}

/* Interactive column buttons */
.column-content-p-1,
.column-content-p-2 {
  border: 1px solid #ddd;
  cursor: pointer;
  text-decoration: none;
  border-radius: 8px;
  padding: 10px;
  transition: transform 0.2s ease;
}

.column-content-p-1 {
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.column-content-p-2 {
  background-color: var(--bg-primary);
  color: var(--text-color);
  font-weight: 600;
  border: 2px solid var(--border-color);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.column-content-p-1:hover,
.column-content-p-2:hover {
  transform: scale(1.2);
}

.column-content-p-1:focus,
.column-content-p-2:focus {
  transform: scale(1.2);
  outline: 2px solid #00205b;
  outline-offset: 2px;
}

.column-content-p-1:active,
.column-content-p-2:active {
  transform: scale(1.1);
}

/* ===========================================
   FOOTER STYLES
   =========================================== */
footer {
  background-color: var(--bg-secondary);
  text-align: center;
  padding: 0 20px 10px;
  font-size: 0.9em;
  color: var(--text-light);
  border-top: 2px solid var(--border-color);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.footer-credit {
  font-size: 1em;
  color: var(--text-light);
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* ===========================================
   BUTTON STYLES
   =========================================== */
.button {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 15px 30px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 1.05em;
  font-weight: 700;
  margin-top: 20px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 26, 77, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 26, 77, 0.5);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.button:focus {
  background-color: var(--secondary-color);
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.button:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 26, 77, 0.4);
}

/* ===========================================
   STATS SECTION
   =========================================== */
/* Enhanced Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.stat-item {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 40px 25px;
  border-radius: 16px;
  text-align: center;
  transition: all var(--transition-speed) ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.5s ease;
}

.stat-item:hover::before {
  transform: scale(1);
}

.stat-item:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 32, 91, 0.4);
}

.stat-number {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: 1.1em;
  color: #e0e0e0;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}

/* ===========================================
   SKILLS GRID SECTION
   =========================================== */
/* Ultra-Enhanced Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 35px;
  margin-top: 50px;
  perspective: 1000px;
}

.skill-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 35px;
  text-align: center;
  transition: all var(--transition-speed) ease;
  border-top: 4px solid var(--primary-color);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  cursor: default; /* Default cursor - not clickable */
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

/* Only make clickable items have pointer cursor */
.skill-item.clickable-event {
  cursor: pointer;
}

.skill-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transition: left 0.5s ease;
}

.skill-item:hover::before {
  left: 100%;
}

.skill-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent, rgba(25, 118, 210, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill-item:hover::after {
  opacity: 1;
}

.skill-item:hover {
  transform: translateY(-12px) rotateX(5deg);
  box-shadow: 0 20px 40px rgba(0, 41, 102, 0.25);
  border-top-color: var(--accent-color);
}

.skill-item:active {
  transform: translateY(-8px) rotateX(2deg);
}

.skill-icon {
  font-size: 3.5em;
  color: var(--primary-color);
  margin-bottom: 25px;
  transition: all var(--transition-speed) ease;
  position: relative;
  z-index: 1;
}

.skill-item:hover .skill-icon {
  color: var(--accent-color);
  transform: scale(1.2) rotateY(10deg);
  animation: pulse 1s ease-in-out;
}

.skill-title {
  font-size: 1.4em;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 18px;
  transition: all var(--transition-speed) ease;
  position: relative;
  z-index: 1;
}

.skill-item:hover .skill-title {
  color: var(--primary-color);
  transform: scale(1.05);
}

.skill-description {
  font-size: 1.05em;
  color: var(--text-light);
  line-height: 1.7;
  position: relative;
  z-index: 1;
  transition: color var(--transition-speed) ease;
  font-weight: 400;
}

.skill-item:hover .skill-description {
  color: var(--text-color);
}

/* Enhanced Featured Skill Items */
.skill-item.featured {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  border-top: 4px solid var(--accent-color);
  box-shadow: 0 5px 20px rgba(0, 41, 102, 0.4);
}

.skill-item.featured .skill-icon,
.skill-item.featured .skill-title {
  color: var(--white);
}

.skill-item.featured .skill-description {
  color: rgba(255, 255, 255, 0.95);
}

.skill-item.featured:hover {
  transform: translateY(-12px) rotateX(5deg) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 41, 102, 0.5);
}

.skill-item.featured:hover .skill-icon,
.skill-item.featured:hover .skill-title {
  color: #e3f2fd;
}

/* ===========================================
   TEAM VALUES SECTION
   =========================================== */
/* Team Values Section */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.value-item {
  background: linear-gradient(135deg, #00205b 0%, #004080 100%);
  color: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.value-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.5s ease;
}

.value-item:hover::before {
  transform: scale(1);
}

.value-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 32, 91, 0.3);
}

.value-icon {
  font-size: 2.8em;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.value-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.value-description {
  font-size: 1em;
  line-height: 1.6;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* ===========================================
   RESPONSIVE DESIGN BREAKPOINTS
   =========================================== */
/* Mobile-first responsive improvements */
@media (max-width: 768px) {
  /* Speed up all animations for better mobile performance */
  * {
    animation-duration: 0.2s !important;
    transition-duration: 0.2s !important;
  }
  
  /* Disable floating elements for better mobile performance */
  .floating-elements {
    display: none;
  }
  
  /* Disable particle background on mobile for performance */
  .particle-background {
    display: none;
  }
  
  /* Reduce hero section padding on mobile */
  .hero-section {
    padding: 80px 20px 60px;
    min-height: 60vh;
  }
  
  .title {
    margin: 30px 20px;
    font-size: 2em;
  }

  .contact-link {
    display: none;
  }

  .grid {
    margin: 0 20px;
  }

  .grid-1 {
    flex-direction: column;
    align-items: center;
  }

  .grid-img {
    max-width: 150px;
    margin-right: 0;
  }

  main {
    padding: 20px;
  }

  section {
    padding: 30px 15px;
  }

  .columns {
    margin: 10px 20px;
    padding: 0 10px;
  }

  .column-content-p {
    flex-direction: column;
    gap: 10px;
  }

  .sidebar {
    width: 260px; /* Increased from 200px for better usability */
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .stat-item {
    padding: 25px 15px;
  }

  .stat-number {
    font-size: 2.2em;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .skill-item {
    padding: 25px 20px;
  }

  .skill-icon {
    font-size: 2.5em;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .value-item {
    padding: 25px;
  }

  .value-icon {
    font-size: 2.3em;
  }
}

@media (max-width: 480px) {
  /* Ultra-mobile optimizations */
  .hero-section {
    padding: 60px 15px 40px;
    min-height: 50vh;
  }
  
  .title {
    font-size: 1.5em;
    margin: 20px 10px;
  }

  .grid {
    margin: 0 10px;
  }

  .grid-content {
    min-width: 250px;
  }

  .grid-img {
    max-width: 120px;
  }

  main {
    padding: 15px 10px;
  }

  section {
    padding: 20px 10px;
  }

  .contact-link {
    display: none;
  }

  .sidebar {
    width: 240px; /* Increased from 180px for better usability */
  }

  .burger-icon {
    padding: 8px 12px;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-item {
    padding: 20px 15px;
  }

  .stat-number {
    font-size: 1.8em;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .skill-item {
    padding: 20px 15px;
  }

  .skill-icon {
    font-size: 2em;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .value-item {
    padding: 25px 20px;
  }

  .value-icon {
    font-size: 2.2em;
  }
}

/* ===========================================
   SPONSOR CARD STYLES
   =========================================== */
.sponsors-grid-platinum {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.sponsors-grid-gold {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 35px;
  margin-top: 50px;
}

.sponsors-grid-silver {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  margin-top: 50px;
}

.sponsors-grid-bronze {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.sponsor-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 35px;
  text-align: left;
  transition: all var(--transition-speed) ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
}

.sponsor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.sponsor-card:hover::before {
  left: 100%;
}

.sponsor-card.platinum {
  border-color: var(--accent-color);
  border-width: 3px;
}

.sponsor-card.platinum:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(21, 101, 192, 0.3);
  border-color: var(--primary-color);
}

.sponsor-card.gold {
  border-color: #ffc107;
}

.sponsor-card.gold:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(255, 193, 7, 0.3);
  border-color: #ffb300;
}

.sponsor-card.silver {
  border-color: #9e9e9e;
}

.sponsor-card.silver:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(158, 158, 158, 0.3);
  border-color: #757575;
}

.sponsor-card.bronze {
  border-color: #8d6e63;
  border-width: 2px;
}

.sponsor-card.bronze:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(141, 110, 99, 0.25);
  border-color: #5d4037;
}

.sponsor-logo {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  background: #f8f9fa;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

.sponsor-logo img {
  max-width: 180px;
  max-height: 100px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: all var(--transition-speed) ease;
}

.sponsor-card:hover .sponsor-logo img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.sponsor-icon-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 3em;
  color: var(--primary-color);
}

.sponsor-content h3 {
  font-size: 1.6em;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 8px;
  line-height: 1.2;
}

.sponsor-tier {
  font-size: 0.95em;
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.sponsor-card.platinum .sponsor-tier {
  color: var(--accent-color);
}

.sponsor-card.gold .sponsor-tier {
  color: #f57f17;
}

.sponsor-card.silver .sponsor-tier {
  color: #424242;
}

.sponsor-card.bronze .sponsor-tier {
  color: #8d6e63;
}

.sponsor-description {
  font-size: 1.05em;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.sponsor-contact {
  background: var(--accent-color);
  color: white !important;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9em;
  transition: all var(--transition-speed) ease;
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  border: 1px solid var(--accent-color);
}

.sponsor-contact:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.3);
  border-color: var(--primary-color);
  color: white !important;
}

.sponsor-contact:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.3);
}

.sponsor-contact::before {
  content: '🔗';
  font-size: 1em;
}

/* Mobile sponsor card adjustments */
@media (max-width: 768px) {
  .sponsors-grid-platinum,
  .sponsors-grid-gold,
  .sponsors-grid-silver,
  .sponsors-grid-bronze {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .sponsor-card {
    padding: 25px 20px;
  }

  .sponsor-logo {
    height: 100px;
  }

  .sponsor-logo img {
    max-width: 150px;
    max-height: 80px;
  }

  .sponsor-content h3 {
    font-size: 1.4em;
  }
}

@media (max-width: 480px) {
  .sponsors-grid-platinum,
  .sponsors-grid-gold,
  .sponsors-grid-silver,
  .sponsors-grid-bronze {
    gap: 20px;
  }

  .sponsor-card {
    padding: 20px 15px;
  }

  .sponsor-logo {
    height: 80px;
  }

  .sponsor-logo img {
    max-width: 120px;
    max-height: 60px;
  }

  .sponsor-content h3 {
    font-size: 1.3em;
  }

  .sponsor-description {
    font-size: 1em;
  }
}

/* ===========================================
   GAME FIELD CARD STYLES
   =========================================== */
/* Enhanced Game Field Card Styles */
.game-fields-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
  margin: 50px 0;
  padding: 0 20px;
}

.game-field-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  border: 2px solid transparent;
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Gradient border effect */
.game-field-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--secondary-color));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: exclude;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-field-card:hover::before {
  opacity: 1;
}

/* Shimmer effect */
.game-field-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.game-field-card:hover::after {
  left: 100%;
}

.game-field-card:hover {
  transform: translateY(-15px) rotateX(2deg);
  box-shadow: 0 25px 50px rgba(77, 148, 255, 0.25);
  border-color: var(--primary-color);
}

.game-field-card:active {
  transform: translateY(-10px) rotateX(1deg);
}

/* Field Image Container Enhancements */
.field-image-container {
  position: relative;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 30px 20px !important;
  transition: all 0.3s ease;
  overflow: hidden;
}

.field-image-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%, rgba(77, 148, 255, 0.08) 0%, transparent 50%);
  z-index: 0;
}

.field-image-container img {
  position: relative;
  z-index: 1;
  width: 70% !important;
  max-width: 500px !important;
  height: auto !important;
  border-radius: 16px !important;
  object-fit: contain !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  border: 3px solid var(--white) !important;
}

.game-field-card:hover .field-image-container img {
  transform: scale(1.05) rotateY(5deg);
  box-shadow: 0 15px 40px rgba(77, 148, 255, 0.3) !important;
  border-color: var(--accent-color) !important;
}

/* Field Information Section */
.field-info {
  padding: 35px 30px 40px;
  background: var(--white);
  position: relative;
  z-index: 2;
}

.field-info h3 {
  font-size: 1.8em !important;
  font-weight: 700 !important;
  color: var(--text-color) !important;
  margin-bottom: 20px !important;
  text-align: center;
  position: relative;
  letter-spacing: -0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.field-info h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
  transition: width 0.3s ease;
}

.game-field-card:hover .field-info h3::after {
  width: 80px;
}

.field-info p {
  font-size: 1.1em !important;
  line-height: 1.7 !important;
  color: var(--text-light) !important;
  margin-bottom: 30px !important;
  text-align: justify;
  font-weight: 400 !important;
  letter-spacing: 0.01em;
}

/* Enhanced Field Button */
.field-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--white) !important;
  text-decoration: none !important;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(77, 148, 255, 0.3);
  gap: 10px;
  margin: 0 auto;
  text-align: center;
  width: fit-content;
}

.field-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.field-button::after {
  content: '🎯';
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.field-button:hover::before {
  left: 100%;
}

.field-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(77, 148, 255, 0.4);
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  border-color: var(--white);
  color: var(--white) !important;
}

.field-button:hover::after {
  transform: rotate(15deg) scale(1.1);
}

.field-button:active {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 6px 20px rgba(77, 148, 255, 0.35);
}

.field-button:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(77, 148, 255, 0.4);
}

/* Special Featured Card Styling */
.game-field-card.featured {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
}

.game-field-card.featured .field-info {
  background: transparent;
}

.game-field-card.featured .field-info h3,
.game-field-card.featured .field-info p {
  color: var(--white) !important;
}

.game-field-card.featured .field-info h3::after {
  background: linear-gradient(90deg, var(--white), var(--accent-color));
}

.game-field-card.featured .field-button {
  background: var(--white);
  color: var(--primary-color) !important;
  border-color: transparent;
}

.game-field-card.featured .field-button:hover {
  background: var(--accent-color);
  color: var(--white) !important;
  border-color: var(--white);
}

/* Loading State Animation */
.game-field-card.loading {
  opacity: 0.7;
  pointer-events: none;
}

.game-field-card.loading::after {
  animation: shimmer 1.5s ease-in-out infinite;
}

/* Mobile Responsive Adjustments for Game Field Cards */
@media (max-width: 768px) {
  .game-fields-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 15px;
  }

  .game-field-card {
    border-radius: 12px;
  }

  .field-image-container {
    padding: 25px 15px !important;
  }

  .field-image-container img {
    width: 80% !important;
    max-width: 350px !important;
    border-radius: 12px !important;
  }

  .field-info {
    padding: 25px 20px 30px;
  }

  .field-info h3 {
    font-size: 1.5em !important;
  }

  .field-info p {
    font-size: 1.05em !important;
    text-align: left;
  }

  .field-button {
    padding: 14px 28px;
    font-size: 1em;
    width: 100%;
    justify-content: center;
  }

  /* Reduce hover effects on mobile for better performance */
  .game-field-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(77, 148, 255, 0.2);
  }

  .game-field-card:hover .field-image-container img {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(77, 148, 255, 0.2) !important;
  }
}

@media (max-width: 480px) {
  .game-fields-grid {
    gap: 25px;
    padding: 0 10px;
  }

  .game-field-card {
    margin: 0 5px;
  }

  .field-image-container {
    padding: 20px 10px !important;
  }

  .field-image-container img {
    width: 85% !important;
    max-width: 280px !important;
    border-radius: 10px !important;
  }

  .field-info {
    padding: 20px 15px 25px;
  }

  .field-info h3 {
    font-size: 1.4em !important;
    margin-bottom: 15px !important;
  }

  .field-info p {
    font-size: 1em !important;
    margin-bottom: 25px !important;
  }

  .field-button {
    padding: 12px 24px;
    font-size: 0.95em;
    border-radius: 25px;
  }

  /* Simplified animations for ultra-mobile */
  .game-field-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(77, 148, 255, 0.15);
  }

  .game-field-card:hover .field-image-container img {
    transform: scale(1.01);
  }
}

/* High contrast mode support for game field cards */
.high-contrast-mode .game-field-card {
  background: var(--white);
  border: 3px solid var(--black);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.high-contrast-mode .field-info h3,
.high-contrast-mode .field-info p {
  color: var(--black) !important;
  font-weight: 700 !important;
}

.high-contrast-mode .field-button {
  background: var(--black) !important;
  color: var(--white) !important;
  border: 2px solid var(--black) !important;
}

.high-contrast-mode .field-button:hover {
  background: var(--primary-color) !important;
  border-color: var(--white) !important;
}

.robot-preview-image-ftc2024 {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.robot-preview-image {
  width: 50%;
  max-width: 600px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

}
