html,
body {
    overflow-x: hidden;
}

.home-slider .btn {
    font-size: 16px;
    margin-top: 40px !important;
    display: block;
    width: max-content;
}


.bg-contain {
    background-size: contain;
}

nav .navbar-brand img {
    width: 180px;
}

.usl_grid {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(4, 1fr);
}

.usl_grid_item .title {
    margin-top: 30px;
    font-size: 16px;
    text-align: center;
    display: block;
    line-height: 110%;
}

.usl_grid_item .price {
    margin-top: 15px;
    font-size: 18px;
    text-align: center;
    display: block;
    line-height: 110%;
    font-weight: 500;
}

.usl_grid_item .btn {
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 100%;
}

.usl_grid_item {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.contact-section .title {
    font-size: 24px;
    font-weight: 600;
    margin-top: 40px;
}


.hero {
    width: 100%;
    height: 100vh;
}

.hero_container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.hero_container .hero_img {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 90%;
    z-index: 3;
}

.hero_container .text {
    color: #fff;
    z-index: 3;
}

.hero_container h1 {
    color: #fff !important;
    font-weight: 600;
}

/*
.hero::after {
    content: '';
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    right: 0;
    position: absolute;
} */

.hero_container .btn:hover {

    background: #fff;
    color: #0033c7;
    border: 1px solid #0033c7;

}

@media (max-width: 540px) {
    .hero_container h1 {
        max-width: 300px;
        font-size: 30px !important;
        width: 100%;
    }

    .usl_grid {
        grid-template-columns: 1fr;
    }

    .hero {
        height: 100%;
        padding: 40px 0 0 0;
    }

    .hero_container {
        flex-direction: column;
        align-items: start;
        gap: 40px;
    }

    .hero_container .hero_img {
        display: block;
        position: static;
        height: auto;
        width: 100%;
    }

    .hero .text p {
        font-size: 20px;
        margin-bottom: 6px;
    }

    /* .hero::after {
        height: 100%;
    } */

    .ftco-section,
    .ftco-services {
        padding: 4em 0;
    }

    .ftco-section-second {
        padding-bottom: 60px !important;
    }

    .ftco-section-third {
        padding-top: unset;
    }
}

@media (min-width: 541px) and (max-width: 690px) {

    .hero {
        height: 100%;
        padding: 40px 0 0 0;
    }

    .hero_container {
        flex-direction: column;
        align-items: start;
        gap: 40px;
    }

    .hero_container .hero_img {
        display: block;
        position: static;
        width: 100%;
        height: auto;
    }

    .hero_container {
        width: 100vw;
        margin-left: unset;
        margin-right: unset;
    }


}

@media (min-width: 691px) and (max-width: 1200px) {


    .hero_container .hero_img {
        display: block;
        position: static;
        width: 100%;
        height: auto;
    }

    .hero {
        height: 100%;
        padding: 40px 0 0 0;
    }

    .hero_container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin-left: unset;
        margin-right: unset;
        align-items: end;
        width: 100vw;
    }

    .hero_container .text {
        grid-column: span 1;
    }

    .hero_container .hero_img {
        grid-column: span 1;
    }


}


@media (max-width: 1000px) {

    .hero_container h1 {
        max-width: 600px;
        font-size: 34px;
    }

    .usl_grid {
        grid-template-columns: 1fr 1fr;
    }
}


footer .footer_logo {
    margin-bottom: 30px;
    width: 160px;
}

.header_contacts {
    margin-left: 60px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.header_contacts p {
    margin-bottom: unset;
    color: #000;
    font-weight: 400;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header_contacts p img {
    width: 20px;
    height: 20px;
}

.ftco-services .icon img {
    width: 40px !important;
    height: 40px !important;
}

.calc_cta {
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: max-content;
}

.text_content b {
    font-weight: 600;
}

.gramota-swiper-container {
    position: relative;
}

.button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    cursor: pointer;
    width: 52px;
    height: 52px;
    background: #fff;
    border-radius: 100%;
    border: 1px solid #0033c7;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
    transition: 0.3s ease;
}

.button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    cursor: pointer;
    width: 52px;
    height: 52px;
    background: #fff;
    border-radius: 100%;
    border: 1px solid #0033c7;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
    transition: 0.3s ease;
}

.button-prev:hover,
.button-next:hover {
    background: #0033c7;
    border: 1px solid #0033c7;
}

.button-prev:hover path,
.button-next:hover path {
    fill: #fff;
    transition: 0.3s ease;
}

.card-coop a {
    color: #0033c7;
    font-weight: 600;
}

.subscribe-form br {
    display: none;
}


.ftco-footer .wpcf7-response-output {
    color: #fff;
}

@media (max-width: 553px) {
    .header_contacts p {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .header_contacts {
        margin-left: auto;
        margin-right: auto;
    }
}

.hero .text p {
    font-size: 22px;

}