/* ==========================================================================
   BASELINE TENNIS CLUB & ACADEMY - DESIGN SYSTEM
   Apple Liquid Glass (Glassmorphic) Aesthetic, Smooth Scroll & RTL Amiri Styles
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #090c0a;
  --bg-card: rgba(22, 30, 24, 0.55);
  --bg-card-hover: rgba(30, 42, 33, 0.7);
  --accent-lime: #ccff00;
  --accent-lime-glow: rgba(204, 255, 0, 0.25);
  --text-main: #f0f4f1;
  --text-muted: #9eb0a2;
  --text-dim: #6d7d71;
  
  /* Glassmorphism Tokens */
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-hover: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-highlight: rgba(255, 255, 255, 0.25);
  --glass-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  --glass-specular: inset 0 1px 1px 0 rgba(255, 255, 255, 0.25), inset 0 -1px 1px 0 rgba(0, 0, 0, 0.4);
  --glass-blur: blur(24px) saturate(190%);

  /* Typography */
  --font-en: 'Onest', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-fa: 'Amiri', 'Vazirmatn', Georgia, serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-en);
  background-color: var(--bg-dark);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Farsi Language Font Overrides */
html[lang="fa"], [dir="rtl"] {
  font-family: var(--font-fa);
  direction: rtl;
  text-align: right;
}

body {
  background-color: var(--bg-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.hidden { display: none !important; }
.max-w-md { max-width: 28rem; }

/* Section Common */
section {
  padding: 6rem 0;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-lime);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.section-title.lg {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.section-subtitle, .section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================
   GLASSMORPHISM & LIQUID GLASS COMPONENTS
   ========================================== */

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-specular), var(--glass-shadow);
  border-radius: 24px;
  padding: 2.25rem;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-highlight);
  transform: translateY(-4px);
  box-shadow: var(--glass-specular), 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 20px var(--accent-lime-glow);
}

/* Liquid Glass Icon Capsule (Orb) */
.glass-icon-orb {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(135% 135% at 30% 20%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.05) 60%, rgba(204, 255, 0, 0.1) 100%);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.3), 0 8px 16px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-lime);
  transition: var(--transition-smooth);
}

.glass-icon-orb.sm {
  width: 38px;
  height: 38px;
}

.glass-icon-orb.lg {
  width: 72px;
  height: 72px;
}

.glass-icon-orb.center-orb {
  margin: 0 auto;
}

.glass-icon-orb svg {
  width: 24px;
  height: 24px;
  stroke-width: 2px;
}

.glass-icon-orb.sm svg { width: 18px; height: 18px; }
.glass-icon-orb.lg svg { width: 36px; height: 36px; }

.glass-card:hover .glass-icon-orb {
  transform: scale(1.08) rotate(5deg);
  border-color: var(--accent-lime);
}

/* Glass Buttons */
.glass-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 99px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-main);
  backdrop-filter: blur(16px);
}

.glass-btn.primary {
  background: linear-gradient(135deg, rgba(204, 255, 0, 0.9) 0%, rgba(160, 200, 0, 0.95) 100%);
  color: #080d09;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6), 0 8px 24px rgba(204, 255, 0, 0.35);
}

.glass-btn.primary:hover {
  transform: translateY(-2px) scale(1.02);
  background: linear-gradient(135deg, #d8ff1a 0%, #b8f000 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8), 0 14px 32px rgba(204, 255, 0, 0.5);
}

.glass-btn.lg-btn {
  padding: 1.1rem 2.4rem;
  font-size: 1.05rem;
}

.glass-btn.full-width {
  width: 100%;
}

.glass-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.1rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
}

.glass-pill-badge.accent {
  border-color: rgba(204, 255, 0, 0.3);
  color: var(--accent-lime);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-lime);
  box-shadow: 0 0 10px var(--accent-lime);
  animation: pulse-dot 2s infinite;
}

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

/* ==========================================
   HEADER & MINIMALIST LANGUAGE SWITCHER
   ========================================== */

.site-header {
  position: fixed;
  top: 1.25rem;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 1.5rem;
}

.glass-nav-container {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.4rem;
  border-radius: 99px;
  background: rgba(12, 17, 13, 0.7);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--glass-specular), 0 10px 30px rgba(0, 0, 0, 0.5);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-lime);
  transition: var(--transition-smooth);
}

