* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f7f9fc;
  color: #333;
}

header {
  background: #0a74da;
  color: white;
  padding: 20px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover, nav a.active {
  color: #ffeb3b;
}

.hero {
  text-align: center;
  padding: 100px 10%;
  background: linear-gradient(rgba(10,116,218,0.8), rgba(10,116,218,0.8)),
  url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  color: white;
}

.hero h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  background: #ffeb3b;
  color: #0a74da;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: white;
}

.courses {
  padding: 80px 10%;
  text-align: center;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.course {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.page-content {
  padding: 80px 10%;
  max-width: 900px;
  margin: auto;
}

.page-content h2 {
  color: #0a74da;
  margin-bottom: 20px;
}

.page-content ul {
  margin-top: 15px;
  margin-left: 20px;
  line-height: 1.8;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
}

.contact-form button {
  background: #0a74da;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.contact-form button:hover {
  background: #084ea0;
}

footer {
  background: #0a74da;
  color: white;
  text-align: center;
  padding: 25px 10%;
  margin-top: 50px;
  font-size: 0.9em;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
  }
  nav a {
    margin: 10px;
  }
  .hero h2 {
    font-size: 2em;
  }
}
