/* ============================================================
   KARAN BEAST GYM — style.css
   Clean futuristic dark theme — subtle image animations,
   no over-the-top glow effects
   ============================================================ */

/* ---- Variables ---- */
:root {
  --red:        #e63946;
  --red-dark:   #b5202d;
  --red-soft:   rgba(230, 57, 70, 0.15);
  --black:      #080809;
  --bg:         #0f0f11;
  --bg2:        #16161a;
  --bg3:        #1c1c21;
  --card:       #18181e;
  --card-hover: #202028;
  --border:     rgba(255,255,255,0.06);
  --border2:    rgba(230, 57, 70, 0.25);
  --white:      #ffffff;
  --text:       #e8e8f0;
  --text2:      #9898a8;
  --font:       'Outfit', sans-serif;
  --font-display: 'Bebas Neue', cursive;
  --radius:     12px;
  --radius-lg:  18px;
  --shadow:     0 10px 40px rgba(0,0,0,0.6);
  --shadow-sm:  0 4px 20px rgba(0,0,0,0.4);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h:      72px;
}

/* Light mode */
body.light-mode {
  --bg:    #f4f4f7;
  --bg2:   #ebebef;
  --bg3:   #e2e2e9;
  --card:  #ffffff;
  --card-hover: #f9f9fc;
  --border: rgba(0,0,0,0.07);
  --text:  #0f0f11;
  --text2: #55555f;
  --shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background 0.4s, color 0.4s;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ---- Utility ---- */
.container   { width: min(1200px, 92vw); margin: 0 auto; }
.text-red    { color: var(--red); }
.section     { padding: 100px 0; }
.section-dark{ background: var(--bg2); }
.w-full      { width: 100%; }
.hidden      { display: none !important; }

/* ---- Particle Canvas ---- */
.particles-canvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

/* ---- Loader ---- */
.loader {
  position: fixed; inset: 0;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-content { text-align: center; }
.loader-logo {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  letter-spacing: 6px;
  color: var(--white);
  margin-bottom: 8px;
  animation: loaderPulse 1.5s ease infinite;
}
@keyframes loaderPulse { 0%,100%{opacity:1} 50%{opacity:0.75} }
.loader-logo span { color: var(--red); }
.loader-tagline {
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text2);
  margin-bottom: 32px;
}
.loader-bar {
  width: 220px; height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  margin: 0 auto 12px;
  overflow: hidden;
}
.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red), #ff6060);
  border-radius: 99px;
  width: 0%;
  animation: loadFill 2.2s ease forwards;
}
@keyframes loadFill { to { width: 100%; } }
.loader-percent {
  font-size: 0.78rem;
  color: var(--text2);
  letter-spacing: 2px;
}

