@media (max-width: 1025px) {
    section.first-screen .container > img {
        width: 100%;
    }

    section.feedback ul {
        flex-wrap: nowrap;
        width: 100%;
        gap: 14px;
        overflow: scroll;
        justify-content: flex-start;
    }

    section.demo-test ul {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    section.demo-test {
        height: 1050px;
    }

    section.feedback ul::-webkit-scrollbar {
        display: none;
    }

    section.feedback ul li {
        flex-shrink: 0;
        width: 310px;
        height: 350px;
    }

    section.feedback .nav-dots {
        display: none;
    }

    section.feedback {
        padding-bottom: 48px;
    }

    section.feedback .container {
        display: flex;
        align-items: flex-end;
        height: 645px;
        background-position-y: 0;
        padding-right: 0;
    }
}


@media (max-width: 850px) {
    section.how-it-works {
        background: url("../img/why-we-bg-mobile.png");
        background-size: 100% 1650px;
    }

    footer .container {
        flex-direction: column;
        gap: 32px;
    }

    footer .wrapper {
        height: auto;
    }

    footer .btn {
        position: initial;
        height: 85px;
        max-width: 525px;
        width: 100%;
        margin-top: 12px;
        border-radius: 90px;
    }

    footer input[type=text] {
        max-width: 525px;
        width: 100%;
    }

    footer .wrapper {
        max-width: 525px;
        width: 100%;
    }

    section.demo-test ul {
        flex-direction: column;
    }

    section.demo-test {
        height: 1420px;
    }
}

@media (max-width: 700px) {
    section.why-we .transparent-bg {
        padding: 0;
        background: transparent;
    }

    section {
        padding: 48px 0;
    }

    section.how-it-works ul li {
        height: auto;
    }

    section.how-it-works ul li.blue-bg {
        height: 200px;
    }

    section.how-it-works ul {
        gap: 16px;
    }

    section.first-screen .container > img {
        display: none;
    }

    section.first-screen {
        background-size: 100% 750px;
        margin-bottom: -100px;
        background-position-y: 100px;
        padding-bottom: 164px;
    }

    .transparent-bg {
        background: transparent;
        padding: 0;
    }

    section.telephony ul li {
        width: 100%;
        max-width: initial !important;
        height: auto;
    }

    section.first-screen ul {
        display: flex;
        margin-top: 16px;
    }

    h1 {
        font-size: 40px;
        line-height: 48px;
    }

    h2 {
        font-size: 32px;
        line-height: 42px;
    }

    .container {
        padding: 0 16px;
    }

    header {
        height: 56px;
    }

    header img {
        width: 145px;
    }

    header .btn {
        width: 167px;
        height: 43px;
        font-size: 14px;
        line-height: 19px;
    }
}

@media (max-width: 550px) {

    section.why-we ul li {
        max-width: 400px !important;
        width: 100%;
        padding: 24px;
        height: auto;
        min-height: 150px;
        align-items: center;
        justify-content: center;
    }

    section.why-we ul li .name-wrapper {
        flex-direction: row;
        margin-bottom: 8px;
    }

    section.why-we ul li.btn-li {
        height: 100px;
        flex-direction: row-reverse;
    }
}

@media (max-width: 500px) {
    .application-modal .text {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 24px;
    }

    .application-modal .btn {
        margin-top: 24px;
    }

    .application-modal {
        width: 95vw;
        padding: 24px;
        padding-top: 32px;
    }

    h1 {
        font-size: 32px;
        line-height: 40px;
    }

    h2 {
        font-size: 26px;
        line-height: 32px;
    }

    section.demo-test {
        height: 1260px;
    }

    section.demo-test ul li {
        height: auto;
        padding: 20px;
    }

    section.demo-test ul li .wrapper {
        gap: 16px;
    }

    section.demo-test .container > .wrapper {
        padding: 12px;
    }

    section.demo-test h2 {
        padding: 16px;
        font-size: 26px;
        line-height: 32px;
    }

    section.why-we {
        padding-bottom: 150px;
    }

    section.feedback .container {
        background: url("../img/feedback-bg-mobile.png") center no-repeat;
        background-size: 100%;
        background-position-y: -26px;
        height: 707px;
    }
}

@media (max-width: 450px) {
    section.feedback .container {
        height: 650px;
    }

    footer input[type=text] {
        height: 72px;
    }

    footer img {
        width: 175px;
    }

    footer .btn {
        height: 65px;
    }
}

@media (max-width: 430px) {
    section.feedback .container {
        height: 630px;
    }
}

@media (max-width: 410px) {
    section.feedback .container {
        height: 610px;
    }
}

@media (max-width: 380px) {
    section.feedback .container {
        height: 600px;
        background-position-y: -16px;

    }
}

@media (max-width: 360px) {
    section.feedback .container {
        height: 580px;
    }

    section.telephony ul li {
        padding: 16px;
    }

    .container {
        padding: 0 12px;
    }

    header img {
        width: 135px;
    }

    header .btn {
        width: 158px;
        font-size: 13px;
    }
}

@media (max-width: 321px) {
    section.feedback .container {
        height: 580px;
    }
}

@media (max-width: 768px) {
    .footer-link-wrapper .wrapper {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .footer-link-wrapper a {
        font-size: 20px;
    }

    hr {
        display: none;
    }
}
@media (max-width: 768px) {
    .footer-link-wrapper .wrapper {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
    }

    .footer-link-wrapper a {
        font-size: 14px;
        line-height: 1.3;
        display: block;
        width: 100%;
        max-width: 300px;
    }

    .footer-bottom p {
        font-size: 12px;
        margin-top: 20px;
        padding: 0 20px;
    }
}
@media (max-width: 768px) {
    .footer-bottom .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;

        .copyright {
            text-align: center;
            margin-top: 10px;
        }
    }
}