.courses-section {
  background: linear-gradient(135deg, #ffffff, #eef2ff);
  
  position: relative;
}



/* Title */
.course-title {
  color: var(--text-black);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 15px;
}



/* Card */
.course-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 30px;
  border: 1px solid #e5e7eb;
}

/* Hover */
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* Image with overlay */
.course-img {
  position: relative;
}

.course-img img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

/* Overlay */
.course-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.6));
}

/* Content */
.course-content {
  background: var(--primary-blue); /* dark background */
  padding: 22px;
  color: #ffffff; 
}
.course-top{height:73px;}

/* Title */
.course-content h3 {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Duration */
.course-content p {
  margin-bottom: 12px;
  font-size: 15px;
  color: #e5e7eb;
}

/* Box (different style) */
.course-box {
  background: #ffffff;
  color: var(--text-black);
  padding: 15px;
  border-radius: 10px;
  margin-top: 12px;
  height:340px;
}

/* Box heading */
.course-box b {
  color: var(--primary-blue);
}

/* List */
.course-box li {
  color: var(--text-black);
}

/* Bullet icon */
.course-box li::before {
  color: var(--accent-red);
}

/* List */
.course-box ul {
  padding-left: 18px;
  margin-top: 8px;
}

.course-box li {
  margin-bottom: 6px;
  font-size: 14px;
  position: relative;
}

/* Custom icon bullet */
.course-box li::before {
  content: "✔";
  color: var(--accent-red);
  font-size: 12px;
  margin-right: 8px;
}

/* Remove default bullet */
.course-box li::marker {
  content: "";
}

/* Responsive */
@media (max-width: 768px) {
  .course-title {
    font-size: 26px;
  }

  .course-img img {
    height: 180px;
  }

  .course-content {
    padding: 18px;
  }
}