/* ============================================================
   FLY EAGLE SPORT — Program Pages Styles
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.program-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center 40%;
  padding: 120px 0 68px;
}

.program-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,8,8,0.68) 0%, rgba(8,8,8,0.46) 55%, rgba(8,8,8,0.24) 100%);
}

.program-hero .container {
  position: relative;
  z-index: 1;
}

.program-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin: 12px 0 16px;
  line-height: 1.1;
}

.program-hero__sub {
  font-size: 1.1rem;
  color: var(--white);
  max-width: 600px;
  line-height: 1.65;
}

.program-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.program-badge {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  font-family: var(--font-heading);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.07);
}

.program-badge--ox {
  background: rgba(139,0,0,0.55);
  border-color: rgba(139,0,0,0.6);
  color: #f0a0a0;
}

/* ── Overview Section ─────────────────────────────────────── */
.program-overview {
  padding: 72px 0 64px;
  background: var(--bg-primary);
}

.program-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

@media (max-width: 860px) {
  .program-layout {
    grid-template-columns: 1fr;
  }
  .program-sidebar {
    order: -1;
  }
}

.program-main h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--white);
  margin: 0 0 16px;
}

.program-main p {
  color: var(--silver);
  line-height: 1.75;
  font-size: 1.02rem;
  margin: 0 0 16px;
}

.program-main p:last-child { margin-bottom: 0; }

/* ── Learn Cards ──────────────────────────────────────────── */
.learn-section {
  padding: 0 0 72px;
  background: var(--bg-primary);
}

.learn-section h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--white);
  margin: 0 0 28px;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.learn-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  transition: border-color 0.2s;
}

.learn-card:hover {
  border-color: var(--ox);
}

.learn-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(139,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--ox-hover);
}

.learn-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 6px;
}

.learn-card p {
  font-size: 0.93rem;
  color: var(--silver);
  line-height: 1.6;
  margin: 0;
}

/* ── Sidebar Cards ────────────────────────────────────────── */
.program-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
}

.prog-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ox-hover);
  font-family: var(--font-heading);
  margin: 0 0 12px;
}

.prog-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 12px;
}

.prog-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prog-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.93rem;
  color: var(--silver);
  line-height: 1.5;
}

.prog-card ul li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ox);
  flex-shrink: 0;
  margin-top: 6px;
}

.prog-card p {
  font-size: 0.93rem;
  color: var(--silver);
  line-height: 1.6;
  margin: 0;
}

.prog-card--highlight {
  background: linear-gradient(135deg, rgba(139,0,0,0.12) 0%, rgba(139,0,0,0.04) 100%);
  border-color: rgba(139,0,0,0.28);
}

.prog-card--highlight h3 {
  color: var(--ox-hover);
}

.earn-badge {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-heading);
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(139,0,0,0.18);
  color: var(--ox-hover);
  border: 1px solid rgba(139,0,0,0.30);
  margin-bottom: 10px;
  display: block;
}

/* ── Next Steps / Pathway ─────────────────────────────────── */
.pathway-section {
  padding: 60px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.pathway-section h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  color: var(--white);
  margin: 8px 0 24px;
}

.pathway-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pathway-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.15s;
  flex: 1;
  min-width: 200px;
}

.pathway-card:hover {
  border-color: var(--ox);
  transform: translateY(-2px);
}

.pathway-card__text strong {
  display: block;
  font-size: 0.97rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 2px;
}

.pathway-card__text span {
  font-size: 0.84rem;
  color: var(--silver);
}

/* ── Program CTA ──────────────────────────────────────────── */
.program-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #0e0e0e 0%, #1c1010 100%);
  border-top: 1px solid var(--border);
  text-align: center;
}

.program-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  margin: 8px 0 12px;
}

.program-cta p {
  color: var(--silver);
  max-width: 500px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.program-cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Programs Index Grid ──────────────────────────────────── */
.programs-index-section {
  padding: 72px 0 88px;
  background: var(--bg-primary);
}

.programs-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.program-index-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}

.program-index-card:hover {
  border-color: var(--ox);
  transform: translateY(-3px);
}

.program-index-card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-secondary);
}

.program-index-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.program-index-card:hover .program-index-card__img img {
  transform: scale(1.04);
}

.program-index-card__body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.program-index-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ox-hover);
  font-family: var(--font-heading);
  margin: 0 0 6px;
}

.program-index-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 8px;
}

.program-index-card__desc {
  font-size: 0.94rem;
  color: var(--silver);
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}

.program-index-card__cta {
  font-size: 0.89rem;
  font-weight: 700;
  color: var(--ox-hover);
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .learn-grid {
    grid-template-columns: 1fr;
  }
  .program-cta__actions {
    flex-direction: column;
    align-items: center;
  }
}
