/* ============================================
   Course & Internal Pages — Theme Variants
   ============================================ */

.course-page {
  --cp-hero-text: var(--color-text);
  --cp-hero-muted: var(--color-text-muted);
  --cp-hero-surface: var(--color-surface);
  --cp-hero-border: var(--color-border);
  --cp-btn: var(--color-coral);
  --cp-btn-hover: var(--color-coral-dark);
  --cp-highlight: var(--color-coral);
  --cp-hero-bg: var(--color-surface-2);
  --cp-glow: rgba(249, 93, 93, 0.15);
}

/* Web Development — bright + dark animated hero */
.course-page[data-theme="web"] {
  --cp-hero-bg: #11241c;
  --cp-hero-text: #f0fdf4;
  --cp-hero-muted: #c7e3d4;
  --cp-hero-surface: rgba(255, 255, 255, 0.97);
  --cp-hero-border: rgba(255, 255, 255, 0.12);
  --cp-btn: #f95d5d;
  --cp-btn-hover: #e04a4a;
  --cp-highlight: #10b981;
  --cp-glow: rgba(16, 185, 129, 0.28);
  --font-mono: "JetBrains Mono", "Fira Code", monospace;
}

/* Frontend (Web Dev / Full Stack / Web Designing / UI-UX) — bright fuchsia */
.course-page[data-theme="frontend"] {
  --cp-hero-bg: #fdf4fb;
  --cp-hero-text: #2a0a24;
  --cp-hero-muted: #7c5675;
  --cp-hero-surface: #ffffff;
  --cp-hero-border: #f9d4ee;
  --cp-btn: #f95d5d;
  --cp-btn-hover: #e04a4a;
  --cp-highlight: #c026d3;
  --cp-glow: rgba(192, 38, 211, 0.2);
  --font-mono: "JetBrains Mono", "Fira Code", monospace;
}

/* Design & Animation — warm coral + teal studio */
.course-page[data-theme="design"] {
  --cp-hero-bg: #faf8ff;
  --cp-hero-text: #2a2440;
  --cp-hero-muted: #6b6585;
  --cp-hero-surface: #ffffff;
  --cp-hero-border: #e5defc;
  --cp-btn: #f95d5d;
  --cp-btn-hover: #e04a4a;
  --cp-highlight: #7c3aed;
  --cp-glow: rgba(124, 58, 237, 0.18);
}

/* Marketing — playful coral + amber + sky */
/* Marketing — Digital Marketing (indigo) */
.course-page[data-theme="mkt-indigo"] {
  --cp-hero-bg: #f5f5ff;
  --cp-hero-text: #312e81;
  --cp-hero-muted: #6b6ba8;
  --cp-hero-surface: #ffffff;
  --cp-hero-border: #c7d2fe;
  --cp-btn: #f95d5d;
  --cp-btn-hover: #e04a4a;
  --cp-highlight: #6366f1;
  --cp-rgb: 99, 102, 241;
  --cp-glow: rgba(99, 102, 241, 0.2);
  --cp-soft: #f7f7ff;
  --cp-soft2: #eef0fe;
  --cp-cardborder: #dcdffb;
}

/* Marketing — SEO (royal purple) */
.course-page[data-theme="mkt-purple"] {
  --cp-hero-bg: #faf5ff;
  --cp-hero-text: #4c1d95;
  --cp-hero-muted: #7c5ca8;
  --cp-hero-surface: #ffffff;
  --cp-hero-border: #e9d5ff;
  --cp-btn: #f95d5d;
  --cp-btn-hover: #e04a4a;
  --cp-highlight: #9333ea;
  --cp-rgb: 147, 51, 234;
  --cp-glow: rgba(147, 51, 234, 0.2);
  --cp-soft: #fbf7ff;
  --cp-soft2: #f4e9fe;
  --cp-cardborder: #ecd9fb;
}

/* Marketing — Social Media (plum) */
.course-page[data-theme="mkt-plum"] {
  --cp-hero-bg: #fdf4fd;
  --cp-hero-text: #701a75;
  --cp-hero-muted: #8a5c8f;
  --cp-hero-surface: #ffffff;
  --cp-hero-border: #f5d0fe;
  --cp-btn: #f95d5d;
  --cp-btn-hover: #e04a4a;
  --cp-highlight: #a21caf;
  --cp-rgb: 162, 28, 175;
  --cp-glow: rgba(162, 28, 175, 0.2);
  --cp-soft: #fdf6fd;
  --cp-soft2: #f9e6fa;
  --cp-cardborder: #f3d4f5;
}

