html{
    scroll-behavior: smooth;
}
body{
    font-family: 'Roboto', sans-serif;
    color: #fff;
    font-size: 17px;
    font-weight: 400;
}

h1,h2,h3,h4,h5,h6{
    font-weight: 700;
}

a, button{
    cursor: pointer;
}

h1{
    font-size: 42px;
}

h2{
    font-size: 34px;
}

h3{
    font-size: 24px;
}

h4{
    font-size: 28px;
}

img{
    max-width: 100%;
    max-height: 100%;
}

/* ======== main style =======*/

.container{
    max-width: 1210px;
    margin: 0 auto;
    padding: 0 5px;
}

.flex{
    display: flex;
}

.grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.blue-btn{
    z-index: 20;
    font-size: 15px;
    font-family: 'Arial', Arial, sans-serif;
    line-height: 1.55;
    font-weight: 500;
    border-radius: 3px;
    background-color: #fff;
    color: #000;
    background-position: center center;
    border-color: #51ff91;
    border-style: solid;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    display: table-cell;
    vertical-align: middle;
    padding: 10px 40px;
    -webkit-text-size-adjust: 100%;
}

.main-btn{
    z-index: 20;
    font-size: 15px;
    font-family: 'Arial', Arial, sans-serif;
    line-height: 1.55;
    font-weight: 500;
    border-width: 1px;
    border-radius: 3px;
    border-color: #51ff94;
    border-style: solid;
    padding: 10px 40px;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    box-shadow: 3px 3px 10px 0px rgb(90 191 165 / 70%);;
}

.menu__burger{
    display: none;
    top: 5px;
    right: 4%;
    position: absolute;
    font-size: 24px;
}
.menu__burger:hover{
    color: #5199ff;
}

/*========== header ==========*/

.header{
    z-index: 10;
    position: absolute;
    top: 0;
    width: 100%;
    background-color: rgb(90 191 165 / 70%);
    height: 80px;
}

.header__content{
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
}

.header__logo{
    height: 90px;
}

.header__menu h2{
    display: none;
    padding: 20px 0 50px;
}

.menu{
    gap: 40px;
    align-items: center;
}

.menu-item:last-child{
    border: 2px solid rgb(81, 255, 148);
    font-size: 14px;
    padding: 10px 30px;
}

/*===================*/
/*=========== wrapper =============*/

.wrapper{
    background: url("../img/background.jpg");
    background-position: center top;
    background-attachment: scroll;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.wrapper__filter{
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    transform: translateZ(0);
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(2, 24, 56, 0.2)), to(rgba(2, 24, 56, 0.3)));
    background-image: -webkit-linear-gradient(top, rgba(2, 24, 56, 0.2), rgba(2, 24, 56, 0.3));
    background-image: linear-gradient(to bottom, rgba(2, 24, 56, 0.2), rgba(2, 24, 56, 0.3));
}

.wrapper__content{
    align-items: center;
    height: 730px;
}

.wrapper__image{
    display: none;
}

.wrapper__title{
    margin-top: 2%;
}

.wrapper__title h1{
    padding: 20px 0;
}

.wrapper__title h5{
    padding: 20px 0;
}

.blue-text{
    color: #000;
}

.title__text{
    align-items: center;
    gap: 7px;
    padding: 20px 0 40px;
}

.title__text img{
    max-width: 35px;
}

.title__buttons{
    z-index: 20;
    gap: 30px;
}
/*=====================*/
/*========= slider ===========*/

.company__slider {
    position: relative;
}

.company__slider i{
    cursor: pointer;
    color: #eee;
    font-size: 28px;
    transition: all 0.5s ease;
}

.company__slider i:hover{
    color: darkgrey;
}

.company__slider .active{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.slider__set{
    display: none;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    font-size: 0;
    justify-content: center;
    -webkit-justify-content: center;
}

.slider-item{
    width: 16.666%;
    padding: 20px;
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    margin: 0;
}

/*.second-set{*/
/*    display: none;*/
/*}*/

#left-click{
    position: absolute;
    top: 50%;
    left: 3%;
}

#right-click{
    position: absolute;
    top: 50%;
    right: 3%;
}
/*=========================*/
/*=========== principle-operation ==============*/

.principle-operation{
    color: #000;
    padding-bottom: 40px;
}

.principle-operation__block{
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 40px;
}

.principle-operation h2{
    padding: 30px 0;
}

.principle-operation h6{
    font-size: 13px;
}

.principle-operation p{
    color: #052555;
    font-size: 20px;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.55;
    font-weight: 300;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
}

