/* ================= ROOT THEME ================= */
:root {
  --primary: rgb(248, 171, 27);          /* Logo orange */
  --primary-dark: rgb(230, 150, 15);     /* Hover / contrast */
  --primary-soft: #fff6e6;               /* Warm background */

  --ink: #0f172a;                        /* Headings */
  --ink-soft: #475569;                   /* Body text */

  --panel: #ffffff;
  --border: rgba(248, 171, 27, 0.28);
}

/* ================= INTRO ================= */
.programs-intro {
  margin-left: 50px;
  margin-bottom: 64px;
}

.programs-intro h1 {
  color: var(--ink);
}

.programs-intro p {
  max-width: 90%;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ================= PROGRAMS SECTION ================= */
.programs-section {
  padding: 80px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

/* ================= PROGRAM BLOCK ================= */
.program-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px;
  border-radius: 22px;

  background: linear-gradient(
    135deg,
    var(--primary-soft),
    #ffffff
  );

  border: 1px solid var(--border);

  box-shadow:
    0 20px 45px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);

  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.program-block:hover {
  transform: translateY(-6px);
  box-shadow:
    0 30px 65px rgba(15, 23, 42, 0.12),
    0 0 0 2px rgba(248, 171, 27, 0.35);
}

/* Reverse layout */
.program-block.reverse {
  direction: rtl;
}
.program-block.reverse > * {
  direction: ltr;
}

/* ================= VISUAL ================= */
.program-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.program-illustration {
  width: 210px;
  height: 210px;
  border-radius: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 62px;
  font-weight: bold;
  color: #ffffff;

  background: linear-gradient(
    135deg,
    rgb(248, 171, 27),
    rgb(230, 150, 15)
  );

  box-shadow:
    0 25px 50px rgba(248, 171, 27, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* ================= CONTENT ================= */
.program-content h2 {
  font-size: 1.85rem;
  margin-bottom: 16px;
  color: var(--ink);
}

.program-content p {
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 26px;
  font-size: 1.05rem;
}

/* ================= FEATURES ================= */
.program-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.program-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 500;
}

.program-features li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1.1rem;
}

/* ================= WEEKLY BREAKDOWN ================= */
.weekly-breakdown {
  max-width: 900px;
  margin: 0 auto 90px;
  padding: 0 24px;
}

.weekly-breakdown h2 {
  text-align: center;
  color: var(--ink);
  margin-bottom: 14px;
  margin-top: 3rem;
}

.weekly-subtitle {
  text-align: center;
  color: var(--ink-soft);
  margin-bottom: 44px;
  line-height: 1.7;
}

/* ================= ACCORDION ================= */
.weeks {
  border-top: 1px solid var(--border);
}

.week-toggle {
  width: 100%;
  background: transparent;
  border: none;

  padding: 20px 10px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);

  cursor: pointer;
  border-bottom: 1px solid var(--border);

  transition: color 0.25s ease, background 0.25s ease;
}

.week-toggle:hover {
  color: var(--primary);
  background: rgba(248, 171, 27, 0.05);
}

.week-toggle .arrow {
  font-size: 22px;
  transition: transform 0.3s ease;
}

/* Content */
.week-content {
  max-height: 0;
  overflow: hidden;
  padding: 0;
  transition: max-height 0.35s ease, padding 0.25s ease;
}

.week-content ul {
  margin: 0;
  padding-left: 22px;
  color: var(--ink-soft);
}

.week-content li {
  margin-bottom: 10px;
}

/* Active */
.week-toggle.active {
  color: var(--primary);
}

.week-toggle.active .arrow {
  transform: rotate(45deg);
}

.week-toggle.active + .week-content {
  max-height: 280px;
  padding: 18px 10px 26px;
}

/* ================= CTA SECTION ================= */
.cta-section {
  padding: 5.5rem 1.5rem;
  text-align: center;

  background: linear-gradient(
    135deg,
    rgb(248, 171, 27),
    rgb(230, 150, 15)
  );

  color: #ffffff;
}

.cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 2.1rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 2.2rem;
}

/* ================= PRIMARY BUTTON ================= */
.btn.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.95rem 2rem;
  border-radius: 14px;

  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;

  color: var(--ink);
  background: #ffffff;

  box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 20px 40px rgba(15, 23, 42, 0.35);
}

.btn.primary:active {
  transform: translateY(0);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .program-block {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 44px 26px;
  }

  .program-block.reverse {
    direction: ltr;
  }

  .program-illustration {
    margin-bottom: 26px;
  }

  .program-features li {
    text-align: left;
  }

  .programs-intro {
    margin-top: 1rem;
    margin-left: 24px;
  }
}
/* ================= PROGRAMS INTRO ================= */

.programs-intro {
  padding: 140px 40px 80px; /* pushes content DOWN from navbar */
  background: #ffffff;
}

.programs-intro-inner {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
}

.programs-intro-text h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #0f172a;
}

.programs-intro-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #334155;
  max-width: 520px;
}

/* Lottie */
.programs-intro-visual lottie-player {
  width: 100%;
  max-width: 360px;
  height: auto;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .programs-intro {
    padding: 120px 24px 60px;
  }

  .programs-intro-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .programs-intro-text p {
    margin: 0 auto;
  }

  .programs-intro-visual {
    margin-top: 32px;
  }

  .programs-intro-visual lottie-player {
    max-width: 260px;
    margin: 0 auto;
  }
}