/* Academic — warm paper & gold (no blue outlines) */
.course-page[data-theme="academic"] {
  --cp-hero-bg: #fafaf9;
  --cp-hero-text: #292524;
  --cp-hero-muted: #78716c;
  --cp-hero-surface: #ffffff;
  --cp-hero-border: #e7e5e4;
  --cp-btn: #f95d5d;
  --cp-btn-hover: #e04a4a;
  --cp-highlight: #d97706;
  --cp-glow: rgba(217, 119, 6, 0.12);
}

/* Cyber Security — charcoal + bright orange alert */
.course-page[data-theme="security"] {
  --cp-hero-bg: #1c1917;
  --cp-hero-text: #fafaf9;
  --cp-hero-muted: #d6d3d1;
  --cp-hero-surface: #292524;
  --cp-hero-border: #44403c;
  --cp-btn: #fb7124;
  --cp-btn-hover: #ea580c;
  --cp-highlight: #fb923c;
  --cp-glow: rgba(251, 113, 36, 0.25);
  --font-mono: "JetBrains Mono", monospace;
}

/* ---- Course Hero ---- */
.course-hero {
  position: relative;
  padding: calc(var(--header-height) + 32px) 0 72px;
  background: var(--cp-hero-bg);
  scroll-margin-top: calc(var(--header-height) + 12px);
  overflow: hidden;
}

.course-page[data-theme="web"] .course-hero {
  background: linear-gradient(145deg, #0a1f17 0%, #11241c 50%, #1b3a2c 100%);
}

.course-page[data-theme="security"] .course-hero {
  background: linear-gradient(145deg, #0c0a09 0%, #1c1917 50%, #292524 100%);
}

.course-page[data-theme="security"] .course-hero-bg {
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(251, 113, 36, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 10% 85%, rgba(251, 146, 60, 0.18) 0%, transparent 50%);
  animation: webHeroGlow 10s ease-in-out infinite alternate;
}

.course-page[data-theme="web"] .course-hero-bg {
  background:
    radial-gradient(ellipse 75% 55% at 15% 25%, rgba(16, 185, 129, 0.42) 0%, transparent 55%),
    radial-gradient(ellipse 65% 45% at 85% 75%, rgba(249, 93, 93, 0.28) 0%, transparent 50%),
    radial-gradient(ellipse 50% 70% at 55% 100%, rgba(255, 255, 255, 0.07) 0%, transparent 60%);
  animation: webHeroGlow 10s ease-in-out infinite alternate;
}

@keyframes webHeroGlow {
  0% { opacity: 0.75; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.06); }
}

.course-page[data-theme="design"] .course-hero,
.course-page.mkt .course-hero,
.course-page[data-theme="academic"] .course-hero {
  background: var(--cp-hero-bg);
}

/* Academic — no blue outlines */
.course-page[data-theme="academic"] .course-theme-tag,
.course-page[data-theme="academic"] .course-chip,
.course-page[data-theme="academic"] .course-float-stat,
.course-page[data-theme="academic"] .course-hero-visual img,
.course-page[data-theme="academic"] .curriculum-card {
  border-color: var(--cp-hero-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.course-page[data-theme="academic"] .course-hero-form .contact-form-card {
  border-color: var(--cp-hero-border);
}

.course-page.mkt .course-metric {
  border-top: 3px solid var(--cp-highlight);
}

.course-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.course-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}

.course-hero-content {
  color: var(--cp-hero-text);
}

.course-hero-content .section-label {
  color: var(--cp-highlight);
}

.course-hero-content .section-label::before {
  background: var(--cp-highlight);
}

.course-hero-content h1 {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--cp-hero-text);
}

.course-hero-content h1 em {
  font-style: normal;
  color: var(--cp-highlight);
}

.course-hero-content > p {
  color: var(--cp-hero-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.course-theme-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--cp-hero-surface);
  border: 1px solid var(--cp-hero-border);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cp-highlight);
  margin-bottom: 16px;
}

