.top-banner{
    padding: 266px 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.top-banner h1{
    color: #FFF;
    font-size: 60px;
    font-weight: 600;
    margin-bottom: 140px;
    width: 100%;
}

.top-banner-content{
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: space-between;
    position: relative;
}

.top-banner-desc{
    width: 367px;
    max-width: 100%;
    margin: 0;
    color: #FFF;
    font-size: 16px;
    line-height: 22.4px;
}

.top-banner-bg{
    position: absolute;
    max-width: 100%;
}
.top-banner::after{
    position: absolute;
    content: '';
    inset: 0;
    z-index: -2;
    background: var(--primary);
}
.loop-video{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    /*opacity: .2;*/
    mix-blend-mode: multiply;
}
.projects{
    margin-top: 100px;
}

.projects h2{
    margin-bottom: 60px;
}

.project-link{
    display: flex;
    flex-direction: column;
    text-decoration: none;
    justify-content: space-between;
    height: 100%;
    border-radius: 25px;
    background: #F5F5F5;
    padding: 35px 35px 260px;
    position: relative;
    overflow: hidden;
    transition: .3s;
}

.project-link:after{
    content: '';
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 8px 20px rgba(0, 0, 0, 0.06);
    position: absolute;
    right: 18px;
    bottom: 12px;
    background: url('../img/icons/plus.svg') #fff no-repeat center;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    transition: all .3s;
}

.project-link:hover path{
    stroke: #fff;
}

.project-link:hover:after{
    background: url('../img/icons/plus-white.svg') var(--primary) no-repeat center;
}

.project-link-wrap:nth-child(3n-2) .project-link:hover{
    background: var(--primary);
}
.project-link-wrap:nth-child(3n-1) .project-link:hover{
    background: var(--purple);
}

.project-link-wrap:nth-child(3n) .project-link:hover{
    background: #fff;
}

.project-link-wrap:nth-child(3n-2) .project-link:hover .project-title{
    color: #fff;
}
.project-link-wrap:nth-child(3n-1) .project-link:hover .project-title{
    color: #fff;
}

.project-title{
    color: #252525;
    font-size: 24px;
    margin-top: 0;
    font-weight: 500;
}

.project-img{
    position: absolute;
    left: -43px;
    bottom: -76px;
    width: 291px;
    height: 300px;
}




.infrastructure{
    margin-top: 230px;
}

.infrastructure h2{
    margin-bottom: 40px;
}

.infrastructure-wrapper{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.infrastructure-top-content{
    width: 50%;
    padding: 0 60px 100px 0
}

.infrastructure-desc{
    color: var(--text-default);
    font-size: 16px;
    line-height: 140%;
    margin-bottom: 40px;
}

.infrastructure-bottom-wrap{
    display: flex;
}

.infrastructure-bottom-content{
    width: 50%;
    padding-right: 60px;
}

.infrastructure-bottom{
    background: var(--grey) no-repeat bottom right;
    padding: 60px 0 68px;
    width: 100%;
}

.infrastructure-bottom-content{
    margin-bottom: 62px;
}

.infrastructure-bottom-item{
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.infrastructure-bottom-item:last-child{
    margin-bottom: 0;
}

.infrastructure-bottom-item-img{
    width: 63px;
    height: 63px;
    margin-right: 20px;
    flex: none;
    background: no-repeat center;
    background-size: contain;
}

.infrastructure-bottom-item-text{
    color: #000;
    font-size: 16px;
}

.infrastructure-img-block{
    position: absolute;
    height: 100%;
    pointer-events: none;
}




.news-previews h2{
    margin: 0;
}

.news-top-block{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
}

.news-item{
    position: relative;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--primary);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-img-wrap{
    width: 100%;
    padding-top: 87%;
    display: flex;
    position: relative;
    top: 0;
    transition: .3s;
}

.news-preview-col{
    padding: 10px;
    width: 33.33333%;
    max-height: 511px;
}

.news-img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
}
@media(max-width: 992px) {
    .news-img{
        position: absolute;
        width: initial;
        height: 100%;
        object-fit: cover;
        top: 0;
    }
}


.news-preview-content{
    padding: 30px 20px;
    transition: .3s;
    position: relative;
    z-index: 1;
}

.news-date{
    color: #ABABAB;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.news-title{
    text-decoration: none;
    color: var(--text-default);
    font-size: 20px;
    font-weight: 500;
    line-height: 133%;
}

.news-item-noimg{
    margin-top: auto;
    padding: 20px;
    position: absolute;
    width: 100%;
    bottom: 0;
    opacity: 0;
    transition: .3s;
}

.news-item.noimg .news-item-noimg{
    opacity: 1;
}

.news-item:hover .news-img-wrap{
    padding: 0;
}

.news-item:hover .news-item-noimg{
    opacity: 1;
}

.news-item:hover .news-preview-content{
    margin-bottom: 87%;
}
.news-item.noimg:hover .news-preview-content{
    margin-bottom: 0;
}

.news-plug{
    width: 100%;
    padding-top: 75.1%;
    background: url('../img/news-plug.svg') no-repeat center;
    background-size: contain;
    margin-bottom: -7px;
    transition: .3s;
}

.news-item.noimg:hover .news-plug{
    background-image: url('../img/news-plug-green.svg');
}

.news-read-link{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: .3s;
    color: var(--primary);
    font-size: 16px;
    font-weight: 500;
    line-height: 133%;
    text-decoration: none;
    border: none;
    background: transparent;
    cursor: pointer;
}

.news-read-link:after{
    content: '';
    width: 56px;
    height: 56px;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("../img/icons/plus-white.svg") var(--primary) no-repeat center;
    transition: .3s;
    border: 1px solid var(--primary);
}

.news-read-link:hover:after{
    background: url("../img/icons/plus.svg") #fff no-repeat center;
}

.news-mobile-bottom{
    margin-top: 40px;
}



.footer-form-section{
    background: var(--primary);
    padding: 60px 0 160px;
    color: #fff;
    position: relative;
}

.footer-form-section .container{
    position: relative;
}

.footer-form-section h2{
    color: #fff;
}

.form-fields{
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.form-item{
    padding: 10px;
    margin-bottom: 20px;
    width: 50%;
}

.form-item.wide{
    width: 100%;
}

/*.form-item label{
    color: rgba(255, 255, 255, 0.60);
    font-size: 14px;
    line-height: 133%; !* 18.62px *!
}*/

.form-item label{
    transition: all .3s;
    position: relative;
    top: -35px;
    font-size: 18px;
    color: #fff;
}

.form-item input:focus ~ label, .form-item input:valid ~ label {
    top: -75px;
    font-size: 14px;
}

.line-input{
    background: none;
    border: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border-bottom: 1px solid #fff;
    padding: 9px 0 20px;
    width: 100%;
    color: #FFF;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 133%;
    outline: none;
}

.line-input::placeholder {
    color: rgba(255, 255, 255, 0.60)
}

.line-input:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.60)
}

.line-input::-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.60)
}

