:root {
  --primary-color: #1e40af;
  --secondary-color: #1e3a8a;
  --accent-color: #d97706;
  --success-color: #059669;
  --warning-color: #d97706;
  --error-color: #dc2626;

  /* Enhanced Light theme with rich color palette variations */
  --bg-color: #fefefe;
  --surface-color: #f8fafc;
  --surface-secondary: #f1f5f9;
  --surface-tertiary: #e2e8f0;
  --card-color: #ffffff;
  --card-secondary: #f9fafb;
  --card-elevated: #fdfdfd;

  /* Rich text color variations */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-tertiary: #475569;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;

  /* Enhanced border color palette */
  --border-color: #cbd5e1;
  --border-light: #e2e8f0;
  --border-lighter: #f1f5f9;
  --border-strong: #94a3b8;
  --border-accent: #3b82f6;
  --border-subtle: #f8fafc;

  /* Interactive state colors */
  --hover-bg: #f1f5f9;
  --hover-secondary: #e2e8f0;
  --active-bg: #cbd5e1;
  --selected-bg: #dbeafe;

  /* Enhanced shadows with blue undertones */
  --shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.12), 0 1px 2px 0 rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.12), 0 2px 4px -1px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.12), 0 4px 6px -2px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --shadow-inner: inset 0 2px 4px 0 rgba(15, 23, 42, 0.08);
  --shadow-colored: 0 4px 14px 0 rgba(30, 64, 175, 0.15);

  /* Navigation specific colors */
  --nav-bg: rgba(255, 255, 255, 0.95);
  --nav-border: rgba(203, 213, 225, 0.8);
  --nav-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -1px rgba(15, 23, 42, 0.06);

  /* Card specific colors */
  --card-border: #e2e8f0;
  --card-border-hover: #cbd5e1;
  --card-border-active: #94a3b8;
  --card-bg-hover: #f8fafc;
  --card-bg-active: #f1f5f9;

  /* Form element colors */
  --input-bg: #ffffff;
  --input-border: #cbd5e1;
  --input-border-focus: #3b82f6;
  --input-placeholder: #94a3b8;
  --focus-ring: rgba(59, 130, 246, 0.25);

  /* School icon enhanced colors */
  --school-icon-color: #2563eb;
  --school-icon-secondary: #3b82f6;
  --school-icon-shadow: rgba(37, 99, 235, 0.25);
  --school-icon-glow: rgba(37, 99, 235, 0.1);
  --school-icon-bg: rgba(219, 234, 254, 0.3);

  /* Line and separator enhanced colors */
  --line-color: #e2e8f0;
  --line-secondary: #cbd5e1;
  --line-strong: #94a3b8;
  --line-accent: #3b82f6;
  --line-subtle: #f1f5f9;
  --line-gradient: linear-gradient(90deg, transparent, #cbd5e1, transparent);

  /* Status and accent colors */
  --info-bg: #dbeafe;
  --info-border: #93c5fd;
  --info-text: #1e40af;
  --success-bg: #dcfce7;
  --success-border: #86efac;
  --warning-bg: #fef3c7;
  --warning-border: #fcd34d;
  --error-bg: #fee2e2;
  --error-border: #fca5a5;

  /* Gradient backgrounds */
  --gradient-primary: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  --gradient-secondary: linear-gradient(135deg, #f1f5f9 0%, #f8fafc 100%);
  --gradient-surface: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
  --gradient-hero: linear-gradient(135deg, #fefefe 0%, #f8fafc 50%, #f1f5f9 100%);

  /* Pattern backgrounds */
  --pattern-dots: radial-gradient(circle, #e2e8f0 1px, transparent 1px);
  --pattern-grid: linear-gradient(90deg, #f1f5f9 1px, transparent 1px), linear-gradient(#f1f5f9 1px, transparent 1px);
  --pattern-subtle: linear-gradient(90deg, rgba(226, 232, 240, 0.3) 1px, transparent 1px),
    linear-gradient(rgba(226, 232, 240, 0.3) 1px, transparent 1px);

  /* 4K and High-DPI specific variables */
  --base-font-size: 16px;
  --scale-factor: 1;
  --container-max-width: 1200px;
  --section-padding: 5rem;
  --card-padding: 2.5rem;
  --border-radius: 1rem;
  --icon-size: 3.5rem;
  --button-padding: 1.25rem 2.5rem;
}

[data-theme="dark"] {
  --bg-color: #0f172a;
  --surface-color: #1e293b;
  --surface-secondary: #334155;
  --surface-tertiary: #475569;
  --card-color: #334155;
  --card-secondary: #475569;
  --card-elevated: #1e293b;

  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  --text-muted: #64748b;
  --text-subtle: #475569;

  --border-color: #475569;
  --border-light: #64748b;
  --border-lighter: #334155;
  --border-strong: #64748b;
  --border-accent: #60a5fa;
  --border-subtle: #1e293b;

  --hover-bg: #475569;
  --hover-secondary: #334155;
  --active-bg: #334155;
  --selected-bg: #1e3a8a;

  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 1px 2px 0 rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.3);
  --shadow-colored: 0 4px 14px 0 rgba(96, 165, 250, 0.3);

  --nav-bg: rgba(15, 23, 42, 0.95);
  --nav-border: rgba(71, 85, 105, 0.8);
  --nav-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);

  --card-border: #475569;
  --card-border-hover: #64748b;
  --card-border-active: #94a3b8;
  --card-bg-hover: #1e293b;
  --card-bg-active: #334155;

  --input-bg: #334155;
  --input-border: #64748b;
  --input-border-focus: #60a5fa;
  --input-placeholder: #94a3b8;
  --focus-ring: rgba(96, 165, 250, 0.3);

  --school-icon-color: #60a5fa;
  --school-icon-secondary: #93c5fd;
  --school-icon-shadow: rgba(96, 165, 250, 0.4);
  --school-icon-glow: rgba(96, 165, 250, 0.2);
  --school-icon-bg: rgba(30, 58, 138, 0.3);

  --line-color: #475569;
  --line-secondary: #64748b;
  --line-strong: #64748b;
  --line-accent: #60a5fa;
  --line-subtle: #334155;
  --line-gradient: linear-gradient(90deg, transparent, #64748b, transparent);

  --info-bg: #1e3a8a;
  --info-border: #3b82f6;
  --info-text: #93c5fd;
  --success-bg: #14532d;
  --success-border: #22c55e;
  --warning-bg: #92400e;
  --warning-border: #f59e0b;
  --error-bg: #991b1b;
  --error-border: #ef4444;

  --gradient-primary: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  --gradient-secondary: linear-gradient(135deg, #334155 0%, #1e293b 100%);
  --gradient-surface: linear-gradient(135deg, #475569 0%, #334155 100%);
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);

  --pattern-dots: radial-gradient(circle, #475569 1px, transparent 1px);
  --pattern-grid: linear-gradient(90deg, #334155 1px, transparent 1px), linear-gradient(#334155 1px, transparent 1px);
  --pattern-subtle: linear-gradient(90deg, rgba(71, 85, 105, 0.3) 1px, transparent 1px),
    linear-gradient(rgba(71, 85, 105, 0.3) 1px, transparent 1px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--base-font-size);
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--gradient-primary);
  transition: all 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 2vw, 3rem);
  width: 100%;
}

/* Enhanced Navigation with 4K optimization */
.navbar {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--nav-shadow);
  border-bottom: 2px solid var(--nav-border);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  min-height: clamp(60px, 4vw, 90px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(0.75rem, 1.5vw, 2rem) clamp(1rem, 2vw, 3rem);
  max-width: var(--container-max-width);
  margin: 0 auto;
  position: relative;
  min-height: clamp(60px, 4vw, 90px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1vw, 1rem);
  font-size: clamp(1.125rem, 2vw, 2rem);
  font-weight: 800;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  flex-shrink: 0;
}

.nav-logo i {
  font-size: clamp(1.25rem, 2.5vw, 2.5rem);
  filter: drop-shadow(0 2px 4px var(--school-icon-shadow));
  color: var(--school-icon-color);
}

.nav-logo:hover {
  transform: translateY(-1px);
  color: var(--secondary-color);
}

.nav-logo:hover i {
  color: var(--school-icon-secondary);
}

/* Desktop Navigation Menu */
.nav-menu {
  display: flex;
  list-style: none;
  gap: clamp(0.25rem, 0.5vw, 1rem);
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-item {
  margin: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  padding: clamp(0.75rem, 1.2vw, 1.5rem) clamp(1rem, 1.8vw, 2rem);
  border-radius: clamp(0.5rem, 0.8vw, 1rem);
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
  background: transparent;
  display: block;
  white-space: nowrap;
  font-size: clamp(0.875rem, 1.1vw, 1.125rem);
}

.nav-link:hover {
  color: var(--primary-color);
  background-color: var(--hover-bg);
  border-color: var(--border-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.nav-link.active {
  color: var(--primary-color);
  background: var(--gradient-secondary);
  border-color: var(--border-color);
  box-shadow: var(--shadow-inner);
  font-weight: 700;
}

/* Navigation Controls */
.nav-controls {
  display: flex;
  align-items: center;
  gap: clamp(0.375rem, 0.8vw, 1rem);
  z-index: 1001;
  flex-shrink: 0;
}

.theme-toggle,
.lang-toggle {
  background: var(--gradient-secondary);
  border: 2px solid var(--border-color);
  color: var(--text-primary);
  padding: clamp(0.5rem, 1vw, 0.875rem);
  border-radius: clamp(0.375rem, 0.6vw, 0.75rem);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(36px, 3vw, 56px);
  height: clamp(36px, 3vw, 56px);
  font-weight: 700;
  box-shadow: var(--shadow);
  font-size: clamp(0.75rem, 1vw, 1rem);
}

.theme-toggle:hover,
.lang-toggle:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-colored);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: clamp(0.375rem, 0.8vw, 0.75rem);
  border: 2px solid var(--border-color);
  background: var(--gradient-secondary);
  border-radius: clamp(0.375rem, 0.6vw, 0.75rem);
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  width: clamp(36px, 3vw, 56px);
  height: clamp(36px, 3vw, 56px);
  justify-content: center;
  align-items: center;
  z-index: 1002;
  position: relative;
}

.hamburger:hover {
  background: var(--hover-bg);
  border-color: var(--border-strong);
}

.hamburger.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.hamburger.active .bar {
  background-color: white;
}

.bar {
  width: clamp(16px, 1.5vw, 24px);
  height: 2px;
  background-color: var(--text-primary);
  margin: 2px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
  transform-origin: center;
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Enhanced Hero Section with 4K scaling */
.hero {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: clamp(2rem, 4vw, 8rem) 0;
  margin-top: clamp(60px, 4vw, 90px);
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--line-secondary);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 25% 25%, var(--school-icon-glow) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(217, 119, 6, 0.05) 0%, transparent 50%), var(--pattern-subtle);
  background-size: 100% 100%, 100% 100%, clamp(40px, 4vw, 80px) clamp(40px, 4vw, 80px);
  opacity: 0.8;
  pointer-events: none;
}

.hero-content {
  flex: 1;
  padding: clamp(1.5rem, 3vw, 4rem);
  z-index: 1;
  max-width: clamp(600px, 50vw, 800px);
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 6rem);
  font-weight: 900;
  margin-bottom: clamp(1rem, 2vw, 2.5rem);
  color: var(--text-primary);
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: clamp(1.125rem, 1.8vw, 1.75rem);
  color: var(--text-secondary);
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
  max-width: clamp(500px, 45vw, 700px);
  line-height: 1.6;
  font-weight: 500;
}

.cta-button {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: clamp(1rem, 2vw, 1.75rem) clamp(2rem, 3.5vw, 3.5rem);
  border: 3px solid transparent;
  border-radius: clamp(0.5rem, 1vw, 1rem);
  font-size: clamp(1rem, 1.4vw, 1.375rem);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: var(--shadow-colored);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl), var(--shadow-colored);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Enhanced school icon with 4K scaling */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(8rem, 15vw, 20rem);
  color: var(--school-icon-color);
  opacity: 0.8;
  filter: drop-shadow(0 8px 16px var(--school-icon-shadow));
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  transition: all 0.3s ease;
}

.hero-image::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, var(--school-icon-bg) 0%, transparent 70%);
  z-index: -1;
  border-radius: 50%;
  border: 2px solid var(--border-lighter);
}

