/* ================================================
   APPLE FITNESS RR NAGAR — Premium Website Styles
   ================================================ */

/* === ROOT VARIABLES === */
:root {
  --bg: #060809;
  --bg-sec: #0d1117;
  --bg-card: #12181f;
  --bg-card2: #181f28;
  --green: #3dbb6e;
  --green-dim: #2a9951;
  --green-glow: rgba(61, 187, 110, 0.18);
  --green-border: rgba(61, 187, 110, 0.3);
  --white: #f0f4f8;
  --white-dim: #8b9bae;
  --white-muted: #4a5568;
  --border: rgba(255, 255, 255, 0.07);
  --border2: rgba(255, 255, 255, 0.12);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  --shadow-green: 0 0 30px rgba(61, 187, 110, 0.15);
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --text-main: var(--white);
  --text-muted: var(--white-dim);
}

/* === RESET & BASE === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  cursor: auto;
}

a,
button {
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  font-family: inherit;
}

.loader {
  display: none !important;
}

section[id] {
  scroll-margin-top: 92px;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 2rem;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
}

.navbar.scrolled {
  background: rgba(6, 8, 9, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  flex-shrink: 0;
  text-decoration: none; 
    height: 100%; 
}

.nav-logo img {
  height: 40px;    /* Set a specific height for your logo */
  width: auto;     /* Maintain aspect ratio */
  display: block;  /* Removes bottom whitespace */
  object-fit: contain;
  
}

.nav-logo span {
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap; 
}

.footer-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s;
}

.nav-logo:hover .nav-logo-img,
.footer-logo:hover .footer-logo-img {
  opacity: 0.85;
}

.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.btn-nav-cta {
  padding: 10px 24px;
  border-radius: 50px;
  background: var(--green);
  color: #000;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  flex-shrink: 0;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-nav-cta:hover {
  background: #50d47f;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(61, 187, 110, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
  margin-left: 16px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
  display: block;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1.5rem 2rem 2rem;
  background: rgba(6, 8, 9, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.mobile-menu ul a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white-dim);
}

.mobile-menu ul a:hover {
  color: var(--white);
}

.mobile-menu .mobile-cta-btn {
  padding: 14px;
  text-align: center;
  border-radius: var(--radius);
  background: var(--green);
  color: #000;
  font-weight: 700;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-primary {
  background: var(--green);
  color: #000;
}

.btn-primary:hover {
  background: #50d47f;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(61, 187, 110, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--border2);
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green-border);
}

.btn-outline:hover {
  background: var(--green);
  color: #000;
}

.btn-full {
  width: 100%;
  justify-content: center;
  border-radius: var(--radius);
}

.btn-insta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #833ab4, #e1306c, #fd1d1d, #fcb045);
  box-shadow: 0 10px 24px rgba(225, 48, 108, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-insta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(225, 48, 108, 0.3);
}

/* === SECTION HELPERS === */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid var(--green-border);
  background: var(--green-glow);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--white-dim);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 560px;
}

.programs-header,
.trainers-header,
.membership-header,
.insta-header,
.testi-header {
  text-align: center;
}

.programs-header .section-subtitle,
.trainers-header .section-subtitle,
.membership-header .section-subtitle,
.insta-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* === REVEAL ANIMATIONS === */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.visible {
  opacity: 1 !important;
  transform: none !important;
}

