/* ===================================================
   CSS CUSTOM PROPERTIES
=================================================== */
:root {
  /* Updated to match flyer warm red-orange palette */
  --color-gold:        #FFC421;
  --color-gold-dark:   #e6a800;
  --color-orange:      #FF6B2B;

  /* Replaced black/dark with deep crimson-red tones from flyer */
  --color-black:       #1A0400;      /* deep dark red-brown (was #0a0a0a) */
  --color-dark:        #7A1200;      /* rich dark red (was #141414) */
  --color-charcoal:    #A82000;      /* medium red-orange (was #1e1e1e) */

  --color-white:       #ffffff;
  --color-offwhite:    #fff5ee;      /* warmer off-white tinted with orange */
  --color-text:        #2b0d00;      /* very dark red-brown for body text */
  --color-muted:       #7a4030;      /* warm muted red-brown (was neutral gray) */

  --font-display:      'Bebas Neue', 'Impact', sans-serif;
  --font-heading:      'Montserrat', sans-serif;
  --font-body:         'DM Sans', sans-serif;

  --radius-sm:         4px;
  --radius-md:         8px;
  --radius-lg:         16px;
  --radius-pill:       999px;

  --shadow-card:       0 4px 32px rgba(160,32,0,0.12);
  --shadow-lift:       0 12px 48px rgba(160,32,0,0.22);

  --transition:        0.3s cubic-bezier(.4,0,.2,1);
  --max-width:         1200px;
  --section-pad:       80px 0;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================================================
   TYPOGRAPHY
=================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 800;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p  { margin-bottom: 1rem; font-size: 1.05rem; }

/* ===================================================
   BUTTONS
=================================================== */
.btn {
  display: inline-block;
  padding: 14px 40px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 3px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-black);
  border-color: var(--color-gold);
}
.btn-primary:hover {
  background: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,196,33,0.45);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-black);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}
.btn-dark:hover {
  background: var(--color-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

/* ===================================================
   SECTION UTILITY
=================================================== */
.section { padding: var(--section-pad); }
.section--dark  { background: var(--color-dark); color: var(--color-white); }
.section--gold  { background: var(--color-gold); color: var(--color-black); }
.section--offwhite { background: var(--color-offwhite); }
.section--black { background: var(--color-black); color: var(--color-white); }

.section__label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-gold);
  color: var(--color-black);
  margin-bottom: 16px;
}

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

/* ===================================================
   SITE HEADER
=================================================== */
.site-header {
    display:none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: var(--color-black);        /* deep dark red on scroll */
  box-shadow: 0 2px 20px rgba(100,0,0,0.4);
}

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

.header-logos {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-logos img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.header-logos .sep {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.3);
}

.header-cta .btn {
  padding: 10px 28px;
  font-size: 0.85rem;
}

/* ===================================================
   HERO / BANNER
   — Updated to match flyer's deep red → fiery orange gradient
=================================================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    #6B0D00 0%,       /* deep crimson (top-left, like flyer's darkest red) */
    #A82000 35%,      /* rich red-orange */
    #D94000 65%,      /* fiery orange */
    #FF6B2B 100%      /* bright orange (bottom-right) */
  );
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
 }

/* Warm radial overlays matching the flyer's glow */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 75% 35%, rgba(255,196,33,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 15% 75%, rgba(100,0,0,0.30) 0%, transparent 70%);
  pointer-events: none;
}

/* Big decorative letters */
.hero::after {
  content: 'DM';
  position: absolute;
  right: -60px;
  bottom: -40px;
  font-family: var(--font-display);
  font-size: 40vw;
  color: rgba(255,196,33,0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,196,33,0.20);
  border: 1px solid rgba(255,196,33,0.5);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  margin-bottom: 28px;
}

.hero__badge span {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.hero__badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(80,0,0,0.4);
}

.hero h1 em {
  font-style: normal;
  color: var(--color-gold);
  position: relative;
  display: inline-block;
}

/* Underline accent on italic word */
.hero h1 em::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 6px;
  height: 4px;
  background: var(--color-white);
  border-radius: 2px;
  opacity: 0.6;
}

.hero__sub {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero__scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

.hero__scroll-arrow {
  width: 24px; height: 24px;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
  animation: arrowBounce 1.6s infinite;
}

@keyframes arrowBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(5px); }
}

/* ===================================================
   QUICK FACTS BAR
=================================================== */
.facts-bar {
  background: var(--color-gold);
  padding: 0;
}

.facts-bar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.facts-bar__item {
  padding: 32px 24px;
  border-right: 2px solid rgba(0,0,0,0.12);
}
.facts-bar__item:last-child { border-right: none; }

.facts-bar__label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 10px;
}