.nav-links a:hover::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Minimalist Apple Glass Language Toggle Switch */
.lang-switch-wrap {
  position: relative;
}

.lang-switch-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-smooth);
  position: relative;
}

.lang-switch-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.lang-option {
  z-index: 2;
  transition: var(--transition-smooth);
  padding: 0.1rem 0.3rem;
}

.lang-option.active {
  color: var(--accent-lime);
  text-shadow: 0 0 10px rgba(204, 255, 0, 0.4);
}

.lang-divider {
  opacity: 0.3;
  font-weight: 300;
}

.desktop-only {
  display: block;
}

/* ==========================================
   APPLE LIQUID GLASS MOBILE BOTTOM DOCK
   ========================================== */

.mobile-liquid-dock {
  position: fixed;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 990;
  width: auto;
  max-width: calc(100vw - 24px);
  pointer-events: auto;
  animation: float-dock 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes float-dock {
  0% { transform: translate(-50%, 40px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 1; }
}

.dock-backdrop-glow {
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: radial-gradient(120% 120% at 50% 100%, rgba(204, 255, 0, 0.22) 0%, rgba(135, 206, 235, 0.15) 50%, transparent 80%);
  filter: blur(14px);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

.dock-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 5px 7px;
  border-radius: 999px;
  background: radial-gradient(140% 140% at 50% 0%, rgba(255, 255, 255, 0.18) 0%, rgba(16, 24, 18, 0.88) 100%);
  backdrop-filter: blur(36px) saturate(220%);
  -webkit-backdrop-filter: blur(36px) saturate(220%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 
    inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1.5px 1px 0 rgba(0, 0, 0, 0.6),
    0 16px 40px rgba(0, 0, 0, 0.75),
    0 0 24px rgba(204, 255, 0, 0.12);
}

.dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 9px;
  min-width: 48px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-muted);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

.dock-item:active {
  transform: scale(0.9);
}

.dock-icon-wrap {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dock-icon-wrap svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  transition: stroke 0.25s ease;
}

.dock-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  transition: color 0.25s ease;
}

.dock-active-glow {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(204, 255, 0, 0.35);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 0 12px rgba(204, 255, 0, 0.35);
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.dock-item.active {
  color: var(--accent-lime);
}

.dock-item.active .dock-icon-wrap {
  transform: translateY(-1px) scale(1.1);
}

.dock-item.active .dock-icon-wrap svg {
  stroke: var(--accent-lime);
  filter: drop-shadow(0 0 6px rgba(204, 255, 0, 0.6));
}

.dock-item.active .dock-label {
  color: #ffffff;
  font-weight: 700;
}

.dock-item.active .dock-active-glow {
  opacity: 1;
  transform: scale(1);
}

.dock-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.16);
  margin: 0 2px;
}

/* Apple Segmented Language Switcher inside Dock */
.dock-lang-btn {
  background: transparent;
  border: none;
  padding: 0 4px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.dock-lang-pill {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dock-lang-btn:active .dock-lang-pill {
  transform: scale(0.92);
  background: rgba(255, 255, 255, 0.15);
}

.dock-lang-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.dock-lang-text.active {
  color: var(--accent-lime);
  text-shadow: 0 0 8px rgba(204, 255, 0, 0.5);
}

.dock-lang-divider {
  font-size: 0.65rem;
  opacity: 0.3;
}

/* Quick Book Button in Dock */
.dock-book-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4ff1a 0%, #b8f000 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8), 0 4px 14px rgba(204, 255, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #060907;
  cursor: pointer;
  margin-left: 2px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

.dock-book-btn:active {
  transform: scale(0.88);
  box-shadow: 0 2px 8px rgba(204, 255, 0, 0.6);
}

.dock-book-btn svg {
  width: 17px;
  height: 17px;
  stroke: #060907;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.hero-image-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.78) contrast(1.1) saturate(1.08);
  transform: scale(1.03);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-glass-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 50% 45%, rgba(9, 12, 10, 0.2) 0%, rgba(9, 12, 10, 0.72) 70%, #090c0a 100%),
    linear-gradient(180deg, rgba(9, 12, 10, 0.45) 0%, rgba(9, 12, 10, 0.1) 40%, rgba(9, 12, 10, 0.95) 100%);
  backdrop-filter: blur(1px);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-top-badge {
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(3.2rem, 7.5vw, 6.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff 0%, #d4e0d6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.25rem;
}

.hero-tagline {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  color: var(--text-muted);
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.hero-bottom-grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-gear-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.6rem;
  max-width: 340px;
}

.gear-img-wrap {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.gear-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gear-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-lime);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gear-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);

}

.gear-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.gear-link:hover {
  color: var(--accent-lime);
}

/* ==========================================
   TRUST / COACHING SECTION
   ========================================== */

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.trust-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.glass-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-feature-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
}

.glass-feature-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.coach-glass-card {
  padding: 1rem;
  overflow: hidden;
}

.coach-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.coach-image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.coach-glass-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  padding: 1.25rem;
  border-radius: 16px;
  background: rgba(12, 17, 13, 0.75);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
}

