/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jul 09 2025 | 03:27:02 */
.why-choose-section {
  position: relative;
  background-image: url('https://erasol.vn/wp-content/uploads/2025/07/Blue-professional-real-estate-business-card-1.png');
  background-size: cover;
  background-position: center;
  padding: 30px 20px 40px;
  font-family: sans-serif;
  overflow: hidden;
}

.why-choose-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.why-choose-content {
  position: relative;
  max-width: 1200px;
  margin: auto;
  z-index: 2;
  color: #f5f5f5;
}

.why-choose-heading {
  text-align: center;
  margin-bottom: 24px;
}

.why-choose-heading h2 {
  font-size: 26px;
  font-weight: 700;
  color: #ce0e2d !important; /* màu đỏ mới + ép chặt */
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.why-choose-heading h3 {
  font-size: 22px;
  line-height: 1.4;
  color: #ffffff !important;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.why-choose-heading p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.5;
  color: #eeeeee;
}

.why-choose-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

.why-box {
  flex: 1 1 48%;
  min-width: 260px;
  background-color: rgba(255, 255, 255, 0.22);
  padding: 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
  box-shadow: 0 0 0 transparent;
  cursor: default;
}

.why-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  background-color: rgba(255, 255, 255, 0.30);
}

.why-box h4 {
  color: #ce0e2d !important; /* màu đỏ mới + ép chặt */
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 18px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.why-box p {
  color: #ffffff;
  font-size: 17px;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .why-choose-heading h2 {
    font-size: 22px !important;
  }

  .why-choose-heading h3 {
    font-size: 18px !important;
  }

  .why-choose-wrapper {
    gap: 18px;
  }

  .why-box {
    flex: 1 1 100%;
  }

  .why-box p {
    font-size: 16px;
  }
}

/* Scroll effect */
.scroll-fade {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.scroll-fade.scroll-visible {
  opacity: 1;
  transform: translateY(0);
}