.video__text p{
    font-size: 11px;
    font-weight: 400;
}
/*===============*/
/*=========== team ===========*/
.team{
    padding: 60px 0;
    margin-top: 40px;
    background-image: url("../img/block_background.jpg");
    background-position: center center;
    background-attachment: scroll;
    background-size: cover;
    background-repeat: no-repeat;
}

.team h2{
    font-size: 36px;
}

.team__group{
    align-items: center;
    gap: 30px;
    margin: 60px 0 80px;
}

.team-item .b1{
    background-image: url("../img/team/1.jpg");
}
.team-item .b2{
    background-image: url("../img/team/2.jpg");
}
.team-item .b3{
    background-image: url("../img/team/3.jpg");
}
.team-item .b4{
    background-image: url("../img/team/4.jpg");
}
.team__img{
    width: 260px;
    height: 260px;
    background-color: #ebebeb;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border-color: transparent;
    border-style: solid;
}

.team__text{
    padding: 20px 0;
}

.team__text p{
    padding: 5px 0;
    color: #fff;
    font-size: 14px;
    font-family: 'Arial', Arial, sans-serif;
    line-height: 1.6;
    font-weight: 400;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
}

.result-item{
    text-align: center;
    padding: 50px 0;
    max-width: 360px;
}

.result-item span{
    display: block;
    font-size: 28px;
    padding: 10px 0;
    border-bottom: 1px solid #fff;
    margin-bottom: 20px;
}

.team__result-block{
    justify-content: center;
    gap: 35px;
}

.result-item p{
    color: #ffffff;
    font-size: 16px;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.55;
    font-weight: 300;
    opacity: 0.9;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
}
/*=============================*/
/*========== deception =========*/

.deception{
    color: #000;
    padding: 60px;
}

.title-item__block{
    padding: 40px;
}

.title-item{
    padding: 30px 0;
    align-items: center;
    gap: 30px;
}

.title-item img{
    width: 90px;
}

.title-item h3{
    padding-bottom: 20px;
}

.deception__text-block{
    color: #052555;
    font-size: 21px;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.55;
    font-weight: 400;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    padding-bottom: 60px;
}

.deception__text-block span{
    font-weight: 700;
}

.blue-color{
    color: #052555;;
}

.deception__img{
    width: 100%;
}
/*=====================*/
/*============= stages ===============*/

.stages__block{
    align-items: center;
    gap: 30px;
}

.stages-item{
    text-align: center;
}

.stages-item h3{
    color: #ffffff;
    font-size: 21px;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.55;
    font-weight: 700;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    padding-bottom: 10px;
}

.stages-item p{
    color: #ffffff;
    font-size: 15px;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.55;
    font-weight: 300;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
}

.bg1{
    background-image: url("../img/icons/protect.svg");
}
.bg2{
    background-image: url("../img/icons/repair.svg");
}
.bg3{
    background-image: url("../img/icons/lamp.svg");
}
.bg4{
    background-image: url("../img/icons/flower.svg");
}
.stages__image{
    margin: 60px auto 20px;
    width: 104px;
    height: 104px;
    border-width: 2px;
    border-radius: 3000px;
    background-color: #ffffff;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border-color: #000000;
    border-style: solid;
}
/*=================*/
/*============== reviews ===========*/
.reviews{
    color: #000;
    padding: 60px;
}

.reviews__video{
    padding-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 30px;
}

.video-item{
    text-align: center;
}

.reviews__video-item{
    height: 196px;
}

.video__text{
    background: #f7f7f7;
    padding: 10px 30px;
}

.video__text p{
    color: #757575;
    font-size: 14px;
    font-family: 'Arial', Arial, sans-serif;
    line-height: 1.55;
    font-weight: 400;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
}

.title__video{
    color: #052555;
    font-size: 15px;
    font-family: 'Arial', Arial, sans-serif;
    line-height: 1.55;
    font-weight: 400;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
}
/*===================*/
/*=============== consultation =============*/
.consultation{

}

.consultation__title p{
    padding: 40px 0 80px;
    color: #ffffff;
    font-size: 20px;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.5;
    font-weight: 300;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
}

.free__consultation{
    display: block;
    padding-top: 10px;
    color: #ffffff;
    font-size: 13px;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.5;
    font-weight: 300;
    opacity: 0.6;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
}
/*=======================*/
/*=========== gallery ============*/
.gallery{
    padding: 10px 0;
}
.gallery__block{
    display: flex;
    flex-wrap: wrap;
}

