.why-trust {
  width: 100%;
  padding: 55px 0;
  background: #f3f5f8;
  overflow: hidden;
}

.why-trust .why-trust__wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  min-height: 190px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.why-trust .why-trust__bg {
  position: absolute;
  right: 0;
  top: 20px;
  width: 100%;
  height: 176px;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, #dce7fb 0%, #c2d2f3 100%);
  z-index: 1;
}

.why-trust .why-trust__image {
  position: relative;
  width: 400px;
  height: 215px;
  flex-shrink: 0;
  z-index: 3;
  overflow: visible;
}

.why-trust .why-trust__image::before {
  content: "";
  position: absolute;
  left: -4px;
  top: -4px;
  width: 20%;
  height: 103%;
  border: 5px solid #2864df;
  border-radius: 10px;
  z-index: -1;
}

.why-trust .why-trust__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.why-trust .why-trust__content {
  position: relative;
  z-index: 4;
  flex: 1;
  padding: 0 25px;
}
.why-trust .why-trust__content h2 {
  display: flex;
  align-items: end;
  gap: 7px;
  margin: 0 0 10px;
  color: #5078c9;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}
.why-trust .why-trust__content h2 img {
  width: 159px;
  height: auto;
  max-height: 38px;
  object-fit: contain;
}

.why-trust .why-trust__content h2 span {
  color: #5078c9;
  font-size: 30px;
}

.why-trust .why-trust__content p {
  margin: 0;
  color: #252525;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 500;
}

@media (max-width: 991px) {
  .why-trust {
    padding: 50px 15px;
  }

  .why-trust .why-trust__wrapper {
    max-width: 800px;
  }

  .why-trust .why-trust__image {
    width: 350px;
    height: 170px;
  }

  .why-trust .why-trust__bg {
    width: calc(100% - 80px);
    height: 140px;
  }

  .why-trust .why-trust__content {
    padding: 0 20px;
  }

  .why-trust .why-trust__content h2 {
    font-size: 26px;
  }

  .why-trust .why-trust__content h2 img {
    width: 155px;
  }

  .why-trust .why-trust__content h2 span {
    font-size: 26px;
  }
}

@media (max-width: 767px) {
  .why-trust {
    padding: 45px 15px;
  }

  .why-trust .why-trust__wrapper {
    min-height: auto;
    flex-direction: column;
    align-items: center;
  }

  .why-trust .why-trust__bg {
    top: 80px;
    left: 5%;
    right: 5%;
    width: 90%;
    height: 230px;
    border-radius: 10px;
  }

  .why-trust .why-trust__image {
    width: 90%;
    height: 170px;
  }

  .why-trust .why-trust__content {
    width: 90%;
    padding: 45px 15px 20px;
    text-align: center;
  }

  .why-trust .why-trust__content h2 {
    justify-content: center;
    font-size: 24px;
    white-space: normal;
    flex-wrap: wrap;
  }

  .why-trust .why-trust__content h2 img {
    width: 145px;
  }

  .why-trust .why-trust__content h2 span {
    font-size: 24px;
  }

  .why-trust .why-trust__content p {
    max-width: 100%;
    font-size: 11px;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .why-trust .why-trust__image {
    width: 95%;
    height: 145px;
  }

  .why-trust .why-trust__bg {
    height: 220px;
  }

  .why-trust .why-trust__content {
    width: 95%;
  }

  .why-trust .why-trust__content h2 {
    font-size: 21px;
  }

  .why-trust .why-trust__content h2 img {
    width: 125px;
  }

  .why-trust .why-trust__content h2 span {
    font-size: 21px;
  }
}
