/* ==========================================================================
   JEET COMPUTER EDUCATION - COURSE DETAIL PAGE STYLES
   Aesthetics: Modern, Premium, Clean, High-Converting & Responsive
   Author: Antigravity AI
   ========================================================================== */

/* Variables / Scoped Tokens */
:root {
  --cd-primary: #2563eb;
  --cd-primary-hover: #1d4ed8;
  --cd-primary-light: #eff6ff;
  --cd-primary-border: #bfdbfe;
  --cd-dark: #0f172a;
  --cd-dark-surface: #1e293b;
  --cd-text-main: #1e293b;
  --cd-text-muted: #64748b;
  --cd-text-light: #94a3b8;
  --cd-border: #e2e8f0;
  --cd-bg-card: #ffffff;
  --cd-bg-page: #f8fafc;
  --cd-success: #10b981;
  --cd-success-light: #ecfdf5;
  --cd-warning: #f59e0b;
  --cd-warning-light: #fffbeb;
  --cd-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --cd-shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --cd-shadow-lg: 0 20px 35px -8px rgba(15, 23, 42, 0.12), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --cd-radius-lg: 18px;
  --cd-radius-md: 12px;
  --cd-radius-sm: 8px;
}

/* Page Container */
.cd-page-wrapper {
  background-color: var(--cd-bg-page);
  color: var(--cd-text-main);
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.cd-hero {
  background: linear-gradient(135deg, #090e1a 0%, #111827 40%, #1e1b4b 75%, #1e3a8a 100%);
  color: #ffffff;
  padding: 145px 0 65px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cd-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, rgba(59, 130, 246, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cd-hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, rgba(147, 51, 234, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cd-hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Breadcrumbs */
.cd-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 24px;
}

.cd-breadcrumbs a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.cd-breadcrumbs a:hover {
  color: #60a5fa;
}

.cd-breadcrumbs-sep {
  color: #64748b;
  font-size: 0.75rem;
}

.cd-breadcrumbs-current {
  color: #ffffff;
  font-weight: 600;
  max-width: 400px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hero Badge & Headings */
.cd-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.1);
}

.cd-badge-category {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.4);
}

.cd-hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cd-hero-desc {
  font-size: 1.12rem;
  line-height: 1.65;
  color: #cbd5e1;
  max-width: 820px;
  margin-bottom: 30px;
}

/* Hero Quick Stats Strip */
.cd-hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cd-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cd-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #60a5fa;
  flex-shrink: 0;
}

.cd-stat-icon.gold { color: #fbbf24; }
.cd-stat-icon.green { color: #34d399; }
.cd-stat-icon.cyan { color: #38bdf8; }

.cd-stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}

.cd-stat-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================================================
   2. MAIN CONTENT GRID & SIDEBAR
   ========================================================================== */
.cd-main-body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.cd-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 36px;
  align-items: start;
}

/* Main Column & Cards */
.cd-main-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cd-card {
  background: var(--cd-bg-card);
  border: 1px solid var(--cd-border);
  border-radius: var(--cd-radius-lg);
  padding: 32px;
  box-shadow: var(--cd-shadow-sm);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.cd-card:hover {
  box-shadow: var(--cd-shadow-md);
  border-color: #cbd5e1;
}

.cd-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid #f1f5f9;
}

.cd-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--cd-dark);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.cd-card-title i {
  color: var(--cd-primary);
  font-size: 1.25rem;
}

/* Course Overview Text */
.cd-overview-text {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #334155;
}

.cd-overview-text p {
  margin-bottom: 16px;
}

.cd-overview-text p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   3. KEY HIGHLIGHTS GRID
   ========================================================================== */
.cd-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.cd-highlight-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 16px 18px;
  border-radius: var(--cd-radius-md);
  transition: all 0.2s ease;
}

.cd-highlight-item:hover {
  background: #ffffff;
  border-color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -4px rgba(37, 99, 235, 0.1);
}

.cd-highlight-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  border: 1px solid #a7f3d0;
}

.cd-highlight-text {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.96rem;
  line-height: 1.4;
}

/* ==========================================================================
   4. SYLLABUS ACCORDION
   ========================================================================== */
.cd-syllabus-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cd-toggle-all-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--cd-radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cd-toggle-all-btn:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.cd-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cd-accordion-item {
  border: 1.5px solid #e2e8f0;
  border-radius: var(--cd-radius-md);
  overflow: hidden;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cd-accordion-item.active {
  border-color: #93c5fd;
  box-shadow: 0 6px 20px -4px rgba(37, 99, 235, 0.08);
}

.cd-accordion-trigger {
  width: 100%;
  padding: 18px 20px;
  background: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background 0.2s ease;
}

.cd-accordion-trigger:hover {
  background: #f8fafc;
}

.cd-accordion-item.active .cd-accordion-trigger {
  background: #f0f7ff;
}

.cd-trigger-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.cd-module-num {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--cd-primary);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cd-trigger-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
  line-height: 1.4;
  margin: 0;
}