.course-page[data-theme="web"] .course-theme-tag,
.course-page[data-theme="security"] .course-theme-tag {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--cp-hero-border);
}

.course-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.course-chip {
  padding: 7px 14px;
  background: var(--cp-hero-surface);
  border: 1px solid var(--cp-hero-border);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cp-hero-muted);
}

.course-chip strong {
  color: var(--cp-highlight);
}

.course-hero-visual {
  position: relative;
  margin-top: 8px;
}

.course-hero-visual img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 3px solid var(--cp-hero-border);
  box-shadow: 0 20px 50px var(--cp-glow);
  display: block;
}

.course-page[data-theme="design"] .course-hero-visual img {
  border-radius: 30% 70% 65% 35% / 35% 35% 65% 65%;
}

.course-page[data-theme="web"] .course-hero-visual::before {
  content: "< / >";
  position: absolute;
  top: -12px;
  left: 16px;
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  color: var(--cp-highlight);
  opacity: 0.6;
  animation: courseFloat 3s ease-in-out infinite;
}

/* Web hero — extra animated elements */
.course-page[data-theme="web"] .course-hero-visual::after {
  content: "{ }";
  position: absolute;
  bottom: -10px;
  right: 18px;
  font-family: var(--font-mono, monospace);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cp-highlight);
  opacity: 0.5;
  animation: courseFloat 4.5s ease-in-out infinite;
  animation-delay: -1.5s;
}

.course-page[data-theme="web"] .course-hero-visual img {
  animation: webImgFloat 7s ease-in-out infinite;
}

@keyframes webImgFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.course-page[data-theme="web"] .course-theme-tag {
  animation: webTagPulse 3s ease-in-out infinite;
}

@keyframes webTagPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
  50% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18); }
}

.course-page[data-theme="security"] .course-hero-visual::before {
  content: "$ sudo enroll --now";
  position: absolute;
  top: -8px;
  left: 12px;
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  color: var(--cp-highlight);
  animation: courseBlink 2s step-end infinite;
}

@keyframes courseBlink {
  50% { opacity: 0.4; }
}

.course-float-stat {
  position: absolute;
  padding: 10px 14px;
  background: var(--cp-hero-surface);
  border: 1px solid var(--cp-hero-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cp-highlight);
  animation: courseFloat 4s ease-in-out infinite;
}

.course-float-stat-1 { top: 12px; right: -8px; }
.course-float-stat-2 { bottom: 20px; left: -8px; animation-delay: -2s; }

@keyframes courseFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.course-hero-form {
  position: sticky;
  top: calc(var(--header-height) + 16px);
}

.course-hero-form .contact-form-card {
  background: var(--cp-hero-surface);
  border-color: var(--cp-hero-border);
}

.course-hero-form .form-title {
  color: var(--cp-hero-text);
}

.course-page[data-theme="web"] .course-hero-form .contact-form-card,
.course-page[data-theme="security"] .course-hero-form .contact-form-card {
  color: var(--cp-hero-text);
}

.course-hero-form .btn-primary {
  background: var(--cp-btn);
  box-shadow: 0 4px 14px var(--cp-glow);
}

.course-hero-form .btn-primary:hover {
  background: var(--cp-btn-hover);
}

.course-animate {
  opacity: 0;
  animation: courseFadeUp 0.65s ease forwards;
}

.course-animate-1 { animation-delay: 0.08s; }
.course-animate-2 { animation-delay: 0.16s; }
.course-animate-3 { animation-delay: 0.24s; }
.course-animate-4 { animation-delay: 0.32s; }
.course-animate-5 { animation-delay: 0.4s; }
.course-animate-6 { animation-delay: 0.48s; }

@keyframes courseFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Course body sections ---- */
.course-body {
  background: var(--color-bg);
}

.course-section {
  padding: 72px 0;
}

.course-section.alt {
  background: var(--color-surface-2);
}

.course-section h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 16px;
}

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

.curriculum-card {
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition);
}

.curriculum-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.course-page[data-theme="design"] .curriculum-card {
  border-radius: 24px;
}

.curriculum-card .module-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--cp-highlight, var(--color-coral));
  margin-bottom: 8px;
}

