/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #fff;
  overflow-x: hidden;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1600&q=80')
              center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 38, 97, 0.6); /* Deep blue overlay */
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #00d4ff;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #f0f0f0;
  margin-bottom: 25px;
}

.hero-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffd700;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    height: 80vh;
    padding: 0 15px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-content h3 {
    font-size: 1.1rem;
  }
}



/* ===== Courses Section ===== */
.courses-section {
  padding: 80px 20px;
  text-align: center;
  background: #fff;
}

.courses-section h2 {
  font-size: 2.5rem;
  color: #003366;
  font-weight: 700;
  margin-bottom: 15px;
}

.courses-section p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 50px;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== Cards ===== */
.card {
  display: block;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  text-decoration: none;
  color: #000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
  text-align: center;
}

.card-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #003366;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .courses-section h2 {
    font-size: 2rem;
  }

  .courses-section p {
    font-size: 1rem;
  }

  .card-content h3 {
    font-size: 1.1rem;
  }
}