/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
}

body {
  background: #000;
  font-family: "Poppins", sans-serif;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.5;
}

:root {
  --green: #c6ff00;
  --white: #fff;
  --black: #000;
  --dark: #111;
  --darker: #050505;
  --border: #222;
  --text-muted: #aaa;
  --header-height: 80px;
}

/* ============================================================
   LOADER
   ============================================================ */
#loader {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease;
}

#loader h1 {
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(28px, 6vw, 60px);
  color: var(--green);
  letter-spacing: clamp(3px, 1vw, 8px);
  text-align: center;
  padding: 0 20px;
}
/* ============================================================
    Footer
  ============================================================ */

.chedilex-footer-content {
  font-size: 0.7rem !important;
}

.chedilex-footer-content img {
  height: 35px !important;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  background: rgba(0, 0, 0, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  gap: 20px;
}

.logo {
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  color: #fff;
  white-space: nowrap;
}

.logo span {
  color: var(--green);
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s;
  position: relative;
}

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

.join-btn {
  background: var(--green);
  padding: 11px 24px;
  border-radius: 40px;
  text-decoration: none;
  color: #000;
  font-weight: 700;
  font-size: 14px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.join-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px var(--green);
}

.menu-btn {
  display: none;
  font-size: 26px;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 6px;
  line-height: 1;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: calc(var(--header-height) + 60px) 5% 80px;
  background: url("https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=1800&q=80")
    center/cover no-repeat;
  position: relative;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 650px;
  flex: 1;
}

.hero h3 {
  color: var(--green);
  letter-spacing: 4px;
  margin-bottom: 18px;
  font-size: clamp(12px, 1.5vw, 16px);
  font-weight: 600;
}

.hero h1 {
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(38px, 7vw, 80px);
  line-height: 1.12;
  margin-bottom: 22px;
}

.hero p {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.75;
  color: #ddd;
  margin-bottom: 35px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 14px 30px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.3s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: #000;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px var(--green);
}

.btn-secondary {
  border: 2px solid #fff;
  color: #fff;
}

.btn-secondary:hover {
  background: #fff;
  color: #000;
}

.hero-card {
  position: relative;
  z-index: 5;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 35px 30px;
  border-radius: 25px;
  width: 280px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.hero-card h2 {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--green);
  font-family: "Black Ops One", sans-serif;
}

.hero-card p {
  margin-bottom: 15px;
  font-size: 14px;
  color: #ddd;
}

.hero-card hr {
  margin: 15px 0;
  border: 0;
  border-top: 1px solid #333;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 70px;
  padding: 100px 5%;
  background: var(--darker);
  flex-wrap: wrap;
}

.about-image {
  flex: 1 1 400px;
  max-width: 600px;
}

.about-image img {
  width: 100%;
  border-radius: 25px;
  box-shadow: 0 0 40px rgba(198, 255, 0, 0.2);
}

.about-content {
  flex: 1 1 400px;
  max-width: 600px;
}

.about-content h5 {
  color: var(--green);
  letter-spacing: 4px;
  margin-bottom: 15px;
  font-size: 14px;
  font-weight: 600;
}

.about-content h2 {
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(30px, 4.5vw, 55px);
  line-height: 1.18;
  margin-bottom: 22px;
}

.about-content p {
  color: #bfbfbf;
  line-height: 1.8;
  font-size: clamp(15px, 1.3vw, 17px);
  margin-bottom: 30px;
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  padding: 80px 5%;
  background: #000;
}

.stat-box {
  text-align: center;
  padding: 35px 20px;
  background: var(--dark);
  border-radius: 22px;
  border: 1px solid var(--border);
  transition: 0.4s;
}

.stat-box:hover {
  transform: translateY(-8px);
  border-color: var(--green);
  box-shadow: 0 0 30px rgba(198, 255, 0, 0.25);
}

.stat-box h2 {
  font-size: clamp(36px, 5vw, 55px);
  font-family: "Black Ops One", sans-serif;
  color: var(--green);
  margin-bottom: 8px;
}

.stat-box p {
  color: #ddd;
  font-size: clamp(14px, 1.2vw, 16px);
}

/* ============================================================
   SECTION TITLE
   ============================================================ */
.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.section-title h5 {
  color: var(--green);
  letter-spacing: 5px;
  font-size: 14px;
  margin-bottom: 18px;
  font-weight: 600;
}

.section-title h2 {
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(30px, 4.5vw, 55px);
  line-height: 1.18;
  margin-bottom: 18px;
}

.section-title p {
  color: var(--text-muted);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.8;
}

/* ============================================================
   PROGRAMS SECTION
   ============================================================ */
.programs {
  padding: 100px 5%;
  background: var(--darker);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.program-card {
  background: var(--dark);
  padding: 35px 28px;
  border-radius: 25px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: 0.4s;
}

.program-card::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  background: var(--green);
  filter: blur(100px);
  opacity: 0;
  top: -50px;
  right: -50px;
  transition: 0.4s;
  pointer-events: none;
}

.program-card:hover::before {
  opacity: 0.5;
}

.program-card:hover {
  transform: translateY(-10px);
  border-color: var(--green);
}

.program-card h3 {
  font-size: clamp(20px, 2vw, 24px);
  margin-bottom: 12px;
  position: relative;
}

.program-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 22px;
  position: relative;
  font-size: 15px;
}