.curriculum-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.curriculum-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.course-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.course-metric {
  text-align: center;
  padding: 24px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.course-page.mkt .course-metric {
  border-top: 3px solid var(--cp-highlight, #059669);
}

.course-metric .num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--cp-highlight, var(--color-coral));
}

.course-metric .lbl {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.syllabus-list {
  list-style: none;
  margin-top: 24px;
}

.syllabus-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.syllabus-list li strong {
  color: var(--color-text);
  min-width: 100px;
}

.course-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.course-split img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  min-height: 280px;
  border: 3px solid #fff;
  box-shadow: var(--shadow-md);
}

.course-page[data-theme="design"] .course-split img {
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
}

.course-cta-bar {
  padding: 40px;
  background: var(--cp-btn, var(--color-coral));
  border-radius: var(--radius-lg);
  text-align: center;
  color: #fff;
  margin-top: 48px;
}

.course-cta-bar h2 {
  color: #fff;
  margin-bottom: 12px;
}

.course-cta-bar p {
  opacity: 0.92;
  margin-bottom: 20px;
}

@media (max-width: 1024px) {
  .course-hero-grid,
  .course-split {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  .course-hero-grid {
    display: flex;
    flex-direction: column;
  }

  .course-hero-form {
    order: -1;
    position: static;
  }

  .curriculum-grid,
  .course-metrics {
    grid-template-columns: 1fr;
  }

  .course-float-stat {
    display: none;
  }

  .course-hero-visual img {
    height: 200px;
  }
}

/* ============================================
   Academic theme — refined sections & hero anim
   ============================================ */

/* Warm section backgrounds to match the academic hero */
.course-page[data-theme="academic"] .course-body {
  background: #faf8f4;
}

.course-page[data-theme="academic"] .course-section.alt {
  background: #f3eee4;
}

/* Animated lightweight warm hero */
.course-page[data-theme="academic"] .course-hero {
  background: linear-gradient(160deg, #fafaf9 0%, #fdf6ea 55%, #fef2e2 100%);
}

.course-page[data-theme="academic"] .course-hero-bg {
  background:
    radial-gradient(circle at 14% 22%, rgba(217, 119, 6, 0.12), transparent 46%),
    radial-gradient(circle at 86% 78%, rgba(249, 93, 93, 0.09), transparent 46%);
  animation: academicGlow 12s ease-in-out infinite alternate;
}

@keyframes academicGlow {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.07); }
}

.course-page[data-theme="academic"] .course-hero-visual img {
  animation: academicFloat 6s ease-in-out infinite;
}

@keyframes academicFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.course-page[data-theme="academic"] .course-hero-content h1 {
  position: relative;
}

.course-page[data-theme="academic"] .course-theme-tag {
  animation: academicTagPulse 3s ease-in-out infinite;
}

@keyframes academicTagPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); }
  50%      { box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.08); }
}

/* "Why Choose" + summary lists → feature card grid */
.course-page[data-theme="academic"] .container > .syllabus-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  border: none;
}

.course-page[data-theme="academic"] .container > .syllabus-list li {
  display: block;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #ece4d6;
  border-left: 3px solid var(--cp-highlight);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(120, 90, 20, 0.05);
  color: var(--color-text-muted);
  transition: transform var(--transition), box-shadow var(--transition);
}

.course-page[data-theme="academic"] .container > .syllabus-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(120, 90, 20, 0.1);
}

.course-page[data-theme="academic"] .container > .syllabus-list li strong {
  display: block;
  min-width: auto;
  margin-bottom: 4px;
  color: var(--cp-highlight);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

/* "Who Should Join" + "Benefits" → checkmark cards */
.course-page[data-theme="academic"] .course-split .syllabus-list {
  border: none !important;
}

.course-page[data-theme="academic"] .course-split .syllabus-list li {
  position: relative;
  border: none !important;
  padding: 13px 16px 13px 46px !important;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(120, 90, 20, 0.05);
  color: var(--color-text);
  font-weight: 500;
  transition: transform var(--transition), box-shadow var(--transition);
}

.course-page[data-theme="academic"] .course-split .syllabus-list li:hover {
  transform: translateX(3px);
  box-shadow: 0 8px 20px rgba(120, 90, 20, 0.1);
}

.course-page[data-theme="academic"] .course-split .syllabus-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  border-radius: 50%;
  background: rgba(217, 119, 6, 0.12);
  color: var(--cp-highlight);
  font-size: 0.72rem;
  font-weight: 800;
}

