/* ═══════════════════════════════════════════════════════
   DR. CHIDIMMA LMS — STYLESHEET
   ═══════════════════════════════════════════════════════ */

:root {
  --lms-navy:   #1E2761;
  --lms-gold:   #C9A96E;
  --lms-cream:  #F8F6F0;
  --lms-white:  #FFFFFF;
  --lms-grey:   #555E6C;
  --lms-green:  #0B6B4E;
  --lms-red:    #DC3545;
}

/* ── COURSE LISTING ──────────────────────────────────── */
.dc-courses-hero {
  background: var(--lms-navy);
  padding: 80px 0 60px;
  text-align: center;
}
.dc-courses-hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(36px, 5vw, 60px);
  color: var(--lms-white);
  margin-bottom: 16px;
}
.dc-courses-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto;
}

.dc-courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #EEE9DE;
  margin: 60px 0;
}

.dc-course-card {
  background: var(--lms-white);
  padding: 48px 40px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.dc-course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(30,39,97,0.15);
  z-index: 2;
}
.dc-course-card.featured {
  background: var(--lms-navy);
  padding-top: 64px;
}
.dc-course-badge {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: var(--lms-gold);
  text-align: center;
  padding: 10px;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--lms-navy);
  font-weight: 700;
}
.dc-course-num {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--lms-gold);
  margin-bottom: 16px;
  display: block;
}
.dc-course-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--lms-navy);
}
.dc-course-card.featured .dc-course-title { color: var(--lms-white); }
.dc-course-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--lms-grey);
  margin-bottom: 24px;
  flex: 1;
}
.dc-course-card.featured .dc-course-desc { color: rgba(255,255,255,0.6); }

.dc-course-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.dc-course-meta-item {
  font-size: 12px;
  color: var(--lms-grey);
  display: flex;
  align-items: center;
  gap: 4px;
}
.dc-course-card.featured .dc-course-meta-item { color: rgba(255,255,255,0.45); }

.dc-course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid #EEE9DE;
  margin-top: auto;
}
.dc-course-card.featured .dc-course-footer { border-color: rgba(255,255,255,0.12); }
.dc-course-price {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--lms-gold);
}
.dc-course-price small { font-size: 14px; font-weight: 400; color: var(--lms-grey); }

/* ── BUTTONS ─────────────────────────────────────────── */
.dc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: 'DM Sans', sans-serif;
}
.dc-btn-gold { background: var(--lms-gold); color: var(--lms-navy); }
.dc-btn-gold:hover { background: #DEC48F; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,169,110,0.3); color: var(--lms-navy); }
.dc-btn-navy { background: var(--lms-navy); color: var(--lms-white); }
.dc-btn-navy:hover { background: #2A3580; transform: translateY(-2px); color: var(--lms-white); }
.dc-btn-outline { background: transparent; color: var(--lms-navy); border: 1.5px solid var(--lms-navy); }
.dc-btn-outline:hover { background: var(--lms-navy); color: var(--lms-white); }

/* ── SINGLE COURSE PAGE ──────────────────────────────── */
.dc-course-hero {
  background: var(--lms-navy);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.dc-course-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--lms-gold), transparent);
}
.dc-course-hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}
.dc-course-hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(36px, 4vw, 56px);
  color: var(--lms-white);
  margin-bottom: 20px;
  line-height: 1.15;
}
.dc-course-hero-desc {
  color: rgba(255,255,255,0.65);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 32px;
}
.dc-course-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.dc-course-include-item {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dc-course-include-item::before { content: '✓'; color: var(--lms-gold); }

/* Checkout card */
.dc-checkout-card {
  background: var(--lms-white);
  padding: 40px;
  position: sticky;
  top: 90px;
}
.dc-checkout-price {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 56px;
  font-weight: 600;
  color: var(--lms-navy);
  line-height: 1;
  margin-bottom: 6px;
}
.dc-checkout-note {
  font-size: 13px;
  color: var(--lms-grey);
  margin-bottom: 24px;
}
.dc-checkout-btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 16px;
  padding: 16px;
  font-size: 14px;
}
.dc-checkout-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--lms-cream);
  padding-top: 20px;
  margin-top: 20px;
}
.dc-checkout-features li {
  font-size: 13px;
  color: var(--lms-grey);
  display: flex;
  gap: 10px;
}
.dc-checkout-features li::before { content: '✓'; color: var(--lms-green); }
.dc-guarantee {
  background: var(--lms-cream);
  padding: 14px;
  font-size: 12px;
  color: var(--lms-grey);
  margin-top: 16px;
  line-height: 1.6;
}
.dc-guarantee strong { color: var(--lms-navy); }

