.why-choose-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  margin: 40px 0;
}

.why-choose-us-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: nowrap; /* Important: do not wrap on desktop */
  width: 100%;
}

.why-choose-left,
.why-choose-slider {
  flex: 1 1 0;
  min-width: 0;
}

.why-choose-left {
  max-width: 50%;
}

.why-choose-left h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #d10a11;
  font-weight: 700;
}

.why-choose-left ul {
  padding-left: 20px;
  list-style: disc;
  color: #444;
  font-size: 16px;
  line-height: 1.6;
}

.why-choose-slider {
  max-width: 50%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.why-choose-slider img.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.why-choose-slider img.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Desktop view only */
@media screen and (min-width: 769px) {
  .why-choose-wrapper {
    display: flex;
    align-items: center; /* Vertically centers both columns */
    justify-content: space-between;
    gap: 40px;
  }

  .why-choose-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertical centering */
    padding: 40px;
  }

  .why-choose-slider {
    flex: 1;
  }
}


/* Mobile View */
@media screen and (max-width: 768px) {
  .why-choose-us-container {
    flex-direction: column;
    gap: 20px;
  }

  .why-choose-left,
  .why-choose-slider {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .why-choose-slider {
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
  }

  .why-choose-slider img.slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
