/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0b0b0b;
  color: #ffffff;
  overflow-x: hidden;
}

/* ================= NAVBAR ================= */
/* ================= PREMIUM SOLID NAVBAR ================= */

.gym-navbar-solid {
  background: #0b0b0b;
  padding: 15px 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.7);
  z-index: 1000;
}

/* LOGO */
.gym-logo {
  width: 56px;
  height: auto;
  margin-right: 12px;
  animation: logoPulse 3s infinite ease-in-out;
}

@keyframes logoPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.gym-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 3px;
  color: #ffffff;
}

/* Navbar dumbbell (center) */
.gym-navbar-solid .container { position: relative; }
.nav-dumbbell{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1060;
  width:48px;
  height:48px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(230,57,70,0.06);
  backdrop-filter: blur(2px);
}
.nav-dumbbell .icon{ display:inline-block; color:#e63946; }
.nav-dumbbell svg{ width:26px; height:26px; fill:currentColor; display:block; }
.nav-dumbbell .icon{ animation:db-vibrate 1.6s infinite ease-in-out; }

@keyframes db-vibrate {
  0% { transform: rotate(-6deg); }
  25% { transform: rotate(6deg); }
  50% { transform: rotate(-4deg); }
  75% { transform: rotate(4deg); }
  100% { transform: rotate(-6deg); }
}

/* NAV LINKS */
.navbar-nav .nav-link {
  color: #ffffff !important;
  font-weight: 500;
  margin-left: 28px;
  position: relative;
  padding: 6px 0;
}

/* UNDERLINE ANIMATION */
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #e63946;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* CTA BUTTON */
.nav-cta {
  border: 2px solid #e63946;
  padding: 8px 22px !important;
  border-radius: 50px;
  margin-left: 32px;
}

.nav-cta:hover {
  background: #e63946;
  color: #fff !important;
}

/* MOBILE */
@media (max-width: 991px) {
  .gym-name {
    font-size: 26px;
  }

  .navbar-nav .nav-link {
    margin: 12px 0;
  }
  /* hide decorative dumbbell on smaller screens */
  .nav-dumbbell { display: none; }
}

/* ================= HERO SECTION ================= */

.hero-section {
  height: 110vh;
  position: relative;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.85),
    rgba(0,0,0,0.45)
  );
  z-index: 2;
  pointer-events: none;
}

.hero-section .container {
  z-index: 3;
}

/* rest hero typography same rahegi */

.hero-tag {
  display: inline-block;
  background: rgba(230,57,70,0.15);
  color: #e63946;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 84px;
  line-height: 1;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: #cccccc;
  max-width: 520px;
}

.hero-buttons .btn-primary {
  background: #e63946;
  border: none;
  padding: 14px 36px;
  font-weight: 600;
}

.hero-buttons .btn-primary:hover {
  background: #ff4d5a;
}

.hero-buttons .btn-outline-light {
  padding: 14px 36px;
  font-weight: 600;
  border-width: 2px;
}

.hero-trust {
  margin-top: 20px;
  font-size: 14px;
  color: #bbbbbb;
}