/* ---- Scroll Progress ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), #ff6060);
  z-index: 9998;
  width: 0%;
  transition: width 0.1s linear;
}

/* ---- Navbar ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(8,8,9,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
body.light-mode .navbar.scrolled {
  background: rgba(244,244,247,0.92);
}
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
  width: min(1300px, 95vw);
  margin: 0 auto; padding: 0 16px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 4px;
  color: var(--white);
  transition: var(--transition);
}
body.light-mode .nav-logo { color: var(--black); }
.nav-logo span { color: var(--red); }
.nav-logo:hover { letter-spacing: 5px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 6px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.65);
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
body.light-mode .nav-link { color: rgba(0,0,0,0.6); }
.nav-link::after {
  content: '';
  position: absolute; bottom: 2px; left: 50%; right: 50%;
  height: 2px; background: var(--red);
  border-radius: 99px; transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,0.05); }
body.light-mode .nav-link:hover,
body.light-mode .nav-link.active { color: var(--black); background: rgba(0,0,0,0.05); }
.nav-link:hover::after, .nav-link.active::after { left: 14px; right: 14px; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.dark-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  color: var(--white);
  font-size: 0.875rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
body.light-mode .dark-toggle { background: rgba(0,0,0,0.07); color: var(--black); }
.dark-toggle:hover { background: var(--red); color: white; }

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 99px;
  transition: var(--transition);
}
body.light-mode .hamburger span { background: var(--black); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
  white-space: nowrap;
  justify-content: center;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--red), #ff4d5e);
  color: white;
  box-shadow: 0 4px 20px rgba(230,57,70,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(230,57,70,0.5);
}
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--white);
}
body.light-mode .btn-outline { border-color: rgba(0,0,0,0.25); color: var(--black); }
.btn-outline:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.btn-lg { padding: 16px 38px; font-size: 1rem; }
.nav-cta { padding: 10px 22px; font-size: 0.85rem; }
.pulse-btn { animation: pulsate 2.5s ease infinite; }
@keyframes pulsate {
  0%,100% { box-shadow: 0 4px 20px rgba(230,57,70,0.3); }
  50%      { box-shadow: 0 4px 35px rgba(230,57,70,0.6); }
}

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text2);
  line-height: 1.7;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.6) 50%,
    rgba(8,8,9,0.82) 100%
  );
}

/* Floating shapes — very subtle */
.hero-shape {
  position: absolute;
  border: 1px solid rgba(230,57,70,0.12);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.hero-shape-1 {
  width: 500px; height: 500px;
  top: -120px; right: -120px;
  animation: floatShape 10s ease-in-out infinite;
}
.hero-shape-2 {
  width: 300px; height: 300px;
  bottom: 80px; left: -80px;
  animation: floatShape 14s ease-in-out infinite reverse;
  border-color: rgba(230,57,70,0.08);
}
.hero-shape-3 {
  width: 180px; height: 180px;
  top: 40%; right: 18%;
  animation: floatShape 8s ease-in-out infinite 2s;
  border-color: rgba(255,255,255,0.05);
}
@keyframes floatShape {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-24px) rotate(8deg); }
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 840px;
  padding: 0 20px;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(230,57,70,0.9);
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.eyebrow-line {
  display: inline-block;
  width: 40px; height: 1px;
  background: var(--red);
  opacity: 0.6;
}

/* Glitch text — subtle, tasteful */
.glitch-text {
  position: relative;
  display: inline-block;
}
.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-display);
  font-size: inherit;
  letter-spacing: inherit;
  color: var(--red);
  opacity: 0;
}
.glitch-text::before {
  animation: glitch1 5s infinite 1s;
  clip-path: polygon(0 20%, 100% 20%, 100% 40%, 0 40%);
}
.glitch-text::after {
  animation: glitch2 5s infinite 1.3s;
  clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
}
@keyframes glitch1 {
  0%,93%,100% { opacity:0; transform:none; }
  94% { opacity:0.4; transform:translateX(-4px); }
  96% { opacity:0.4; transform:translateX(3px); }
  98% { opacity:0;   transform:none; }
}
@keyframes glitch2 {
  0%,93%,100% { opacity:0; transform:none; }
  94% { opacity:0.3; transform:translateX(4px); }
  96% { opacity:0.3; transform:translateX(-2px); }
  98% { opacity:0;   transform:none; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7rem);
  letter-spacing: 3px;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin: 0 auto 40px;
  min-height: 1.8em;
}
.typed-cursor {
  display: inline-block;
  animation: blink 0.8s step-end infinite;
  color: var(--red);
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-btns {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-stats {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 32px;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 2px;
  color: var(--white); line-height: 1;
}
.hero-stat-label {
  font-size: 0.7rem; letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}
.hero-stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }

.hero-scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase;
  z-index: 2;
}
.scroll-arrow {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: bounce 2s ease infinite;
}
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

/* ---- ABOUT ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

/* Image card with subtle light sweep on hover */
.img-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1),
              filter 0.6s ease;
  filter: brightness(0.9);
}
.img-card:hover .about-img {
  transform: scale(1.04);
  filter: brightness(1);
}
/* Light sweep effect */
.img-shine {
  position: absolute; inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 40%,
    rgba(255,255,255,0.10) 50%,
    transparent 60%,
    transparent 100%
  );
  background-size: 250% 100%;
  background-position: 100% 0;
  transition: background-position 0.8s ease;
  pointer-events: none;
}
.img-card:hover .img-shine {
  background-position: -100% 0;
}
/* Top light glow on hover */
.img-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}
.img-card:hover::before { opacity: 1; }

