/* main block - the first block on the main page */
.main-block{
    position: relative;
    height: 100dvh
}
.main-block .container{
    /*height: 100vh;*/
    display: flex;
    align-items: flex-end;
    position: relative;
    padding-bottom: 100px;
    max-width: 100%;
	height: auto;
	position: absolute;
	bottom: 0
}
.main-block .bg-wrap{
    position: absolute;
    width: 100%;
    height: 100%
}
.main-block .bg{
    width: 100%;
    height: 100%;
    object-fit: cover
}
.main-block .bg-wrap:before{
    content: '';
    width: 100%;
    height: 100%;
    background: linear-gradient(180.00deg, rgb(0, 0, 0),rgba(0, 0, 0, 0.50) 19.865%,rgba(0, 0, 0, 0) 98.833%);
    position: absolute;
    top: 0;
    left: 0
}
.main-block .bg-wrap:after{
    content: '';
    width: 100%;
    height: calc(100% + 1px);
    background: 
    linear-gradient(180.00deg, rgba(0, 0, 0, 0) 10.02%,rgba(17, 17, 17, 0.71) 55.1%,rgb(17, 17, 17) 84.793%);
    position: absolute;
    top: 1px;
    left: 0
}
.main-block .bg:before{
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.2);
    position: absolute;
    top: 0;
    left: 0
}
.main-block h1{
    margin-bottom: 30px;
    line-height: 1.1
}
.main-block p{
    font-size: 1.8rem;
    line-height: 1.6
}
.main-block .container{
    z-index: 1
}
.main-block__content .bottom-content >div:last-child{
    display: flex;
    align-items: center
}
.main-banner-slider .bottom-content > div:last-child{
    display: flex;
    align-items: flex-end
}
.main-banner-slider .btn .img-container img{
    width: auto;
    height: auto
}
.main-banner-slider .owl-nav{
    transform: translateY(-30px)
}
.main-banner-slider .owl-nav button.owl-prev{
    height: 48px;
    width: 24px;
    background: url("../img/icons/left-white.svg") no-repeat!important;
    background-size: contain!important
}
.main-banner-slider .owl-nav button.owl-next{
    height: 48px;
    width: 24px;
    background: url("../img/icons/right-white.svg") no-repeat!important;
    background-size: contain!important
}
.main-banner-slider .owl-nav button.owl-prev:hover{
    height: 48px;
    width: 24px;
    background: url("../img/icons/left-red.svg") no-repeat!important;
    background-size: contain!important;
    transition: 0.3s
}
.main-banner-slider .owl-nav button.owl-next:hover{
    height: 48px;
    width: 24px;
    background: url("../img/icons/right-red.svg") no-repeat!important;
    background-size: contain!important;
    transition: 0.3s
}

.main-banner-slider .owl-nav span{
    line-height: 0.8;
    height: fit-content;
    display: block;
    color: transparent
}
.main-banner-slider.owl-carousel{
    /*margin-top: 50px;*/
    height: 100%;
    position: absolute
}
.main-banner-slider.owl-carousel *{
    height: inherit
}
/* end of main block */

/* about */
.about{
    position: relative
}
.about:after{
    content: '';
    width: 100%;
    height: calc(100% + 1px);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 10.02%,rgba(17, 17, 17, 0.71) 55.1%,rgb(17, 17, 17) 84.793%);
    position: absolute;
    top: -1px;
    left: 0;
    z-index: -1
}
.about .video-wrapper{
    width: 100%;
    max-width: 400px;
    height: 400px;
    border-radius: var(--img-border-radius);
    overflow: hidden
}
.video-wrapper{
    position: relative
}
.play-pause {
    color: #333333;
    width: 80px;
    height: 80px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40px, -40px);
    cursor: pointer;
    padding-left: 8px
}
.play-pause img{
    width: 30px
}
@media all and (max-width: 768px){
    .play-pause{
        width: 80px;
        height: 80px;
        transform: translate(-40px, -40px)
    }
    .play-pause >div{
        font-size: 14px
    }
}
@media all and (max-width: 600px){
    .play-pause{
        width: 60px;
        height: 60px;
        transform: translate(-30px, -30px)
    }
    .play-pause >div{
        font-size: 12px
    }
}