.hero-image::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, var(--school-icon-glow) 0%, transparent 60%);
  z-index: -2;
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* Enhanced Stats Section with 4K scaling */
.stats {
  padding: clamp(3rem, 6vw, 8rem) 0;
  background: var(--gradient-secondary);
  position: relative;
  border-bottom: 3px solid var(--line-secondary);
}

.stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: var(--pattern-grid);
  background-size: clamp(40px, 4vw, 80px) clamp(40px, 4vw, 80px);
  opacity: 0.4;
  pointer-events: none;
}

.stats h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 4.5rem);
  margin-bottom: clamp(2rem, 4vw, 5rem);
  color: var(--text-primary);
  font-weight: 800;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.02em;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 20vw, 400px), 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  position: relative;
  z-index: 1;
}

/* Enhanced card design with 4K scaling */
.stat-card {
  background: var(--card-color);
  padding: clamp(2rem, 3.5vw, 4rem) clamp(1.5rem, 2.5vw, 3rem);
  border-radius: clamp(1rem, 1.5vw, 2rem);
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  border: 3px solid var(--card-border);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(4px, 0.5vw, 8px);
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stat-card::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: clamp(0.75rem, 1.25vw, 1.75rem);
  border: 1px solid var(--border-lighter);
  pointer-events: none;
  background: linear-gradient(135deg, transparent 0%, var(--surface-color) 100%);
  opacity: 0.5;
}

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