.coach-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
}

.coach-role {
  font-size: 0.85rem;
  color: var(--accent-lime);
  font-weight: 500;
}

/* ==========================================
   PROGRAMS SECTION
   ========================================== */

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.program-num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.15);
}

html[lang="fa"] .program-num {
  right: auto;
  left: 1.5rem;
}

.program-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.program-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.program-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-lime);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.program-link:hover {
  transform: translateX(4px);
}

html[lang="fa"] .program-link:hover {
  transform: translateX(-4px);
}

/* ==========================================
   FACILITIES / COURTS SECTION
   ========================================== */

.facilities-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.court-card {
  padding: 0;
  overflow: hidden;
}

.court-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.court-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.court-card:hover .court-img-wrap img {
  transform: scale(1.08);
}

.court-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
  background: rgba(9, 12, 10, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-lime);
}

html[lang="fa"] .court-badge {
  left: auto;
  right: 1rem;
}

.court-content {
  padding: 1.75rem;
}

.court-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.court-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ==========================================
   STATS SECTION
   ========================================== */

.stats-glass-container {
  padding: 4rem 3rem;
  background: radial-gradient(100% 100% at 50% 0%, rgba(204, 255, 0, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-top: 3.5rem;
  text-align: center;
}

.stat-number {
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  font-weight: 800;
  color: var(--accent-lime);
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px var(--accent-lime-glow);
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-icon {
  font-size: 3rem;
  line-height: 1;
  color: var(--accent-lime);
  opacity: 0.4;
  margin-bottom: 0.5rem;
}

.quote-text {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 2rem;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(204, 255, 0, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
  border: 1px solid var(--accent-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-lime);
}

.reviewer-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.reviewer-role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================
   CTA BANNER SECTION
   ========================================== */

.cta-glass-card {
  padding: 5rem 2rem;
  background: radial-gradient(80% 80% at 50% 50%, rgba(204, 255, 0, 0.08) 0%, rgba(12, 17, 13, 0.6) 100%);
}

.cta-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.center-btn {
  margin: 0 auto;
}

/* ==========================================
   FOOTER
   ========================================== */

.site-footer {
  padding-top: 5rem;
  padding-bottom: 3rem;
  background: #060907;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-about {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 24rem;
}

.footer-contact-info p {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}

.footer-links-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-links-col a:hover {
  color: var(--accent-lime);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

.social-glass-links {
  display: flex;
  gap: 1.25rem;
}

.social-icon {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  color: var(--accent-lime);
}

/* ==========================================
   MODAL DIALOG
   ========================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(16px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  padding: 1.5rem;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-glass-container {
  max-width: 520px;
  width: 100%;
  position: relative;
  background: rgba(16, 23, 18, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

html[lang="fa"] .modal-close-btn {
  right: auto;
  left: 1.25rem;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-header {
  margin-bottom: 2rem;
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.glass-input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.glass-input:focus {
  border-color: var(--accent-lime);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 12px rgba(204, 255, 0, 0.2);
}

.glass-select option {
  background: #111612;
  color: var(--text-main);
}

/* Loader Screen */
.glass-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #090c0a;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.glass-loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.track {
  width: 180px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
}

.fill {
  width: 100%;
  height: 100%;
  background: var(--accent-lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

/* Scroll Reveal Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Sheet Grabber for Mobile Modal */
.sheet-grabber {
  display: none;
  width: 44px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
  margin: -0.5rem auto 1.5rem auto;
}

/* ==========================================
   DESKTOP DOCK HIDE RULE
   ========================================== */
@media (min-width: 769px) {
  .mobile-liquid-dock {
    display: none !important;
  }
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */

@media (max-width: 992px) {
  .trust-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .nav-links {
    display: none !important;
  }
  .facilities-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Prevent dock from overlapping page content */
  body {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 90px);
  }

  /* Compact Sleek Floating Top Header on Mobile */
  .site-header {
    top: 0.75rem;
    padding: 0 0.85rem;
  }

  .glass-nav-container {
    padding: 0.45rem 0.9rem;
    background: rgba(10, 15, 12, 0.82);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  }

  .brand-link {
    gap: 0.55rem;
    font-size: 1.05rem;
  }

  .glass-icon-orb.sm {
    width: 32px;
    height: 32px;
  }

  .desktop-only {
    display: none !important;
  }

  .header-book-btn {
    padding: 0.42rem 0.9rem;
    font-size: 0.78rem;
    border-radius: 99px;
  }

  /* Section Spacing on Mobile */
  section {
    padding: 3.5rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  /* Hero Section Mobile Optimization */
  .hero {
    min-height: auto;
    padding-top: 5.5rem;
    padding-bottom: 3rem;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8.5vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
  }

  .hero-tagline {
    font-size: 0.98rem;
    line-height: 1.5;
    margin-top: 0.6rem;
  }

  .hero-bottom-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    margin-top: 2rem;
  }

  .hero-cta-box {
    width: 100%;
  }

  .hero-cta-box .glass-btn {
    width: 100%;
    justify-content: center;
    padding: 0.95rem 1.5rem;
  }

  .hero-gear-card {
    max-width: 100%;
    padding: 1.25rem;
  }

  /* Programs Grid on Mobile */
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .program-card {
    padding: 1.5rem;
  }

  /* Facilities Cards on Mobile */
  .court-card {
    padding: 1.25rem;
  }

  .court-img-wrap {
    height: 200px;
  }

  /* Stats Grid on Mobile (2x2) */
  .stats-glass-container {
    padding: 2rem 1.25rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 0.75rem;
  }

  .stat-item .stat-number {
    font-size: 2rem;
  }

  .stat-item .stat-label {
    font-size: 0.8rem;
  }

  /* Testimonials on Mobile */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .quote-text {
    font-size: 0.98rem;
    margin-bottom: 1.5rem;
  }

  /* CTA Banner on Mobile */
  .cta-glass-card {
    padding: 3rem 1.25rem;
  }

  .cta-subtitle {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }

  /* Footer on Mobile */
  .site-footer {
    padding-top: 3.5rem;
    padding-bottom: 2rem;
  }

  .footer-grid {
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  /* Modal Bottom Sheet on Mobile */
  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .modal-glass-container {
    max-width: 100%;
    border-radius: 28px 28px 0 0;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.5rem 1.25rem calc(env(safe-area-inset-bottom, 0px) + 2rem) 1.25rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .modal-backdrop.active .modal-glass-container {
    transform: translateY(0);
  }

  .sheet-grabber {
    display: block;
  }

  .modal-close-btn {
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }

  html[lang="fa"] .modal-close-btn {
    right: auto;
    left: 1rem;
  }

  .glass-input {
    font-size: 16px; /* Prevents auto-zoom in iOS Safari */
    padding: 0.8rem 1rem;
  }
}

@media (max-width: 420px) {
  .dock-inner {
    padding: 4px 5px;
    gap: 2px;
  }

  .dock-item {
    min-width: 38px;
    padding: 5px 5px;
  }

  .dock-label {
    font-size: 0.56rem;
  }

  .dock-icon-wrap {
    width: 18px;
    height: 18px;
  }

  .dock-icon-wrap svg {
    width: 15px;
    height: 15px;
  }

  .dock-book-btn {
    width: 30px;
    height: 30px;
  }

  .dock-lang-pill {
    padding: 4px 6px;
    gap: 2px;
  }

  .dock-lang-text {
    font-size: 0.68rem;
  }
}
