/* ===== COURSES HERO ===== */
.courses-hero {
  min-height: 440px;
  background: url('images/ckc-banner.jpg') center/cover no-repeat;
  background-color: #1e1b4b;
  display: flex; align-items: center;
  position: relative;
}
.courses-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20,18,60,0.85) 0%, rgba(79,70,229,0.45) 50%, rgba(20,18,60,0.35) 100%);
}
.courses-hero-overlay {
  position: relative; z-index: 1;
  padding: 56px 80px;
  color: #fff;
  max-width: 780px; margin: 0 auto; text-align: center;
}
.courses-hero-overlay .hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  animation: slideDown 0.8s ease forwards;
}
.courses-hero-overlay h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800; margin-bottom: 16px;
  color: #fff; line-height: 1.2;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.courses-hero-overlay h1 span {
  color: #fff;
  border-bottom: 3px solid rgba(129,140,248,0.6);
  padding-bottom: 2px;
}
.courses-hero-desc {
  font-size: 0.97rem; opacity: 0.9; line-height: 1.75; text-align: center;
  animation: fadeInUp 0.8s ease 0.4s both;
}

/* ===== OUR COURSES ===== */
.cp-courses { padding: 100px 80px; background: #f5f7ff; }
.cp-courses h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 700; margin-bottom: 4px; }
.cp-subtitle {
  font-size: 0.95rem; color: #6b7280;
  margin-top: 6px; margin-bottom: 44px;
  max-width: 760px; line-height: 1.75; font-weight: 400;
  text-align: left;
}
.cp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cp-card {
  background: #fff; border-radius: 16px;
  padding: 0;
  display: flex; flex-direction: column;
  border: 1px solid #e0e4f5;
  box-shadow: 0 2px 10px rgba(79,70,229,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.cp-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(79,70,229,0.14); }

.cp-card-header {
  padding: 28px 24px 20px;
  position: relative;
  border-bottom: 2px solid #f0f4ff;
}
.cp-badge {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.8px; text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.cp-badge-mba { background: linear-gradient(135deg, #eef2ff, #e0e7ff); color: #4f46e5; }
.cp-badge-law { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; }
.cp-badge-ug  { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #065f46; }

.cp-card-header h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem; font-weight: 700; color: #1e1b4b;
  line-height: 1.4;
}
.cp-desc { padding: 0 24px; }
.cp-desc p { font-size: 0.88rem; color: #6b7280; line-height: 1.78; margin-bottom: 10px; }
.cp-desc p:first-child { margin-top: 18px; }
.cp-meta {
  list-style: none; margin-top: auto; padding: 18px 24px 24px;
  display: flex; flex-direction: column; gap: 8px;
  border-top: 1px solid #f0f4ff;
}
.cp-meta li {
  font-size: 0.85rem; color: #4f46e5; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.cp-meta li svg { flex-shrink: 0; }

/* ===== UPDATES ===== */
.updates { padding: 100px 80px; background: #fff; }
.updates h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 700; margin-bottom: 4px; }
.updates-body { display: flex; gap: 60px; margin-top: 44px; align-items: flex-start; }
.updates-image { flex: 0 0 320px; }
.updates-image img {
  width: 100%; height: 440px;
  border-radius: 20px;
  object-fit: cover; object-position: center;
  box-shadow: 0 12px 40px rgba(79,70,229,0.15);
  background: #d0d8e8;
  transition: transform 0.4s ease;
}
.updates-image img:hover { transform: translateY(-4px); }
.updates-list { flex: 1; display: flex; flex-direction: column; }
.update-item { padding: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.update-item h3 { font-size: 1.15rem; font-weight: 700; color: #4f46e5; }
.update-item p  { font-size: 0.92rem; color: #6b7280; line-height: 1.75; }
.update-divider { border: none; border-top: 1px solid #e5e7eb; }

/* ================================================================
   RESPONSIVE — TABLET
================================================================ */
@media (max-width: 1024px) {
  .courses-hero-overlay { padding: 40px; }
  .cp-courses, .updates { padding: 72px 40px; }
  .cp-grid { grid-template-columns: repeat(2, 1fr); }
  .updates-image { flex: 0 0 260px; }
}

/* ================================================================
   RESPONSIVE — MOBILE
================================================================ */
@media (max-width: 768px) {
  .courses-hero { min-height: 360px; }
  .courses-hero-overlay { padding: 40px 20px; }
  .courses-hero-overlay h1 { font-size: 1.5rem; }
  .courses-hero-desc { font-size: 0.9rem; }

  .cp-courses, .updates { padding: 60px 20px; }
  .cp-grid { grid-template-columns: 1fr; gap: 16px; }
  .cp-card-header { padding: 22px 20px 16px; }
  .cp-card-header h3 { font-size: 0.97rem; }
  .cp-desc { padding: 0 20px; }
  .cp-meta { padding: 16px 20px 20px; }
  .updates-body { flex-direction: column; gap: 28px; }
  .updates-image { flex: none; width: 100%; }
  .updates-image img { height: 260px; }
  .update-item h3 { font-size: 1.05rem; }
}

@media (max-width: 480px) {
  .courses-hero-overlay h1 { font-size: 1.3rem; }
  .cp-card-header h3 { font-size: 0.93rem; }
  .cp-meta li { font-size: 0.82rem; }
}
