/* ===============================
  COURSES SWIPER
================================ */

.courses-swiper-wrap {
  padding: 20px 8px;
}

.courses-swiper .swiper-slide {
  display: flex;
  justify-content: center;
}

/* Card */
.course-card {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,0.05);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}

.course-card:hover {
  transform: translateY(-6px);
}

/* Top gradient area */
.course-hero {
  height: 350px!important;
  background: linear-gradient(135deg, #e0d9ff, #ffe1e1);
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Body */
.course-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.course-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.course-excerpt {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

/* Meta */
.course-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #64748b;
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Footer */
.course-footer {
  padding: 14px 18px;
  border-top: 1px solid rgba(15,23,42,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-price {
  font-size: 20px;
  font-weight: 800;
  color: #1d4ed8;
}

.course-btn {
  padding: 8px 16px;
  border-radius: 10px;
  background: #eef2ff;
  color: #1d4ed8;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background .25s ease;
}

.course-btn:hover {
  background: #e0e7ff;
}

/* Swiper arrows */
.courses-swiper .swiper-button-next,
.courses-swiper .swiper-button-prev {
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  color: #0f172a;

  &:after {
    font-size: 18px;
    font-weight: 700;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .course-card {
    width: 90%;
  }
}