.stat-card:hover {
  transform: translateY(clamp(-6px, -0.8vw, -12px));
  box-shadow: var(--shadow-xl), var(--shadow-colored);
  border-color: var(--card-border-hover);
  background: var(--card-bg-hover);
}

.stat-card:hover::after {
  border-color: var(--border-accent);
  opacity: 0.8;
}

.stat-icon {
  font-size: clamp(3rem, 4.5vw, 6rem);
  color: var(--primary-color);
  margin-bottom: clamp(1rem, 2vw, 2.5rem);
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(30, 64, 175, 0.2));
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-card:hover .stat-icon {
  transform: scale(1.1);
  color: var(--accent-color);
  filter: drop-shadow(0 6px 12px rgba(217, 119, 6, 0.3));
}

.stat-number {
  font-size: clamp(2.5rem, 4vw, 5rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: clamp(0.5rem, 1vw, 1rem);
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: clamp(1rem, 1.4vw, 1.5rem);
  color: var(--text-secondary);
  font-weight: 700;
}

/* Enhanced Features Section with 4K scaling */
.features {
  padding: clamp(3rem, 6vw, 8rem) 0;
  background: var(--gradient-primary);
  border-bottom: 3px solid var(--line-secondary);
}

.features h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 4.5rem);
  margin-bottom: clamp(2rem, 4vw, 5rem);
  color: var(--text-primary);
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.02em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(320px, 25vw, 450px), 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}

