.programme-page {
  color-scheme: dark;
  --bg-color: #070b18;
  --card-bg: rgba(14, 20, 37, 0.92);
  --card-border: rgba(174, 193, 235, 0.13);
  --accent-orange: #f7931a;
  --accent-orange-glow: rgba(247, 147, 26, 0.18);
  --text-main: #f5f7ff;
  --text-muted: #a8b0c5;
  --font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', var(--font-family);
}

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

.programme-page {
  min-height: 100vh;
  padding: 0;
  overflow-x: hidden;
  background: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-family);
}

.glow-effect {
  position: fixed;
  z-index: -1;
  top: -110px;
  left: 50%;
  width: min(550px, 100vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--accent-orange-glow) 0%, transparent 70%);
  pointer-events: none;
}

.mobile-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(100%, 760px);
  margin-inline: auto;
  padding: 32px 16px 40px;
}

.back-btn {
  align-self: flex-start;
  color: #ffa940;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}

.back-btn:hover { color: #ffa940; }
.programme-page .back-btn:focus-visible,
.programme-page a:focus-visible,
.programme-page .level-header:focus-visible {
  outline: 2px solid #ffa940;
  outline-offset: 4px;
}

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

.badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 14px;
  border: 1px solid rgba(247, 147, 26, .4);
  border-radius: 20px;
  background: rgba(247, 147, 26, .1);
  color: #ffa940;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.programme-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  line-height: 1.2;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff 0%, #c2c8d7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-intro {
  max-width: 580px;
  margin: 10px auto 0;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.6;
}

.curriculum-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.level-card {
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  transition: border-color .2s ease;
}

.level-card[open] { border-color: rgba(247, 147, 26, .5); }

.level-header {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.level-header::-webkit-details-marker { display: none; }
.level-header::marker { content: ""; }

.level-title-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.level-number {
  color: var(--accent-orange);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.level-title {
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.4;
}

.chevron-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease, stroke .2s ease;
}

.level-card[open] .chevron-icon {
  transform: rotate(180deg);
  stroke: var(--accent-orange);
}

.level-content {
  padding: 0 20px 20px;
}

.module-block {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(174, 193, 235, .13);
}

.module-block:first-child {
  margin-top: 2px;
  border-top: 0;
}

.module-title {
  margin-bottom: 9px;
  color: #c2c8d7;
  font-size: .88rem;
  font-weight: 650;
}

.topic-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  list-style: none;
}

.topic-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--text-muted);
  font-size: .86rem;
  line-height: 1.5;
}

.topic-item::before {
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  margin-top: .55em;
  border-radius: 50%;
  background: var(--accent-orange);
  content: "";
  opacity: .8;
}

.workshop-box {
  margin-top: 14px;
  padding: 11px 14px;
  border-left: 3px solid var(--accent-orange);
  border-radius: 4px 8px 8px 4px;
  background: rgba(247, 147, 26, .09);
  color: #ffc27a;
  font-size: .86rem;
  line-height: 1.5;
}

.cert-section {
  margin-top: 4px;
  padding: 22px;
  border: 1px solid var(--accent-orange-glow);
  border-radius: 16px;
  background: linear-gradient(145deg, #141d33, #0e1425);
}

.cert-title {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.cert-item { margin-bottom: 12px; }
.cert-name { color: var(--accent-orange); font-size: .9rem; font-weight: 700; }
.cert-desc { margin-top: 2px; color: var(--text-muted); font-size: .82rem; line-height: 1.5; }

.programme-page .cert-btn,
.programme-page .btn {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 0;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: filter .2s ease, transform .2s ease;
}

.programme-page .cert-btn {
  width: fit-content;
  margin: 20px auto 0;
  border-radius: 25px;
  background: linear-gradient(135deg, #f7931a, #ffa940);
  box-shadow: 0 4px 14px var(--accent-orange-glow);
  color: #fff;
}

.programme-page .btn-group { display: flex; }
.programme-page .btn-whatsapp { width: 100%; background: #25d366; color: #07150b; }
.programme-page .cert-btn:hover,
.programme-page .btn:hover { filter: brightness(1.08); transform: translateY(-1px); }

.disclaimer {
  color: var(--text-muted);
  font-size: .78rem;
  text-align: center;
}

@media (min-width: 768px) {
  .mobile-container { gap: 22px; padding-top: 40px; }
  .level-header { min-height: 82px; padding-inline: 24px; }
  .level-title { font-size: 1.05rem; }
  .level-content { padding-inline: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .programme-page,
  .programme-page *,
  .programme-page *::before,
  .programme-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
