/* --- Global Styles & Variables --- */
:root {
  /* Elite Color System - Deep Black & Ivory with Gold Accents */
  --primary-color: #0a0a0a; /* Deep Black */
  --secondary-color: #d4af37; /* Premium Gold */
  --accent-color: #1a1a1a; /* Charcoal */
  --text-primary: #0a0a0a; /* Deep Black */
  --text-secondary: #4a4a4a; /* Medium Gray */
  --text-light: #ffffff; /* Pure White */
  --bg-light: #ffffff; /* Ivory Base */
  --bg-dark: #0a0a0a; /* Deep Black */
  --bg-card: #ffffff; /* Clean White */
  --border-color: #e8e8e8; /* Soft Border */
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.18);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.25);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  
  /* Typography System */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
  
  /* Transitions */
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Spacing System */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 6rem;
  
  /* Chess-inspired Colors */
  --chess-light: #f0e6d2; /* Light Square */
  --chess-dark: #8b5a2b; /* Dark Square */
  --chess-contrast: #2c2c2c; /* Board Border */
}

/* CSS Custom Properties for dark mode support */
[data-theme="dark"] {
  --primary-color: #ecf0f1;
  --secondary-color: #f1c40f;
  --text-primary: #ecf0f1;
  --text-secondary: #bdc3c7;
  --text-light: #2c3e50;
  --bg-light: #2c3e50;
  --bg-dark: #1a1a1a;
  --bg-card: #34495e;
  --border-color: #4a5568;
}

/* --- Base Typography & Text Styles --- */
body {
  font-family: var(--font-main);
  margin: 0;
  color: var(--text-primary);
  background-color: var(--bg-light);
  line-height: 1.7;
  font-size: 1rem;
}

/* Typography Hierarchy */
h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

h4 {
  font-family: var(--font-main);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
  text-transform: uppercase;
}

p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  font-weight: 400;
}

/* Body Text Refinement */
body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

/* Lead Paragraph */
.lead {
  font-size: 1.25rem;
  line-height: 1.9;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

/* Link Styles */
a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
}

a:hover {
  color: #b8860b;
  transform: translateY(-1px);
}

a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width var(--transition-fast);
}

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

/* Text Utilities */
.text-primary {
  color: var(--text-primary);
}

.text-secondary {
  color: var(--text-secondary);
}

.text-light {
  color: var(--text-light);
}

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

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.lead {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.8;
}

/* --- Lists --- */
ul, ol {
  list-style: none;
  padding: 0;
}

ul li::before {
  content: "•";
  color: var(--secondary-color);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

ol li {
  counter-increment: step-counter;
  position: relative;
  padding-left: 2rem;
}

ol li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
  background: var(--bg-card);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--secondary-color);
  font-size: 0.8rem;
}

ul {
  list-style: none;
  padding: 0;
}

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

/* --- Executive-Grade Header & Navigation --- */
header {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--text-light);
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-normal);
  border-top: 3px solid var(--secondary-color);
  letter-spacing: 0.5px;
}

header.scrolled {
  padding: 1.5rem 3rem;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-lg);
}

/* Logo Section */
header .logo {
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

header .logo::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary-color), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

header .logo:hover {
  transform: translateY(-2px);
}

header .logo:hover::after {
  opacity: 1;
}

header .logo img {
  height: 120px;
  transition: all var(--transition-normal);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
  border-radius: 8px;
}

/* Navigation */
header nav ul {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  font-family: var(--font-main);
}

header nav li {
  position: relative;
}

header nav a {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: var(--font-main);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

header nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

header nav a:hover {
  color: var(--secondary-color);
  background: rgba(212, 175, 55, 0.06);
  border-color: rgba(212, 175, 55, 0.25);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
}

header nav a:hover::before {
  opacity: 1;
}

header nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary-color), transparent);
  transition: width var(--transition-normal);
}

header nav a:hover::after {
  width: 80%;
}

header nav li.active a {
  color: var(--secondary-color);
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: var(--shadow-lg);
  font-weight: 700;
}