.form-item.textarea{
    margin-top: 68px;
}

.form-item textarea{
    transition: .3s;
    height: 57px;
}

.form-item textarea:focus, .form-item textarea:valid{
    height: 228px;
}

.form-bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.form-decor-1{
    position: absolute;
    top: 0;
    right: 0;
    width: 228px;
    height: 501px;
    max-width: 27.46%;
    background: url('../img/form-decor-1.svg') no-repeat top right;
    background-size: contain;
}

.form-decor-2{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 396px;
    height: 381px;
    max-width: 46.13%;
    background: url('../img/form-decor-2.svg') no-repeat bottom left;
    background-size: contain;
}


/* GALLERY */
.gallery{
    padding: 100px 0 0 0;
    margin: 0;
}
.gallery .section_title{
    margin: 0 0 60px 0;
}
.gallery .row{
    margin: 0;
    gap: 20px 15px;
}
.gallery_item{
    width: calc(25% - 11.3px);
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.gallery_item::after{
    position: absolute;
    content: '';
    inset: 0;
    border-radius: 12px;
    background-color: #000;
    transition: var(--transition);
    opacity: 0;
    z-index: 2;
}
.gallery_item:hover::after{
    opacity: .4;
}
.gallery_item img{
    transition: var(--transition);
    width: 100%;
    border-radius: 12px;
}
.gallery_item:hover img{
    scale: 1.1;
}
@media(min-width: 992px){
    .infrastructure-bottom {
        background-image: url('../img/infra-bg.svg');
        background-position-y: calc(100% + 100px);
    }

    .infrastructure-bottom-img-wrap{
        width: 50%;
        height: calc(100% - 68px);
        right: 0;
        position: absolute;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        border-radius: 20px;
        overflow: hidden;
    }

    .infrastructure-img{
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        object-fit: cover;
    }
}

@media(max-width: 991px){
    .top-banner{
        padding-top: 128px;
        min-height: 800px;
        display: flex;
        flex-direction: column;
    }

    .top-banner .container{
        display: flex;
        flex-direction: column;
    }

    .top-banner-content{
        flex-direction: column;
        justify-content: start;
    }

    .top-banner .container, .top-banner-content{
        height: 100%;
        flex: 1;
    }

    .top-banner-desc{
        width: 100%;
    }

    .projects-btn{
        margin-top: auto;
    }



    .projects-btn{
        order: 1;
    }

    .project-link-wrap:nth-child(3n-2) .project-link{
        background: var(--primary);
    }
    .project-link-wrap:nth-child(3n-1) .project-link{
        background: var(--purple);
    }
    .project-link-wrap:nth-child(3n-2) .project-link .project-title{
        color: #fff;
    }
    .project-link-wrap:nth-child(3n-1) .project-link .project-title{
        color: #fff;
    }



    .news-preview-col{
        width: 350px;
        flex: none;
    }

    .news-wrap{
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .form-bottom{
        flex-wrap: wrap;
        justify-content: end;
    }

    .form-bottom .checkbox{
        width: 100%;
        margin-bottom: 40px;
    }



    .infrastructure-top-content, .infrastructure-bottom-content{
        width: 100%;
        padding-right: 0;
        padding-bottom: 60px;
    }

    .infrastructure-img-block{
        position: relative;
        margin-top: -150px;
    }

    .infrastructure-bottom{
        padding-bottom: 150px;
    }

    .infrastructure-img{
        width: 100%;
    }

    /* GALLERY */
    .gallery_item {
        width: calc(33.3% - 10px);
    }
}

@media(max-width: 767px){
    .top-banner{
        min-height: 100vh;
    }

    .top-banner h1{
        font-size: 28px;
        margin-bottom: 23px;
    }

    .projects{
        margin-top: 60px;
    }

    .projects h2{
        margin-bottom: 36px;
    }

    .project-title{
        font-size: 20px;
    }

    .infrastructure{
        margin-top: 100px;
    }

    .infrastructure h2{
        margin-bottom: 20px;
    }

    .news-title{
        font-size: 16px;
    }

    .news-top-block{
        margin-bottom: 40px;
    }

    .news-previews{
        margin-top: 100px;
    }

    .form-item{
        width: 100%;
        margin-bottom: 4px;
    }

    .footer-form-section{
        padding-bottom: 74px;
    }

    .form-item.textarea{
        margin-top: 50px;
    }

    .form-bottom{
        margin-top: 40px;
    }

    .checkbox-content{
        font-size: 14px;
    }

    /* GALLERY */
    .gallery{
        padding: 80px 0 0 0;
    }
    .gallery .section_title{
        margin: 0 0 30px 0;
    }
    .gallery_item {
        width: calc(50% - 5px);
    }
    .gallery .row{
        gap: 10px;
    }
}
@media(max-width: 400px){
    .news-item:hover .news-img-wrap {
        padding-top: 56%;
    }
    .news-item:hover .news-item-noimg{
        opacity: 0;
    }
.news-item-noimg:hover .news-plug{
    background-image: none;
}

    /*.news-item:hover .news-preview-content{*/
    /*    margin-bottom: unset;*/
    /*}*/
}