/* ================= FOOTER ================= */
.gym-footer {
  background: #050505;
  padding: 30px 0;
  font-size: 14px;
  color: #888888;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
  .hero-title {
    font-size: 60px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .nav-link {
    margin-left: 0;
    margin-top: 10px;
  }
}
/* ================= CLEAN ABOUT SECTION ================= */

.about-clean {
  padding: 100px 0;
  background: #0f0f0f;
}

/* Subtitle */
.section-subtitle {
  max-width: 620px;
  margin: 0 auto;
  color: #bbbbbb;
  font-size: 16px;
  line-height: 1.6;
}

/* FEATURE BOX */
.about-feature {
  background: #141414;
  padding: 40px 30px;
  border-radius: 16px;
  height: 100%;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.about-feature:hover {
  transform: translateY(-8px);
  border-color: #e63946;
}

/* ICON */
.about-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(230,57,70,0.15);
  color: #e63946;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

/* TEXT */
.about-feature h5 {
  font-size: 18px;
  margin-bottom: 10px;
}

.about-feature p {
  font-size: 14px;
  color: #bbbbbb;
  line-height: 1.6;
}

/* ================= ENHANCED PROGRAMS SECTION ================= */

.programs-enhanced {
  padding: 100px 0;
  background: #0b0b0b;
}

/* PROGRAM CARD */
.program-box {
  background: #141414;
  padding: 46px 34px;
  border-radius: 18px;
  height: 100%;
  text-align: left;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.program-box:hover {
  transform: translateY(-10px);
  border-color: #e63946;
}

/* ICON */
.program-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(230,57,70,0.15);
  color: #e63946;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}

/* TEXT */
.program-box h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

.program-box p {
  font-size: 14px;
  color: #bbbbbb;
  line-height: 1.7;
}

/* MOBILE */
@media (max-width: 576px) {
  .program-box {
    padding: 36px 26px;
  }
}
/* ================= TRAINER SECTION ================= */

.trainer-section {
  padding: 100px 0;
  background: #0f0f0f;
}

/* CARD */
.trainer-card {
  background: #141414;
  border-radius: 20px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
}

/* IMAGE */
.trainer-img {
  width: 40%;
}

.trainer-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* INFO */
.trainer-info {
  padding: 50px;
  width: 60%;
}

.trainer-info h3 {
  font-size: 14px;
  letter-spacing: 2px;
  color: #e63946;
  text-transform: uppercase;
}

.trainer-info h4 {
  font-size: 32px;
  margin: 10px 0 20px;
}

.trainer-info p {
  font-size: 15px;
  color: #cccccc;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* POINTS */
.trainer-points {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.trainer-points li {
  font-size: 14px;
  color: #bbbbbb;
  margin-bottom: 8px;
}

/* MOBILE */
@media (max-width: 991px) {
  .trainer-card {
    flex-direction: column;
  }

  .trainer-img,
  .trainer-info {
    width: 100%;
  }

  .trainer-info {
    padding: 36px 24px;
  }
}
/* Trainers page grid */
.trainers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.trainer-card-grid {
  background: linear-gradient(180deg, #0f0f0f 0%, #141414 100%);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,0.6);
  transition: transform .28s ease, box-shadow .28s ease;
  display: flex;
  flex-direction: column;
}
.trainer-card-grid:hover{ transform: translateY(-8px); box-shadow: 0 30px 70px rgba(0,0,0,0.7); }
.trainer-media{ position: relative; overflow: hidden; }
.trainer-photo{ width:100%; height:260px; object-fit:cover; display:block; }
.trainer-body{ padding:18px 20px 20px; color:#e6e6e6; display:flex; flex-direction:column; flex:1; }
.trainer-body h4{ margin-bottom:6px; color:#fff; }
.trainer-body p{ color:#cfcfcf; line-height:1.5; }
.trainer-body .text-muted{ color: #e63946 !important; font-weight:600; }

/* Membership page visuals */
.membership-form-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.03);
}
.membership-visual img{ width:100%; height:100%; object-fit:cover; min-height:360px; }

@media (max-width: 991px){
  .membership-visual{ display:none; }
}

/* Scroll reveal for cards (index page): alternate from left/right */
.reveal {
  opacity: 0;
  transition: transform 1.8s cubic-bezier(.15,.85,.15,1), opacity 1.8s ease;
  will-change: transform, opacity;
}
.reveal.from-left { transform: translateX(-80px); }
.reveal.from-right { transform: translateX(80px); }
.reveal.in-view { transform: none; opacity: 1; }

@media (max-width: 576px) {
  /* smaller upward reveal on mobile, a bit more distance for visibility */
  .reveal.from-left, .reveal.from-right { transform: translateY(28px); }
}
.trainer-contact-btn{ display:inline-block; align-self:center; margin-top:18px; width:90%; max-width:320px; text-align:center; }

/* ================= PROGRAMS HORIZONTAL SCROLL (from programs.html) ================= */
.programs-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
}
.program-card {
  min-width: 300px;
  scroll-snap-align: start;
  transition: transform .28s ease, box-shadow .28s ease;
  transform: translateY(18px);
  opacity: 0;
}
.program-card.in-view { transform: none; opacity: 1; }
.program-card .card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.price { font-size: 1.25rem; font-weight: 600; }
.plans-row { display:flex; gap:.5rem; margin-top:.5rem; }
.programs-scroll::-webkit-scrollbar{ height:10px }
.programs-scroll::-webkit-scrollbar-thumb{ background:#ccc; border-radius:10px }

/* Programs hero */
.programs-hero{ position:relative; height:56vh; min-height:360px; display:flex; align-items:center; }
.programs-hero .hero-bg-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:1; }
.programs-hero .hero-overlay{ position:absolute; inset:0; background:linear-gradient(90deg, rgba(11,11,11,0.75), rgba(11,11,11,0.45)); z-index:2; }
.programs-hero .container{ z-index:3; color:#fff; }
.programs-hero .section-title{ font-family: 'Bebas Neue', sans-serif; font-size:48px; letter-spacing:2px; }
.programs-hero .section-subtitle{ color: #ddd; max-width:720px; margin:0 auto 18px; }

@media (max-width: 991px){
  .programs-hero{ height:44vh; }
  .programs-hero .section-title{ font-size:32px; }
}

/* Hero slider (index) */
.hero-slider { position:absolute; inset:0; z-index:1; overflow:hidden; }
.hero-slide { position:absolute; inset:0; opacity:0; transition: opacity 1.6s ease; }
.hero-slide.active { opacity:1; }
.hero-slide img{ width:100%; height:100%; object-fit:cover; display:block; }

/* Sliding transitions for manual arrow navigation */
.hero-slide.sliding { transition: transform 0.6s cubic-bezier(.2,.9,.2,1), opacity 0.45s ease; }
.hero-slide.slide-in-from-right { transform: translateX(100%); }
.hero-slide.slide-in-from-left { transform: translateX(-100%); }
.hero-slide.slide-out-to-left { transform: translateX(-100%); opacity:0; }
.hero-slide.slide-out-to-right { transform: translateX(100%); opacity:0; }
.hero-slide.sliding.active { opacity:1; transform: translateX(0); }
.hero-dots{ position:absolute; left:50%; transform:translateX(-50%); bottom:28px; z-index:4; display:flex; gap:8px; }
.hero-dots button{ width:10px; height:10px; border-radius:50%; background:rgba(255,255,255,0.28); border:0; padding:0; cursor:pointer }
.hero-dots button.active{ background:#e63946 }
.hero-slider:hover .hero-dots button{ background:rgba(255,255,255,0.38); }

@media (max-width: 576px){
  .hero-dots{ bottom:18px }
}

/* Hero arrows (prev/next) */
.hero-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:5;
  width:48px;
  height:48px;
  border-radius:50%;
  border:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,0.28);
  color: #fff;
  cursor:pointer;
  backdrop-filter: blur(4px);
  transition: transform .18s ease, background .18s ease;
}
.hero-arrow:hover{ transform: translateY(-50%) scale(1.06); background: rgba(230,57,70,0.85); color:#fff }
.hero-prev{ left:18px }
.hero-next{ right:18px }

@media (max-width: 576px){
  .hero-arrow{ width:40px; height:40px; }
  .hero-prev{ left:10px }
  .hero-next{ right:10px }
}


.why-choose-premium {
  padding: 120px 0;
  background: #0f0f0f;
}

/* LEFT TEXT */
.why-choose-premium .section-title span {
  color: #e63946;
}

/* LIST */
.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 26px;
}

.why-icon {
  color: #e63946;
  font-size: 18px;
  margin-right: 14px;
  margin-top: 4px;
}

/* TEXT */
.why-list h5 {
  font-size: 18px;
  margin-bottom: 6px;
}

.why-list p {
  font-size: 14px;
  color: #bbbbbb;
  line-height: 1.6;
}

/* MOBILE */
@media (max-width: 768px) {
  .why-choose-premium {
    padding: 90px 0;
  }
}
/* ================= TESTIMONIAL CARDS (DISTINCT STYLE) ================= */

.testimonials-cards {
  padding: 120px 0;
  background: #0f0f0f;
}

/* CARD */
.testimonial-card {
  height: 100%;
  padding: 44px 36px;
  border-radius: 28px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.01)
  );
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
  position: relative;
}

/* SUBTLE HOVER */
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(230,57,70,0.4);
}

/* QUOTE TEXT */
.testimonial-quote {
  font-size: 16px;
  line-height: 1.8;
  color: #dddddd;
  font-style: italic;
  margin-bottom: 18px;
}

/* NAME */
.testimonial-name {
  font-size: 14px;
  color: #e63946;
  letter-spacing: 1px;
}
/* ================= PREMIUM FOOTER ================= */

.footer-premium {
  background: #050505;
  padding: 80px 0 30px;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.footer-title {
  font-size: 18px;
  margin-bottom: 16px;
}

.footer-text {
  font-size: 14px;
  color: #bbbbbb;
  line-height: 1.6;
}

.footer-list {
  list-style: none;
  padding: 0;
}

.footer-list li {
  font-size: 14px;
  color: #bbbbbb;
  margin-bottom: 10px;
}

.footer-list a {
  color: #e63946;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: #888888;
}
/* ================= MEMBERSHIP PAGE ================= */

.membership-page {
  min-height: 100vh;
  padding: 120px 0;
  background: #0b0b0b;
}

.membership-form {
  background: #141414;
  padding: 50px;
  border-radius: 20px;
}

.membership-form input,
.membership-form select {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 16px;
  background: #0f0f0f;
  border: 1px solid #222;
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
}

.membership-form input::placeholder {
  color: #888;
}

.membership-form select option {
  color: #e7e5e5;
}
/* ================= MEMBERSHIP HERO ================= */

.membership-hero {
  padding: 160px 0 80px;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.85),
    rgba(0,0,0,0.6)
  );
}

.min-vh-50 {
  min-height: 50vh;
}
/* program page */
/* FIX form spacing under fixed navbar */
.membership-page {
  padding: 80px 0 120px;
}
/* Programs horizontal scroll container */
    .programs-scroll {
      display: flex;
      gap: 1.25rem;
      overflow-x: auto;
      padding-bottom: 1rem;
      scroll-snap-type: x mandatory;
    }
    .program-card {
      min-width: 300px;
      scroll-snap-align: start;
      transition: transform .28s ease, box-shadow .28s ease;
      transform: translateY(18px);
      opacity: 0;
    }
    .program-card.in-view { transform: none; opacity: 1; }
    .program-card .card:hover {
      transform: translateY(-6px) scale(1.02);
      box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    }
    .price { font-size: 1.25rem; font-weight: 600; }
    .plans-row { display:flex; gap:.5rem; margin-top:.5rem; }
    .programs-scroll::-webkit-scrollbar{ height:10px }
    .programs-scroll::-webkit-scrollbar-thumb{ background:#ccc; border-radius:10px }