@import "../../assets/css/swiper.min.css";
@import "../../assets/css/cases.css";

:root {
  --general-color: #6EA7B7;
  --second-color: #94DDF6;
}

.process__img {
  top: 7.727vh;
  right: 55.865vh;
  height: 31.477vh;
  width: auto;
}

.results, .review, .form-content__submit, .services {
  background: var(--second-color);
  color: var(--black);
}

.challenge {
  padding: 0 30.682vh 0 15.341vh;
}

.challenge__content {
  width: auto;
}

.challenge__title, .challenge__text {
  width: 76.705vh;
}

.challenge__content:nth-of-type(1) {
  padding-top: 21.875vh;
}

.challenge__content:nth-of-type(2) {
  width: 92.045vh;
  margin: 0;
  padding: 0;

  .challenge__img {
    margin: 4.545vh 13.467vh 4.545vh 44.147vh;
    width: 65.114vh;
    height: 52.386vh;
  }

  .challenge__text {
    padding: 9.886vh 0;
  }
}

.challenge__content:nth-of-type(3) {
  margin-left: 30.682vh;
  background-color: var(--second-color);
  width: auto;
  padding: 13.75vh 30.682vh;
  display: flex;
  align-items: center;

  .challenge__img {
    margin: 0;
    width: 94.432vh;
    height: 72.5vh;
    margin-right: 15.341vh;
  }
}

.challenge__content:nth-of-type(4) {
  padding: 23.295vh 0 0 30.682vh;

  .challenge__list {
    margin: 10.682vh 0 0 46.023vh;
    padding-right: 7.955vh;
    display: flex;
    flex-direction: column;
    gap: 0.909vh
  }

  .challenge__list-item {
    position: relative;
    padding-left: 7.386vh;

    &::before {
      content: "";
      position: absolute;
      left: 0;
      top: 2.159vh;
      width: 35px;
      height: 1px;
      background-color: var(--black);
    }
  }
}

.challenge__content:nth-of-type(5) {
  padding: 15.341vh 0 0 15.341vh;
  display: flex;
  align-items: flex-start;

  .challenge__img {
    width: 68.182vh;
    height: auto;
  }

  .challenge__img:nth-of-type(2) {
    margin-top: 13.636vh;
    margin-left: -13.636vh;
  }
}

.delivered-features, .result {
  background-color: transparent;
  color: var(--black);
}

.delivered-features {
  position: relative;

  .vertical-title {
    position: absolute;
    top: 8.248vh;
    left: 1.932vh;
  }
}

.delivered-features__item::before, .services__list a.hide-underline::before {
  background-color: var(--black);
}

.delivered-features__list {
  width: 72.727vh;
}

.features-img, .communication-img, .result-img {
  display: flex;

  img {
    height: auto;
  }
}

.features-img {
  flex-direction: column;
  padding: 4.261vh 0 0 1.126vh;
  gap: 3.409vh;

  img {
    width: 61.136vh;
  }
}

.communication-img {
  img {
    width: 92.045vh;
    margin-top: auto;
  }
}

.result-img {
  align-items: center;
  padding-right: 15.341vh;

  img {
    width: 96.023vh;
  }
}

.contact-form__name {
  border-color: var(--second-color);
}

.services__item::before {
  filter: invert(1)
}