.counter-items{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    width: 100%
}
.counter-item{
    width: fit-content
}
.counter-item__number{
    font-size: 3.5rem;
    font-weight: 600
}
.counter-item__text{
    /*text-transform: uppercase;*/
    margin-top: 5px
}

.about .content-wrap .content{
    display: flex;
    align-items: center
}
.why-us ul li:not(:first-child), section.content ul li:not(:first-child), section.content-2 ul li:not(:first-child){
    margin-top: 15px
}
.why-us h2:not(:first-child), section.content h2:not(:first-child), section.content-2 h2:not(:first-child){
    margin-top: 30px
}
.why-us h3:not(:first-child), section.content h3:not(:first-child), section.content-2 h3:not(:first-child){
    margin-top: 30px
}
.why-us h4:not(:first-child), section.content h4:not(:first-child), section.content-2 h4:not(:first-child){
    margin-top: 30px
}
.why-us p:not(:first-child), section.content p:not(:first-child), section.content-2 p:not(:first-child){
    margin-top: 15px
}


/* end of about */

/* catalog */

.owl-carousel .owl-item h3 img{
    width: 30px;
    display: inline-block;
    margin-left: 25px
}
.catalog-items .item{
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    border-radius: var(--img-border-radius);
    overflow: hidden
}
.catalog-item:hover .catalog-item__content, .catalog-item:hover .img-container:after{
    opacity: 0;
    transition: 0.3s
}

.catalog-items .item .img-container{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1
}
.catalog-items .item .img-container:after{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    transition: 0.3s
}
a.catalog-item{
    color: var(--white)
}
.catalog-item__content{
    padding: 100px 50px;
    transition: 0.3s
}

.products .description{
    margin-top: 15px
}

/* end of catalog */


/* services */

.services .media .img-container{
    height: 400px;
    width: 400px
}
.services .content-wrap >div{
    display: flex;
    gap: 50px
}
.services .accordion-wrap{
    display: flex;
    align-items: center
}

