.courses {
  font-family: Arial, sans-serif;
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.section-heading {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #333;
}

.section-subtitle {
  font-size: 1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Grid of courses */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.course-card {
  background: #f9f9ff;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.course-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #6A1B9A; /* purple accent */
}

.course-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .section-heading {
    font-size: 1.5rem;
  }
  .icon {
    font-size: 2rem;
  }
}
