/* ==============================
    Why Choose Us Section
=================================*/

.why-choose-us .section-header {
  max-width: 750px;
  margin: 0 auto;
}

.why-choose-card {
  display: flex;
  background: #f8fafc;
  border-radius: 10px;
  border: 0.2px solid #dedede;
  box-shadow: 0 10px 30px 0 rgb(0 0 0 / 8%);
  overflow: hidden;
  height: 100%;
  transition: all 0.3s ease;
}

.why-choose-card:hover {
  box-shadow: 0 15px 40px 0 rgb(0 0 0 / 15%);
  transform: translateY(-5px);
}

.why-choose-img {
  flex: 0 0 40%;
  overflow: hidden;
}

.why-choose-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.why-choose-card:hover .why-choose-img img {
  transform: scale(1.05);
}

.why-choose-content {
  flex: 1;
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-choose-icon {
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.why-choose-icon i {
  color: #fff;
  font-size: 20px;
}

.why-choose-content h3 {
  font-family: var(--title-font-family);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-default);
  margin-bottom: 10px;
}

.why-choose-content p {
  font-family: var(--body-font-family);
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-default3);
  margin-bottom: 15px;
}

.why-choose-link {
  color: var(--color-primary);
  font-family: var(--btn-font-family);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.why-choose-link:hover {
  letter-spacing: 0.5px;
  gap: 10px;
}

.why-choose-link i {
  font-size: 13px;
  transition: all 0.3s ease;
}

.why-choose-us .mb-30 {
  margin-bottom: 30px;
}

@media (max-width: 991px) {
  .why-choose-card {
    flex-direction: column;
  }

  .why-choose-img {
    flex: 0 0 auto;
  }

  .why-choose-img img {
    height: 220px;
  }

  .why-choose-content {
    padding: 25px 20px;
  }
}

@media (max-width: 575px) {
  .why-choose-img img {
    height: 180px;
  }
}