.facts-bar__values li {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-black);
  line-height: 1.5;
}

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

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

.about__number {
  font-family: var(--font-display);
  font-size: 9rem;
  line-height: 1;
  color: var(--color-orange);           /* orange instead of gold for variety */
  margin-bottom: -16px;
  display: block;
}

.about__text h2 { margin-bottom: 20px; }
.about__text p  { color: var(--color-muted); font-size: 1.05rem; }

.about__stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.about__stat {
  padding: 24px;
  background: var(--color-offwhite);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-orange);  /* orange border from flyer */
}

.about__stat-val {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-dark);             /* dark red value text */
  line-height: 1;
}

.about__stat-label {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 4px;
}

/* ===================================================
   TWO COLUMN: OUTCOMES + ELIGIBILITY
=================================================== */
.two-col {
  padding: var(--section-pad);
  background: var(--color-offwhite);
}

.two-col__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.panel {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--color-gold);
}

/* Dark panel now uses deep red-orange gradient matching flyer's eligibility box */
.panel--dark {
  background: linear-gradient(135deg, #8B1500 0%, #C03200 100%);
  color: var(--color-white);
}

.panel--dark::before { background: var(--color-gold); }

.panel h3 {
  margin-bottom: 28px;
  font-size: 1.5rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1rem;
  line-height: 1.55;
}

.check-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-black);
  font-weight: 800;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.panel--dark .check-list li::before {
  background: var(--color-gold);
  color: var(--color-black);
}

/* ===================================================
   CURRICULUM
=================================================== */

.curriculum{
    position:relative;
    padding:120px 0;
    background:
        radial-gradient(circle at top left, rgba(255,120,0,.18), transparent 30%),
        radial-gradient(circle at bottom right, rgba(255,90,0,.18), transparent 30%),
        linear-gradient(160deg,#5a0000 0%,#8c0900 45%,#cf2f00 100%);
    overflow:hidden;
    color:#fff;
}

/* top decorative circles */
.curriculum::before{
    content:"";
    position:absolute;
    left:-220px;
    top:120px;
    width:520px;
    height:520px;
    border:1px solid rgba(255,140,80,.25);
    border-radius:50%;
    box-shadow:
        0 0 0 80px rgba(255,140,80,.05),
        0 0 0 160px rgba(255,140,80,.03);
    pointer-events:none;
}

.curriculum .container{
    position:relative;
    z-index:2;
    max-width:1400px;
}

.curriculum h2{
    margin:0 0 18px;
    color:#fff;
    font-size:clamp(56px,7vw,110px);
    line-height:.95;
    font-weight:900;
    letter-spacing:-4px;
}

.curriculum .lead{
    color:rgba(255,255,255,.82);
    max-width:980px;
    margin:0 auto 70px;
    font-size:28px;
    line-height:1.5;
}

/* ===================================================
   GRID
=================================================== */

.curriculum__grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:26px;
}

/* ===================================================
   CARD
=================================================== */

.curriculum__card{
    position:relative;
    background:#fff;
    border-radius:26px;
    padding:42px 36px 34px;
    min-height:270px;
    overflow:hidden;
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
    border:2px solid transparent;
    box-shadow:0 10px 28px rgba(0,0,0,.16);
    text-align:left;
}

/* hover */
.curriculum__card:hover{
    transform:translateY(-10px);
    border-color:#ffc321;
    box-shadow:
        0 24px 50px rgba(0,0,0,.28),
        0 0 30px rgba(255,195,33,.18);
}

/* number */
.curriculum__card::before{
    content:attr(data-num);
    position:absolute;
    top:28px;
    left:34px;
    font-size:64px;
    line-height:1;
    font-weight:900;
    color:#ff4b0f;
    letter-spacing:-3px;
}

/* vertical line */
.curriculum__card::after{
    content:"";
    position:absolute;
    top:36px;
    left:140px;
    width:2px;
    height:50px;
    background:#f4b48e;
}

/* remove old icon */
.curriculum__card-icon{
    display:none;
}

/* title */
.curriculum__card h4{
    margin:108px 0 18px;
    font-size:24px;
    line-height:1.15;
    font-weight:900;
    letter-spacing:-1px;
    color:#2e0909;
}

/* text */
.curriculum__card p{
    margin:0;
    font-size:18px;
    line-height:1.65;
    color:#555;
    font-weight:500;
}

/* ===================================================
   TABLET
=================================================== */

@media(max-width:1024px){

    .curriculum__grid{
        grid-template-columns:repeat(2,1fr);
    }

    .curriculum h2{
        letter-spacing:-2px;
    }

    .curriculum .lead{
        font-size:22px;
    }
}

/* ===================================================
   MOBILE
=================================================== */

