/* Modern Course Cards Stylesheet */
.course-section-bg {
  background-color: #f8fafc;
  padding: 60px 0;
}
.section-title h2 {
  font-weight: 700;
  color: #0f172a;
  font-size: 32px;
  margin-bottom: 8px;
}
.section-title p {
  color: #64748b;
  font-size: 16px;
  margin-bottom: 40px;
}

/* Modern Card Container */
.modern-course-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.modern-course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
  border-color: #cbd5e1;
}

/* Thumbnail & Badge Wrapper */
.card-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 200px;
  background-color: #f1f5f9;
}
.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.modern-course-card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

/* Badges for Delivery Modes */
.badge-course {
  position: absolute;
  top: 15px;
  left: 15px;
  color: #ffffff;
  font-weight: 600;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.badge-hybrid { background: #0284c7; }
.badge-offline { background: #dc2626; }

/* Body Content */
.card-body-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.course-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #1e293b;
  margin-bottom: 12px;
  min-height: 50px;
}
.course-title a {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s ease;
}
.course-title a:hover {
  color: #0284c7;
}

/* Meta Info Row */
.course-meta {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}
.course-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Highlights / Badges */
.course-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.feature-pill {
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

/* Footer & Action Buttons */
.card-action-footer {
  margin-top: auto;
  display: flex;
  gap: 10px;
}
.btn-outline-custom {
  flex: 1;
  border: 1px solid #0284c7;
  color: #0284c7;
  background: transparent;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 0;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-outline-custom:hover {
  background: #e0f2fe;
  color: #0369a1;
}
.btn-primary-custom {
  flex: 1;
  background: #0284c7;
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 0;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-primary-custom:hover {
  background: #0369a1;
  color: #ffffff;
}