/* Why Choose Us enhancements (kept separate to avoid touching style.css) */

.why-choose-section {
  /* keep base styling from style.css */
  position: relative;
}

.why-subtitle {
  color: var(--text-secondary, #b0b8d1);
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 28px 0;
  max-width: 520px;
}

.why-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 768px) {
  .why-cards {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

.why-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(26, 31, 58, 0.65),
    rgba(36, 45, 72, 0.45)
  );
  border: 1px solid rgba(212, 175, 55, 0.12);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.08);
  transition: var(--transition-fast, all 0.2s ease-out);
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(
    circle at 20% 20%,
    rgba(212, 175, 55, 0.18),
    transparent 60%
  );
  pointer-events: none;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 20px 50px rgba(212, 175, 55, 0.18);
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.18),
    rgba(255, 215, 0, 0.08)
  );
  border: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--main-color, #d4af37);
  flex: 0 0 auto;
}

.why-icon svg {
  width: 22px;
  height: 22px;
}

.why-card-content h3 {
  font-size: 16px;
  color: var(--main-color, #d4af37);
  margin: 2px 0 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.why-card-content p {
  font-size: 13px;
  color: var(--text-secondary, #b0b8d1);
  line-height: 1.6;
}

.why-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(212, 175, 55, 0.2);
  min-height: 420px;
  display: flex;
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition, all 0.35s cubic-bezier(0.4, 0, 0.2, 1));
}

.why-image:hover img {
  transform: scale(1.05);
}

.why-stats {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  z-index: 2;
}

.why-stat {
  background: rgba(10, 14, 39, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 16px;
  padding: 10px 14px;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.12);
  min-width: 170px;
}

.why-stat-value {
  display: block;
  color: var(--main-color, #d4af37);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.5px;
}

.why-stat-label {
  display: block;
  color: var(--text-secondary, #b0b8d1);
  font-size: 12px;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Safer focus styles (only override when keyboard focus-visible) */
:focus-visible {
  outline: 3px solid rgba(255, 215, 0, 0.65);
  outline-offset: 3px;
}