.about-img-wrap { position: relative; }
.about-badge {
  position: absolute;
  bottom: -22px; right: -20px;
  background: linear-gradient(135deg, var(--red), #ff4d5e);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex; flex-direction: column; align-items: center;
  box-shadow: 0 8px 28px rgba(230,57,70,0.4);
}
.badge-num { font-family: var(--font-display); font-size: 2.4rem; color: white; line-height: 1; }
.badge-label { font-size: 0.72rem; color: rgba(255,255,255,0.85); text-transform: uppercase; letter-spacing:1px; text-align:center; margin-top:4px; }

.about-content {}
.about-desc { color: var(--text2); margin-bottom: 16px; line-height: 1.8; }
.about-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin: 24px 0;
}
.about-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--text2); font-weight: 500;
}
.about-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px; margin-top: 40px;
}
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  transition: var(--transition);
}
.stat-card:hover {
  background: var(--card-hover);
  border-color: var(--border2);
  transform: translateY(-4px);
}
.stat-card i { font-size: 1.3rem; margin-bottom: 8px; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem; letter-spacing: 1px;
  color: var(--white); line-height: 1.1;
}
.stat-suf { color: var(--red); font-size: 1.3rem; font-weight: 700; }
.stat-label { font-size: 0.7rem; color: var(--text2); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
/* Top line reveal on hover */
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), #ff6060);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}
.service-card:hover {
  background: var(--card-hover);
  border-color: var(--border2);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 60px; height: 60px;
  background: var(--red-soft);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: var(--transition);
}
.service-icon i { font-size: 1.5rem; color: var(--red); }
.service-card:hover .service-icon { background: var(--red); }
.service-card:hover .service-icon i { color: white; }

.service-card h3 { font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; }
.service-card p  { color: var(--text2); font-size: 0.88rem; line-height: 1.7; margin-bottom: 22px; }
.service-link {
  font-size: 0.83rem; font-weight: 600;
  color: var(--red);
  display: inline-flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.service-link:hover { gap: 10px; }

/* ---- PRICING ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px; align-items: start;
}
.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pricing-card.featured {
  background: linear-gradient(160deg, #1a080a, var(--card));
  border-color: rgba(230,57,70,0.45);
  box-shadow: 0 0 40px rgba(230,57,70,0.15);
  transform: scale(1.03);
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-6px); }
.pricing-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--red), #ff4d5e);
  color: white;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 99px;
  white-space: nowrap;
}
.pricing-header { margin-bottom: 26px; }
.pricing-header h3 {
  font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2.5px;
  color: var(--text2); margin-bottom: 10px;
}
.pricing-card.featured .pricing-header h3 { color: var(--red); }
.price {
  font-family: var(--font-display);
  font-size: 3.2rem; letter-spacing: 1px;
  color: var(--white); line-height: 1;
}
.currency { font-size: 1.5rem; vertical-align: top; margin-top: 7px; display: inline-block; }
.period   { font-size: 1rem; color: var(--text2); font-family: var(--font); font-weight: 400; }
.pricing-features {
  margin-bottom: 28px;
  display: flex; flex-direction: column; gap: 11px;
}
.pricing-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; color: var(--text2);
}
.pricing-features li.disabled { opacity: 0.35; }
.pricing-features li i { color: var(--red); font-size: 0.78rem; width: 14px; flex-shrink: 0; }
.pricing-features li.disabled i { color: #555; }

/* ---- TRAINERS ---- */
.trainers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.trainer-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.trainer-card:hover {
  transform: translateY(-6px);
  border-color: var(--border2);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

.trainer-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.trainer-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1),
              filter 0.5s ease;
  filter: brightness(0.88);
}
.trainer-card:hover .trainer-img-wrap img {
  transform: scale(1.06);
  filter: brightness(1);
}

/* Light glow on top of trainer image on hover */
.trainer-img-shine {
  position: absolute; top: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.06) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}
.trainer-card:hover .trainer-img-shine { opacity: 1; }

/* Red top accent line */
.trainer-img-wrap::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 3;
}
.trainer-card:hover .trainer-img-wrap::after { opacity: 1; }

.trainer-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(200,30,45,0.85) 0%, rgba(0,0,0,0) 55%);
  opacity: 0; transition: opacity 0.4s ease;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 24px;
  z-index: 2;
}
.trainer-card:hover .trainer-overlay { opacity: 1; }
.trainer-socials { display: flex; gap: 10px; }
.trainer-socials a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.82rem;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.trainer-socials a:hover { background: white; color: var(--red); }

