/* ===================================
   ROOT — THEME CONTROL CENTER
   Change values here to re-theme the
   entire template. Nothing below this
   block should need to be touched.
=================================== */

:root {
  /* ---- Brand Colors ---- */
  --primary: #ff6b00;
  --primary-dark: #e85f00;

  /* ---- Backgrounds ---- */
  --bg: #0d0d0d;
  --bg-light: #171717;
  --card: #1f1f1f;
  --bg-footer: #080808;

  /* ---- Text Colors ---- */
  --white: #ffffff;
  --black: #000000;
  --text: #d6d6d6;
  --muted: #8d8d8d;

  /* ---- Button Colors ---- */
  --btn-primary-text: #ffffff;
  --btn-outline-hover-bg: var(--white);
  --btn-outline-hover-text: var(--black);
  --btn-light-bg: #ffffff;
  --btn-light-hover-bg: #f2f2f2;
  --btn-light-text: #000000;

  /* ---- Borders ---- */
  --border: rgba(255, 255, 255, 0.08);
  --border-featured: 2px solid var(--primary);

  /* ---- Header ---- */
  --header-bg-scrolled: rgba(13, 13, 13, 0.88);
  --header-blur: 14px;
  --header-height: 90px;

  /* ---- Radius ---- */
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* ---- Shadow ---- */
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);

  /* ---- Transitions ---- */
  --transition: 0.35s ease;
  --transition-fast: 0.3s;
  --transition-slow: 0.5s;
  --transition-reveal: 1s;
  --transition-nav-link: var(--transition);

  /* ---- Hover Motion ---- */
  --hover-lift: -4px;
  --hover-lift-card: -8px;
  --hover-lift-card-lg: -10px;
  --hover-scale-img: 1.08;
  --hover-scale-featured: 1.04;
  --hover-letter-spacing: 1px;

  /* ---- Reveal Animation Offsets ---- */
  --reveal-y: 70px;
  --reveal-x: 80px;
  --reveal-scale: 0.85;

  /* ---- Reveal Delays ---- */
  --delay-1: 0.15s;
  --delay-2: 0.3s;
  --delay-3: 0.45s;
  --delay-4: 0.6s;

  /* ---- Feature Icon ---- */
  --feature-icon-bg: rgba(255, 107, 0, 0.12);
  --feature-icon-size: 70px;
  --feature-icon-font-size: 32px;

  /* ---- CTA Gradient ---- */
  --cta-gradient: linear-gradient(135deg, var(--primary), var(--primary-dark));
  --cta-description-color: rgba(255, 255, 255, 0.9);

  /* ---- Badge ---- */
  --badge-text: #ffffff;

  /* ---- Fonts ---- */
  --font-body: "Inter", sans-serif;
  --font-heading: "Poppins", sans-serif;

  /* ---- Font Sizes ---- */
  --fs-h1: 3.5rem;
  --fs-h1-tablet: 3rem;
  --fs-h1-mobile: 2.4rem;
  --fs-h2: 2.5rem;
  --fs-h2-tablet: 2.4rem;
  --fs-h2-mobile: 2rem;
  --fs-stat-number: 2.2rem;
  --fs-price: 3.2rem;
  --fs-price-sub: 1rem;
  --fs-badge: 0.75rem;
  --fs-feature-icon: 32px;

  /* ---- Line Height ---- */
  --line-height-body: 1.7;
  --line-height-heading: 1.15;

  /* ---- Layout ---- */
  --container: 1200px;
  --container-width: 90%;
  --section-padding: 80px 0;
  --section-heading-max-width: 720px;
  --hero-description-max-width: 520px;
  --section-description-max-width: 560px;
  --cta-title-max-width: 700px;
  --cta-description-max-width: 650px;

  /* ---- Gaps ---- */
  --gap-hero: 70px;
  --gap-about: 70px;
  --gap-nav: 38px;
  --gap-buttons: 18px;
  --gap-stats: 20px;
  --gap-programs: 30px;
  --gap-features: 25px;
  --gap-pricing: 30px;
  --gap-footer: 50px;

  /* ---- Card Padding ---- */
  --padding-stat-card: 28px;
  --padding-program-content: 30px;
  --padding-feature-card: 40px 28px;
  --padding-pricing-card: 45px 35px;
  --padding-cta-box: 80px 60px;
  --padding-cta-box-mobile: 60px 30px;

  /* ---- Misc Sizes ---- */
  --logo-height: 48px;
  --footer-logo-width: 180px;
  --program-img-height: 260px;
  --badge-offset-top: -14px;
  --badge-padding: 8px 18px;
  --menu-toggle-size: 30px;
}

/* ===================================
   RESET
=================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);

  background: var(--bg);

  color: var(--white);

  line-height: var(--line-height-body);

  overflow-x: hidden;
}

img {
  display: block;

  width: 100%;
}

a {
  text-decoration: none;

  color: inherit;
}

button {
  font: inherit;

  cursor: pointer;

  border: none;

  background: none;
}

section {
  padding: var(--section-padding);
}

.container {
  width: min(var(--container-width), var(--container));

  margin: auto;
}

/* ===================================
   TYPOGRAPHY
=================================== */

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);

  line-height: var(--line-height-heading);
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