/* Executive Mobile Navigation */
.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-light);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.menu-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left var(--transition-slow);
}

.menu-toggle:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.35);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.menu-toggle:hover::before {
  left: 100%;
}

@media (max-width: 1024px) {
  header {
    padding: 1.5rem 2rem;
  }
  
  header .logo img {
    height: 100px;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.5rem;
    gap: 1.2rem;
    position: relative;
  }
  
  .menu-toggle {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    align-self: flex-end;
  }
  
  header nav {
    width: 100%;
    display: block;
  }
  
  header nav ul {
    flex-direction: column;
    gap: 0.125rem;
    width: 100%;
    background: rgba(10, 10, 10, 0.98);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-lg);
    display: none; /* Hidden by default */
  }
  
  header nav.active ul {
    display: flex; /* Show when active */
  }
  
  header nav a {
    width: 100%;
    text-align: left;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    font-size: 1rem;
    letter-spacing: 1px;
  }
  
  header nav a::after {
    display: none;
  }
}

@media (max-width: 480px) {
  header {
    padding: 1.2rem 1rem;
    gap: 1rem;
  }
  
  .menu-toggle {
    top: 1.2rem;
    right: 1rem;
    padding: 0.7rem 0.9rem;
    font-size: 1.2rem;
  }
  
  header nav ul {
    padding: 1rem;
  }
  
  header nav a {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }
}

/* --- Elite Academy Hero Section --- */
.hero-section {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-light);
  text-align: center;
  padding: 12rem 2rem 8rem;
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.85), rgba(26, 26, 26, 0.7));
  backdrop-filter: blur(4px);
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
  z-index: 0;
  animation: heroGlow 15s ease-in-out infinite;
}

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

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.04em;
  line-height: 1.05;
  position: relative;
}

.hero-text h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), transparent);
  border-radius: 2px;
}

.hero-text p {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto 3.5rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 300;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  line-height: 1.8;
  letter-spacing: 0.02em;
}

/* Elite Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 1.8rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.hero-buttons .btn {
  background: linear-gradient(135deg, var(--secondary-color), #b8860b);
  color: var(--text-light);
  padding: 1.4rem 3rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  font-family: var(--font-main);
  border: 1px solid rgba(212, 175, 55, 0.4);
  backdrop-filter: blur(8px);
  min-width: 200px;
}

.hero-buttons .btn::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 var(--transition-slow);
}

.hero-buttons .btn:hover::before {
  left: 100%;
}

.hero-buttons .btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.35);
  background: linear-gradient(135deg, #b8860b, #8b6914);
  border-color: rgba(212, 175, 55, 0.6);
}

.hero-buttons .btn:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: var(--shadow-md);
}

.hero-buttons .btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  box-shadow: none;
  position: relative;
  backdrop-filter: blur(4px);
}

.hero-buttons .btn-secondary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.hero-buttons .btn-secondary:hover {
  background: linear-gradient(135deg, var(--secondary-color), #b8860b);
  color: var(--text-light);
  border-color: transparent;
  transform: translateY(-4px) scale(1.03);
  box-shadow: var(--shadow-lg);
}

.hero-buttons .btn-secondary:hover::after {
  opacity: 1;
}

/* Hero Section Subtle Animation */
.hero-text {
  animation: heroFadeIn 1s ease-out;
}

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

/* Chess-inspired decorative elements */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
  z-index: 1;
}

/* Hero Section Responsive */
@media (max-width: 1024px) {
  .hero-section {
    padding: 10rem 2rem 6rem;
  }
  
  .hero-text h1 {
    font-size: 3.5rem;
  }
  
  .hero-text p {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 8rem 1.5rem 5rem;
    min-height: 60vh;
  }
  
  .hero-text h1 {
    font-size: 2.8rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }
  
  .hero-text p {
    font-size: 1.2rem;
    line-height: 1.7;
  }
  
  .hero-buttons {
    gap: 1.2rem;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
    padding: 1.2rem 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 6rem 1rem 4rem;
    min-height: 50vh;
  }
  
  .hero-text h1 {
    font-size: 2.2rem;
  }
  
  .hero-text p {
    font-size: 1.1rem;
  }
  
  .hero-buttons .btn {
    padding: 1rem 2rem;
    font-size: 0.95rem;
  }
}