/* Academic FAQ — warm band + gold accents (was blue) */
.course-page[data-theme="academic"] .faq.course-section,
.course-page[data-theme="academic"] .faq {
  background: #f3eee4;
}

.course-page[data-theme="academic"] .faq-icon {
  background: rgba(217, 119, 6, 0.12);
  color: var(--cp-highlight);
}

.course-page[data-theme="academic"] .faq-question:hover {
  color: var(--cp-highlight);
}

/* ===== Design theme — warm cream sections + teal/coral cards (replace blue) ===== */
.course-page[data-theme="design"] .course-body {
  background: #faf8ff;
}

.course-page[data-theme="design"] .course-section.alt {
  background: #f3effe;
}

/* "Why Choose" + overview lists → feature card grid (teal accent) */
.course-page[data-theme="design"] .container > .syllabus-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  border: none;
}

.course-page[data-theme="design"] .container > .syllabus-list li {
  display: block;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #ece5fc;
  border-left: 3px solid var(--cp-highlight);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.06);
  color: var(--color-text-muted);
  transition: transform var(--transition), box-shadow var(--transition);
}

.course-page[data-theme="design"] .container > .syllabus-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.12);
}

.course-page[data-theme="design"] .container > .syllabus-list li strong {
  display: block;
  min-width: auto;
  margin-bottom: 4px;
  color: var(--cp-highlight);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

/* "Who Should Join" + "Career Opportunities" → checkmark cards */
.course-page[data-theme="design"] .course-split .syllabus-list {
  border: none !important;
}

.course-page[data-theme="design"] .course-split .syllabus-list li {
  position: relative;
  border: none !important;
  padding: 13px 16px 13px 46px !important;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(124, 58, 237, 0.06);
  color: var(--color-text);
  font-weight: 500;
  transition: transform var(--transition), box-shadow var(--transition);
}

.course-page[data-theme="design"] .course-split .syllabus-list li:hover {
  transform: translateX(3px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.12);
}

.course-page[data-theme="design"] .course-split .syllabus-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.12);
  color: var(--cp-highlight);
  font-size: 0.72rem;
  font-weight: 800;
}

/* Outcomes column (Career Opportunities) → coral checks to differentiate */
.course-page[data-theme="design"] .course-split > div:last-child .syllabus-list li::before {
  content: "★";
  background: rgba(249, 93, 93, 0.14);
  color: var(--cp-btn);
}

/* Design FAQ — warm band + teal accents (replace blue) */
.course-page[data-theme="design"] .faq.course-section,
.course-page[data-theme="design"] .faq {
  background: #f3effe;
}

.course-page[data-theme="design"] .faq-icon {
  background: rgba(124, 58, 237, 0.12);
  color: var(--cp-highlight);
}

.course-page[data-theme="design"] .faq-question:hover {
  color: var(--cp-highlight);
}

/* ===== Web Development theme — emerald cards (replace blue) ===== */
.course-page[data-theme="web"] .course-body {
  background: #f3faf6;
}

.course-page[data-theme="web"] .course-section.alt {
  background: #e9f5ef;
}

/* "Why Choose" + overview lists → feature card grid (emerald accent) */
.course-page[data-theme="web"] .container > .syllabus-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  border: none;
}

.course-page[data-theme="web"] .container > .syllabus-list li {
  display: block;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #d6efe2;
  border-left: 3px solid var(--cp-highlight);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.06);
  color: var(--color-text-muted);
  transition: transform var(--transition), box-shadow var(--transition);
}

.course-page[data-theme="web"] .container > .syllabus-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.12);
}

.course-page[data-theme="web"] .container > .syllabus-list li strong {
  display: block;
  min-width: auto;
  margin-bottom: 4px;
  color: var(--cp-highlight);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

/* "Who Should Join" + "Career Opportunities" → checkmark cards */
.course-page[data-theme="web"] .course-split .syllabus-list {
  border: none !important;
}

.course-page[data-theme="web"] .course-split .syllabus-list li {
  position: relative;
  border: none !important;
  padding: 13px 16px 13px 46px !important;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.06);
  color: var(--color-text);
  font-weight: 500;
  transition: transform var(--transition), box-shadow var(--transition);
}

