@import "../sections/info-section.css";
@import "../sections/statistic-section.css";
@import "../sections/form-section.css";
@import "../sections/testimonial-section.css";

.hero-section .title-wrap {
    padding: 230px 0 190px;
    margin-left: 65px;
}

.hero-section .hero-title {
    width: 60%;
    margin: 0 0 20px;

    font-size: 40px;
    font-weight: normal;
    line-height: 1.2;
    color: #344555;
}

.hero-section .primary-btn {
    max-width: 285px;

    letter-spacing: 1px;
}

.hero-section .img-holder img {
    display: block;
    width: 100%;
}

.info-section .info-block:first-child {
    padding: 75px 0;
}

.info-section .image-holder {
    max-width: 41%;
    width: 100%;

    transition: .5s ease;
}

.info-section .image-holder img {
    display: block;
    width: 100%;
}

.info-section .info-block.inactive .image-holder {
    transform: translateX(-100%);
}

.info-section .text-holder {
    max-width: 59%;
    padding: 60px 100px 35px;
}

.info-section .info-block.inactive .text-holder {
    transform: translate(100%, 70px);
}

.info-section .text-holder .primary-btn {
    display: inline-block;
    align-self: baseline;
    max-width: none;
    width: auto;
    margin-bottom: 50px;
}

.statistic-section .block-with-data:first-child .stat-delimiter {
    display: flex;
    align-items: center;

    font-size: 70px;
}

.statistic-section .block-with-data:nth-child(2 ) .stat-delimiter {
    display: flex;
    align-items: flex-end;
    padding-bottom: 5px;

    font-size: 70px;
}

.simplify-lives .container {
    padding: 110px 0;
}

.simplify-lives h2,
.simplify-lives p {
    width: 65%;
    margin: 0 auto;
}

.simplify-lives h2 {
    margin-bottom: 60px;

    font-size: 48px;
    font-weight: normal;
    color: #df6c4f;
    line-height: 1.2;
    text-align: center;
}

.simplify-lives p {
    font-size: 16px;
    font-weight: normal;
    color: #344555;
}

.simplify-lives p:not(:last-child) {
    margin-bottom: 30px;
}

.testimonial-block img {
    right: 15%;
}

.testimonial-block blockquote {
    padding: 140px 0 170px 70px;
}

.for-mobile {
    display: none;
}

@media only screen and (max-width: 1023px) {
    .for-mobile {
        display: block;
    }

    .hero-section {
        background-position: 0 100% !important;
    }

    .hero-section .title-wrap {
        padding: 160px 0 20px;
        margin-left: 0;
    }

    .hero-section .hero-title {
        width: 100%;

        font-size: 30px;
    }

    .hero-section .hero-title br {
        display: none;
    }

    .statistic-section .container {
        flex-wrap: wrap;
        padding: 0;
    }

    .statistic-section .block {
        width: 100%;
        padding: 17px;
    }

    .statistic-section .block-with-data .stat-value-wrap {
        font-size: 70px;
    }

    .statistic-section .block-with-data .stat-description {
        letter-spacing: 1px;
    }

    .statistic-section .block-with-data .stat-description br {
        display: none;
    }

    .simplify-lives .container {
        padding: 40px 30px;
    }

    .simplify-lives h2 {
        width: 100%;
        margin-bottom: 30px;

        font-size: 30px;
    }

    .simplify-lives p {
        width: 100%;
    }

    .info-section .full-container {
        padding: 0;
    }

    .info-section .info-block {
        flex-wrap: wrap;
        padding: 0;
    }

    .info-section .info-block:first-child {
        padding: 0;
    }

    .info-section .text-holder,
    .info-section .image-holder {
        max-width: 100%;
    }

    .info-section .text-holder {
        padding: 0 20px 30px 40px;
        margin-left: 30px;

        transform: translate(0, -50px);
    }

    .info-section .text-holder .description,
    .info-section .text-holder .title {
        width: 100%;
    }

    .info-section .text-holder .title {
        font-size: 24px;
    }

    .info-section .text-holder .description {
        margin-bottom: 35px;

        font-size: 16px;
    }

    .info-section .text-holder .primary-btn {
        margin-bottom: 30px;
    }

    .testimonial-block blockquote {
        padding: 0 10px 50px;
        margin: 0;
    }

    .testimonial-block img {
        right: 0;
        bottom: -2px;
    }

    .testimonial-block .for-mobile {
        max-height: 420px;

        transform: translateX(35px);
    }

    .testimonial-block .shaped {
        height: 470px;
    }
}

@media only screen and (max-width: 767px) {
    .testimonial-block .for-mobile {
        left: 50%;

        transform: translateX(-50%);
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1440px) {
    .info-section .text-holder .title,
    .info-section .text-holder .description {
        width: 100%;
    }

    .testimonial-block blockquote {
        padding: 140px 0 170px 0;
    }

    .testimonial-block blockquote p {
        width: 50%;
    }

    .testimonial-block img {
        right: 0;
    }
}

@media (min-width: 1441px) and (max-width: 1700px) {
    .testimonial-block img {
        right: 10%;
    }

    .testimonial-block blockquote p {
        width: 50%;
    }
}