/* --- Premium Content Sections --- */
.content-section {
  padding: 6rem 2rem;
  background-color: var(--bg-card);
  margin-bottom: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.content-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.content-section.alt-bg {
  background: linear-gradient(135deg, var(--bg-light), #f8f9fa);
  border-color: #e8e8e8;
}

.content-section h2 {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  color: var(--text-primary);
}

.content-section h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), transparent);
  border-radius: 2px;
}

.section-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 4.5rem auto;
  font-size: 1.3rem;
  color: var(--text-secondary);
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* Premium Section Animations */
.content-section {
  opacity: 0;
  transform: translateY(40px);
  animation: premiumFadeIn 1s ease forwards;
}

.content-section:nth-child(odd) {
  animation-delay: 0.15s;
}

.content-section:nth-child(even) {
  animation-delay: 0.3s;
}

@keyframes premiumFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Chess-inspired decorative elements */
.content-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.content-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(212, 175, 55, 0.04) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

/* Premium Content Layout */
.content-section .content-wrapper {
  position: relative;
  z-index: 1;
}

/* Premium Typography Enhancements */
.content-section h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  position: relative;
  padding-left: 1.5rem;
}

.content-section h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary-color), transparent);
  border-radius: 2px;
}

.content-section p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

/* Premium Spacing System */
.content-section .content-grid {
  display: grid;
  gap: 3rem;
}

.content-section .content-column {
  padding: 2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition-normal);
}

.content-section .content-column:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Premium Responsive Design */
@media (max-width: 1024px) {
  .content-section {
    padding: 5rem 1.5rem;
    margin-bottom: 2.5rem;
  }
  
  .content-section h2 {
    font-size: 2.5rem;
  }
  
  .section-intro {
    font-size: 1.2rem;
    margin-bottom: 3.5rem;
  }
}

@media (max-width: 768px) {
  .content-section {
    padding: 4rem 1.5rem;
    margin-bottom: 2rem;
  }
  
  .content-section h2 {
    font-size: 2.2rem;
  }
  
  .section-intro {
    font-size: 1.1rem;
    margin-bottom: 3rem;
  }
  
  .content-section h3 {
    font-size: 1.6rem;
    padding-left: 1rem;
  }
  
  .content-section h3::before {
    width: 30px;
  }
  
  .content-section .content-column {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .content-section {
    padding: 3rem 1rem;
    margin-bottom: 1.5rem;
  }
  
  .content-section h2 {
    font-size: 1.8rem;
  }
  
  .section-intro {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }
  
  .content-section h3 {
    font-size: 1.4rem;
    padding-left: 0.75rem;
  }
  
  .content-section h3::before {
    width: 25px;
  }
  
  .content-section .content-column {
    padding: 1rem;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary-color), #b8860b);
  color: var(--text-light);
  padding: 1rem 2.2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  font-family: var(--font-main);
  border: 1px solid rgba(212, 175, 55, 0.3);
  backdrop-filter: blur(5px);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left var(--transition-slow);
}

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

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #b8860b, #8b6914);
  border-color: rgba(212, 175, 55, 0.5);
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  box-shadow: none;
  position: relative;
}

.btn-secondary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--secondary-color), #b8860b);
  color: var(--text-light);
  border-color: transparent;
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover::after {
  opacity: 1;
}

