/* ================= HERO SECTION ================= */
.hero-section {
  position: relative;
}

/* ================= IMAGE ================= */
.hero-image-wrapper {
  position: relative;
}

.hero-bg {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* ================= OVERLAY ================= */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(13,71,161,0.7), rgba(25,118,210,0.4));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 60px;
}

.hero-overlay h2 {
  font-size: 34px;
  font-weight: 600;
}

.hero-overlay p {
  margin-top: 10px;
}

/* ================= CARDS ================= */
.hero-cards {
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
}

/* Card (Clickable) */
.hero-card {
  display: block;
  text-decoration: none;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  color: #333;
}

/* Icon */
.hero-card i {
  font-size: 24px;
  color: #1976d2;
  margin-bottom: 10px;
  transition: 0.3s;
}

/* Number */
.hero-card h5 {
  font-size: 20px;
  font-weight: 600;
  color: #0d47a1;
  margin-bottom: 5px;
}

/* Text */
.hero-card p {
  font-size: 14px;
  margin: 0;
}

/* Hover Effects */
.hero-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  background: linear-gradient(to right, #e3f2fd, #ffffff);
  text-decoration: none;
}

/* Icon Animation */
.hero-card:hover i {
  transform: rotate(10deg) scale(1.2);
  color: #0d47a1;
}

/* Glow Effect */
.hero-card::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(25,118,210,0.15), transparent 70%);
  opacity: 0;
  transition: 0.5s;
}

.hero-card:hover::before {
  opacity: 1;
  top: 0;
  left: 0;
}

/* ================= ANIMATION ================= */
.animate-card {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {

  .hero-bg {
    height: 300px;
  }

  .hero-overlay {
    padding: 20px;
  }

  .hero-overlay h2 {
    font-size: 22px;
  }

  .hero-cards {
    position: relative;
    bottom: 0;
    margin-top: 20px;
  }
}