.with-warego {
  @media (max-width: 767px) {
    padding: 0;
  }

  .text-cont {
    margin-bottom: 110px;
    @media (max-width: 991px) {
      margin-bottom: 130px;
    }
    @media (max-width: 767px) {
      margin-bottom: 40px;
    }
  }

  ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    @media (max-width: 575px) {
      display: block;
    }

    li {
      position: relative;

      &:nth-child(1) {
        margin-bottom: 6rem;
        @media (max-width: 1366px) {
          margin-bottom: 7rem;
        }
        @media (max-width: 991px) {
          margin-left: 0;
        }
        @media (max-width: 767px) {
          margin-bottom: 20px;
        }

        &:after {
          bottom: 80px;
        }
      }

      &:nth-child(2) {
        margin-left: 30rem;
        margin-bottom: 6rem;
        @media (max-width: 1399px) {
          margin-bottom: 7rem;
        }
        @media (max-width: 991px) {
          margin-left: 0;
        }
        @media (max-width: 767px) {
          margin-bottom: 20px;
        }

        &:after {
          bottom: 75px;
        }
      }

      &:nth-child(3) {
        margin-left: 58rem;
        @media (max-width: 991px) {
          margin-left: 0;
        }
        @media (max-width: 767px) {
          margin-bottom: 20px;
        }

        &:after {
          bottom: 80px;
        }
      }

      &:after {
        content: '';
        background-image: url("../img/about-us/arrow.webp");
        background-repeat: no-repeat;
        position: absolute;
        left: -160px;
        width: 155px;
        height: 131px;
        @media (max-width: 767px) {
          left: -50px;
          width: 105px;
          height: 51px;
          background-size: 50%;
        }
        @media (max-width: 575px) {
          display: none;
        }
      }

      h3 {
        font-family: $Inter;
        font-size: 30px;
        font-weight: 700;
        line-height: 30px;
        color: #000;
        @media (max-width: 1366px) {
          font-size: 24px;
          line-height: 24px;
        }
        @media (max-width: 575px) {
          font-size: 18px;
          line-height: 20px;
        }
      }

      p {
        font-family: $Inter;
        font-size: 18px;
        font-weight: 400;
        line-height: 26px;
        color: #000;
        @media (max-width: 1399px) {
          font-size: 14px;
          line-height: 22px;
        }
        @media (max-width: 575px) {
          font-size: 12px;
          line-height: 20px;
          br {
            display: none;
          }
        }
      }

    }
  }
}