/* ==========================================================================
   1. VARIABLES & BASIC SETUP
   ========================================================================== */
:root {
  --color-dark-slate: #0f172a;
  --color-light-slate: #1e293b;
  --color-text-primary: #f8fafc;
  --color-text-secondary: #cbd5e1;
  --color-gold: #d4af37; /* A rich, elegant gold */
  --color-gold-hover: #eacd65;
  --color-white: #ffffff;
  --color-light-gray: #f1f5f9;
  --font-heading: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;
  --header-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-white);
  color: var(--color-light-slate);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   2. GENERAL STYLES & HELPERS
   ========================================================================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

main > section {
  padding: 100px 0;
}

.section-title,
.section-title-left {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-dark-slate);
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-title {
  text-align: center;
}

.section-title-left {
  text-align: left;
}

.section-subtitle {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 40px auto;
  text-align: center;
  color: #475569;
}

strong {
  color: var(--color-gold);
  font-weight: 600;
}

/* ==========================================================================
   3. HEADER & NAVIGATION
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  background-color: transparent;
}

.main-header.scrolled {
  background-color: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.3s;
}

.main-nav .nav-links {
  list-style: none;
  display: flex;
  align-items: center;
}

.main-nav .nav-links li {
  margin-left: 30px;
}

.main-nav .nav-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.main-nav .nav-links a:hover,
.main-nav .nav-links a.active-link {
  color: var(--color-white);
}

.main-nav .nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: width 0.4s ease;
}

.main-nav .nav-links a:hover::after,
.main-nav .nav-links a.active-link::after {
  width: 100%;
}

.nav-cta {
  background-color: var(--color-gold);
  color: var(--color-dark-slate);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background-color: var(--color-gold-hover);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--color-white);
  z-index: 1001;
}

/* ==========================================================================
   4. CTA BUTTONS
   ========================================================================== */
.cta-button {
  display: inline-flex; /* Use flexbox for alignment */
  align-items: center;
  justify-content: center;
  gap: 10px; /* Space between text and icon */
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
}

.primary-cta {
  background-color: var(--color-gold);
  color: var(--color-dark-slate);
  border-color: var(--color-gold);
}

.primary-cta:hover {
  background-color: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.secondary-cta {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.secondary-cta:hover {
  background-color: var(--color-white);
  color: var(--color-dark-slate);
  transform: translateY(-3px);
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero-section {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  padding: 0;
}

.hero-background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -2;
}

.hero-background-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.5) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 850px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subheadline {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--color-text-secondary);
  font-weight: 300;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
   6. CHALLENGE SECTION
   ========================================================================== */
.challenge-section {
  background-color: var(--color-light-gray);
}

.challenge-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.challenge-image-container img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.challenge-includes-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--color-dark-slate);
}

.challenge-includes ul {
  list-style: none;
  margin-bottom: 2.5rem;
}

.challenge-includes li {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.challenge-includes li i {
  color: var(--color-gold);
  font-size: 1.2rem;
  margin-right: 15px;
  width: 25px;
  text-align: center;
}

.full-width-cta {
  width: 100%;
  max-width: 350px;
}

/* ==========================================================================
   7. WHO IT'S FOR SECTION
   ========================================================================== */
.who-its-for-section {
  background-color: var(--color-white);
}

.who-its-for-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.who-card {
  background-color: var(--color-light-gray);
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.who-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
}

.who-card i {
  font-size: 3rem;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.who-card h3 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-dark-slate);
}

/* ==========================================================================
   8. 1:1 COACHING SECTION
   ========================================================================== */
.coaching-section {
  background-color: var(--color-dark-slate);
  color: var(--color-text-primary);
}

.coaching-section .section-title-left {
  color: var(--color-white);
}

.coaching-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.coaching-subtitle {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}

.coaching-text-content p {
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  max-width: 500px;
}

.coaching-text-content .secondary-cta {
  margin-top: 1.5rem;
}

.coaching-framework {
  background-color: var(--color-light-slate);
  padding: 40px;
  border-radius: 15px;
}

.framework-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--color-white);
}

.framework-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.framework-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.framework-item span {
  font-size: 2rem;
}

.framework-item h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 5px;
}

.framework-item p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

/* ==========================================================================
   9. ABOUT SECTION
   ========================================================================== */
