/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #0b0f1a;
  color: #f5f5f5;
  line-height: 1.6;
}

/* TOP BANNER IMAGE */
.top-banner {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 1rem 0;
  background: radial-gradient(circle at center, rgba(31,126,240,0.3), transparent 80%);
}

.top-banner img {
  max-width: 90%;
  height: auto;
  display: block;
  box-shadow: 0 0 30px rgba(31,126,240,0.5);
  border-radius: 12px;
}

/* HERO SECTION */
.hero {
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  background-color: #0b0f1a;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* SECTIONS */
section {
  padding: 4rem 1.5rem;
  text-align: center;
}

section h1, section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* ABOUT */
.about p {
  max-width: 700px;
  margin: 0 auto 1rem auto;
  font-size: 1.1rem;
}

/* COURSES */
.course-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.course-card {
  background-color: #1a2030;
  padding: 1.5rem;
  border-radius: 10px;
  transition: 0.3s;
}

.course-card:hover {
  background-color: #273048;
}

.course-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* BADGES */
.badge-display {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.badge-display img {
  width: 80px;
  opacity: 0.3;
  transition: 0.3s;
}

.badge-display img.active {
  opacity: 1;
}

/* FOOTER */
footer {
  background-color: #0b0f1a;
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid #273048;
  margin-top: 2rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .course-card img {
    height: 150px;
  }

  .badge-display img {
    width: 60px;
  }

  section {
    padding: 3rem 1rem;
  }

  .top-banner img {
    max-width: 95%;
    box-shadow: 0 0 20px rgba(31,126,240,0.4);
  }
}


