/* =========================
   COURSES PAGE
========================= */

.courses-page {
  padding: 80px 20px;
  background: #f8f8f8;
  text-align: center;
}

.courses-page h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.courses-page h2 span {
  color: #f4c430;
}

.course-subtitle {
  max-width: 700px;
  margin: 0 auto 50px;
  color: #555;
  font-size: 15px;
}

/* GRID */
.course-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* CARD */
.course-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  text-align: left;
}

.course-card:hover {
  transform: translateY(-6px);
}

/* IMAGE */
.course-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* CONTENT */
.course-content {
  padding: 20px;
}

.course-tag {
  font-size: 12px;
  color: #c91d28;
  font-weight: 600;
}

.course-content h3 {
  margin: 8px 0 15px;
  font-size: 18px;
}

.course-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.course-content ul li {
  font-size: 14px;
  margin-bottom: 8px;
  color: #444;
  padding-left: 18px;
  position: relative;
}

.course-content ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #f4c430;
}

/* FOOTER */
.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

.btn-details {
  background: #000;
  color: #f4c430;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-details:hover {
  background: #f4c430;
  color: #000;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .course-grid {
    grid-template-columns: 1fr;
  }
}
