/* ===========================
   VARIABLES & RESET
   =========================== */
:root {
  --bg-dark: #050d1a;
  --bg-section: #081422;
  --bg-alt: #0d1f33;
  --accent: #f97316;
  --accent-h: #ea6c0a;
  --blue: #38bdf8;
  --white: #ffffff;
  --light: #e2e8f0;
  --muted: #7f9ab5;
  --border: rgba(255, 255, 255, 0.08);
  --font: 'Inter', sans-serif;
  --max-w: 1100px;
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--light);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* ===========================
   UTILITIES
   =========================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 1.1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.highlight {
  color: var(--accent);
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  text-align: center;
  cursor: pointer;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(249, 115, 22, 0.38);
}

.btn--primary:hover {
  background: var(--accent-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.5);
}

.btn--large {
  padding: 20px 52px;
  font-size: 1.05rem;
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  overflow: hidden;

  /* Background Image with Dark Gradient Overlay */
  background:
    linear-gradient(
      to right,
      rgba(5, 13, 26, 0.7) 0%,
      rgba(5, 13, 26, 0.6) 100%
    ),
    url('../images/hero_background.png');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Ensure the container takes full width to allow proper centering */
.hero > .container {
  width: 100%;
}

/* Grid Layout for Split View */
.hero__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr; /* Text is slightly wider */
  align-items: center;
  gap: 3rem;
}

.hero__text {
  max-width: 640px;
}

/* Image Column Styles */
.hero__image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  object-fit: cover;
}

/* Typography */
.hero__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: block;
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.3rem);
  font-weight: 900;
  line-height: 1.13;
  color: var(--white);
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 1.6rem;
}

.hero__desc {
  font-size: 1.05rem;
  color: var(--light);
  margin-bottom: 2.5rem;
  line-height: 1.85;
}

/* Responsive */
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero__text {
    margin: 0 auto;
    padding-bottom: 0;
  }
}

/* ===========================
   ABOUT
   =========================== */
.about {
  padding: 100px 0;
  background: var(--bg-section);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}

.about__text p {
  margin-bottom: 1.2rem;
  font-size: 1.02rem;
  color: var(--light);
}

.about__emphasis {
  font-size: 1.15rem !important;
  font-weight: 700;
  color: var(--white) !important;
  border-left: 3px solid var(--accent);
  padding-left: 18px;
  margin-top: 2rem !important;
  line-height: 1.6;
}

.about__images {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 32px;
}

.about__img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid var(--border);
}

.about__medal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about__img--small {
  height: 160px;
  object-fit: cover;
}

/* ===========================
   MEDIA
   =========================== */
.media {
  padding: 100px 0;
  background: var(--bg-dark);
}

.media__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.media__item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.media__item:hover {
  transform: translateY(-5px);
  border-color: rgba(249, 115, 22, 0.5);
}

.media__img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.media__caption {
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

/* ===========================
   HOW IT WORKS
   =========================== */
.how {
  padding: 100px 0;
  background: var(--bg-section);
}

.how__intro {
  font-size: 1.05rem;
  color: var(--light);
  margin-bottom: 1.1rem;
  max-width: 720px;
}

.how__subtitle {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin: 2.5rem 0 1.2rem;
}

.how__list {
  list-style: none;
  max-width: 720px;
}

.how__list li {
  padding: 15px 0 15px 40px;
  border-bottom: 1px solid var(--border);
  position: relative;
  font-size: 1.01rem;
  color: var(--light);
}

.how__list li:last-child {
  border-bottom: none;
}

.how__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

.how__freedom {
  margin-top: 2.5rem;
  font-size: 1.08rem;
  color: var(--blue);
  font-weight: 500;
}

/* ===========================
   CURRICULUM
   =========================== */
.curriculum {
  padding: 100px 0;
  background: var(--bg-dark);
}

.curriculum__intro {
  font-size: 1.02rem;
  color: var(--muted);
  margin-bottom: 3rem;
}

.curriculum__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

.curriculum__week {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.curriculum__week:hover {
  border-color: rgba(249, 115, 22, 0.45);
  transform: translateY(-3px);
}

.week-num {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.75;
  line-height: 1;
  margin-bottom: 10px;
}

.curriculum__week h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
  opacity: 0.75;
}

.curriculum__week p {
  font-size: 0.88rem;
  color: var(--white);
  line-height: 1.65;
  opacity: 0.95;
}

/* ===========================
   AUDIENCE
   =========================== */
.audience {
  padding: 100px 0;
  background: var(--bg-section);
}

.audience__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 3rem;
}

.audience__card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.audience__card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-3px);
}

.audience__icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 16px;
}

.audience__card h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.audience__card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.audience__note {
  font-size: 1.05rem;
  color: var(--light);
  border-left: 3px solid var(--blue);
  padding-left: 18px;
  max-width: 700px;
  line-height: 1.7;
}

/* ===========================
   EQUIPMENT
   =========================== */
.equipment {
  padding: 80px 0;
  background: var(--bg-dark);
}

.equipment__intro {
  font-size: 1.02rem;
  color: var(--light);
  margin-bottom: 1.5rem;
}

.equipment__list {
  list-style: none;
  max-width: 620px;
  margin-bottom: 1.5rem;
}

.equipment__list li {
  padding: 16px 0 16px 36px;
  border-bottom: 1px solid var(--border);
  position: relative;
  font-size: 1rem;
  color: var(--light);
}

.equipment__list li:last-child {
  border-bottom: none;
}

.equipment__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.equipment__note {
  font-size: 0.92rem;
  color: var(--muted);
  font-style: italic;
}

/* ===========================
   INVESTMENT
   =========================== */
.investment {
  padding: 100px 0;
  background: var(--bg-section);
}

.investment__card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 52px;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.investment__price-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.investment__label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.investment__value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1.1;
}

.investment__price-note {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

.investment__includes h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.1rem;
}

.investment__includes ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.investment__includes ul li {
  padding-left: 28px;
  position: relative;
  color: var(--light);
  font-size: 0.98rem;
}

.investment__includes ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.investment__next {
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.investment__next p {
  color: var(--light);
  margin-bottom: 8px;
  font-size: 0.98rem;
}

/* ===========================
   CTA FINAL
   =========================== */
.cta-final {
  padding: 120px 0;
  background: linear-gradient(160deg, #050d1a 0%, #0d2040 50%, #050d1a 100%);
  text-align: center;
}

.cta-final__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 2rem;
}

.cta-final__text {
  font-size: 1.05rem;
  color: var(--light);
  max-width: 640px;
  margin: 0 auto 1.2rem;
  line-height: 1.8;
}

.cta-final .btn {
  margin-top: 2rem;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  padding: 52px 0;
  background: #030810;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.footer__link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--accent);
}

.footer__copy {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 960px) {
  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__images {
    position: static;
    order: -1;
  }

  .about__img {
    max-height: 340px;
  }

  .media__grid {
    grid-template-columns: 1fr 1fr;
  }

  .investment__card {
    padding: 32px 28px;
  }
}

@media (max-width: 640px) {
  .hero__content {
    padding: 80px 0 60px;
  }

  .media__grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }

  .curriculum__grid {
    grid-template-columns: 1fr;
  }

  .audience__grid {
    grid-template-columns: 1fr;
  }

  .about__medal-row {
    grid-template-columns: 1fr 1fr;
  }

  .investment__card {
    padding: 28px 20px;
  }

  .footer__social {
    gap: 20px;
    flex-direction: column;
    align-items: center;
  }
}