/* Button Sizes */
.btn-lg {
  padding: 1.3rem 2.8rem;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.btn-sm {
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* Button Groups */
.btn-group {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

/* Button Sizes */
.btn-lg {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

/* Button Groups */
.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

/* Floating Action Button */
.fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary-color), #b8860b);
  color: white;
  border: none;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  z-index: 999;
}

.fab:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .fab {
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}


/* --- Forms --- */
.styled-form {
  max-width: 800px;
  margin: 2rem auto 0;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
}

.form-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  flex: 1;
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.form-group button {
  width: 100%;
  border: none;
}

/* --- Message & Notification Styles --- */
.message {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 5px;
  text-align: center;
  font-weight: 500;
}

.message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* --- Footer --- */
footer {
  background-color: #f8f9fa;
  color: #333;
  padding: 3rem 2rem 2rem;
  border-top: 1px solid #e9ecef;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 2rem;
}

.footer-section {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
}

.footer-section h3 {
  color: #333;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  border-bottom: 2px solid #2c3e50;
  padding-bottom: 0.5rem;
}

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

.footer-section li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: #555;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #2c3e50;
  text-decoration: none;
}

.footer-section a i {
  color: #2c3e50;
  margin-right: 0.5rem;
  width: 20px;
  text-align: center;
}

.footer-section p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-section p i {
  color: #2c3e50;
  margin-right: 0.5rem;
}

/* --- Premium Social Icons System --- */
.social-icons {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  color: #2c3e50;
  border-radius: 50%;
  font-size: 1.4rem;
  transition: all var(--transition-normal);
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(4px);
  cursor: pointer;
  user-select: none;
}

/* Premium Icon Styling */
.social-icon i, .social-icon svg {
  transition: all var(--transition-normal);
  position: relative;
  z-index: 2;
}

/* Premium Hover Effects */
.social-icon:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 0, 0, 0.15);
}

.social-icon:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: var(--shadow-sm);
}

/* Premium Brand Color System - Subtle on Hover Only */
.social-icon[href*="facebook"]:hover {
  background: linear-gradient(135deg, #ffffff, #f0f2f5);
  color: #1877f2;
  border-color: rgba(24, 119, 242, 0.2);
}

.social-icon[href*="instagram"]:hover {
  background: linear-gradient(135deg, #ffffff, #fff5f7);
  color: #c13584;
  border-color: rgba(193, 53, 132, 0.2);
}

.social-icon[href*="tiktok"]:hover {
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  color: #000000;
  border-color: rgba(0, 0, 0, 0.2);
}

.social-icon[href*="youtube"]:hover {
  background: linear-gradient(135deg, #ffffff, #fff5f5);
  color: #ff0000;
  border-color: rgba(255, 0, 0, 0.2);
}

.social-icon[href*="whatsapp"]:hover {
  background: linear-gradient(135deg, #ffffff, #f0fff4);
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.2);
}

/* Premium Focus States */
.social-icon:focus {
  outline: 3px solid var(--secondary-color);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.25);
}

/* Premium Icon Glow Effect on Hover */
.social-icon:hover::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  animation: iconGlow 2s ease-in-out infinite;
  z-index: 1;
}

@keyframes iconGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

/* Premium Social Icon Responsive Behavior */
@media (max-width: 1024px) {
  .social-icons {
    gap: 1rem;
  }
  
  .social-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .social-icons {
    gap: 1rem;
    margin-top: 1.25rem;
  }
  
  .social-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .social-icons {
    gap: 0.8rem;
    margin-top: 1rem;
  }
  
  .social-icon {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }
}

/* Touch-friendly spacing for mobile */
@media (max-width: 768px) {
  .social-icon {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Premium Animation on Load */
.social-icons {
  opacity: 0;
  transform: translateY(20px);
  animation: socialIconsFadeIn 0.8s ease forwards 0.2s;
}

@keyframes socialIconsFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Premium Staggered Animation for Individual Icons */
.social-icon:nth-child(1) { animation-delay: 0.3s; }
.social-icon:nth-child(2) { animation-delay: 0.4s; }
.social-icon:nth-child(3) { animation-delay: 0.5s; }
.social-icon:nth-child(4) { animation-delay: 0.6s; }
.social-icon:nth-child(5) { animation-delay: 0.7s; }

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #e9ecef;
  margin-top: 2rem;
  color: #666;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  footer {
    padding: 2rem 1rem 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-section {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 1.5rem 1rem 1rem;
  }
  
  .footer-section {
    padding: 1.2rem;
  }
  
  .footer-section h3 {
    font-size: 1.1rem;
  }
  
  .footer-section p {
    font-size: 0.9rem;
  }
}

/* --- Coaching Page Specific --- */
.coaching-programs,
.coach-profiles {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.program-card,
.coach-card {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow);
  flex: 1;
  min-width: 300px;
  max-width: 350px;
}

.program-card i {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.coach-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid var(--secondary-color);
}

.coach-info .coach-title {
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

/* --- Membership Page Specific --- */
.pricing-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  flex-wrap: wrap;
}

.pricing-card {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  flex: 1;
  min-width: 280px;
  max-width: 320px;
  text-align: center;
  border: 2px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-card.featured {
  border-color: var(--secondary-color);
  transform: scale(1.05);
}

.pricing-card h3 {
  font-size: 1.5rem;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 1rem 0;
}

.pricing-card .price span {
  font-size: 1rem;
  color: #666;
}

.pricing-card ul {
  margin: 2rem 0;
  text-align: left;
}

.pricing-card ul li {
  margin-bottom: 1rem;
}

.pricing-card ul i {
  margin-right: 0.5rem;
  color: var(--secondary-color);
}

.pricing-card ul i.fa-times {
  color: #ccc;
}


/* --- Elite Events Page Specific --- */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  padding: 3rem 0;
}

.event-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  border: 1px solid var(--border-color);
  position: relative;
  backdrop-filter: blur(4px);
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border-color: var(--secondary-color);
}

.event-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: linear-gradient(135deg, var(--secondary-color), #b8860b);
  color: white;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(212, 175, 55, 0.4);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.event-poster {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.event-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: grayscale(0%);
}

.event-card:hover .event-poster img {
  transform: scale(1.08);
  filter: grayscale(0%);
}

.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.event-card:hover .event-overlay {
  opacity: 1;
}

.event-overlay h4 {
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  margin: 0;
}

.event-details {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.event-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.3;
  position: relative;
  padding-left: 1.5rem;
}

.event-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), transparent);
  border-radius: 2px;
}