/* Curriculum */
.dc-curriculum-section { padding: 60px 0; background: var(--lms-cream); }
.dc-curriculum-section h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 36px;
  color: var(--lms-navy);
  margin-bottom: 32px;
}
.dc-curriculum-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #DDD;
}
.dc-curriculum-item {
  background: var(--lms-white);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: background 0.25s ease;
}
.dc-curriculum-item:hover { background: #FAFAFA; }
.dc-curriculum-num {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 11px;
  color: var(--lms-gold);
  flex-shrink: 0;
  width: 36px;
}
.dc-curriculum-title { font-size: 15px; color: var(--lms-navy); flex: 1; }
.dc-curriculum-duration { font-size: 12px; color: var(--lms-grey); flex-shrink: 0; }
.dc-curriculum-lock { font-size: 14px; color: var(--lms-grey); flex-shrink: 0; }
.dc-curriculum-free {
  font-size: 11px;
  background: var(--lms-gold);
  color: var(--lms-navy);
  padding: 3px 8px;
  font-weight: 600;
  flex-shrink: 0;
}

/* ── LESSON / VIDEO PAGE ─────────────────────────────── */
.dc-lesson-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
  min-height: calc(100vh - 72px);
}
.dc-lesson-main { }
.dc-video-container {
  background: #000;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.dc-video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.dc-lesson-content {
  padding: 40px;
  background: var(--lms-white);
}
.dc-lesson-content h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  color: var(--lms-navy);
  margin-bottom: 20px;
}
.dc-complete-btn {
  margin-top: 32px;
  padding: 14px 32px;
  background: var(--lms-green);
  color: var(--lms-white);
  border: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}