@media (max-width: 1280px) {
  .case-cover__img {
    height: 71.094vw;
    object-fit: cover;
    object-position: bottom;
  }

  .process__img {
    height: 18.703vw;
    margin-left: 11.702vw;
  }

  .challenge {
    padding: 0;
  }

  .challenge__content.challenge__content {
    padding: 10.156vw 6.25vw 10.156vw 10.417vw;
  }

  .challenge__title, .challenge__text {
    width: 72.917vw;
  }

  .challenge__content:nth-of-type(1) {
    padding-bottom: 3.516vw;
  }

  .challenge__content:nth-of-type(2) {
    padding-top: 0;
    width: 90.104vw;
    display: flex;
    flex-direction: column;

    .challenge__img {
      margin: 10.156vw 0 0 auto;
      width: 42.188vw;
      height: auto;
      order: 2;
    }

    .challenge__text {
      width: 52.083vw;
      padding: 0;
    }
  }

  .challenge__content:nth-of-type(3) {
    flex-direction: column;
    margin: 0;

    .challenge__img {
      width: 52.214vw;
      height: auto;
      margin-bottom: 6.25vw;
    }
  }

  .challenge__content:nth-of-type(4) {
    display: flex;
    flex-direction: column;

    .challenge__list {
      margin: 6.25vw 0 0 auto;
      padding-right: 0;
      gap: 1.042vw;
    }

    .challenge__list-item {
      padding-left: 8.464vw;

      &::before {
        top: 1.823vw;
      }
    }
  }

  .challenge__content:nth-of-type(5) {
    padding: 0;

    .challenge__img {
      width: 51.823vw;
      height: auto;

    }

    .challenge__img:nth-of-type(1) {
      margin: 0 0 0 3.255vw;
    }

    .challenge__img:nth-of-type(2) {
      margin: 17.448vw 0 0 -10.156vw;
    }
  }

  .delivered-features {
    padding-left: 16.406vw;

    .vertical-title {
      top: 9.766vw;
      left: 0;
    }
  }

  .delivered-features__list {
    width: 100%;
  }

  .features-img {
    padding: 0 7.943vw;
    flex-direction: row;
    justify-content: space-between;
    gap: 0;

    img {
      width: 40.495vw;
    }
  }

  .communication-img, .result-img {
    padding: 0;

    img {
      margin: 0 auto;
    }
  }

  .communication-img img {
    width: 62.63vw;
  }

  .result-img img {
    width: 61.198vw;
    margin-bottom: 10.156vw;
  }
}

@media (max-width: 600px) {
  .case-cover__img {
    height: 77.333vw;
  }

  .process__img {
    height: 29.381vw;;
    margin: 8.533vw auto 0 9.067vw;
  }

  .challenge__content.challenge__content {
    padding: 15.467vw 12px 15.467vw 15px;
  }

  .challenge__title, .challenge__text {
    width: 100%;
  }

  .challenge__content:nth-of-type(1) {
    padding-bottom: 5.333vw;
  }

  .challenge__content:nth-of-type(2) {
    width: auto;
    padding-top: 0;

    .challenge__text {
      width: 100%;
      padding-left: 6.4vw;
    }

    .challenge__img {
      width: 69.6vw;
      margin: 15.467vw auto 0;
    }
  }

  .challenge__content:nth-of-type(3) {
    .challenge__img {
      width: 80.8vw;
      margin: 0 auto 6.4vw;
    }
  }

  .challenge__content:nth-of-type(4) {
    .challenge__list {
      margin: 6.4vw 0 0;
      width: 100%;
      gap: 1.067vw;
    }

    .challenge__list-item {
      padding-left: 10.667vw;

      &::before {
        width: 20px;
        top: 3.467vw
      }
    }
  }

  .challenge__content:nth-of-type(5) {
    padding: 0 15px 15.467vw;
    flex-direction: column;
    gap: 6.4vw;

    .challenge__img.challenge__img {
      width: 69.6vw;
      margin: 0 auto;
    }
  }

  .delivered-features {
    padding: 33.333vw 12px 15.467vw 15px;

    .vertical-title {
      top: 0;
      left: 0;
    }
  }

  .features-img {
    flex-direction: column;
    gap: 6.4vw;

    img {
      width: 69.6vw;
      margin: 0 auto;
    }
  }

  .communication-img img {
    width: 68.6vw;
  }

  .result-img img {
    width: 78.667vw;
    margin-bottom: 15.467vw;
  }
}