.feature-card {
  background: var(--card-color);
  padding: clamp(2rem, 3.5vw, 4rem);
  border-radius: clamp(1rem, 1.5vw, 2rem);
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  border: 3px solid var(--card-border);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(4px, 0.5vw, 8px);
  background: var(--accent-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: clamp(0.75rem, 1.25vw, 1.75rem);
  border: 1px solid var(--border-lighter);
  pointer-events: none;
  background: linear-gradient(135deg, transparent 0%, var(--surface-color) 100%);
  opacity: 0.3;
}

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

.feature-card:hover {
  transform: translateY(clamp(-6px, -0.8vw, -12px));
  box-shadow: var(--shadow-xl), var(--shadow-colored);
  border-color: var(--card-border-hover);
  background: var(--card-bg-hover);
}

.feature-card:hover::after {
  border-color: var(--accent-color);
  opacity: 0.6;
}

.feature-icon {
  font-size: clamp(3.5rem, 5vw, 7rem);
  color: var(--accent-color);
  margin-bottom: clamp(1rem, 2vw, 2.5rem);
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(217, 119, 6, 0.2));
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  color: var(--primary-color);
  filter: drop-shadow(0 6px 12px rgba(30, 64, 175, 0.3));
}

.feature-card h3 {
  font-size: clamp(1.25rem, 2vw, 2rem);
  margin-bottom: clamp(0.75rem, 1.5vw, 1.5rem);
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 500;
  font-size: clamp(0.875rem, 1.2vw, 1.125rem);
}

/* Enhanced Page Header with 4K scaling */
.page-header {
  padding: clamp(6rem, 8vw, 12rem) 0 clamp(2rem, 4vw, 5rem);
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  border-bottom: 3px solid var(--line-secondary);
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: var(--pattern-subtle);
  background-size: clamp(30px, 3vw, 60px) clamp(30px, 3vw, 60px);
  opacity: 0.3;
  pointer-events: none;
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 6rem);
  margin-bottom: clamp(1rem, 2vw, 2rem);
  color: var(--text-primary);
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}