.event-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.03);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.event-meta-item i {
  color: var(--secondary-color);
  font-size: 1.1rem;
  width: 28px;
  text-align: center;
  transition: all var(--transition-normal);
}

.event-card:hover .event-meta-item i {
  transform: translateX(2px);
}

.event-description {
  flex-grow: 1;
  margin-bottom: 2rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1.05rem;
}

.event-actions {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  margin-top: auto;
}

.event-actions .btn {
  flex: 1;
  min-width: 140px;
  padding: 1.2rem 2.2rem;
  font-size: 1rem;
  letter-spacing: 1.5px;
}

.event-actions .btn-secondary {
  flex: 0 0 auto;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

/* Elite Event Card Hover Effects */
.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 1;
}

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

/* Elite No Events State */
.no-events {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, var(--bg-light), #f8f9fa);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  grid-column: 1 / -1;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.no-events::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
  z-index: 0;
}

.no-events .content {
  position: relative;
  z-index: 1;
}

.no-events h3 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 700;
}

.no-events p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* Elite Event Responsive Design */
@media (max-width: 1024px) {
  .event-grid {
    gap: 2.5rem;
    padding: 2.5rem 0;
  }
  
  .event-card {
    min-width: 320px;
  }
}

@media (max-width: 768px) {
  .event-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
  }
  
  .event-card {
    min-width: auto;
  }
  
  .event-poster {
    height: 200px;
  }
  
  .event-details {
    padding: 1.5rem;
  }
  
  .event-title {
    font-size: 1.5rem;
    padding-left: 1.2rem;
  }
  
  .event-title::before {
    width: 35px;
  }
  
  .event-meta {
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .event-meta-item {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .event-actions {
    gap: 1rem;
    flex-direction: column;
  }
  
  .event-actions .btn {
    width: 100%;
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .event-grid {
    gap: 1.5rem;
    padding: 1.5rem 0;
  }
  
  .event-poster {
    height: 180px;
  }
  
  .event-details {
    padding: 1.2rem;
  }
  
  .event-title {
    font-size: 1.3rem;
    padding-left: 1rem;
  }
  
  .event-title::before {
    width: 30px;
  }
  
  .event-meta {
    gap: 1rem;
    margin-bottom: 1.2rem;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .event-meta-item {
    padding: 0.35rem 0.7rem;
    font-size: 0.85rem;
  }
  
  .event-description {
    font-size: 1rem;
  }
  
  .event-actions {
    gap: 0.8rem;
  }
  
  .event-actions .btn {
    padding: 1rem 1.8rem;
    font-size: 0.95rem;
  }
  
  .event-actions .btn-secondary {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* --- Event Registration Page --- */
.event-registration-details {
  display: flex;
  gap: 2rem;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.event-registration-details .event-poster {
  flex: 1;
}

.event-registration-details .event-poster img {
  width: 100%;
  border-radius: 8px;
}

.event-registration-details .event-info {
  flex: 2;
}

/* --- Elite Gallery Page Specific --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  padding: 3rem 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  background: var(--bg-card);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(4px);
  height: 320px;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border-color: var(--secondary-color);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: grayscale(0%);
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: grayscale(0%);
}

.gallery-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  color: white;
  padding: 3rem 2rem 2rem;
  transform: translateY(30px);
  transition: transform 0.4s ease;
  backdrop-filter: blur(4px);
}

.gallery-item:hover .overlay {
  transform: translateY(0);
}

.overlay h4 {
  color: white;
  margin: 0 0 0.75rem 0;
  font-size: 1.4rem;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
}

.overlay p {
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.5;
}

/* Elite Gallery Filters */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.6rem 1.8rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.15), transparent);
  transition: left var(--transition-slow);
}

.filter-btn:hover::before {
  left: 100%;
}

.filter-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--secondary-color), #b8860b);
  color: var(--text-light);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  letter-spacing: 1px;
}

/* Elite Gallery Loading Animation */
.gallery-loading {
  text-align: center;
  padding: 6rem 2rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-loading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
  z-index: 0;
}

.gallery-loading::after {
  content: '';
  position: relative;
  z-index: 1;
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid var(--border-color);
  border-top: 3px solid var(--secondary-color);
  border-radius: 50%;
  animation: eliteSpin 1.2s linear infinite;
  margin-left: 1.2rem;
}

@keyframes eliteSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Elite Gallery Item Hover Effects */
.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 1;
}

