body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #cee1f4;
  margin: 0;
  padding: 0;
}

.sub-header {
  height: 50vh;
  width: 100%;
  background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(./images/courses-banner.jpg);
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sub-header h1 {
  font-size: 48px;
  font-weight: bold;
  margin-top: 60px;
}

.courses-section {
  width: 80%;
  margin: auto;
  padding: 80px 0;
}

.courses-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.course-card {
  flex-basis: 30%;
  min-width: 280px;
  background: #fff;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  text-align: center;
  transition: 0.3s ease;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.course-card h2 {
  font-size: 22px;
  color: #333;
  margin-bottom: 15px;
}

.course-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