/** Accordion **/
.accordion__heading {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.accordion__item .accordion__heading:not(.accordion__item:last-child .accordion__heading), .accordion__item .accordion__body:not(.accordion__item:last-child .accordion__body), .accordion__item:last-child.active .accordion__heading {
    /*border-bottom: 1px solid var(--medium-gray)*/
}
.accordion__item h3{
    font-weight: 400
}
.accordion__body {
    padding: 0 80px 0 0;
    opacity: 0;
    height: 0;
    transition: 0.1s;
    pointer-events: none
}
.accordion__item{
    padding: 20px 0;
    /*border-bottom: 1px solid var(--white);*/
    transition: 0.3s
}
.accordion__item:first-child{
    padding-top: 0
}
.accordion__item.active .accordion__body {
    padding: 20px 60px 30px 0;
    opacity: 1;
    pointer-events: auto
}
.accordion__item .open-icon{
    position: relative
}
.accordion .show, .accordion .hide {
    /* position: absolute;
    top: -13px;
    right: 0; */
    font-size: 4.5rem;
    font-weight: 200;
    line-height: 0;
    float: inline-end;
    display: none
}
.accordion__item:not(.active){
    opacity: 0.3
}
.accordion__item:hover{
    opacity: 1;
    transition: 0.3s
}
.accordion__item:hover .show{
    color: var(--main-color);
    transition: 0.3s
}
.accordion__item .hide {
    color: var(--main-color);
    opacity: 0
}

.accordion__item.active .show {
    opacity: 0;
    transition: 0.3s
}

.accordion__item.active .hide {
    opacity: 1
}

.accordion__info {
    line-height: 1.5
}
.accordion__info p:not(:first-child){
    margin-top: 15px
}
.accordion__info img{
    margin-top: 15px;
    border-radius: var(--img-border-radius)
}
/** end of accordion **/



/* end of services */


/* projects */

.projects-item__content{
	padding-left: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center
}
.projects-item__content >.btn{
    /*position: absolute;*/
    /*bottom: 0;*/
    margin-top: 50px
}
.projects-item__content .description p:not(:first-child){
	margin-top: 30px
}
.projects-item__content .description p + ul, .content .text p + ul {
	margin-top: 15px
}
.projects-item__content .description img{
	width: fit-content;
	float: left
}

.projects .description >div{
    margin-top: 30px
}

.projects-items .img-container{
    width: 100%;
    height: 400px
}
.text img{
	border-radius: var(--img-border-radius)
}

/* end of projects */


/* testimonials */
.testimonials .slider-nav{
/*     display: none */
}
.testimonials .owl-carousel .owl-stage{
	align-items: flex-start
}
.testimonials .testimonials-item ul li:not(nav ul li):before{
	top: 4px
}
.testimonials-item__author .img-container{
    width: 50px
}
.testimonials-item__author{
    display: flex;
    /*justify-content: center;*/
    align-items: center;
    gap: 25px;
    margin-top: 30px;
    border-radius: 0
}
.testimonials-item__author .author-name{
    font-weight: 600;
    font-size: 2.2rem
}
.testimonials-item{
    padding: 50px;
    border: 1px solid var(--white);
    /*background: #ffffff07;*/
    position: relative;
    /*margin-top: 32px;*/
    border-radius: var(--img-border-radius);
    /*height: 300px;*/
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.testimonials-item:before{
    /*content: url(../img/icons/quotes-orange.svg);*/
    /*position: absolute;*/
    /*top: -34px*/
}
/*.testimonials-item .description{*/
/*    text-align: center*/
/*}*/

/* end of testimonials */


/* our partners */
section.our-partners{
    margin-top: 0!important
}
.our-partners .content-wrap{
    margin-top: 200px
}
.our-partners h2, .our-partners h2 + p{
    text-align: center
}
/*.our-partners .content-wrap{*/
/*    margin-top: 0*/
/*}*/
.our-partners h2 + p{
    margin: 5px auto 0;
    max-width: 60%
}
.infinite-slider {
    display: flex;
    overflow: hidden;
    user-select: none;
    /*gap: calc(clamp(10rem, 1rem + 40vmin, 30rem) / 14);*/
    gap: 150px
}

.infinite-slider__items {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    /*gap: calc(clamp(10rem, 1rem + 40vmin, 30rem) / 14);*/
    gap: 150px;
    min-width: 100%;
    animation: scroll-x 20s linear infinite;
}
.infinite-slider__items img{
    max-height: 40px;
    border-radius: 5px;
/*     filter: grayscale(100%) */
}

@media (prefers-reduced-motion: reduce) {
    .infinite-slider__items {
        animation-play-state: paused;
    }
}

/* .infinite-slider--reverse .infinite-slider__items {
    animation-direction: reverse;
    animation-delay: -3s;
} */

@keyframes  scroll-x {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - calc(clamp(10rem, 1rem + 40vmin, 30rem) / 14)));
    }
}

/* end of our partners */


/* contact */
.contact h2{
    text-align: center
}
.contact h2 + p{
    text-align: center;
    max-width: 60%;
    margin: 5px auto 0
}
.contact .name{
    display: flex;
    align-items: center;
    gap: 30px
}
address a{
    display: block;
    padding-left: 40px;
    margin-top: 20px;
    position: relative
}
address a:first-child{
    margin-top: 0
}
address a span{
    color: var(--white)
}
address{
    margin-top: 40px
}
address img{
    position: absolute;
    left: 0;
    width: 22px;
    top: 3px
}
address img:nth-child(2){
    opacity: 0;
    transition: 0.3s
}
address a:hover > img:nth-child(1){
    opacity: 0;
    transition: 0.3s
}
address a:hover > img:nth-child(2){
    opacity: 1;
    transition: 0.3s
}
address .location-link img{
    top: -7px;
    height: 26px
}
address .tel-link img{
    top: 0
}
.map-container{
    width: 100%;
    height: 400px;
    overflow: hidden;
    /*margin-top: 50px;*/
    border-radius: var(--img-border-radius)
}
.contact-form form >p{
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px
}
/*.contact-form form >p >span:last-child, .form-group.submit{*/
/*    grid-column: 1/3*/
/*}*/
.form-group.submit{
    text-align: center
}
.contact-form{
    width: 100%;
    max-width: 650px;
    margin: 200px auto 0
}