.about-section {
  background-color: var(--color-white);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: -20px 20px 0px var(--color-light-gray);
}

.about-subtitle {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1rem;
  color: #475569;
}

/* ==========================================================================
   10. TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  background-color: var(--color-light-gray);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.testimonial-card {
  background-color: var(--color-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.1);
}

.testimonial-video-thumb {
  position: relative;
}

.testimonial-video-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.play-button:hover {
  background-color: rgba(212, 175, 55, 0.8);
  transform: translate(-50%, -50%) scale(1.1);
}

.testimonial-headline {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  padding: 20px 25px 10px 25px;
  color: var(--color-dark-slate);
}

.testimonial-summary {
  font-size: 0.95rem;
  padding: 0 25px 25px 25px;
  color: #475569;
  flex-grow: 1; /* Allows summary to take up space */
}

/* ==========================================================================
   11. FAQ SECTION
   ========================================================================== */
.faq-section {
  background-color: var(--color-white);
}

.faq-accordion {
  max-width: 800px;
  margin: 50px auto 0 auto;
  border-top: 1px solid #e2e8f0;
}

.faq-item {
  border-bottom: 1px solid #e2e8f0;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 25px 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-dark-slate);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--color-gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, padding 0.5s ease;
}

.faq-answer p {
  padding-bottom: 25px;
  color: #475569;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* ==========================================================================
   12. FINAL CTA SECTION
   ========================================================================== */
.final-cta-section {
  background-color: var(--color-light-slate);
  color: var(--color-white);
  padding: 80px 0;
}

.final-cta-section .section-title {
  color: var(--color-white);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-section .hero-cta-group {
  margin-top: 40px;
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.main-footer {
  background-color: var(--color-dark-slate);
  color: var(--color-text-secondary);
  padding: 60px 0;
}

.footer-container {
  text-align: center;
}

.footer-logo {
  margin-bottom: 20px;
  display: inline-block;
}

.footer-social-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 25px;
}

.footer-social-icons a {
  color: var(--color-text-secondary);
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social-icons a:hover {
  color: var(--color-gold);
  transform: translateY(-3px);
}

.footer-links {
  margin-bottom: 25px;
}

.footer-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  margin: 0 15px;
  transition: color 0.3s ease;
}

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

.footer-copyright p {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ==========================================================================
   14. WHATSAPP FLOAT BUTTON
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ==========================================================================
   15. ANIMATIONS
   ========================================================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Add staggered delays for child elements */
.animate-on-scroll.is-visible .animate-child-1 {
  transition-delay: 0.1s;
}
.animate-on-scroll.is-visible .animate-child-2 {
  transition-delay: 0.2s;
}
.animate-on-scroll.is-visible .animate-child-3 {
  transition-delay: 0.3s;
}
.animate-on-scroll.is-visible .animate-child-4 {
  transition-delay: 0.4s;
}

/* ==========================================================================
   16. RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
  :root {
    --header-height: 70px;
  }

  .section-title,
  .section-title-left {
    font-size: 2.5rem;
  }
  .hero-headline {
    font-size: 3.5rem;
  }

  .challenge-details-grid,
  .coaching-content-wrapper,
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }
  .section-title-left {
    text-align: center;
  }

  .coaching-text-content {
    text-align: center;
  }
  .coaching-text-content p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .main-header .nav-cta {
    display: none; /* Hide the CTA button in the nav bar on mobile */
  }

  .hero-headline {
    font-size: 2.8rem;
  }
  .hero-subheadline {
    font-size: 1.1rem;
  }

  .main-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
  }

  .main-nav.nav-active {
    max-height: 500px;
    padding-bottom: 20px;
  }

  .main-nav .nav-links {
    flex-direction: column;
    width: 100%;
    padding: 20px 0 0 0;
  }

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

  .main-nav .nav-links a {
    display: block;
    padding: 15px 0;
    width: 100%;
  }

  .main-nav .nav-links a::after {
    display: none;
  } /* Disable underline on mobile nav */

  .nav-toggle {
    display: block;
  }

  .header-container .nav-cta {
    display: none; /* Hide the main apply button */
  }

  main > section {
    padding: 80px 0;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .section-title,
  .section-title-left {
    font-size: 2rem;
  }
  .hero-headline {
    font-size: 2.2rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    max-width: 300px;
  }
}
