:root {
  --overlay-dark: rgba(3, 24, 48, 0.75);
  --accent: #34c8ff;
  --text-main: #ffffff;
  --text-sub: #9fe6ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

/* ================= HERO SECTION ================= */

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 90px; /* space for navbar */
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero img.bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Overlay layer */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--overlay-dark), var(--overlay-dark));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 8%;
  max-width: 650px;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--text-main);
  margin-bottom: 12px;
}

.hero-content h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--text-sub);
  margin-bottom: 20px;
  font-weight: 400;
}

.hero-content p {
  font-size: 1.05rem;
  color: #d7f4ff;
  line-height: 1.7;
  max-width: 520px;
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .hero {
    padding-top: 60px;
    justify-content: center;
    text-align: center;
  }

  .hero-content {
    padding: 0 6%;
  }
}

/* ================= SERVICE CARD ================= */

.service-card {
  border: none;
  border-radius: 15px;
  padding: 40px 25px;
  height: 100%;
  background: #ffffff;
  text-align: center;
  transition: all 0.3s ease;

  /* Improved visible shadow */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8f0ff;
  border-radius: 50%;
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(13, 110, 253, 0.18);
}

.service-card img {
  height: 70px;
  margin-bottom: 20px;
}

.service-title {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 15px;
}

.service-card ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.service-card ul li {
  font-size: 14px;
  margin-bottom: 6px;
}

/* ================= WHY SECTION ================= */

.why-section {
  padding: 120px 8% 80px;
  background: #f4f6f9;
}

.container-why-us {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1300px;
  margin: auto;
}

.image-wrapper {
  flex: 1;
}

.image-wrapper img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.content-wrapper {
  flex: 1;
}

.content-wrapper h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #0c2340;
}

.content-wrapper h2 span {
  color: #f57c00;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

.feature .icon {
  font-size: 35px;
  color: #f57c00;
  margin-top: 5px;
}

.feature h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #0c2340;
}

.feature p {
  font-size: 15px;
  color: #5f6c7b;
  line-height: 1.6;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .container-why-us {   /* ✅ fixed class name */
    flex-direction: column;
    gap: 40px;
  }

  .content-wrapper h2 {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .why-section {
    padding: 100px 6% 60px;
  }

  .content-wrapper h2 {
    font-size: 24px;
  }

  .feature {
    gap: 12px;
  }

  .feature h4 {
    font-size: 16px;
  }

  .feature p {
    font-size: 14px;
  }
}