.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  object-position: center center;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 8, 9, 0.92) 0%,
    rgba(6, 8, 9, 0.7) 50%,
    rgba(6, 8, 9, 0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 120px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

.ht-line {
  display: block;
  font-size: clamp(3.5rem, 9vw, 8rem);
  color: var(--white);
}

.ht-accent {
  color: transparent;
  -webkit-text-stroke: 2px var(--green);
  font-size: clamp(2.8rem, 7vw, 6.5rem);
}

.hero-pillars {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-pillars span {
  color: var(--white-dim);
  font-size: 0.88rem;
  font-weight: 500;
}

.hero-pillars i {
  color: var(--green);
  margin-right: 4px;
}

.hero-pillars .dot {
  color: var(--white-muted);
}

.hero-sub {
  color: var(--white-dim);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white-muted);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  z-index: 1;
}

.scroll-bar {
  width: 1px;
  height: 50px;
  background: var(--border2);
  overflow: hidden;
}

.scroll-bar-fill {
  width: 100%;
  height: 50%;
  background: var(--green);
  animation: scrollAnim 1.8s ease infinite;
}

@keyframes scrollAnim {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

.hero-rating {
  position: absolute;
  bottom: 3rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 12px 20px;
  z-index: 1;
}

.rating-stars {
  display: flex;
  gap: 2px;
  color: #ffb800;
  font-size: 0.7rem;
}

.rating-info {
  display: flex;
  flex-direction: column;
}

.rating-info strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.rating-info span {
  font-size: 0.65rem;
  color: var(--white-dim);
  letter-spacing: 1px;
}

/* ===========================
   STATS BAR
   =========================== */
.stats-bar {
  background: var(--bg-sec);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
}

.stat {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat > i {
  font-size: 1.8rem;
  color: var(--green);
}

.stat div {
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.stat sup {
  font-size: 1rem;
  color: var(--green);
  font-weight: 700;
}

.stat p {
  font-size: 0.72rem;
  color: var(--white-dim);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

.stat-sep {
  width: 1px;
  height: 50px;
  background: var(--border2);
}

/* ===========================
   ABOUT
   =========================== */
.about {
  padding: 8rem 2rem;
  background: var(--bg);
}

.about-wrap {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visuals {
  position: relative;
}

.about-img-main {
  width: 85%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border);
}

.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: 0;
  width: 55%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--bg);
  box-shadow: var(--shadow);
}

.about-years-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--green);
  color: #000;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

.about-text {
  padding-top: 2rem;
}

.about-desc {
  color: var(--white-dim);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.value-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--green-glow);
  border: 1px solid var(--green-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

.value-item strong {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}

.value-item p {
  color: var(--white-dim);
  font-size: 0.88rem;
  line-height: 1.5;
}

.founder-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-top: 1rem;
}

.founder-avatar-initials {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dim));
  color: #000;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.founder-chip strong {
  display: block;
  font-weight: 700;
}

.founder-chip span {
  color: var(--white-dim);
  font-size: 0.8rem;
}

/* ===========================
   PROGRAMS
   =========================== */
.programs {
  padding: 8rem 0;
  background: var(--bg-sec);
  overflow: hidden;
}

.programs-header {
  padding: 0 2rem;
  text-align: center;
  max-width: 1280px;
  margin: 0 auto 3rem;
}

.programs-track-wrap {
  padding: 2rem 2rem 3rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--green) var(--bg-card);
}

.programs-track-wrap::-webkit-scrollbar {
  height: 4px;
}

.programs-track-wrap::-webkit-scrollbar-track {
  background: var(--bg-card);
}

.programs-track-wrap::-webkit-scrollbar-thumb {
  background: var(--green);
  border-radius: 4px;
}

.programs-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  padding: 0 max(2rem, calc((100vw - 1280px) / 2));
}

.program-card {
  width: 300px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
  transform-style: preserve-3d;
}

.program-card:hover {
  transform: translateY(-10px);
  border-color: var(--green-border);
  box-shadow: var(--shadow-green);
}

.pc-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.pc-img img {
  transition: transform 0.6s;
}

.program-card:hover .pc-img img {
  transform: scale(1.08);
}

.pc-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 8, 9, 0.9), transparent 60%);
}

.pc-num {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
}

.pc-body {
  padding: 1.4rem;
}

.pc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--green-glow);
  border: 1px solid var(--green-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 1rem;
}