.page-header p {
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  color: var(--text-secondary);
  max-width: clamp(500px, 50vw, 800px);
  margin: 0 auto;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.back-btn {
  background: var(--card-color);
  border: 3px solid var(--card-border);
  color: var(--text-primary);
  padding: clamp(0.75rem, 1.2vw, 1.25rem) clamp(1.5rem, 2.5vw, 2.5rem);
  border-radius: clamp(0.5rem, 0.8vw, 1rem);
  cursor: pointer;
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
  display: inline-flex;
  align-items: center;
  gap: clamp(0.375rem, 0.6vw, 0.75rem);
  transition: all 0.3s ease;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
  font-size: clamp(0.875rem, 1.1vw, 1.125rem);
}

.back-btn:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-colored);
}

/* Enhanced Classes Grid with 4K scaling */
.classes-grid-section {
  padding: clamp(3rem, 6vw, 8rem) 0;
  background: var(--gradient-primary);
}

.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(300px, 22vw, 400px), 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}

.class-card {
  background: var(--card-color);
  padding: clamp(2rem, 3.5vw, 4rem);
  border-radius: clamp(1rem, 1.5vw, 2rem);
  text-align: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid var(--card-border);
  position: relative;
  overflow: hidden;
}

.class-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(4px, 0.5vw, 8px);
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.class-card::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: clamp(0.75rem, 1.25vw, 1.75rem);
  border: 1px solid var(--border-lighter);
  pointer-events: none;
  background: linear-gradient(135deg, transparent 0%, var(--surface-color) 100%);
  opacity: 0.3;
}

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

.class-card:hover {
  transform: translateY(clamp(-6px, -0.8vw, -12px));
  box-shadow: var(--shadow-xl), var(--shadow-colored);
  border-color: var(--card-border-hover);
  background: var(--card-bg-hover);
}

.class-card:hover::after {
  border-color: var(--border-accent);
  opacity: 0.6;
}

.class-number {
  font-size: clamp(4rem, 6vw, 8rem);
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: clamp(0.5rem, 1vw, 1rem);
  line-height: 1;
  text-shadow: 0 4px 8px rgba(30, 64, 175, 0.2);
  letter-spacing: -0.02em;
}

.class-card h3 {
  font-size: clamp(1.25rem, 2vw, 2rem);
  margin-bottom: clamp(0.5rem, 1vw, 1rem);
  color: var(--text-primary);
  font-weight: 700;
}

.class-card p {
  color: var(--text-secondary);
  margin-bottom: clamp(1rem, 2vw, 2rem);
  font-weight: 500;
  font-size: clamp(0.875rem, 1.1vw, 1.125rem);
}

.class-stats {
  color: var(--text-secondary);
  font-size: clamp(0.875rem, 1.1vw, 1.125rem);
  font-weight: 600;
  padding: clamp(0.75rem, 1.5vw, 1.5rem);
  background: var(--surface-color);
  border-radius: clamp(0.5rem, 0.8vw, 1rem);
  border: 2px solid var(--border-light);
  box-shadow: var(--shadow-inner);
}

/* Enhanced Nominations with 4K scaling */
.nominations-section {
  padding: clamp(3rem, 6vw, 8rem) 0;
  background: var(--gradient-primary);
}

.nominations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(350px, 25vw, 450px), 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}

.nomination-card {
  background: var(--card-color);
  padding: clamp(2rem, 3.5vw, 4rem);
  border-radius: clamp(1rem, 1.5vw, 2rem);
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  border: 3px solid var(--card-border);
  position: relative;
  overflow: hidden;
}

.nomination-card::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: clamp(0.75rem, 1.25vw, 1.75rem);
  border: 1px solid var(--border-lighter);
  pointer-events: none;
  background: linear-gradient(135deg, transparent 0%, var(--surface-color) 100%);
  opacity: 0.3;
}

.nomination-card:hover {
  transform: translateY(clamp(-6px, -0.8vw, -12px));
  box-shadow: var(--shadow-xl), var(--shadow-colored);
  border-color: var(--card-border-hover);
  background: var(--card-bg-hover);
}

.nomination-card:hover::after {
  border-color: var(--accent-color);
  opacity: 0.6;
}

.nomination-icon {
  font-size: clamp(3.5rem, 5vw, 7rem);
  color: var(--accent-color);
  margin-bottom: clamp(1rem, 2vw, 2.5rem);
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(217, 119, 6, 0.2));
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nomination-card:hover .nomination-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 6px 12px rgba(217, 119, 6, 0.3));
}

