/* === General Styles === */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f4f4;
  color: #333;
}

.container {
  max-width: 800px;
  margin: auto;
  background: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* === Header and Footer === */
header, footer {
  background-color: #2c3e50;
  color: white;
  padding: 15px 20px;
  text-align: center;
}

header nav a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
}

footer a {
  color: #bce5ff;
  margin: 0 10px;
  text-decoration: none;
  font-weight: normal;
}

header nav a:hover {
  text-decoration: underline;
}

footer small {
  color: #ccc;
}

/* === Typography === */
h1, h2, h3 {
  color: #2c3e50;
  margin-top: 15px;
}

p {
  line-height: 1.6;
}

/* === Course Image === */
.course-image {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 20px;
}

/* === Join Button === */
.btn-join {
  display: inline-block;
  background-color: #e74c3c;
  color: white;
  padding: 12px 24px;
  margin-top: 20px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
  transition: background-color 0.3s;
}

.btn-join:hover {
  background-color: #c0392b;
}
section.intro {
      padding: 30px;
      background: white;
      text-align: center;
    }
    section.courses {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      padding: 20px;
      background: #fafafa;
    }
    .course {
      background: white;
      border: 1px solid #ddd;
      border-radius: 10px;
      padding: 20px;
      margin: 10px;
      width: 300px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .course:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        border-color: #ccc;
        }
    .course h3 {
      color: #333;
    }
    .course button {
      background: #0073e6;
      color: white;
      border: none;
      padding: 10px 15px;
      border-radius: 5px;
      cursor: pointer;
    }