.whyus__background {
  width: 100%;
  background-image: url("/images/why__background.png");
  background-repeat: no-repeat;
  background-size: cover;
  height: 50vh;
  margin: 0 auto;
}

.whyus {
  display: flex;
  background-color: white;
  justify-content: space-between;
  align-items: center; /* Ensures content stays aligned */
  margin-top: -200px;
  padding: 80px;
  max-width: 1200px;
  width: 100%;
  margin: -200px auto 0 auto;
  overflow: hidden; /* Prevents overflow */
}

.whyus__main {
  flex: 1; /* Takes available space */
  max-width: 50%;
  width: 100%;
  margin-right: 30px;
}
.whyus__main h3 {
  font-size: 14px;
  font-weight: 400;
  background-color: rgba(232, 232, 255, 0.5);
  display: inline-block;
  padding: 3px 9px;
  border-left: 4px solid #FFB629;
  margin-bottom: 10px;
} 

.whyus__main h2 {
  font-size: 35px;
  font-weight: 600;
} 


.whyus__main p {
  padding-top: 20px;
  color: #666C89;
  opacity: 0.8;
}

.whyus__main--feature__items {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.whyus__main--feature__items div {
  position: relative;
  width: 55px;
  height: 55px;
}

.whyus__main--feature__items h5 {
  margin-left: 15px;
  font-weight: 400;
  font-size: 22px;
}

.whyus__img {
  flex: 1; /* Allows it to take equal space */
  max-width: 50%; /* Ensures it stays inside */
  display: flex;
  justify-content: center; /* Centers the image */
  align-items: center;
  overflow: hidden; /* Prevents overflow */
}

.whyus__img div {
  width: 100%;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
}

.whyus__img img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* 🔹 Responsive Adjustments */
@media screen and (max-width: 1024px) {
  .whyus {
    padding: 60px;
    margin: -150px auto 0 auto;
    flex-wrap: wrap; /* Allows content to stack if needed */
  }
  .whyus__main {
    max-width: 100%;
  }
  .whyus__img {
    max-width: 100%;
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  .whyus {
    flex-direction: column;
    padding: 60px 40px;
    margin: -100px auto 0 auto;
  }
  .whyus__main {
    margin-bottom: 30px;
  }
  .whyus__img div {
    height: 350px;
  }
}

@media screen and (max-width: 500px) {
  .whyus {
    padding: 40px 20px;
  }
  .whyus__img div {
    height: 250px;
  }
}