.cd-accordion-chevron {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: #64748b;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.cd-accordion-item.active .cd-accordion-chevron {
  transform: rotate(180deg);
  background: var(--cd-primary);
  color: #ffffff;
}

.cd-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
}

.cd-accordion-content {
  padding: 16px 20px 22px;
  border-top: 1px dashed #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #475569;
}

.cd-topics-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.cd-topic-tag {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.88rem;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cd-topic-tag i {
  color: var(--cd-primary);
  font-size: 0.72rem;
}

/* ==========================================================================
   5. CAREER & CERTIFICATION BANNER
   ========================================================================== */
.cd-cert-box {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1.5px solid #bfdbfe;
  border-radius: var(--cd-radius-lg);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.cd-cert-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--cd-primary);
  box-shadow: 0 8px 18px -4px rgba(37, 99, 235, 0.2);
  flex-shrink: 0;
}

.cd-cert-info h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #1e3a8a;
  margin: 0 0 6px 0;
}

.cd-cert-info p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: #334155;
}

/* ==========================================================================
   6. FREQUENTLY ASKED QUESTIONS
   ========================================================================== */
.cd-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: var(--cd-radius-md);
  overflow: hidden;
  margin-bottom: 12px;
}

.cd-faq-trigger {
  width: 100%;
  padding: 18px 20px;
  background: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.02rem;
  color: #1e293b;
  transition: background 0.2s ease, color 0.2s ease;
}

.cd-faq-trigger:hover {
  background: #f8fafc;
  color: var(--cd-primary);
}

.cd-faq-item.active .cd-faq-trigger {
  color: var(--cd-primary);
  background: #f0f7ff;
}

.cd-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
}

.cd-faq-content {
  padding: 16px 20px 20px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #475569;
}

/* ==========================================================================
   7. STICKY ENROLLMENT CARD (SIDEBAR)
   ========================================================================== */
.cd-sidebar-col {
  position: sticky;
  top: 95px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cd-enroll-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--cd-radius-lg);
  overflow: hidden;
  box-shadow: var(--cd-shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cd-enroll-media {
  position: relative;
  height: 210px;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  overflow: hidden;
}

.cd-enroll-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cd-enroll-card:hover .cd-enroll-media img {
  transform: scale(1.04);
}

.cd-media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 20px;
  z-index: 2;
}

.cd-media-placeholder i {
  font-size: 3rem;
  color: #93c5fd;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
}

.cd-media-placeholder span {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}

.cd-enroll-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #fbbf24;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(251, 191, 36, 0.4);
  letter-spacing: 0.5px;
  z-index: 3;
}

/* Card Body & Pricing */
.cd-enroll-body {
  padding: 26px;
}

.cd-pricing-box {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f1f5f9;
}

.cd-pricing-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.cd-pricing-main {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.cd-price-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 2.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.cd-price-tag {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.cd-pricing-note {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cd-pricing-note i {
  color: #10b981;
}

/* Action Buttons */
.cd-actions-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0 24px;
}

.cd-btn-primary,
.cd-btn-apply {
  position: relative;
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
  color: #ffffff !important;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 24px -4px rgba(37, 99, 235, 0.48), 0 4px 8px -2px rgba(37, 99, 235, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  outline: none;
  overflow: hidden;
  box-sizing: border-box;
}

.cd-btn-apply::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transition: left 0.6s ease;
}

.cd-btn-apply:hover::before {
  left: 100%;
}

.cd-btn-primary:hover,
.cd-btn-apply:hover {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(37, 99, 235, 0.65);
  color: #ffffff !important;
}

.cd-btn-primary:active,
.cd-btn-apply:active {
  transform: translateY(0);
}

.cd-btn-lead {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cd-btn-icon-box {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #ffffff;
  flex-shrink: 0;
}

.cd-btn-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.cd-btn-enquiry {
  position: relative;
  width: 100%;
  padding: 13px 18px;
  border-radius: 12px;
  background: #ffffff;
  color: #1d4ed8 !important;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  border: 2px solid #2563eb;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  outline: none;
  box-sizing: border-box;
}

.cd-btn-enquiry .cd-btn-icon-box {
  width: 30px;
  height: 30px;
  background: #eff6ff;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  color: #2563eb;
  flex-shrink: 0;
}

.cd-btn-enquiry .cd-btn-badge {
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #bfdbfe;
  flex-shrink: 0;
}

.cd-btn-enquiry:hover {
  background: #eff6ff;
  border-color: #1d4ed8;
  color: #1e3a8a !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.16);
}

.cd-btn-enquiry:active {
  transform: translateY(0);
}

.cd-btn-whatsapp {
  width: 100%;
  padding: 13px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 18px -3px rgba(37, 211, 102, 0.42);
  transition: all 0.25s ease;
  text-decoration: none !important;
  box-sizing: border-box;
}

.cd-btn-whatsapp:hover {
  background: linear-gradient(135deg, #1ebc59 0%, #0d6e63 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -3px rgba(37, 211, 102, 0.58);
}

.cd-btn-call {
  width: 100%;
  padding: 11px 16px;
  border-radius: 12px;
  background: #f8fafc;
  color: #334155 !important;
  font-family: inherit;
  font-size: 0.90rem;
  font-weight: 600;
  border: 1.5px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none !important;
  box-sizing: border-box;
}

.cd-btn-call:hover {
  background: #0f172a;
  color: #ffffff !important;
  border-color: #0f172a;
  transform: translateY(-1px);
}

/* Quick Spec Table in Sidebar */
.cd-spec-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}

.cd-spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

.cd-spec-key {
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cd-spec-key i {
  color: var(--cd-primary);
  width: 16px;
  text-align: center;
}

.cd-spec-val {
  font-weight: 700;
  color: #1e293b;
  text-align: right;
}

/* Sidebar Trust Card */
.cd-trust-card {
  background: #ffffff;
  border: 1px solid var(--cd-border);
  border-radius: var(--cd-radius-lg);
  padding: 24px;
  box-shadow: var(--cd-shadow-sm);
}

.cd-trust-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cd-dark);
  margin-bottom: 16px;
}

.cd-trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cd-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #334155;
}

