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

.why-us {
  position: relative;
  width: 100%;
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 120px 20px;

  overflow: hidden;
}

/* ================= BACKGROUND ================= */

.why-bg {
  position: absolute;
  inset: 0;

  background: url("/images/hero2.jpg") center/cover no-repeat;

  transform: scale(1.05);
  transition: transform 0.25s ease-out;

  z-index: 1;
}

/* Overlay Corporate */
.why-bg::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(rgba(13, 32, 59, 0.6), rgba(10, 25, 47, 0.85));
}

/* ================= CONTAINER ================= */

.why-container {
  position: relative;
  z-index: 2;

  max-width: 1200px;
  width: 100%;

  margin: auto;

  text-align: center;
  color: #ffffff;
}

/* ================= TITLE ================= */

.why-title h2 {
  font-size: 42px;
  font-weight: 700;

  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.why-title p {
  font-size: 18px;
  line-height: 1.7;

  opacity: 0.9;

  margin-bottom: 65px;
}

/* ================= CARDS ================= */

.why-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

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

.why-card {
  background: #ffffff;
  color: #1f2937;

  padding: 38px 28px;
  border-radius: 18px;

  text-align: left;

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}

/* ================= ICON ================= */

.why-icon {
  width: 52px;
  height: 52px;

  border-radius: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 20px;

  background: linear-gradient(135deg, #1e3a8a, #1d4ed8);

  color: #ffffff;
  font-size: 20px;

  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.3);

  transition: transform 0.3s ease;
}

.why-card:hover .why-icon {
  transform: scale(1.08);
}

/* ================= CARD TITLE ================= */

.why-card h3 {
  font-size: 19px;
  font-weight: 600;

  margin-bottom: 12px;

  color: #0f2341;
}

/* ================= CARD TEXT ================= */

.why-card p {
  font-size: 14.8px;
  line-height: 1.7;

  color: #374151;
}

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

/* Laptop kecil */
@media (max-width: 1200px) {
  .why-container {
    max-width: 1000px;
  }

  .why-cards {
    gap: 25px;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .why-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-title h2 {
    font-size: 36px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .why-us {
    padding: 90px 16px;
  }

  .why-title h2 {
    font-size: 28px;
  }

  .why-title p {
    font-size: 16px;
    margin-bottom: 45px;
  }

  .why-cards {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .why-card {
    padding: 28px 22px;
    text-align: center;
  }

  .why-icon {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Small mobile */
@media (max-width: 420px) {
  .why-title h2 {
    font-size: 24px;
  }

  .why-card h3 {
    font-size: 17px;
  }

  .why-card p {
    font-size: 14px;
  }
}
