/* WHY CHOOSE US - dedicated styling to avoid interfering with other modules */

.why-choose {
  padding: 70px 0;
  background: #fff;
}

.why-choose .section-title {
  text-align: center;
  margin-bottom: 22px;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  align-items: stretch;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.why-card {
  position: relative;
  padding: 22px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  text-align: center;
  overflow: hidden;
}

.why-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    135deg,
    rgba(0, 108, 142, 0.25),
    rgba(214, 190, 99, 0.22)
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
  border-color: rgba(214, 190, 99, 0.45);
}

.why-card:hover::before {
  opacity: 1;
}

.why-card > * {
  position: relative;
  z-index: 1;
}

.why-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(214, 190, 99, 0.12);
  border: 1px solid rgba(214, 190, 99, 0.28);
  color: var(--navy);
  transition: transform 0.35s ease;
}

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

.why-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.why-card p {
  color: var(--text-light);
  font-size: 14px;
  margin: 0;
}

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

@media (max-width: 768px) {
  .why-cards {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}