p {
  color: var(--text);
}

/* ===================================
   BUTTONS
=================================== */

.btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 10px 20px;

  border-radius: var(--radius-pill);

  transition: var(--transition);

  font-weight: 600;
}

.btn-primary {
  background: var(--primary);

  color: var(--btn-primary-text);
}

.btn-primary:hover {
  transform: translateY(var(--hover-lift));

  background: var(--primary-dark);

  box-shadow: var(--shadow);
}

.btn-outline {
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: var(--btn-outline-hover-bg);

  color: var(--btn-outline-hover-text);

  transform: translateY(var(--hover-lift));
}

/* ===================================
   HEADER
=================================== */

.header {
  position: fixed;

  top: 0;

  left: 0;

  width: 100%;

  z-index: 999;

  transition: var(--transition-fast);
}

.header.scrolled {
  background: var(--header-bg-scrolled);

  backdrop-filter: blur(var(--header-blur));
}

.navbar {
  height: var(--header-height);

  display: flex;

  align-items: center;

  justify-content: space-between;
}

.logo img {
  height: var(--logo-height);

  width: auto;
}

.nav {
  display: flex;

  gap: var(--gap-nav);
}

.nav a {
  transition: var(--transition-nav-link);
}

.nav a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;

  color: var(--white);

  font-size: var(--menu-toggle-size);
}

/* ===================================
   HERO
=================================== */

.hero {
  min-height: 100vh;

  display: flex;

  align-items: center;
}

.hero-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: var(--gap-hero);

  align-items: center;
}

.hero-tag {
  display: inline-block;

  margin-bottom: 18px;

  color: var(--primary);

  font-weight: 600;
}

.hero-title {
  margin-bottom: 25px;
}

.hero-description {
  max-width: var(--hero-description-max-width);

  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;

  gap: var(--gap-buttons);
}

.hero-image img {
  border-radius: var(--radius-lg);
}

/* ===================================
   REVEAL ANIMATIONS
=================================== */

.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;

  transition: var(--transition-reveal);
}

.reveal {
  transform: translateY(var(--reveal-y));
}

.reveal-left {
  transform: translateX(calc(var(--reveal-x) * -1));
}

.reveal-right {
  transform: translateX(var(--reveal-x));
}

.reveal-scale {
  transform: scale(var(--reveal-scale));
}

.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
  opacity: 1;

  transform: none;
}

/* ===================================
   DELAYS
=================================== */

.delay-1 {
  transition-delay: var(--delay-1);
}

.delay-2 {
  transition-delay: var(--delay-2);
}

.delay-3 {
  transition-delay: var(--delay-3);
}

.delay-4 {
  transition-delay: var(--delay-4);
}

/* ===================================
   RESPONSIVE
=================================== */

@media (max-width: 992px) {
  h1 {
    font-size: var(--fs-h1-tablet);
  }

  h2 {
    font-size: var(--fs-h2-tablet);
  }

  .hero-grid {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .hero-description {
    margin-inline: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  section {
    padding: var(--section-padding);
  }

  h1 {
    font-size: var(--fs-h1-mobile);
  }

  h2 {
    font-size: var(--fs-h2-mobile);
  }
}

/* ===================================
   MOBILE NAVIGATION
=================================== */

.nav.active {
  display: flex;

  position: absolute;

  top: var(--header-height);

  left: 5%;

  right: 5%;

  background: var(--bg-light);

  flex-direction: column;

  padding: 30px;

  border-radius: var(--radius);

  border: 1px solid var(--border);

  box-shadow: var(--shadow);
}

.nav a.active {
  color: var(--primary);
}

/* ===================================
   ABOUT
=================================== */

.about {
  background: var(--bg-light);
}

.about-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: var(--gap-about);

  align-items: center;
}

.about-image img {
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow);
}