.nomination-card h3 {
  font-size: clamp(1.25rem, 2vw, 2rem);
  margin-bottom: clamp(0.75rem, 1.5vw, 1.5rem);
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nomination-card p {
  color: var(--text-secondary);
  margin-bottom: clamp(1.5rem, 2.5vw, 2.5rem);
  line-height: 1.6;
  font-weight: 500;
  font-size: clamp(0.875rem, 1.2vw, 1.125rem);
}

.view-recipients-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: clamp(0.75rem, 1.2vw, 1.25rem) clamp(1.5rem, 2.5vw, 2.5rem);
  border: 3px solid transparent;
  border-radius: clamp(0.5rem, 0.8vw, 1rem);
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-colored);
  text-decoration: none;
  display: inline-block;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  font-size: clamp(0.875rem, 1.1vw, 1.125rem);
}

.view-recipients-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl), var(--shadow-colored);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Enhanced Footer with 4K scaling */
.footer {
  background: var(--gradient-surface);
  padding: clamp(3rem, 5vw, 6rem) 0 clamp(1.5rem, 2.5vw, 3rem);
  margin-top: clamp(3rem, 6vw, 8rem);
  border-top: 4px solid var(--line-accent);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line-gradient);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(250px, 20vw, 350px), 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
}

.footer-section h3,
.footer-section h4 {
  color: var(--text-primary);
  margin-bottom: clamp(0.75rem, 1.5vw, 1.5rem);
  font-weight: 700;
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
}

.footer-section p,
.footer-section li {
  color: var(--text-secondary);
  margin-bottom: clamp(0.375rem, 0.8vw, 0.75rem);
  line-height: 1.6;
  font-weight: 500;
  font-size: clamp(0.875rem, 1.1vw, 1rem);
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  padding: clamp(0.125rem, 0.3vw, 0.375rem) 0;
  display: inline-block;
  font-weight: 500;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 2px solid var(--line-secondary);
  padding-top: clamp(1.5rem, 2.5vw, 2.5rem);
  text-align: center;
  color: var(--text-muted);
  font-weight: 500;
  font-size: clamp(0.875rem, 1.1vw, 1rem);
}

/* Enhanced Form Elements with 4K scaling */
input,
select,
textarea {
  background: var(--input-bg);
  border: 3px solid var(--input-border);
  color: var(--text-primary);
  padding: clamp(0.75rem, 1.2vw, 1.25rem) clamp(1rem, 1.8vw, 1.75rem);
  border-radius: clamp(0.5rem, 0.8vw, 1rem);
  transition: all 0.3s ease;
  font-family: inherit;
  font-weight: 500;
  box-shadow: var(--shadow);
  font-size: clamp(0.875rem, 1.1vw, 1.125rem);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--input-border-focus);
  box-shadow: 0 0 0 4px var(--focus-ring), var(--shadow-md);
  background: var(--card-color);
}

input::placeholder,
textarea::placeholder {
  color: var(--input-placeholder);
  font-weight: 400;
}

/* Enhanced Buttons with 4K scaling */
button {
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

button:focus {
  outline: none;
  box-shadow: 0 0 0 4px var(--focus-ring);
}

/* Enhanced Lines and Separators */
hr,
.separator {
  border: none;
  height: clamp(1px, 0.2vw, 3px);
  background: var(--line-gradient);
  margin: clamp(1.5rem, 3vw, 3rem) 0;
}

.line-accent {
  height: clamp(2px, 0.3vw, 4px);
  background: var(--line-accent);
}

.line-subtle {
  height: 1px;
  background: var(--line-subtle);
}

/* 4K and Ultra-Wide Display Optimizations */
@media (min-width: 1440px) {
  :root {
    --container-max-width: 1400px;
    --scale-factor: 1.1;
  }
}

@media (min-width: 1920px) {
  :root {
    --container-max-width: 1600px;
    --scale-factor: 1.2;
  }
}

@media (min-width: 2560px) {
  :root {
    --container-max-width: 2000px;
    --scale-factor: 1.4;
    --base-font-size: 18px;
  }

  .container {
    padding: 0 clamp(2rem, 3vw, 4rem);
  }

  .stats-grid,
  .features-grid,
  .classes-grid,
  .nominations-grid {
    grid-template-columns: repeat(auto-fit, minmax(clamp(350px, 18vw, 500px), 1fr));
    gap: clamp(2rem, 3.5vw, 4rem);
  }
}

@media (min-width: 3840px) {
  :root {
    --container-max-width: 2800px;
    --scale-factor: 1.6;
    --base-font-size: 20px;
  }

  .container {
    padding: 0 clamp(3rem, 4vw, 6rem);
  }

  .hero-content h1 {
    font-size: clamp(4rem, 6vw, 8rem);
  }

  .hero-content p {
    font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  }

  .stats h2,
  .features h2,
  .page-header h1 {
    font-size: clamp(3rem, 5vw, 7rem);
  }

  .stat-number {
    font-size: clamp(3.5rem, 5vw, 7rem);
  }

  .stat-icon,
  .feature-icon,
  .nomination-icon {
    font-size: clamp(4.5rem, 6vw, 9rem);
  }

  .class-number {
    font-size: clamp(5rem, 7vw, 10rem);
  }

  .hero-image {
    font-size: clamp(12rem, 18vw, 25rem);
  }

  .stats-grid,
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(clamp(400px, 16vw, 600px), 1fr));
    gap: clamp(2.5rem, 4vw, 5rem);
  }

  .classes-grid,
  .nominations-grid {
    grid-template-columns: repeat(auto-fit, minmax(clamp(380px, 15vw, 550px), 1fr));
    gap: clamp(2.5rem, 4vw, 5rem);
  }
}