.cd-trust-item i {
  color: var(--cd-primary);
  font-size: 1.05rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.cd-trust-item.green i { color: #10b981; }
.cd-trust-item.gold i { color: #f59e0b; }
.cd-trust-item.cyan i { color: #06b6d4; }

/* Related Courses Card */
.cd-related-card {
  background: #ffffff;
  border: 1px solid var(--cd-border);
  border-radius: var(--cd-radius-lg);
  padding: 24px;
  box-shadow: var(--cd-shadow-sm);
}

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

.cd-related-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--cd-radius-md);
  border: 1px solid #f1f5f9;
  text-decoration: none;
  transition: all 0.2s ease;
  background: #f8fafc;
}

.cd-related-item:hover {
  background: #ffffff;
  border-color: #93c5fd;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.cd-related-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eff6ff;
  color: var(--cd-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.cd-related-info h6 {
  margin: 0 0 2px 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
}

.cd-related-info small {
  color: #64748b;
  font-size: 0.8rem;
}

/* ==========================================================================
   8. INTERACTIVE LEAD MODAL
   ========================================================================== */
.cd-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cd-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.cd-modal-box {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cd-modal-overlay.active .cd-modal-box {
  transform: scale(1) translateY(0);
}

.cd-modal-header {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff;
  padding: 22px 26px;
  position: relative;
}

.cd-modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cd-modal-subtitle {
  font-size: 0.86rem;
  color: #bfdbfe;
  margin: 0;
}

.cd-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cd-modal-close:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.08);
}

.cd-modal-body {
  padding: 26px;
}

.cd-form-group {
  margin-bottom: 18px;
}

.cd-form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.cd-form-label span.req {
  color: #ef4444;
}

.cd-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.cd-input-icon {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  font-size: 0.95rem;
  pointer-events: none;
}

.cd-form-input,
.cd-form-textarea {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--cd-radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: #1e293b;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.cd-form-input:focus,
.cd-form-textarea:focus {
  outline: none;
  border-color: var(--cd-primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.cd-form-textarea {
  padding-left: 14px;
  resize: vertical;
  min-height: 75px;
}

.cd-alert {
  padding: 12px 16px;
  border-radius: var(--cd-radius-sm);
  font-size: 0.9rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cd-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.cd-alert-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* ==========================================================================
   9. 404 NOT FOUND STATE
   ========================================================================== */
.cd-not-found-card {
  max-width: 580px;
  margin: 70px auto;
  text-align: center;
  padding: 50px 30px;
  background: #ffffff;
  border: 1px solid var(--cd-border);
  border-radius: var(--cd-radius-lg);
  box-shadow: var(--cd-shadow-md);
}

.cd-not-found-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #fef3c7;
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 24px;
}

/* ==========================================================================
   10. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .cd-hero-title {
    font-size: 2.3rem;
  }
  .cd-layout-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
  }
}

@media (max-width: 991px) {
  .cd-hero {
    padding: clamp(125px, 16vw, 145px) 0 50px;
  }
  .cd-hero-title {
    font-size: 2.1rem;
  }
  .cd-layout-grid {
    grid-template-columns: 1fr;
  }
  .cd-sidebar-col {
    position: static;
    order: -1; /* Place enroll card high for mobile visibility */
  }
  .cd-trust-card,
  .cd-related-card {
    order: 2;
  }
}

@media (max-width: 640px) {
  .cd-hero-title {
    font-size: 1.75rem;
  }
  .cd-hero-desc {
    font-size: 1rem;
  }
  .cd-card {
    padding: 22px 18px;
  }
  .cd-hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .cd-cert-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .cd-highlights-grid {
    grid-template-columns: 1fr;
  }
  .cd-enroll-body {
    padding: 20px;
  }
}