.pc-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pc-body p {
  color: var(--white-dim);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.pc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pc-tags span {
  padding: 4px 10px;
  border-radius: 50px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  color: var(--white-dim);
  font-size: 0.7rem;
}

.scroll-hint {
  text-align: center;
  color: var(--white-muted);
  font-size: 0.75rem;
  letter-spacing: 2px;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ===========================
   PHILOSOPHY
   =========================== */
.philosophy {
  position: relative;
  padding: 8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.philo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.philo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 9, 0.88);
}

.philo-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.philo-eyebrow {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  display: block;
}

.philo-words {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.philo-word {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
}

.philo-word i {
  color: var(--green);
  font-size: 0.8em;
}

.philo-sep {
  color: var(--white-muted);
  font-size: 2.5rem;
  font-weight: 200;
}

.philo-quote {
  color: var(--white-dim);
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ===========================
   TRAINERS
   =========================== */
.trainers {
  padding: 8rem 2rem;
  background: var(--bg);
}

.trainers-header {
  max-width: 1280px;
  margin: 0 auto 3rem;
}

.trainers-layout {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 3rem;
  align-items: start;
}

.trainer-featured {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: sticky;
  top: 100px;
}

.tf-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tf-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dim));
  color: #000;
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tf-badge {
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--green-glow);
  border: 1px solid var(--green-border);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.trainer-featured h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.tf-role {
  color: var(--white-dim);
  font-size: 0.8rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.tf-bio {
  color: var(--white-dim);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.tf-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tf-skills span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 50px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--white-dim);
}

.tf-skills i {
  color: var(--green);
}

.trainers-secondary {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trainer-mini {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  transition: border-color 0.3s, transform 0.3s;
  cursor: default;
}

.trainer-mini:hover {
  border-color: var(--green-border);
  transform: translateX(6px);
}

.tm-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--bg-card2);
  border: 1px solid var(--border2);
  color: var(--green);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tm-info {
  flex: 1;
}

.tm-info strong {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
}

.tm-info span {
  color: var(--white-dim);
  font-size: 0.78rem;
}

.trainer-mini > i {
  color: var(--white-muted);
  font-size: 0.8rem;
}

/* ===========================
   MEMBERSHIP
   =========================== */
.membership {
  padding: 8rem 2rem;
  background: var(--bg-sec);
}

.membership-header {
  max-width: 1280px;
  margin: 0 auto 3rem;
}

.membership-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.mem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.4s, border-color 0.4s;
  position: relative;
  overflow: hidden;
}

.mem-card:hover {
  transform: translateY(-8px);
  border-color: var(--border2);
}

.mem-card-featured {
  background: var(--bg-card2);
  border-color: var(--green-border);
  box-shadow: var(--shadow-green);
}

.mem-popular-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--green);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-bottom-left-radius: var(--radius-sm);
}

.mem-duration {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white-dim);
  font-size: 0.85rem;
}

.mem-duration i {
  color: var(--green);
}

.mem-price {
  font-family: 'Outfit', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  display: flex;
  align-items: flex-start;
}

.mem-price sup {
  font-size: 1.2rem;
  margin-top: 0.4rem;
  margin-right: 2px;
}

.mem-freq {
  color: var(--white-muted);
  font-size: 0.75rem;
  margin-top: -0.5rem;
}

.mem-features {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.mem-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--white-dim);
}

.mem-features i {
  color: var(--green);
}

.mem-card-featured .mem-features li {
  color: var(--white);
}