.dc-complete-btn:hover { background: #0a5940; }
.dc-complete-btn.completed { background: #888; cursor: default; }

/* Sidebar curriculum */
.dc-lesson-sidebar {
  background: var(--lms-navy);
  overflow-y: auto;
  height: calc(100vh - 72px);
  position: sticky;
  top: 72px;
}
.dc-sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dc-sidebar-course-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  color: var(--lms-white);
  margin-bottom: 8px;
}
.dc-sidebar-progress-bar {
  background: rgba(255,255,255,0.1);
  height: 4px;
  border-radius: 2px;
  margin-bottom: 6px;
}
.dc-sidebar-progress-fill {
  background: var(--lms-gold);
  height: 100%;
  border-radius: 2px;
  transition: width 0.5s ease;
}
.dc-sidebar-progress-text {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}
.dc-sidebar-lessons { list-style: none; }
.dc-sidebar-lesson {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.dc-sidebar-lesson a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  text-decoration: none;
  transition: background 0.25s ease;
}
.dc-sidebar-lesson a:hover { background: rgba(255,255,255,0.04); }
.dc-sidebar-lesson.active a { background: rgba(201,169,110,0.1); }
.dc-sidebar-lesson-num {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 10px;
  color: var(--lms-gold);
  flex-shrink: 0;
}
.dc-sidebar-lesson-title { font-size: 13px; color: rgba(255,255,255,0.7); flex: 1; line-height: 1.4; }
.dc-sidebar-lesson.active .dc-sidebar-lesson-title { color: var(--lms-white); }
.dc-sidebar-lesson-check { font-size: 14px; flex-shrink: 0; }
.dc-sidebar-lesson.completed .dc-sidebar-lesson-check::before { content: '✓'; color: var(--lms-gold); }
.dc-sidebar-lesson:not(.completed) .dc-sidebar-lesson-check::before { content: '○'; color: rgba(255,255,255,0.2); }

/* ── DASHBOARD ───────────────────────────────────────── */
.dc-dashboard { padding: 60px 0; }
.dc-dashboard-header {
  background: var(--lms-navy);
  padding: 60px 0 40px;
  margin-bottom: 48px;
}
.dc-dashboard-header h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 40px;
  color: var(--lms-white);
}
.dc-dashboard-header p { color: rgba(255,255,255,0.55); margin-top: 8px; }
.dc-enrolled-courses {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px,1fr));
  gap: 24px;
}
.dc-enrolled-card {
  background: var(--lms-white);
  border: 1px solid #EEE9DE;
  padding: 32px;
  transition: box-shadow 0.3s ease;
}
.dc-enrolled-card:hover { box-shadow: 0 8px 30px rgba(30,39,97,0.1); }
.dc-enrolled-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  color: var(--lms-navy);
  margin-bottom: 12px;
}
.dc-progress-bar {
  background: var(--lms-cream);
  border-radius: 4px;
  height: 8px;
  margin: 12px 0 6px;
  overflow: hidden;
}
.dc-progress-fill {
  background: var(--lms-gold);
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}
.dc-progress-text { font-size: 12px; color: var(--lms-grey); margin-bottom: 20px; }
.dc-no-courses {
  text-align: center;
  padding: 80px 20px;
  color: var(--lms-grey);
}
.dc-no-courses h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 28px; color: var(--lms-navy); margin-bottom: 12px; }

/* ── CERTIFICATE ─────────────────────────────────────── */
.dc-certificate-page { padding: 60px 0; background: var(--lms-cream); min-height: 80vh; }
.dc-certificate {
  max-width: 800px;
  margin: 0 auto;
  background: var(--lms-white);
  padding: 80px;
  text-align: center;
  border: 3px solid var(--lms-gold);
  position: relative;
}
.dc-certificate::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201,169,110,0.3);
  pointer-events: none;
}
.dc-certificate-logo {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--lms-gold);
  margin-bottom: 32px;
}
.dc-certificate h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 48px;
  color: var(--lms-navy);
  margin-bottom: 8px;
}
.dc-certificate-sub { font-size: 16px; color: var(--lms-grey); margin-bottom: 32px; }
.dc-certificate-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 40px;
  font-style: italic;
  color: var(--lms-navy);
  border-bottom: 2px solid var(--lms-gold);
  display: inline-block;
  padding-bottom: 8px;
  margin: 16px 0 32px;
}
.dc-certificate-course {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  color: var(--lms-navy);
  margin-bottom: 32px;
}
.dc-certificate-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #EEE9DE;
}
.dc-certificate-signature { text-align: left; }
.dc-certificate-signature .name { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 20px; font-style: italic; color: var(--lms-navy); }
.dc-certificate-signature .title { font-size: 12px; color: var(--lms-grey); letter-spacing: 0.05em; }
.dc-certificate-id { font-size: 11px; color: var(--lms-grey); text-align: right; }
.dc-print-btn { margin-top: 32px; }
@media print {
  .site-header, .site-footer, .dc-print-btn { display: none !important; }
  .dc-certificate { border: 3px solid #C9A96E !important; }
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .dc-course-hero-grid { grid-template-columns: 1fr; }
  .dc-checkout-card { position: static; }
  .dc-lesson-layout { grid-template-columns: 1fr; }
  .dc-lesson-sidebar { height: auto; position: static; }
  .dc-courses-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .dc-courses-grid { grid-template-columns: 1fr; }
  .dc-certificate { padding: 40px 24px; }
  .dc-certificate h1 { font-size: 32px; }
  .dc-certificate-footer { flex-direction: column; gap: 24px; }
}