.course-page[data-theme="web"] .course-split .syllabus-list li:hover {
  transform: translateX(3px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.12);
}

.course-page[data-theme="web"] .course-split .syllabus-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: var(--cp-highlight);
  font-size: 0.72rem;
  font-weight: 800;
}

.course-page[data-theme="web"] .course-split > div:last-child .syllabus-list li::before {
  content: "★";
  background: rgba(249, 93, 93, 0.14);
  color: var(--cp-btn);
}

.course-page[data-theme="web"] .faq.course-section,
.course-page[data-theme="web"] .faq {
  background: #e9f5ef;
}

.course-page[data-theme="web"] .faq-icon {
  background: rgba(16, 185, 129, 0.12);
  color: var(--cp-highlight);
}

.course-page[data-theme="web"] .faq-question:hover {
  color: var(--cp-highlight);
}

@media (max-width: 768px) {
  .course-page[data-theme="academic"] .container > .syllabus-list,
  .course-page[data-theme="design"] .container > .syllabus-list,
  .course-page[data-theme="web"] .container > .syllabus-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .course-animate,
  .course-float-stat,
  .course-page[data-theme="web"] .course-hero-visual::before,
  .course-page[data-theme="web"] .course-hero-visual::after,
  .course-page[data-theme="web"] .course-hero-visual img,
  .course-page[data-theme="web"] .course-theme-tag,
  .course-page[data-theme="security"] .course-hero-visual::before,
  .course-page[data-theme="academic"] .course-hero-bg,
  .course-page[data-theme="academic"] .course-hero-visual img,
  .course-page[data-theme="academic"] .course-theme-tag,
  .course-page[data-theme="frontend"] .course-hero-bg,
  .course-page[data-theme="frontend"] .course-hero-visual::before,
  .course-page[data-theme="frontend"] .course-hero-visual::after,
  .course-page[data-theme="frontend"] .course-hero-visual img,
  .course-page[data-theme="frontend"] .course-theme-tag {
    animation: none !important;
    opacity: 1 !important;
  }
}

/* ===== Frontend theme — bright fuchsia hero + animated elements ===== */
.course-page[data-theme="frontend"] .course-hero {
  background: linear-gradient(160deg, #fdf4fb 0%, #fbe9f6 55%, #ffe9e4 100%);
}

.course-page[data-theme="frontend"] .course-hero-bg {
  background:
    radial-gradient(ellipse 70% 55% at 18% 22%, rgba(192, 38, 211, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 78%, rgba(249, 93, 93, 0.18) 0%, transparent 52%);
  animation: webHeroGlow 11s ease-in-out infinite alternate;
}

.course-page[data-theme="frontend"] .course-hero-visual img {
  border-radius: 28% 72% 62% 38% / 38% 36% 64% 62%;
  animation: webImgFloat 7s ease-in-out infinite;
}

.course-page[data-theme="frontend"] .course-hero-visual::before {
  content: "</>";
  position: absolute;
  top: -12px;
  left: 16px;
  font-family: var(--font-mono, monospace);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cp-highlight);
  opacity: 0.7;
  animation: courseFloat 3s ease-in-out infinite;
}

.course-page[data-theme="frontend"] .course-hero-visual::after {
  content: "{ }";
  position: absolute;
  bottom: -10px;
  right: 18px;
  font-family: var(--font-mono, monospace);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cp-btn);
  opacity: 0.65;
  animation: courseFloat 4.5s ease-in-out infinite;
  animation-delay: -1.5s;
}

.course-page[data-theme="frontend"] .course-theme-tag {
  animation: webTagPulse 3s ease-in-out infinite;
}

/* Frontend sections — fuchsia cards */
.course-page[data-theme="frontend"] .course-body {
  background: #fdf6fc;
}

.course-page[data-theme="frontend"] .course-section.alt {
  background: #fbedf7;
}

.course-page[data-theme="frontend"] .container > .syllabus-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  border: none;
}

.course-page[data-theme="frontend"] .container > .syllabus-list li {
  display: block;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #f6d6ee;
  border-left: 3px solid var(--cp-highlight);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(192, 38, 211, 0.06);
  color: var(--color-text-muted);
  transition: transform var(--transition), box-shadow var(--transition);
}

