/* Modern Course Card - Blue Header, Black Description, Beautiful Layout */

.courses-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2em;
  align-items: stretch;
  margin-top: 1.5em;
}

@media (max-width: 800px) {
  .courses-list {
    grid-template-columns: 1fr;
  }
}

.course-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border: 1.5px solid #eee;
  padding: 2em 1.5em 1.5em 1.5em;
  width: 100%;
  max-width: 700px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.course-card h3 {
  font-size: 1.35em;
  font-weight: bold;
  margin-bottom: 1em;
  color: #111 !important;
  letter-spacing: 0.5px;
}

.course-card .card-details {
  .course-card {
    background: linear-gradient(120deg, #f8fafc 60%, #e3eafc 100%);
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(30,136,229,0.10);
    border: 1.5px solid #e3eafc;
    padding: 2.5em 2em 2.2em 2em;
    width: 100%;
    max-width: 700px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s, border-color 0.2s;
  }
  white-space: pre-wrap;
  font-family: 'Segoe UI', 'Montserrat', 'Arial', sans-serif;
  background: none;
  border: none;
  box-shadow: none;
  padding: 1em 1.2em 1em 1.2em;
  margin: 0 0 1em 0;
  color: #222 !important;
  font-size: 1.13em;
  line-height: 1.85;
  letter-spacing: 0.1px;
}

.course-card img {
  height: 120px;
  border-radius: 16px;
  margin-bottom: 1.2em;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 2px 16px rgba(30,136,229,0.13);
}

  .course-card .card-details {
    white-space: pre-wrap;
    font-family: 'Segoe UI', 'Montserrat', 'Arial', sans-serif;
    background: none;
    border: none;
    box-shadow: none;
    padding: 1em 1.2em 1em 1.2em;
    margin: 0 0 1em 0;
    color: #222 !important;
    font-size: 1.13em;
    line-height: 1.85;
    letter-spacing: 0.1px;
    text-align: center;
.course-card .price {
  font-weight: bold;
  color: #e65100;
  font-size: 1.1em;
  margin-bottom: 1em;
}

.course-card button {
  background: #1976d2;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.7em 1.5em;
  font-size: 1em;
  font-weight: 600;
  margin-bottom: 0.7em;
  cursor: pointer;
  transition: background 0.2s;
}

.course-card button:hover {
  background: #1565c0;
}