.mem-note {
  max-width: 1280px;
  margin: 2rem auto 0;
  color: var(--white-muted);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mem-note i {
  color: var(--white-muted);
}

/* ===========================
   SCHEDULE
   =========================== */
.schedule {
  padding: 8rem 2rem;
  background: var(--bg);
}

.schedule-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.schedule-text p {
  color: var(--white-dim);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.schedule-days {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.sched-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
}

.sched-day {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.sched-day i {
  color: var(--green);
}

.sched-time {
  background: var(--green-glow);
  border: 1px solid var(--green-border);
  color: var(--green);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.schedule-visual {
  position: relative;
}

.schedule-visual img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
}

.schedule-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--green);
  color: #000;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 20px rgba(61, 187, 110, 0.4);
}

.schedule-badge i {
  font-size: 1rem;
  margin-bottom: 2px;
}

/* ===========================
   INSTAGRAM FEED
   =========================== */
.instagram {
  padding: clamp(4.5rem, 8vw, 8rem) 1.25rem;
  background: var(--bg-sec);
}

.insta-header {
  max-width: 1280px;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.insta-profile-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.ipb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  font-size: 0.92rem;
  color: var(--white-dim);
}

.ipb-item strong {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.ipb-item i {
  font-size: 1rem;
  color: #ffb347;
  margin-bottom: 0.35rem;
}

.insta-grid {
  max-width: 1280px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.insta-embed-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 1rem;
  min-height: 420px;
  border-radius: calc(var(--radius) + 6px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.insta-embed-wrapper:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  border-color: rgba(225, 48, 108, 0.28);
}

.insta-embed-wrapper .instagram-media {
  margin: 0 !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 540px !important;
  border: none !important;
  border-radius: calc(var(--radius) - 2px) !important;
  overflow: hidden !important;
  box-shadow: none !important;
  background: #fff !important;
}

.insta-embed-wrapper iframe {
  width: 100% !important;
  border-radius: calc(var(--radius) - 2px);
}

.insta-footer {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.ipb-item-followers {
  display: none !important;
}

/* ===========================
   TESTIMONIALS (FIXED)
   =========================== */
.testimonials {
  padding: 8rem 2rem;
  background: var(--bg);
  overflow: hidden;
}

.testi-header {
  max-width: 1280px;
  margin: 0 auto 3.5rem;
  text-align: center; /* Better for mobile alignment */
}

.testi-track-wrap {
  overflow: hidden;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.testi-track {
  display: flex;
  gap: 1.5rem; /* The 'Gap' variable for JS */
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}

.testi-card {
  /* MOBILE: 1 card per view */
  flex: 0 0 100%; 
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  flex-shrink: 0;
  transition: border-color 0.3s;
  box-sizing: border-box; /* Crucial for padding calculation */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* TABLET: 2 cards per view */
@media (min-width: 768px) {
  .testi-card {
    flex: 0 0 calc(50% - 0.75rem); /* 0.75rem is half the 1.5rem gap */
  }
}

/* DESKTOP: 3 cards per view */
@media (min-width: 1024px) {
  .testi-card {
    flex: 0 0 calc(33.333% - 1rem); /* 1rem is 2/3 of the 1.5rem gap */
  }
}

.testi-card:hover {
  border-color: var(--green);
}

.testi-stars {
  display: flex;
  gap: 3px;
  color: #ffb800;
  margin-bottom: 1.5rem;
}

.testi-card p {
  color: var(--white-dim);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
  font-size: 1.05rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: #000;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-size: 1rem;
  color: var(--white);
}

.testi-author span {
  color: var(--white-muted);
  font-size: 0.8rem;
}

.testi-controls {
  display: flex;
  justify-content: center; /* Center buttons on mobile */
  gap: 1.5rem;
  max-width: 1280px;
  margin: 3rem auto 0;
}

.testi-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.testi-btn:hover {
  background: var(--green);
  border-color: var(--green);
  color: #000;
  transform: scale(1.1);
}

/* ===========================
   CONTACT
   =========================== */
.contact {
  padding: 8rem 2rem;
  background: var(--bg-sec);
}

.contact-wrap {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: stretch;
  min-height: 500px;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-info p {
  color: var(--white-dim);
  line-height: 1.8;
  margin: 1rem 0 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 1.5rem 0 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.ci-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--green-glow);
  border: 1px solid var(--green-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

.contact-item strong {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--white-dim);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

.contact-item a {
  color: var(--white-dim);
}

.contact-item a:hover {
  color: var(--green);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 450px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 450px;
}

/* ===========================
   FLOATING ACTION BUTTONS
   =========================== */
.float-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.float-btn::before {
  content: attr(title);
  position: absolute;
  right: calc(100% + 12px);
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  font-family: 'Inter', sans-serif;
}

.float-btn:hover::before {
  opacity: 1;
}

.float-btn:hover {
  transform: translateY(-4px) scale(1.08);
}

.float-whatsapp {
  background: #25d366;
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.float-whatsapp:hover {
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

.float-call {
  background: var(--green);
  color: #000;
  box-shadow: 0 4px 20px rgba(61, 187, 110, 0.35);
}

.float-call:hover {
  box-shadow: 0 8px 28px rgba(61, 187, 110, 0.5);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: #030405;
  border-top: 1px solid var(--border);
  padding: 5rem 2rem 0;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 4rem;
  padding-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand p {
  color: var(--white-muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-dim);
  font-size: 0.9rem;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.footer-socials a:hover {
  background: var(--green);
  border-color: var(--green);
  color: #000;
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 1.2rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--white-muted);
  font-size: 0.88rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--green);
}

.footer-contact p {
  color: var(--white-muted);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
  display: flex;
  gap: 8px;
}

.footer-contact i {
  color: var(--green);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact a {
  color: var(--white-muted);
}

.footer-contact a:hover {
  color: var(--green);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white-muted);
  font-size: 0.78rem;
  gap: 1rem;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1100px) {
  .membership-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trainers-layout {
    grid-template-columns: 1fr;
  }

  .trainer-featured {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  .about-wrap,
  .schedule-inner,
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-visuals {
    padding-bottom: 60px;
  }

  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testi-card {
    min-width: calc(50% - 0.75rem);
  }
}

@media (max-width: 768px) {
  .navbar,
  .navbar.scrolled,
  .hero-content,
  .about,
  .trainers,
  .membership,
  .schedule,
  .testimonials,
  .contact,
  .footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nav-inner {
    height: 68px;
    gap: 1rem;
  }

  .nav-logo-img {
    height: 42px;
  }

  .footer-logo-img {
    height: 40px;
  }

  .nav-links {
    display: none;
  }

  .btn-nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .membership-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .insta-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .insta-embed-wrapper {
    padding: 0.75rem;
    min-height: auto;
  }

  .insta-profile-bar {
    gap: 1rem;
  }

  .ipb-item {
    min-width: 80px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .philo-words {
    gap: 1rem;
  }

  .philo-sep {
    display: none;
  }

  .stats-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    justify-content: stretch;
  }

  .stat-sep {
    display: none;
  }

  .sched-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .sched-time {
    white-space: normal;
  }
}

@media (max-width: 540px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-rating {
    display: none;
  }

  .testi-card {
    min-width: 85vw;
  }

  .stats-inner {
    grid-template-columns: 1fr;
  }

  .float-actions {
    bottom: 1.2rem;
    right: 1.2rem;
  }

  .float-btn {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .float-btn::before {
    display: none;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 320px;
  }

  .insta-embed-wrapper .instagram-media {
    max-width: 100% !important;
  }

  .about-img-main {
    width: 100%;
  }

  .about-img-secondary {
    width: 50%;
    bottom: -24px;
  }

  .schedule-badge {
    width: 68px;
    height: 68px;
    left: -10px;
    bottom: -10px;
    font-size: 0.58rem;
  }
}

/* === GROUP CLASS SCHEDULE BLOCK === */
.group-class-block {
  margin-top: 1.8rem;
  background: var(--bg-card);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
}

.gc-batch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
}
.gc-batch-row:last-of-type {
  margin-bottom: 0.8rem;
}
.gc-batch-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.gc-batch-time {
  font-size: 0.82rem;
  color: var(--white-dim);
  font-weight: 500;
}

.gc-days-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-top: 0.8rem;
}
.gc-day-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.3rem;
  text-align: center;
}
.gc-day {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.gc-class {
  font-size: 0.6rem;
  color: var(--white-dim);
  font-weight: 500;
  line-height: 1.3;
}

/* 5-column membership grid on wide screens */
@media (min-width: 1200px) {
  .membership-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Group class schedule responsive */
@media (max-width: 480px) {
  .gc-days-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