.gallery-item:hover::before {
  opacity: 1;
}

/* Elite Gallery Responsive Design */
@media (max-width: 1024px) {
  .gallery-grid {
    gap: 2rem;
    padding: 2.5rem 0;
  }
  
  .gallery-item {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
  }
  
  .gallery-item {
    height: 260px;
  }
  
  .gallery-item .overlay {
    padding: 2.5rem 1.5rem 1.5rem;
  }
  
  .overlay h4 {
    font-size: 1.2rem;
  }
  
  .overlay p {
    font-size: 0.9rem;
  }
  
  .gallery-filters {
    gap: 1rem;
    margin-bottom: 3rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 1.5rem 0;
  }
  
  .gallery-item {
    height: 220px;
  }
  
  .gallery-item .overlay {
    padding: 2rem 1.2rem 1.2rem;
  }
  
  .overlay h4 {
    font-size: 1.1rem;
  }
  
  .overlay p {
    font-size: 0.85rem;
  }
  
  .gallery-filters {
    gap: 0.8rem;
    margin-bottom: 2.5rem;
  }
  
  .filter-btn {
    padding: 0.45rem 1.2rem;
    font-size: 0.8rem;
  }
  
  .gallery-loading {
    padding: 4rem 1rem;
  }
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.show {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 5px;
}

.lightbox-caption {
  color: white;
  text-align: center;
  margin-top: 1rem;
  font-size: 1.1rem;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  padding: 0 0.5rem;
  transition: background 0.3s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  top: 15px;
  right: 25px;
}

.lightbox-prev {
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}


/* --- Enhanced Responsive Design --- */
@media (max-width: 1200px) {
  .page-container {
    padding: 1.5rem;
  }
  
  .coaching-programs,
  .coach-profiles {
    gap: 1.5rem;
  }
}

@media (max-width: 992px) {
  .hero-text h1 {
    font-size: 2.8rem;
  }
  
  .footer-content {
    gap: 1.5rem;
  }
  
  .pricing-cards {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  /* Ensure logo is centered and doesn't overlap with menu */
  header .logo {
    order: 1;
    margin-bottom: 0.5rem;
  }

  header .logo img {
    height: 120px; /* Slightly smaller on mobile for better balance */
  }

  /* Position menu toggle absolutely to avoid overlapping logo */
  .menu-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    order: 2;
  }

  header nav {
    order: 3;
    width: 100%;
  }

  header nav ul {
    justify-content: center;
  }

  .hero-text h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }
  
  .hero-text p {
    font-size: 1.1rem;
  }

  .content-section {
    padding: 2.5rem 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .content-section h2 {
    font-size: 2rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .event-registration-details {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-section {
    min-width: auto;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .pricing-card {
    max-width: 100%;
    min-width: auto;
  }
  
  .event-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Mobile Touch Targets */
  .btn {
    min-height: 44px; /* Minimum touch target size */
    min-width: 44px;
    padding: 0.8rem 1.5rem;
  }
  
  .menu-toggle {
    min-height: 44px;
    min-width: 44px;
    padding: 0.5rem;
  }
  
  header nav a {
    min-height: 44px;
    min-width: 44px;
    padding: 0.75rem 1rem;
  }
  
  /* Mobile Spacing */
  .hero-buttons {
    gap: 1rem;
  }
  
  .btn-group {
    gap: 0.5rem;
  }
  
  .content-section {
    padding: 3rem 1.5rem;
  }
  
  .section-intro {
    font-size: 1rem;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  header {
    padding: 0.8rem;
  }
  
  .hero-section {
    padding: 4rem 1rem;
  }
  
  .hero-text h1 {
    font-size: 1.8rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .page-container {
    padding: 1rem;
  }
  
  .content-section {
    padding: 2rem 1rem;
  }
  
  .content-section h2 {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    min-height: 40px;
    min-width: 40px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Extra small mobile optimizations */
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-lg {
    width: 100%;
    max-width: 300px;
  }
  
  .newsletter-form {
    gap: 0.5rem;
  }
  
  .newsletter-form input {
    min-width: 100%;
  }
  
  .footer-section {
    padding: 1.5rem;
  }
  
  .social-icons a {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* High DPI/Retina Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .btn {
    box-shadow: var(--shadow-lg);
  }
  
  .content-section {
    box-shadow: var(--shadow-lg);
  }
  
  .event-card,
  .gallery-item {
    box-shadow: var(--shadow-lg);
  }
}

/* Print Styles */
@media print {
  header nav,
  .menu-toggle,
  .social-icons,
  .btn,
  .fab {
    display: none !important;
  }
  
  .hero-section {
    background: none !important;
    color: black !important;
    padding: 2rem 0;
  }
  
  .hero-section::before {
    display: none;
  }
  
  .content-section {
    box-shadow: none !important;
    border: 1px solid #ccc;
    margin-bottom: 1rem;
    background: white !important;
  }
  
  .content-section::before {
    display: none;
  }
  
  .event-card,
  .gallery-item {
    box-shadow: none !important;
    border: 1px solid #ccc;
  }
  
  a[href]:after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3 {
    color: black !important;
  }
}

/* --- Print Styles --- */
@media print {
  header nav,
  .menu-toggle,
  .social-icons,
  .btn {
    display: none !important;
  }
  
  .hero-section {
    background: none !important;
    color: black !important;
  }
  
  .hero-section::before {
    display: none;
  }
  
  .content-section {
    box-shadow: none;
    border: 1px solid #ccc;
    margin-bottom: 1rem;
  }
  
  a[href]:after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }
}

/* --- Accessibility Improvements --- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: high) {
  :root {
    --primary-color: #000000;
    --secondary-color: #FFD700;
    --background-color: #FFFFFF;
  }
}

/* --- Focus Indicators --- */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 1001;
}

.skip-link:focus {
  top: 6px;
}