/* ============================================================
   UTKARSH PATH — Courses Page Stylesheet
   ============================================================ */

.nav-active { color: var(--text) !important; font-weight: 600 !important; }

/* ── COURSES HERO ── */
.courses-hero {
  background: linear-gradient(160deg, #0F2545 0%, #1A3A6B 55%, #0F2545 100%);
  padding: 72px 60px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.courses-hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,101,10,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.courses-hero-arc {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 64px;
  background: var(--cream);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.courses-hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }

.courses-hero-title {
  font-family: 'Fraunces', serif;
  font-size: 52px; font-weight: 600;
  color: #fff; letter-spacing: -2px; line-height: 1.15;
  margin-bottom: 16px;
  animation: fadeSlideUp 0.4s 0.1s ease both;
}
.courses-hero-title em { font-style: italic; color: #FF9A56; }

.courses-hero-sub {
  font-size: 16px; color: rgba(255,255,255,0.6);
  line-height: 1.7; max-width: 520px; margin: 0 auto;
  animation: fadeSlideUp 0.4s 0.2s ease both;
}

/* ── COURSES SECTION ── */
.courses-section {
  background: var(--cream);
  padding: 48px 60px 64px;
}

.courses-meta-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.courses-count { font-size: 13.5px; color: var(--text-muted); }

/* ── COURSES GRID ── */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── COURSE CARD ── */
.course-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
  animation: cardFadeIn 0.4s ease both;
}
@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.course-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }

.course-card--featured {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgba(232,101,10,0.15);
}

.course-featured-badge {
  position: absolute; top: 14px; right: 14px; z-index: 10;
  background: #fff; color: var(--orange);
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 100px;
  letter-spacing: 0.04em;
}

.course-card-top {
  height: 130px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px 20px 24px;
  position: relative;
}
.course-emoji { font-size: 48px; }
.course-level-tag {
  font-size: 11px; font-weight: 700;
  background: rgba(255,255,255,0.2);
  color: #fff; border-radius: 100px;
  padding: 4px 12px; letter-spacing: 0.05em;
  align-self: flex-start;
}

.course-card-body { padding: 20px 20px 24px; }

.course-cat-tag {
  display: inline-block;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px;
  margin-bottom: 10px;
}
.cat-career    { background: #EFF6FF; color: #1D4ED8; }
.cat-exam      { background: #F0FDF4; color: #16A34A; }
.cat-success   { background: #FFF7ED; color: #C2410C; }
.cat-motivation { background: #FDF4FF; color: #7E22CE; }

.course-title {
  font-family: 'Fraunces', serif;
  font-size: 17px; font-weight: 600;
  color: var(--navy); line-height: 1.35;
  margin-bottom: 10px; letter-spacing: -0.3px;
}
.course-desc {
  font-size: 13px; color: var(--text-muted); line-height: 1.65;
  margin-bottom: 16px;
}
.course-points {
  list-style: none; display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 20px;
}
.course-points li {
  font-size: 12.5px; color: var(--text-muted);
  display: flex; align-items: flex-start; gap: 6px;
}

.course-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; border-top: 1px solid var(--border); padding-top: 16px;
}
.course-price { display: flex; align-items: baseline; gap: 8px; }
.price-amount {
  font-size: 20px; font-weight: 700;
  color: var(--navy);
}
.price-original {
  font-size: 13px; color: var(--text-muted);
  text-decoration: line-through;
}
.price-free {
  font-size: 20px; font-weight: 700;
  color: #16A34A;
}
.price-tag {
  font-size: 11px; color: #16A34A;
  background: #F0FDF4; padding: 2px 8px; border-radius: 100px;
}
.course-enroll-btn {
  background: var(--orange); color: #fff; border: none;
  padding: 10px 20px; border-radius: 8px;
  font-size: 13.5px; font-weight: 600; font-family: 'DM Sans', sans-serif;
  cursor: pointer; transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.course-enroll-btn:hover { background: var(--orange-dark); transform: translateY(-1px); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .courses-hero { padding: 56px 24px 88px; }
  .courses-hero-title { font-size: 36px; }
  .courses-section { padding: 36px 24px 48px; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 560px) {
  .courses-grid { grid-template-columns: 1fr; }
}