.section-tag {
  display: inline-block;

  margin-bottom: 16px;

  color: var(--primary);

  font-weight: 600;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.section-title {
  margin-bottom: 24px;
}

.section-description {
  margin-bottom: 40px;

  max-width: var(--section-description-max-width);
}

.stats {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: var(--gap-stats);
}

.stat-card {
  background: var(--card);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  padding: var(--padding-stat-card);

  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(var(--hover-lift-card));

  border-color: var(--primary);
}

.stat-card h3 {
  font-size: var(--fs-stat-number);

  color: var(--primary);

  margin-bottom: 10px;
}

.stat-card p {
  color: var(--text);
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .section-description {
    margin-inline: auto;
  }
}

@media (max-width: 576px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

/* ===================================
   PROGRAMS
=================================== */

.programs {
  background: var(--bg);
}

.section-heading {
  text-align: center;

  max-width: var(--section-heading-max-width);

  margin: 0 auto 70px;
}

.program-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: var(--gap-programs);
}

.program-card {
  background: var(--card);

  border-radius: var(--radius);

  overflow: hidden;

  border: 1px solid var(--border);

  transition: var(--transition);
}

.program-card:hover {
  transform: translateY(var(--hover-lift-card-lg));

  border-color: var(--primary);

  box-shadow: var(--shadow);
}

.program-card img {
  height: var(--program-img-height);

  object-fit: cover;

  transition: var(--transition-slow);
}

.program-card:hover img {
  transform: scale(var(--hover-scale-img));
}

.program-content {
  padding: var(--padding-program-content);
}

.program-content h3 {
  margin-bottom: 16px;
}

.program-content p {
  margin-bottom: 24px;
}

.program-link {
  color: var(--primary);

  font-weight: 600;

  transition: var(--transition);
}

.program-link:hover {
  letter-spacing: var(--hover-letter-spacing);
}

@media (max-width: 992px) {
  .program-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================
   FEATURES
=================================== */

.features {
  background: var(--bg-light);
}

.feature-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: var(--gap-features);
}

.feature-card {
  background: var(--card);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  padding: var(--padding-feature-card);

  transition: var(--transition);

  text-align: center;
}

.feature-card:hover {
  transform: translateY(var(--hover-lift-card-lg));

  border-color: var(--primary);

  box-shadow: var(--shadow);
}

.feature-icon {
  width: var(--feature-icon-size);

  height: var(--feature-icon-size);

  margin: 0 auto 25px;

  border-radius: 50%;

  background: var(--feature-icon-bg);

  color: var(--primary);

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: var(--fs-feature-icon);
}

.feature-card h3 {
  margin-bottom: 16px;
}

.feature-card p {
  color: var(--text);
}

@media (max-width: 992px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================
   MEMBERSHIP
=================================== */

.membership {
  background: var(--bg);
}

.pricing-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: var(--gap-pricing);
}

.pricing-card {
  position: relative;

  background: var(--card);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  padding: var(--padding-pricing-card);

  text-align: center;

  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(var(--hover-lift-card-lg));

  border-color: var(--primary);

  box-shadow: var(--shadow);
}

.featured {
  border: var(--border-featured);

  transform: scale(var(--hover-scale-featured));
}

.featured:hover {
  transform: scale(var(--hover-scale-featured)) translateY(var(--hover-lift-card-lg));
}

.badge {
  position: absolute;

  top: var(--badge-offset-top);

  left: 50%;

  transform: translateX(-50%);

  background: var(--primary);

  color: var(--badge-text);

  padding: var(--badge-padding);

  border-radius: var(--radius-pill);

  font-size: var(--fs-badge);

  font-weight: 700;

  letter-spacing: 1px;
}

.price {
  font-size: var(--fs-price);

  font-family: var(--font-heading);

  color: var(--primary);

  margin: 25px 0;
}

.price span {
  display: block;

  font-size: var(--fs-price-sub);

  color: var(--text);

  margin-top: 8px;
}

.pricing-list {
  list-style: none;

  margin: 35px 0;
}

.pricing-list li {
  color: var(--text);

  margin-bottom: 16px;
}

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .featured {
    transform: none;
  }

  .featured:hover {
    transform: translateY(var(--hover-lift-card-lg));
  }
}

/* ===================================
   CTA
=================================== */

.cta {
  background: var(--bg-light);
}

.cta-box {
  background: var(--cta-gradient);

  border-radius: var(--radius-xl);

  padding: var(--padding-cta-box);

  text-align: center;
}

.cta-box .section-tag {
  color: var(--white);
}

.cta-box .section-title {
  margin: 20px auto;

  max-width: var(--cta-title-max-width);
}

.cta-box .section-description {
  color: var(--cta-description-color);

  max-width: var(--cta-description-max-width);

  margin: 0 auto 40px;
}

.cta-box .btn {
  background: var(--btn-light-bg);

  color: var(--btn-light-text);
}

.cta-box .btn:hover {
  background: var(--btn-light-hover-bg);
}

/* ===================================
   FOOTER
=================================== */

.footer {
  background: var(--bg-footer);

  padding-top: 80px;
}

.footer-grid {
  display: grid;

  grid-template-columns: 2fr 1fr 1fr;

  gap: var(--gap-footer);

  padding-bottom: 60px;
}

.footer-brand img {
  width: var(--footer-logo-width);

  margin-bottom: 25px;
}

.footer h4 {
  margin-bottom: 22px;
}

.footer-links {
  display: flex;

  flex-direction: column;

  gap: 14px;
}

.footer-links a {
  color: var(--text);

  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact p {
  color: var(--text);

  margin-bottom: 14px;
}

.footer-bottom {
  border-top: 1px solid var(--border);

  text-align: center;

  padding: 25px 0;
}

.footer-bottom p {
  color: var(--muted);
}

@media (max-width: 992px) {
  .cta-box {
    padding: var(--padding-cta-box-mobile);
  }

  .footer-grid {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .footer-brand img {
    margin: 0 auto 25px;
  }
}