.trainer-info { padding: 22px; }
.trainer-info h3 { font-weight: 700; font-size: 1.05rem; margin-bottom: 5px; }
.trainer-role { color: var(--red); font-size: 0.83rem; font-weight: 600; margin-bottom: 14px; }
.trainer-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.trainer-tags span {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.5px;
  padding: 4px 11px;
  background: var(--red-soft);
  border: 1px solid var(--border2);
  border-radius: 99px; color: var(--red);
}

/* ---- TESTIMONIALS ---- */
.testimonials-slider { position: relative; overflow: hidden; }
.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.testimonial-slide { min-width: calc(33.333% - 16px); margin-right: 24px; }
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  height: 100%;
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover { border-color: var(--border2); transform: translateY(-4px); }
.testimonial-card::before {
  content: '\201C';
  position: absolute; top: 14px; right: 22px;
  font-size: 5rem; line-height: 1;
  font-family: Georgia, serif;
  color: rgba(230,57,70,0.1); pointer-events: none;
}
.testimonial-stars { color: #f4a01f; font-size: 0.82rem; margin-bottom: 14px; display: flex; gap: 3px; }
.testimonial-text { font-size: 0.92rem; color: var(--text2); line-height: 1.8; margin-bottom: 22px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 13px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--red), #ff4d5e);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.82rem; color: white; flex-shrink: 0;
}
.testimonial-author strong { font-size: 0.88rem; }
.testimonial-author span  { font-size: 0.76rem; color: var(--text2); }

.slider-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 36px; }
.slider-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--border);
  color: var(--text); font-size: 0.88rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.slider-btn:hover { background: var(--red); border-color: var(--red); color: white; }
.slider-dots { display: flex; gap: 7px; }
.slider-dot {
  width: 7px; height: 7px; border-radius: 99px;
  background: var(--border);
  transition: var(--transition); cursor: pointer; border: none;
}
.slider-dot.active { background: var(--red); width: 22px; }

/* ---- GALLERY ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* Gallery item — subtle zoom + shine + top light */
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-img-wrap {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
}
.gallery-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1),
              filter 0.5s ease;
  filter: brightness(0.82) saturate(0.9);
}
.gallery-item:hover .gallery-img-wrap img {
  transform: scale(1.07);
  filter: brightness(1) saturate(1.1);
}

/* Diagonal light sweep on gallery hover */
.gallery-shine {
  position: absolute; inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    transparent 35%,
    rgba(255,255,255,0.08) 50%,
    transparent 65%,
    transparent 100%
  );
  background-size: 300% 100%;
  background-position: 200% 0;
  transition: background-position 0.7s ease;
  pointer-events: none;
  z-index: 1;
}
.gallery-item:hover .gallery-shine {
  background-position: -100% 0;
}

/* Top accent glow on hover */
.gallery-img-wrap::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(230,57,70,0.8), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 3;
}
.gallery-item:hover .gallery-img-wrap::before { opacity: 1; }

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 55%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
  color: white;
  gap: 6px;
}
.gallery-overlay i { font-size: 1.3rem; }
.gallery-overlay span { font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ---- LIGHTBOX ---- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-content { max-width: 90vw; max-height: 90vh; text-align: center; }
.lightbox-content img { max-width: 90vw; max-height: 80vh; border-radius: var(--radius); object-fit: contain; }
.lightbox-caption { color: rgba(255,255,255,0.6); margin-top: 12px; font-size: 0.88rem; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; color: white; font-size: 1.1rem;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--red); }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev  { left: 18px;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px; margin-bottom: 56px;
}
.contact-info { display: flex; flex-direction: column; gap: 26px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 46px; height: 46px;
  background: var(--red-soft);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--red); font-size: 1rem; flex-shrink: 0;
  transition: var(--transition);
}
.contact-info-item:hover .contact-icon { background: var(--red); color: white; }
.contact-info-item h4 { font-size: 0.83rem; font-weight: 700; margin-bottom: 4px; letter-spacing: 0.5px; }
.contact-info-item p  { font-size: 0.88rem; color: var(--text2); line-height: 1.6; }
.contact-socials { display: flex; gap: 9px; margin-top: 6px; flex-wrap: wrap; }
.social-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--border);
  color: var(--text2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.88rem; transition: var(--transition);
}
.social-btn:hover { background: var(--red); border-color: var(--red); color: white; transform: translateY(-3px); }

