.course-carousel-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}
.course-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 20px 0;
  -webkit-overflow-scrolling: touch;
}
.course-card {
  min-width: 350px;
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  scroll-snap-align: center;
  transition: transform 0.3s ease;
}
.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}
/* Gradient backgrounds */
.course-card:nth-child(1) { background: linear-gradient(135deg, #d4f4dd, #b8e6c1); }
.course-card:nth-child(2) { background: linear-gradient(135deg, #fff4d6, #ffeaa7); }
.course-card:nth-child(3) { background: linear-gradient(135deg, #e8d5ff, #d1a3ff); }
.course-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tag { padding: 6px 12px; border-radius: 20px; font-size: 12px; color: #fff; }
.tag.offline { background: #2d3436; }
.tag.online { background: #0984e3; }
.tag.duration { background: #6c5ce7; }
.tag.location { background: #fd79a8; }
.course-content h3 { font-size: 24px; color: #2d3436; margin-bottom: 15px; }
.course-content p { font-size: 14px; color: #636e72; margin-bottom: 20px; }
.course-price { font-size: 28px; color: #00b894; margin-bottom: 20px; }
.view-course-btn {
  background: #2d3436;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 25px;
  width: 100%;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.view-course-btn:hover { background: #636e72; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: #ddd; cursor: pointer; transition: all 0.3s;
}
.dot.active { background: #2d3436; transform: scale(1.2); }
/* Hide scrollbar */
.course-carousel::-webkit-scrollbar { display: none; }
.course-carousel { -ms-overflow-style: none; scrollbar-width: none; }
/* Responsive */
@media (max-width: 768px) {
  .course-card { min-width: 280px; padding: 20px; }
  .course-content h3 { font-size: 20px; }
  .course-price { font-size: 24px; }
}