/* Ultra-Wide Display Support (21:9, 32:9) */
@media (min-aspect-ratio: 21 / 9) {
  .hero {
    padding: clamp(3rem, 5vw, 10rem) 0;
  }

  .hero-content {
    max-width: 60%;
  }

  .hero-image {
    max-width: 40%;
  }

  .stats-grid,
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(clamp(300px, 15vw, 450px), 1fr));
  }

  .classes-grid,
  .nominations-grid {
    grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 12vw, 400px), 1fr));
  }
}

@media (min-aspect-ratio: 32 / 9) {
  .stats-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .classes-grid {
    grid-template-columns: repeat(auto-fit, minmax(clamp(250px, 10vw, 350px), 1fr));
  }

  .nominations-grid {
    grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 11vw, 380px), 1fr));
  }
}

/* High-DPI Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body {
    -webkit-font-smoothing: subpixel-antialiased;
  }

  .hero-image,
  .stat-icon,
  .feature-icon,
  .nomination-icon {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

@media (-webkit-min-device-pixel-ratio: 3), (min-resolution: 288dpi) {
  :root {
    --shadow: 0 2px 6px 0 rgba(15, 23, 42, 0.15), 0 2px 4px 0 rgba(15, 23, 42, 0.1);
    --shadow-md: 0 6px 9px -1px rgba(15, 23, 42, 0.15), 0 3px 6px -1px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 15px 22px -3px rgba(15, 23, 42, 0.15), 0 6px 9px -2px rgba(15, 23, 42, 0.08);
  }
}

/* Mobile-First Responsive Design (unchanged for compatibility) */
@media (max-width: 1024px) {
  .container {
    padding: 0 clamp(1rem, 2vw, 2rem);
  }

  .nav-container {
    padding: clamp(0.75rem, 1.5vw, 1.5rem);
  }
}