.contact-form h2 + p{
    text-align: center;
    max-width: 100%;
    margin: 5px auto 0
}
.contact-form form{
    margin-top: 50px
}
.contact-form form .btn >p{
    width: min-content;
    display: flex
}
.sbscrbr-submit-block{
    position: relative
}
.contact-form form .btn >p input, .sbscrbr-submit-block input:first-child{
    height: auto;
    padding: 0 0 4px
}
.contact-form form .btn >p input{
    background: transparent;
    border-radius: 0
}
.wpcf7-spinner{
    display: none
}
.form-group.submit{
    margin-top: 50px
}
.contact-form form .img-wrap p{
    display: flex;
    justify-content: center;
    align-items: center
}
.wpcf7-not-valid-tip{
    margin-top: 8px;
    display: inline-block
}
.wpcf7 form .wpcf7-response-output{
    padding: 20px;
    margin: 30px 0 0
}
.btn input{
    border-bottom: none
}
.contact .content-wrap{
    display: flex;
    flex-direction: column;
    gap: 50px
}

/* end of contact */


/* subscription */
.subscription{
    position: relative
}
.subscription-form{
    z-index: 1;
    position: relative;
    padding: 100px 0
}
.subscription:after{
    content: '';
    position: absolute;
    background-color: #111111d6;
    width: 100%;
    height: 100%;
    height: calc(100% + 2px);
    top: -1px
}
.subscription .bg{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover
}
.subscription-form h4{
    text-align: center
}
.subscription-form form{
    width: 50%;
    margin: 50px auto 0;
    text-align: center;
    display: flex;
    flex-direction: column
}
.sbscrbr-form-error{
    order: 2
}
.subscription-form .sbscrbr-email-wrap{
    width: 100%;
    max-width: 650px;
    margin: 0 auto
}
.subscription-form .form-group.submit{
    margin-top: 50px
}
.sbscrbr-unsubscribe-wrap{
    display: none
}
.sbscrbr-submit-block input[type="submit"]{
    border: none;
    padding: 0;
    height: auto;
    width: fit-content;
    background: transparent;
    border-radius: 0
}
.sbscrbr-submit-block{
    width: fit-content;
    margin: 50px auto 0;
    position: relative;
    padding-right: 60px
}
.sbscrbr-submit-block:before{
    content: '';
    display: block;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--white);
    background-image: url("../img/icons/btn-arrow-black.svg");
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    top: -10px
}
.sbscrbr-submit-block:hover:before{
    background-image: url("../img/icons/btn-arrow-orange.svg")
}
.sbscrbr-submit-block:after {
    content: '';
    width: calc(100% - 60px);
    height: 2px;
    background-color: var(--white);
    position: absolute;
    right: 60px;
    bottom: 0;
}
.sbscrbr-form-error{
    margin-top: 15px
}
/*.sbscrbr-submit-block:after{*/
/*    content: url("../img/icons/btn-arrow-black.svg");*/
/*    position: absolute;*/
/*    right: 15px;*/
/*    top: 5px;*/
/*    width: fit-content;*/
/*    transition: 0.3s*/
/*}*/
/*.sbscrbr-submit-block:hover:after{*/
/*    content: url("../img/icons/btn-arrow-orange.svg");*/
/*    position: absolute;*/
/*    right: 15px;*/
/*    top: 5px;*/
/*    width: fit-content;*/
/*    transition: 0.3s*/
/*}*/


/* end of subscription */
