.about-section {
  margin-top: 2rem;
  position: relative;
  min-height: 450px;
}

.about-wrapper {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-bottom: 2rem;
}

.about-image {
  flex: 0 0 55%;
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.about-text-parent {
  margin-top: 3%;
  display: flex;
  flex-direction: column;
}

.about-text {
  position: absolute;
  right: 0;
  width: 60%;
  background-color: #2d394b;
  color: #fff;
  padding: 1.5rem;
  line-height: 2;
  border-radius: 8px;
  margin-top: 6%;
  z-index: 1;
}

.about-text p {
  color: #fff;
  margin: 0;
}

/* -------------------------------------------- */

.why-section {
  padding: 2rem 1rem;
}
.why-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  margin-top: 2.5rem;
}

.why-item {
  position: relative;
  min-height: 120px;
  display: block;
}

.why-icon-box {
  position: absolute;
  top: 0;
  width: max-content;
  min-width: 180px;
  min-height: 72px;
  padding: 1rem 1.75rem;
  border-radius: 10px;
  background: #ee264f;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 3;
  box-shadow: none;
}

.why-icon-box img {
  width: 34px;
  height: 34px;
  display: block;
}
.why-icon-box .icon-title {
  font-size: 16px;
  line-height: 1;
}

.why-text-box {
  position: relative;
  margin-top: 95px;
  background: #ffffff;
  color: #2d394b;
  border-radius: 8px;
  padding: 18px 20px;
  border: 1px solid rgba(45, 57, 75, 0.06);
  box-shadow: none;
  z-index: 1;
  text-align: justify;
  font-size: 16px;
}

.why-connector {
  position: absolute;
  top: 28px;
  width: max-content;
  height: 100px;
  z-index: 2;
  overflow: visible;
  pointer-events: none;
  filter: none;
  z-index: -1;
}

.why-item.right .why-icon-box {
  right: 0;
}
.why-item.right .why-text-box {
  margin-right: 160px;
  margin-left: 0;
}
.why-item.right .why-connector {
  right: 40px;
  transform: none;
}

.why-item.left .why-icon-box {
  left: 0;
}
.why-item.left .why-text-box {
  margin-left: 160px;
  margin-right: 0;
}
.why-item.left .why-connector {
  left: 40px;
  transform: rotateY(180deg);
}

@media (max-width: 768px) {
  .why-wrapper {
    gap: 2rem;
  }
  .why-item {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
  }
  .why-item .why-icon-box {
    position: relative;
    width: max-content;
    max-width: 100%;
    margin: 0 auto !important;
  }
  .why-connector {
    display: none;
  }
  .why-item .why-text-box {
    width: 100%;
    margin: 0 !important;
  }
  .why-item.left .why-text-box,
  .why-item.right .why-text-box {
    text-align: center;
  }
}

@media (max-width: 991px) {
  .about-wrapper {
    flex-direction: column-reverse;
    gap: 1rem;
  }

  .about-text-parent {
    margin-top: 0;
  }

  .about-image,
  .about-text {
    position: relative;
    width: 100%;
  }

  .about-text {
    margin-top: 1rem;
    transform: none;
  }
}