@media (max-width: 768px) {
  /* Mobile Navigation */
  .nav-container {
    padding: 0.75rem 1rem;
    flex-wrap: nowrap;
  }

  .nav-logo {
    font-size: 1rem;
    gap: 0.5rem;
  }

  .nav-logo i {
    font-size: 1.25rem;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem 1rem;
    box-shadow: var(--nav-shadow);
    border-top: 2px solid var(--nav-border);
    border-bottom: 2px solid var(--nav-border);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-item {
    width: 100%;
    margin: 0;
  }

  .nav-link {
    padding: 1rem 1.5rem;
    margin: 0.25rem 0;
    border-radius: 0.75rem;
    border-width: 2px;
    text-align: center;
    width: 100%;
    display: block;
    font-size: 1.1rem;
  }

  .nav-controls {
    gap: 0.375rem;
  }

  .theme-toggle,
  .lang-toggle {
    width: 36px;
    height: 36px;
    padding: 0.5rem;
    font-size: 0.75rem;
  }

  .hamburger {
    display: flex;
    width: 36px;
    height: 36px;
    padding: 0.375rem;
  }

  .bar {
    width: 18px;
    height: 2px;
    margin: 1.5px 0;
  }

  /* Hero Section Mobile */
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 1rem 0;
    margin-top: 70px;
    min-height: calc(100vh - 70px);
  }

  .hero-content {
    padding: 1.5rem 1rem;
    order: 2;
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 1rem;
  }

  .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .hero-image {
    margin-top: 1rem;
    order: 1;
    font-size: clamp(6rem, 20vw, 10rem);
  }

  /* Grid Layouts Mobile */
  .stats-grid,
  .features-grid,
  .classes-grid,
  .nominations-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .theme-toggle{
    padding: ;
  }
  .nav-container {
    padding: 0.625rem 0.75rem;
    min-height: 60px;
  }

  .navbar {
    min-height: 60px;
  }

  .nav-menu {
    top: 60px;
    max-height: calc(100vh - 60px);
    padding: 1.5rem 0.75rem;
  }

  .nav-logo {
    font-size: 0.875rem;
    gap: 0.375rem;
  }

  .nav-logo i {
    font-size: 1.125rem;
  }

  .nav-controls {
    gap: 0.25rem;
  }

  .theme-toggle,
  .lang-toggle {
    width: 42px;
    height: 42px;
    padding: 0.375rem;
    font-size: 0.625rem;
  }

  .hamburger {
    width: 42px;
    height: 42px;
    padding: 0.25rem;
  }

  .bar {
    width: 16px;
    height: 2px;
    margin: 1px 0;
  }

  .hero {
    margin-top: 60px;
    min-height: calc(100vh - 60px);
    padding: 0.75rem 0;
  }

  .hero-content {
    padding: 1rem 0.75rem;
  }

  .stat-card,
  .feature-card,
  .class-card,
  .nomination-card {
    padding: 2rem 1.5rem;
    border-width: 2px;
  }

  .class-number {
    font-size: 4rem;
  }

  .stat-icon,
  .feature-icon {
    font-size: 3rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .nav-container {
    padding: 0.5rem;
    min-height: 56px;
  }

  .navbar {
    min-height: 56px;
  }

  .nav-menu {
    top: 56px;
    max-height: calc(100vh - 56px);
    padding: 1rem 0.5rem;
  }

  .nav-logo {
    font-size: 0.75rem;
  }

  .nav-logo i {
    font-size: 1rem;
  }

  .theme-toggle,
  .lang-toggle,
  .hamburger {
            width: 42px;
        height: 42px;
        padding: 0.375rem;
        font-size: 0.625rem;

  }

  .theme-toggle,
  .lang-toggle {
            width: 42px;
        height: 42px;
        padding: 0.375rem;
        font-size: 0.625rem;
  }

  .bar {
    width: 14px;
  }

  .hero {
    margin-top: 56px;
    min-height: calc(100vh - 56px);
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.8s ease-out;
}

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

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !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;
}

/* Focus styles for better accessibility */
*:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: 0.25rem;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
    --border-color: #6b7280;
    --card-border: #4b5563;
    --line-color: #6b7280;
    --line-strong: #4b5563;
  }

  .stat-card,
  .feature-card,
  .class-card,
  .nomination-card {
    border-width: 4px;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .cta-button,
  .back-btn {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .hero {
    margin-top: 0 !important;
  }

  .stat-card,
  .feature-card,
  .class-card,
  .nomination-card {
    border: 2px solid #000 !important;
    box-shadow: none !important;
  }
}

/* Prevent horizontal scroll on mobile */
html,
body {
  overflow-x: hidden;
  width: 100%;
}

/* Ensure mobile menu doesn't cause horizontal scroll */
.nav-menu.active {
  width: 100vw;
  left: 0;
  right: 0;
}

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

/* Performance optimizations for 4K displays */
@media (min-width: 2560px) {
  * {
    will-change: auto;
  }

  .stat-card,
  .feature-card,
  .class-card,
  .nomination-card {
    will-change: transform, box-shadow;
  }

  .hero-image,
  .stat-icon,
  .feature-icon,
  .nomination-icon {
    will-change: transform, filter;
  }
}

/* GPU acceleration for smooth animations on high-res displays */
.stat-card,
.feature-card,
.class-card,
.nomination-card,
.cta-button,
.view-recipients-btn,
.back-btn,
.nav-link,
.theme-toggle,
.lang-toggle {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Enhanced image quality for 4K displays */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  max-width: 100%;
  height: auto;
}

@media (min-resolution: 192dpi) {
  img {
    image-rendering: auto;
  }
}