.contact-form-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.5px; color: var(--text2);
  text-transform: uppercase;
}
.form-group input, .form-group select, .form-group textarea {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 15px;
  font-family: var(--font); font-size: 0.88rem;
  color: var(--text);
  transition: var(--transition); outline: none; resize: none;
}
.form-group select { appearance: none; cursor: pointer; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(152,152,168,0.5); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--red);
  background: var(--bg3);
  box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
}
.form-success {
  background: rgba(46,213,115,0.1);
  border: 1px solid rgba(46,213,115,0.35);
  border-radius: 10px; padding: 13px 18px;
  font-size: 0.88rem; color: #2ed573;
  display: flex; align-items: center; gap: 10px;
}
.map-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
}
.map-wrap iframe { display: block; filter: brightness(0.85) contrast(1.05); }
body.light-mode .map-wrap iframe { filter: none; }

/* ---- FOOTER ---- */
.footer-top {
  background: var(--bg2);
  padding: 68px 0 48px;
  border-top: 1px solid var(--border);
  position: relative; z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 44px;
}
.footer-brand > p {
  color: var(--text2); font-size: 0.88rem; line-height: 1.7;
  margin: 18px 0 22px; max-width: 300px;
}
.footer-links-group h4 {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--text); margin-bottom: 18px;
}
.footer-links-group ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links-group ul a { font-size: 0.88rem; color: var(--text2); transition: var(--transition); }
.footer-links-group ul a:hover { color: var(--red); padding-left: 4px; }
.footer-contact li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 0.85rem; color: var(--text2); line-height: 1.5;
}
.footer-contact li i { margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  background: var(--black);
  padding: 18px 0;
  position: relative; z-index: 1;
}
.footer-bottom .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(152,152,168,0.6); }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { font-size: 0.8rem; color: rgba(152,152,168,0.6); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--red); }

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed; bottom: 26px; right: 26px;
  width: 44px; height: 44px;
  background: var(--red); color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 4px 20px rgba(230,57,70,0.4);
  z-index: 999;
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .about-grid      { grid-template-columns: 1fr; gap: 60px; }
  .about-img-wrap  { max-width: 560px; margin: 0 auto; }
  .about-badge     { bottom: -16px; right: -8px; }
  .about-stats     { grid-template-columns: repeat(4,1fr); }
  .services-grid   { grid-template-columns: repeat(2,1fr); }
  .pricing-grid    { grid-template-columns: repeat(3,1fr); gap: 18px; }
  .pricing-card.featured { transform: scale(1); }
  .pricing-card.featured:hover { transform: translateY(-6px); }
  .trainers-grid   { grid-template-columns: repeat(3,1fr); gap: 18px; }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .section { padding: 68px 0; }
  .section-header { margin-bottom: 44px; }

  .nav-links {
    position: fixed; inset: var(--nav-h) 0 0 0;
    background: rgba(8,8,9,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center; justify-content: center;
    gap: 6px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    z-index: 999; padding: 20px;
  }
  body.light-mode .nav-links { background: rgba(244,244,247,0.98); }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 1.2rem; padding: 14px 28px; width: 100%; text-align: center; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-btns   { flex-direction: column; align-items: center; gap: 12px; }
  .hero-stat   { padding: 0 18px; }

  .about-features { grid-template-columns: 1fr; }
  .about-stats    { grid-template-columns: repeat(2,1fr); }
  .services-grid  { grid-template-columns: 1fr; }
  .pricing-grid   { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .trainers-grid  { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .testimonial-slide { min-width: 100%; margin-right: 0; }
  .gallery-grid   { grid-template-columns: repeat(2,1fr); }
  .form-row       { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; gap: 36px; }
  .contact-form-wrap { padding: 26px 18px; }
  .footer-grid    { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .lightbox-prev  { left: 8px; }
  .lightbox-next  { right: 8px; }
}

@media (max-width: 480px) {
  .hero-stats        { flex-direction: column; gap: 14px; }
  .hero-stat-divider { display: none; }
  .gallery-grid      { grid-template-columns: 1fr; }
}