.course-page[data-theme="frontend"] .container > .syllabus-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(192, 38, 211, 0.13);
}

.course-page[data-theme="frontend"] .container > .syllabus-list li strong {
  display: block;
  min-width: auto;
  margin-bottom: 4px;
  color: var(--cp-highlight);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.course-page[data-theme="frontend"] .course-split .syllabus-list {
  border: none !important;
}

.course-page[data-theme="frontend"] .course-split .syllabus-list li {
  position: relative;
  border: none !important;
  padding: 13px 16px 13px 46px !important;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(192, 38, 211, 0.06);
  color: var(--color-text);
  font-weight: 500;
  transition: transform var(--transition), box-shadow var(--transition);
}

.course-page[data-theme="frontend"] .course-split .syllabus-list li:hover {
  transform: translateX(3px);
  box-shadow: 0 8px 20px rgba(192, 38, 211, 0.13);
}

.course-page[data-theme="frontend"] .course-split .syllabus-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  border-radius: 50%;
  background: rgba(192, 38, 211, 0.12);
  color: var(--cp-highlight);
  font-size: 0.72rem;
  font-weight: 800;
}

.course-page[data-theme="frontend"] .course-split > div:last-child .syllabus-list li::before {
  content: "★";
  background: rgba(249, 93, 93, 0.14);
  color: var(--cp-btn);
}

.course-page[data-theme="frontend"] .faq.course-section,
.course-page[data-theme="frontend"] .faq {
  background: #fbedf7;
}

.course-page[data-theme="frontend"] .faq-icon {
  background: rgba(192, 38, 211, 0.12);
  color: var(--cp-highlight);
}

.course-page[data-theme="frontend"] .faq-question:hover {
  color: var(--cp-highlight);
}

@media (max-width: 768px) {
  .course-page[data-theme="frontend"] .container > .syllabus-list {
    grid-template-columns: 1fr;
  }
}

/* ===== Marketing theme — warm amber/orange cards (replace blue) ===== */
.course-page.mkt .course-body {
  background: var(--cp-soft);
}

.course-page.mkt .course-section.alt {
  background: var(--cp-soft2);
}

.course-page.mkt .container > .syllabus-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  border: none;
}

.course-page.mkt .container > .syllabus-list li {
  display: block;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--cp-cardborder);
  border-left: 3px solid var(--cp-highlight);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(var(--cp-rgb), 0.07);
  color: var(--color-text-muted);
  transition: transform var(--transition), box-shadow var(--transition);
}

.course-page.mkt .container > .syllabus-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(var(--cp-rgb), 0.14);
}

.course-page.mkt .container > .syllabus-list li strong {
  display: block;
  min-width: auto;
  margin-bottom: 4px;
  color: var(--cp-highlight);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.course-page.mkt .course-split .syllabus-list {
  border: none !important;
}

.course-page.mkt .course-split .syllabus-list li {
  position: relative;
  border: none !important;
  padding: 13px 16px 13px 46px !important;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(var(--cp-rgb), 0.07);
  color: var(--color-text);
  font-weight: 500;
  transition: transform var(--transition), box-shadow var(--transition);
}

.course-page.mkt .course-split .syllabus-list li:hover {
  transform: translateX(3px);
  box-shadow: 0 8px 20px rgba(var(--cp-rgb), 0.14);
}

.course-page.mkt .course-split .syllabus-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  border-radius: 50%;
  background: rgba(var(--cp-rgb), 0.13);
  color: var(--cp-highlight);
  font-size: 0.72rem;
  font-weight: 800;
}

.course-page.mkt .course-split > div:last-child .syllabus-list li::before {
  content: "★";
  background: rgba(249, 93, 93, 0.14);
  color: var(--cp-btn);
}

.course-page.mkt .faq.course-section,
.course-page.mkt .faq {
  background: var(--cp-soft2);
}

.course-page.mkt .faq-icon {
  background: rgba(var(--cp-rgb), 0.13);
  color: var(--cp-highlight);
}

.course-page.mkt .faq-question:hover {
  color: var(--cp-highlight);
}

@media (max-width: 768px) {
  .course-page.mkt .container > .syllabus-list {
    grid-template-columns: 1fr;
  }
}