@media(max-width:767px){

    .curriculum{
        padding:80px 0;
    }

    .curriculum h2{
        font-size:54px;
        line-height:1;
        margin-bottom:16px;
    }

    .curriculum .lead{
        font-size:18px;
        margin-bottom:40px;
    }

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

    .curriculum__card{
        min-height:auto;
        padding:32px 24px 28px;
        border-radius:20px;
    }

    .curriculum__card::before{
        top:22px;
        left:24px;
        font-size:46px;
    }

    .curriculum__card::after{
        top:28px;
        left:102px;
        height:38px;
    }

    .curriculum__card h4{
        margin-top:80px;
        font-size:26px;
    }

    .curriculum__card p{
        font-size:16px;
    }
}

/* ===================================================
   LOGISTICS (When / Where / Fee)
=================================================== */
.logistics {
  padding: var(--section-pad);
  background: var(--color-gold);
}

.logistics h2 { margin-bottom: 48px; text-align: center; }

.logistics__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
}

.logistics__card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--color-orange);  /* orange accent stripe from flyer */
}

.logistics__card h4 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-dark);                   /* dark red label */
  margin-bottom: 20px;
  font-weight: 700;
}

.logistics__card .big {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-black);
}

.logistics__card .detail {
  color: var(--color-muted);
  margin-top: 8px;
  font-size: 0.95rem;
}

.logistics__card--free .big {
  font-size: 3rem;
  color: var(--color-dark);                   /* deep red "$0" */
}

/* ===================================================
   TESTIMONIALS
   — Deep red-orange background matching flyer warmth
=================================================== */
.testimonials {
  padding: var(--section-pad);
  background: linear-gradient(135deg, #5C0A00 0%, #8B1500 100%);
  color: var(--color-white);
}

.testimonials h2 { margin-bottom: 52px; }

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

.testimonial-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(255,196,33,0.4);
  transform: translateY(-4px);
  background: rgba(255,255,255,0.12);
}

.testimonial-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 6rem;
  color: var(--color-gold);
  opacity: 0.30;
  position: absolute;
  top: 12px; left: 24px;
  line-height: 1;
}

.testimonial-card__text {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

/* ===================================================
   ABOUT ORG
   — Gold section kept from original (matches flyer's bottom CTA area)
=================================================== */
.about-org {
  padding: var(--section-pad);
  background: var(--color-gold);
}

.about-org__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-org h2 { margin-bottom: 20px; }
.about-org p  { font-size: 1.05rem; line-height: 1.8; }

/* CTA box uses the deep red-to-orange gradient matching the hero */
.about-org__cta-box {
  background: linear-gradient(135deg, #6B0D00 0%, #A82000 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  color: var(--color-white);
  text-align: center;
}

.about-org__cta-box h3 { color: var(--color-gold); margin-bottom: 12px; }
.about-org__cta-box p  { color: rgba(255,255,255,0.75); margin-bottom: 28px; }

/* ===================================================
   SITE FOOTER
=================================================== */
.site-footer {
  background: var(--color-black);            /* deep dark red footer */
  color: rgba(255,255,255,0.45);
  padding: 28px 0;
  text-align: center;
  font-size: 0.85rem;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
}

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 1024px) {
  .curriculum__grid         { grid-template-columns: repeat(2, 1fr); }
  .logistics__grid          { grid-template-columns: 1fr 1fr; }
  .logistics__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .hero {
    min-height: auto !important;
}
  .panel .btn.btn-primary {
        display: table;
        margin: 0 auto;
        text-align: center;
    }
  :root { --section-pad: 60px 0; }

  .two-col__grid            { grid-template-columns: 1fr; }
  .about__grid              { grid-template-columns: 1fr; gap: 40px; }
  .about__stat-row          { grid-template-columns: 1fr 1fr; }
  .facts-bar__grid          { grid-template-columns: 1fr; }
  .facts-bar__item          { border-right: none; border-bottom: 2px solid rgba(0,0,0,0.12); }
  .facts-bar__item:last-child { border-bottom: none; }
  .curriculum__grid         { grid-template-columns: 1fr 1fr; }
  .testimonials__grid       { grid-template-columns: 1fr; }
  .logistics__grid          { grid-template-columns: 1fr; }
  .about-org__inner         { grid-template-columns: 1fr; gap: 40px; }
  .hero__actions            { flex-direction: column; align-items: flex-start; }
  .hero::after              { display: none; }
  .panel                    { padding: 32px 24px; }
  .site-header              { padding: 10px 0; }
}

@media (max-width: 480px) {
  .curriculum__grid         { grid-template-columns: 1fr; }
  .about__stat-row          { grid-template-columns: 1fr; }
  .header-logos img         { height: 26px; }
  .two-col__grid            { gap: 24px; }
}