.program-card a {
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  transition: gap 0.3s;
}

.program-card a:hover {
  gap: 12px;
}

.icon {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(198, 255, 0, 0.25);
  border-radius: 18px;
  color: var(--green);
  background: rgba(198, 255, 0, 0.04);
  margin-bottom: 22px;
  font-size: 28px;
}

/* ============================================================
   TRAINERS SECTION
   ============================================================ */
.trainers {
  padding: 100px 5%;
  background: #000;
}

.trainer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.trainer-card {
  background: var(--dark);
  border-radius: 25px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: 0.4s;
}

.trainer-card:hover {
  transform: translateY(-10px);
  border-color: var(--green);
  box-shadow: 0 0 35px rgba(198, 255, 0, 0.2);
}

.trainer-image {
  height: 340px;
  overflow: hidden;
}

.trainer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.trainer-card:hover .trainer-image img {
  transform: scale(1.08);
}

.trainer-info {
  padding: 25px 20px;
  text-align: center;
}

.trainer-info h3 {
  font-size: clamp(20px, 2vw, 24px);
  margin-bottom: 8px;
}

.trainer-info span {
  color: var(--green);
  font-weight: 500;
  font-size: 15px;
}

.social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.social a:hover {
  background: var(--green);
  color: #000;
  border-color: var(--green);
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing {
  padding: 100px 5%;
  background: var(--darker);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.price-card {
  background: var(--dark);
  border-radius: 28px;
  padding: 40px 30px;
  border: 1px solid var(--border);
  position: relative;
  transition: 0.4s;
  text-align: center;
}

.price-card:hover {
  transform: translateY(-10px);
  border-color: var(--green);
}

.price-card h3 {
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(22px, 2.5vw, 28px);
  margin-bottom: 22px;
}

.price {
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(40px, 5vw, 58px);
  color: var(--green);
  margin-bottom: 28px;
  line-height: 1;
}

.price span {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: var(--text-muted);
}

.price-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 30px;
}

.price-card li {
  padding: 11px 0;
  color: #ddd;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.price-card li i {
  color: var(--green);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.price-card li.unavailable i {
  color: #777;
}

.price-btn {
  display: block;
  padding: 14px;
  border-radius: 50px;
  background: var(--green);
  color: #000;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: 0.3s;
  text-align: center;
}

.price-btn:hover {
  box-shadow: 0 0 30px var(--green);
}

.featured {
  border: 2px solid var(--green);
  transform: scale(1.03);
}

.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.popular {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #000;
  padding: 7px 22px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* ============================================================
   BMI SECTION
   ============================================================ */
.bmi-section {
  padding: 100px 5%;
  background: #000;
}

.bmi-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.bmi-text {
  flex: 1 1 400px;
}

.bmi-text h5 {
  color: var(--green);
  letter-spacing: 5px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
}

.bmi-text h2 {
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(30px, 4.5vw, 55px);
  line-height: 1.18;
  margin-bottom: 22px;
}

.bmi-text p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 16px;
}

.bmi-info {
  display: flex;
  gap: 15px;
  margin-top: 35px;
  flex-wrap: wrap;
}

.bmi-info div {
  background: var(--dark);
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  flex: 1 1 100px;
  min-width: 100px;
}

.bmi-info strong {
  display: block;
  color: var(--green);
  font-size: 18px;
  margin-bottom: 4px;
}

.bmi-info span {
  color: var(--text-muted);
  font-size: 14px;
}

.bmi-box {
  flex: 1 1 400px;
  max-width: 420px;
  background: var(--dark);
  padding: 35px 30px;
  border-radius: 28px;
  border: 1px solid var(--border);
}

.bmi-box h3 {
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(22px, 2.5vw, 28px);
  margin-bottom: 25px;
}

.input-group {
  margin-bottom: 18px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 14px;
}

.input-group input {
  width: 100%;
  padding: 14px 16px;
  background: #000;
  border: 1px solid #333;
  border-radius: 14px;
  color: #fff;
  font-size: 15px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.3s;
}

.input-group input:focus {
  border-color: var(--green);
}

.bmi-box button {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 50px;
  background: var(--green);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
  color: #000;
  font-family: inherit;
}

.bmi-box button:hover {
  box-shadow: 0 0 30px var(--green);
}

#bmi-result {
  margin-top: 22px;
  padding: 18px;
  background: #000;
  border-radius: 18px;
  text-align: center;
  color: var(--green);
  font-weight: 600;
  font-size: 15px;
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery {
  padding: 100px 5%;
  background: var(--darker);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.gallery-item {
  height: 280px;
  overflow: hidden;
  border-radius: 25px;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: 0.4s;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover {
  border-color: var(--green);
  box-shadow: 0 0 30px rgba(198, 255, 0, 0.2);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 20px;
}

.lightbox img {
  max-width: 92%;
  max-height: 85vh;
  border-radius: 20px;
  object-fit: contain;
}

.close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
}

.close:hover {
  color: var(--green);
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials {
  padding: 100px 5%;
  background: #000;
  text-align: center;
}

.testimonial-slider {
  max-width: 750px;
  margin: 0 auto;
  position: relative;
  min-height: 340px;
}

.testimonial {
  display: none;
  background: var(--dark);
  padding: 40px 30px;
  border-radius: 28px;
  border: 1px solid var(--border);
  animation: fade 0.5s;
}

.testimonial.active {
  display: block;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.client-image img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--green);
  margin: 0 auto 20px;
}

.testimonial p {
  color: #ccc;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.8;
  margin-bottom: 20px;
}

.testimonial h3 {
  font-size: clamp(20px, 2vw, 24px);
  margin-bottom: 12px;
}

.rating {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.rating i {
  font-size: 15px;
  color: var(--green);
}

.slider-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 35px;
}

.slider-buttons button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #333;
  background: var(--dark);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.slider-buttons button:hover {
  background: var(--green);
  color: #000;
  border-color: var(--green);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  padding: 100px 5%;
  background: var(--darker);
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.info-box {
  display: flex;
  gap: 18px;
  background: var(--dark);
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--border);
  margin-bottom: 18px;
  transition: 0.3s;
}

.info-box:hover {
  border-color: var(--green);
  transform: translateX(6px);
}

.info-icon {
  width: 45px;
  min-width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 22px;
}

.info-box h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.info-box p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 14px;
}

.map {
  height: 280px;
  overflow: hidden;
  border-radius: 25px;
  border: 1px solid var(--border);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  background: var(--dark);
  padding: 35px 30px;
  border-radius: 28px;
  border: 1px solid var(--border);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 16px;
  margin-bottom: 16px;
  background: #000;
  border: 1px solid #333;
  border-radius: 14px;
  color: #fff;
  font-size: 15px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.3s;
}

.contact-form textarea {
  height: 140px;
  resize: vertical;
  min-height: 100px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
}

.contact-form button {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 50px;
  background: var(--green);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.3s;
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
}

.contact-form button:hover {
  box-shadow: 0 0 35px var(--green);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #000;
  padding: 70px 5% 25px;
  border-top: 1px solid var(--border);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 35px;
  max-width: 1300px;
  margin: 0 auto;
}

.footer-brand h2 {
  font-family: "Black Ops One", sans-serif;
  font-size: clamp(26px, 3vw, 36px);
}

.footer-brand span {
  color: var(--green);
}

.footer-brand p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 18px 0;
  font-size: 14px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #333;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
  font-size: 15px;
}

.footer-social a:hover {
  background: var(--green);
  color: #000;
  border-color: var(--green);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links h3 {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 17px;
}

.footer-links a,
.footer-links p {
  color: var(--text-muted);
  text-decoration: none;
  transition: 0.3s;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--green);
}

.copyright {
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: #777;
  font-size: 14px;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
#topBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--green);
  color: #000;
  font-size: 18px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: 0.3s;
  box-shadow: 0 4px 20px rgba(198, 255, 0, 0.4);
}

#topBtn:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 30px rgba(198, 255, 0, 0.6);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* TABLET — 1024px */
@media (max-width: 1024px) {
  .hero {
    gap: 30px;
  }

  .hero-card {
    width: 250px;
    padding: 28px 22px;
  }

  .about {
    gap: 50px;
  }
}

/* TABLET SMALL / LARGE PHONE — 900px */
@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
      max-height 0.4s ease,
      opacity 0.3s ease,
      padding 0.3s ease;
  }

  .nav-links.open {
    max-height: 400px;
    opacity: 1;
    pointer-events: auto;
    padding: 15px 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 14px 20px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links li:last-child a {
    border-bottom: 0;
  }

  .join-btn {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 40px;
    padding: calc(var(--header-height) + 40px) 5% 60px;
    min-height: auto;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-card {
    width: 100%;
    max-width: 380px;
  }

  .about {
    padding: 80px 5%;
    gap: 40px;
  }

  .bmi-container {
    flex-direction: column;
    gap: 40px;
  }

  .bmi-box {
    max-width: 100%;
    width: 100%;
  }

  .featured {
    transform: none;
  }

  .featured:hover {
    transform: translateY(-10px);
  }
}

/* PHONE — 600px */
@media (max-width: 600px) {
  .section-title {
    margin-bottom: 45px;
  }

  .about,
  .programs,
  .trainers,
  .pricing,
  .bmi-section,
  .gallery,
  .testimonials,
  .contact {
    padding: 70px 5%;
  }

  .stats {
    padding: 60px 5%;
    gap: 18px;
  }

  .stat-box {
    padding: 28px 18px;
  }

  .hero-card {
    padding: 25px 20px;
  }

  .price-card {
    padding: 32px 22px;
  }

  .testimonial {
    padding: 30px 20px;
  }

  .testimonial-slider {
    min-height: auto;
  }

  .contact-form {
    padding: 25px 20px;
  }

  .info-box:hover {
    transform: none;
  }

  .footer-social a {
    width: 38px;
    height: 38px;
  }

  #topBtn {
    bottom: 18px;
    right: 18px;
    width: 45px;
    height: 45px;
  }

  .close {
    font-size: 34px;
    top: 15px;
    right: 18px;
  }
}

/* SMALL PHONE — 400px */
@media (max-width: 400px) {
  .hero h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero h3 {
    letter-spacing: 3px;
    font-size: 11px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 12px 22px;
    font-size: 14px;
    flex: 1 1 auto;
  }

  .hero-buttons {
    gap: 10px;
  }

  .bmi-info {
    gap: 10px;
  }

  .bmi-info div {
    padding: 14px;
    flex: 1 1 80px;
  }

  .bmi-info strong {
    font-size: 15px;
  }

  .bmi-info span {
    font-size: 12px;
  }

  .logo {
    font-size: 20px;
  }

  .price {
    font-size: 36px;
  }

  .stat-box h2 {
    font-size: 30px;
  }

  .stat-box p {
    font-size: 13px;
  }

  .slider-buttons button {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
}

/* ============================================================
   LANDSCAPE ORIENTATION ON SMALL DEVICES
   ============================================================ */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 30px) 5% 40px;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-card {
    padding: 20px;
  }

  #loader h1 {
    font-size: 36px;
  }
}

/* ============================================================
   ACCESSIBILITY / REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
