*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --sky: #E0F4FF;
  --sky-mid: #BAE6FD;
  --blue: #0EA5E9;
  --blue-dark: #0369A1;
  --teal: #14B8A6;
  --teal-light: #CCFBF1;
  --orange: #F97316;
  --orange-light: #FFEDD5;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-500: #64748B;
  --gray-700: #334155;
  --gray-900: #0F172A;
  --radius-lg: 20px;
  --radius-xl: 32px;
}

body {
  font-family: 'Tajawal', sans-serif;
  background: var(--white);
  color: var(--gray-900);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrap { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.logo-text { font-size: 1.1rem; font-weight: 800; color: var(--gray-900); }
.logo-text span { color: var(--blue); }

.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-500);
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--blue); }

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  transition: background .2s, transform .15s !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; transform: scale(1.04); }

@media(max-width:640px){
  .nav-links a:not(.nav-cta){ display:none; }
}

/* ── HERO ── */
.hero {
  background: linear-gradient(160deg, var(--sky) 0%, #EFF6FF 50%, var(--teal-light) 100%);
  padding: 3.5rem 1.5rem 0;
  overflow: hidden;
  position: relative;
}

.hero-inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1.5px solid var(--sky-mid);
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 8px rgba(14,165,233,0.1);
}

.hero h1 {
  font-size: clamp(2rem, 7vw, 3.2rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero h1 .hl { color: var(--blue); }

.hero-sub {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-bottom: 1.8rem;
  font-weight: 400;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-main {
  background: var(--blue);
  color: var(--white);
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: .8rem 1.8rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .2s, transform .15s;
  box-shadow: 0 4px 16px rgba(14,165,233,0.3);
}
.btn-main:hover { background: var(--blue-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--gray-700);
  font-family: 'Tajawal', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: .8rem 1.5rem;
  border-radius: 50px;
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color .2s, transform .15s;
}
.btn-outline:hover { border-color: var(--blue); transform: translateY(-2px); }

/* sports pills */
.sports-row {
  display: flex;
  justify-content: center;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.sport-chip {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 50px;
  padding: .45rem 1.1rem;
  font-size: .88rem;
  font-weight: 700;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}

/* Hero fake photo strip */
.photo-strip {
  display: flex;
  gap: 10px;
  overflow: hidden;
  padding-bottom: 0;
  justify-content: center;
}

.photo-card {
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  flex-shrink: 0;
  width: 160px;
  height: 200px;
  position: relative;
  background: var(--gray-200);
}

.photo-card:nth-child(2) { margin-top: 30px; }
.photo-card:nth-child(3) { margin-top: 15px; }

.photo-card .photo-fill {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.ph-swim { background: linear-gradient(160deg,#BAE6FD,#7DD3FC); }
.ph-tennis { background: linear-gradient(160deg,#FEF9C3,#FDE68A); }
.ph-karate { background: linear-gradient(160deg,#D1FAE5,#6EE7B7); }

.photo-tag {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(255,255,255,.9);
  font-size: .72rem;
  font-weight: 700;
  color: var(--gray-700);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }
.stat-num { font-size: 1.8rem; font-weight: 800; color: var(--blue); }
.stat-lbl { font-size: .8rem; color: var(--gray-500); font-weight: 500; }

/* ── SECTION BASE ── */
.section { padding: 4rem 1.5rem; }
.section-center { text-align: center; margin-bottom: 2.5rem; }
.eyebrow {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue);
  margin-bottom: .4rem;
}
.section h2 {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-900);
}
.section-sub {
  color: var(--gray-500);
  font-size: .95rem;
  margin-top: .5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── SPORTS CARDS ── */
.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  max-width: 900px;
  margin: 0 auto;
}

.sport-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  cursor: default;
}
.sport-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
  border-color: var(--blue);
}

.sc-header {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  position: relative;
}
.sc-swim   { background: linear-gradient(135deg,#E0F2FE,#BAE6FD); }
.sc-tennis { background: linear-gradient(135deg,#FEF9C3,#FDE68A); }
.sc-karate { background: linear-gradient(135deg,#D1FAE5,#A7F3D0); }

.sc-body { padding: 1.3rem; }
.sc-name { font-size: 1.2rem; font-weight: 800; color: var(--gray-900); margin-bottom: .3rem; }
.sc-desc { font-size: .88rem; color: var(--gray-500); margin-bottom: 1rem; line-height: 1.6; }

.sc-meta {
  display: flex;
  gap: .8rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.meta-tag {
  background: var(--gray-100);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gray-700);
}

.sc-levels { margin-bottom: 1.2rem; }
.levels-label { font-size: .78rem; font-weight: 700; color: var(--gray-500); margin-bottom: .4rem; }
.levels-dots { display: flex; gap: 5px; }
.level-dot {
  height: 6px;
  border-radius: 3px;
  flex: 1;
  background: var(--gray-200);
}
.level-dot.on { background: var(--blue); }

.btn-book {
  width: 100%;
  background: var(--blue);
  color: var(--white);
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: .7rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.btn-book:hover { background: var(--blue-dark); }

/* ── GALLERY ── */
.gallery-section {
  background: var(--gray-50);
  padding: 4rem 1.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  gap: 10px;
  max-width: 700px;
  margin: 0 auto;
}

.g-card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}
.g-card.tall { grid-row: span 2; aspect-ratio: auto; min-height: 280px; }

.g1 { background: linear-gradient(135deg,#BAE6FD,#7DD3FC); }
.g2 { background: linear-gradient(135deg,#FDE68A,#FCD34D); }
.g3 { background: linear-gradient(135deg,#A7F3D0,#6EE7B7); }
.g4 { background: linear-gradient(135deg,#FBCFE8,#F9A8D4); }
.g5 { background: linear-gradient(135deg,#DDD6FE,#C4B5FD); }

.g-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(15,23,42,.6) 0%, transparent 100%);
  padding: .8rem;
}
.g-label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--white);
}

/* ── HOW IT WORKS ── */
.how-section { background: var(--white); padding: 4rem 1.5rem; }

.steps-list {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  transition: border-color .2s;
}
.step:hover { border-color: var(--blue); }

.step-num {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-title { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: .2rem; }
.step-desc { font-size: .88rem; color: var(--gray-500); }

/* ── TRAINERS ── */
.trainers-section { background: var(--gray-50); padding: 4rem 1.5rem; }

.trainers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.trainer-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.trainer-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.07); }

.trainer-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.av-swim   { background: var(--sky); }
.av-tennis { background: #FEF9C3; }
.av-karate { background: var(--teal-light); }

.trainer-name { font-size: 1rem; font-weight: 800; color: var(--gray-900); }
.trainer-sport { font-size: .82rem; color: var(--blue); font-weight: 600; margin-bottom: .3rem; }
.trainer-exp { font-size: .78rem; color: var(--gray-500); }
.trainer-stars { color: #F59E0B; font-size: .85rem; margin-top: .3rem; }

/* ── BOOKING ── */
.booking-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 4rem 1.5rem;
}

.booking-wrap {
  max-width: 500px;
  margin: 0 auto;
}

.booking-wrap h2 {
  font-size: clamp(1.6rem,5vw,2.2rem);
  font-weight: 800;
  color: var(--white);
  text-align: center;
  margin-bottom: .5rem;
}
.booking-wrap .sub {
  text-align: center;
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  margin-bottom: 2rem;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}

.form-row { margin-bottom: 1rem; }
.form-row label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: .35rem;
}
.form-row input,
.form-row select {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  font-family: 'Tajawal', sans-serif;
  font-size: .95rem;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color .2s;
  -webkit-appearance: none;
}
.form-row input:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(14,165,233,.12);
}

.free-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--orange-light);
  color: var(--orange);
  font-size: .82rem;
  font-weight: 700;
  border-radius: 10px;
  padding: .5rem;
  margin-bottom: 1rem;
}

.btn-submit {
  width: 100%;
  background: var(--blue);
  color: var(--white);
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  padding: .9rem;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
  box-shadow: 0 4px 16px rgba(14,165,233,.35);
}
.btn-submit:hover { background: var(--blue-dark); transform: translateY(-2px); }

/* ── TESTIMONIALS ── */
.test-section { background: var(--white); padding: 4rem 1.5rem; }

.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.test-card {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}

.test-stars { color: #F59E0B; font-size: .9rem; margin-bottom: .6rem; }
.test-text { font-size: .9rem; color: var(--gray-700); line-height: 1.7; margin-bottom: 1rem; font-style: italic; }

.test-author { display: flex; align-items: center; gap: .7rem; }
.test-av {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .85rem;
  flex-shrink: 0;
}
.tav1 { background: var(--sky); color: var(--blue-dark); }
.tav2 { background: var(--teal-light); color: var(--teal); }
.tav3 { background: var(--orange-light); color: var(--orange); }
.test-name { font-size: .9rem; font-weight: 700; color: var(--gray-900); }
.test-role { font-size: .75rem; color: var(--gray-500); }

/* ── FAQ ── */
.faq-section { background: var(--gray-50); padding: 4rem 1.5rem; }
.faq-list { max-width: 600px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 14px;
  margin-bottom: .75rem;
  overflow: hidden;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  font-weight: 700;
  font-size: .95rem;
  color: var(--gray-900);
  cursor: pointer;
  gap: .5rem;
}
.faq-q span { font-size: 1.1rem; color: var(--blue); flex-shrink: 0; transition: transform .3s; }
.faq-a {
  font-size: .88rem;
  color: var(--gray-500);
  padding: 0 1.2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s;
  line-height: 1.7;
}
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-item.open .faq-a { max-height: 200px; padding: 0 1.2rem 1rem; }

/* ── FOOTER ── */
footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.6);
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.footer-logo { font-size: 1.2rem; font-weight: 800; color: var(--white); margin-bottom: .5rem; }
.footer-logo span { color: var(--blue); }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin: 1rem 0; }
.footer-links a { color: rgba(255,255,255,.5); text-decoration: none; font-size: .85rem; transition: color .2s; }
.footer-links a:hover { color: var(--blue); }
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.25); }

/* ── REVEAL ── */
.reveal { opacity:0; transform:translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ── MOBILE BOTTOM CTA ── */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--gray-200);
  z-index: 200;
}

.mobile-cta .btn-main {
  width: 100%;
  justify-content: center;
}

@media(max-width:640px){ .mobile-cta { display: block; } }