.gallery-item{
    width: 25%;
    padding: 10px;
}
/*=================================*/
/*============= footer ============*/
.footer{
    background: #111;
    color: #525252;
    padding: 80px 0;
}

.footer img{
    max-width: 130px;
}

.footer__block{
    justify-content: space-between;
}

.footer-item h6{
        padding-bottom: 10px;
}

.footer-item p{
    color: #ffffff;
    font-size: 14px;
    font-family: 'Arial', Arial, sans-serif;
    line-height: 2;
    font-weight: 400;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
}

.social__links{
    padding: 20px 0;
    gap: 10px;
}

.social-link{
    color: #ffffff;
    font-size: 14px;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 2;
    font-weight: 400;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
}

.privacy{
    padding-top: 5px;
    float: right;
    color: #ffffff;
    font-size: 14px;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 2;
    font-weight: 400;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
}

#consultation-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    bottom: 7%;
    right: 5%;
    width: 60px;
    height: 60px;
    background: #5199ff;
    position: fixed;
    font-size: 24px;
    border-radius: 50%;
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 20%);
    animation: pulse 1.5s ease-in-out infinite;
}

#consultation-btn:hover{
    animation: none;
}

@keyframes pulse {
    from {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    to {
        transform: scale(1);
    }
}

.iti {
    display: block;
    margin-bottom: 25px;
}

.iti--allow-dropdown .iti__flag-container, .iti--separate-dial-code .iti__flag-container {
    right: auto;
    left: 2%;
}

#phone{
    padding: 20px 30px 20px 60px;
}

.error__message{
    display: none;
    padding-bottom: 10px;
    text-align: left;
    color: red;
}

.error__message2{
    display: none;
    padding-bottom: 10px;
    text-align: left;
    color: red;
}

form .telephone__disabled{
    border: 1px solid red;
}

#send-btn[disabled]{
    background: #dfe0e8;
}

form .phone:invalid{
    border: 2px solid red;
}

@media (max-width: 1200px) {
    .container{
        padding: 0 10px;
    }
    .team__img{
        width: 100%;
    }
}

@media (max-width: 900px) {
    .grid {
        grid-template-columns: 1fr;
    }
    .title__buttons {
        justify-content: center;
    }
    .free__consultation {
        text-align: center;
    }
    .consultation__img img{
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 768px) {
    .modal__pad{
        display: none;
    }
    section{
        text-align: center;
    }
    .grid {
        grid-template-columns: 1fr;
    }
    .header{
        padding: 10px 0;
        padding-bottom: 10px;
        border-bottom: 1px solid #fff;
        height: max-content;
    }
    .header .active{
        display: block;
    }
    .header .active h2{
        display: none;
    }
    .menu__burger{
        display: block;
    }
    .header__content{
        text-align: center;
        height: 100%;
        display: block;
    }
    .menu{
        justify-content: space-around;
    }
    .header__menu{
        display: none;
        padding: 20px 0 0;
    }
    .header__menu h2{
        display: block;
    }
    .menu-item{
        padding: 10px 0;
    }
    .menu-item:last-child{
        display: inline-block;
    }
    .header__logo img{
        display: inline-block;
        margin: 0 auto;
    }
    .principle-operation__block {
        grid-template-columns: 1fr;
        grid-column-gap: 20px;
    }
    .wrapper__content{
        justify-content: center;
    }
    .stages__block{
        display: block;
    }
    .team__group{
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .team-item{
        padding: 10px;


    }
    .gallery-item{
        width: 50%;
    }
}

@media (max-width: 600px) {
    h1{
        font-size: 30px;
    }
    h2{
        font-size: 26px;
    }
    h3{
        font-size: 22px;
    }
    h4 {
        font-size: 20px;
    }
    .flex{
        display: block;
    }
    .wrapper__filter{
        display: none;
    }
    .blue-btn{
        display: inline-block;
        margin: 10px auto;
    }
    .main-btn{
        display: inline-block;
        margin: 10px auto;
    }
    .header{
        position: relative;
        height: 100%;
        background: #000;
    }
    .wrapper{
        background: #000;
        padding-bottom: 20px;
    }
    .wrapper__image{
        display: block;
        padding: 30px;
    }
    .title__text{
        display: flex;
        align-items: center;
    }
    .reviews__video{
        display: block;
    }
    .video-item{
        margin: 20px 0;
    }
    .team__result-block{
        flex-wrap: wrap;
    }
    .team__group{
        grid-template-columns: 1fr;
    }
    .team__img{
        height: 400px;
    }
}