body, html{
    scroll-behavior: smooth;
}
.page-services .wrapper, html:not(.lenis) .wrapper{
    overflow: visible !important;
}
.single-service h1{
    color: #202020;
}
.bottom_horizontal-titles{
    position: fixed;
    left: 0;
    bottom: 40px;
    width: 100%;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.bottom_horizontal-titles.show{
    pointer-events: all;
    opacity: 1;
}

.horizontal-titles li {
    font-family: 'Inter';
    font-weight: 400;
    cursor: pointer;
    font-size: 18px;
}

.horizontal-titles li a{
    width: 100%;
    color: #000;
    transition: color .3s;
}

.horizontal-titles li.active {
    position: relative;
}

.horizontal-titles li.active a{
    color: #943757;
    font-weight: 600;
}

.horizontal-titles li.active:after {
    content: '';
    height: 1px;
    width: 100%;
    position: absolute;
    bottom: -1px;
    background: linear-gradient(
            89.81deg,
            #943757 0.09%,
            #DF7B9F 22.82%,
            #943757 99.93%
    );
    left: 0;
}

.info__content {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
    padding-top: 24px;
}
.pilier-section.is-open .info__content{
    margin-bottom: 32px;
}

.service-item {
    width: calc(50% - 12px);
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.service-item:nth-child(3) {
    width: 100%;
}

.service-item .item_heading{
    width: 100%;
    padding: 40px 0 20px;
    background: #000;
    position: relative;
    z-index: 2;
}

.service-item .item_heading p{
    font-size: max(24px, min(1.39vw, 32px));
    text-align: center;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    background: linear-gradient(113.99deg, #672b41 2.19%, #984161 33.57%, #e15689 64.94%, #221b1f 96.32%);
    background-clip: text;
    line-height: 1.2;
}
.service-item>.service-video{
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 50px;
}
video.service-video{
    height: 410px;
}
.service-text{
    color: #a1a1a1;
    text-align: center;
    font-size: 18px;
    font-family: 'Inter';
    max-width: 600px;
    margin: auto;
    opacity: 0;
    transition: opacity 1s ease;
}

.service-text.visible {
    opacity: 1;
}

.service-project.piliers{
    overflow: visible;
    position: static;
    z-index: 9;
}

.piliers-sections .service_btn{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 30px;
}
.piliers-sections .contact_button{
    display: flex;
    justify-content: center;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}
.piliers-sections .contact_button a{
    padding: 30px;
    display: block;
    text-align: center;
    max-width: 100%;
    color: #fff;
    border-radius: 10px;
    transition: max-width 1.5s;
}
.footer_contact_button a {
    max-width: 100%;
    color: #fff !important;
    width: 100%;
    padding: 85px 40px;
    font-size: 20px;
    margin-bottom: 0;
}
.footer_contact_button a:hover .btn-animate-chars__bg{
    inset: 0;
}
.piliers-sections .contact_button .btn-animate-chars__bg,
.footer_contact_button .btn-animate-chars__bg{
    background-image: url("../images/button_gradient_background.png");
    background-color: transparent;
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
}
.footer_contact_button .btn-animate-chars__bg{
    background-position: center;
    background-size: cover;
}
.footer_contact_button .btn-animate-chars__bg{
    border-radius: 0;
}
.service-project.piliers .section-heading-secondary{
    margin-bottom: 0;
    text-align: center;
}
.service-project.piliers h2{
    text-transform: unset;
}
.horizontal-titles {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    list-style: none;
    transition: .3s all;
    width: fit-content;
    margin: auto;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 0 11px 1px #d9d9d961;
    /*display: none !important;*/
}

.horizontal-titles a {
    text-decoration: none;
    color: rgba(255,255,255,.5);
    margin: 0;
    padding: 0;
}

.horizontal-titles a.active {
    background: linear-gradient(
            89.81deg,
            #943757 0.09%,
            #DF7B9F 22.82%,
            #943757 99.93%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pilier-section.is-open {
    /*min-height: 100vh;*/
    padding-bottom: 70px;
    scroll-margin-top: 100px;
}

/*.horizontal-titles .btn-animate-chars:hover [data-button-animate-chars] span{*/
/*    transform: translateY(0em) rotate(0.001deg);*/
/*}*/

.horizontal-titles .animateWord .btn-animate-chars [data-button-animate-chars] span{
    /*transform: translateY(-1.3em) rotate(0.001deg);*/
    transform: translateY(0em) rotate(0.001deg);

}

.horizontal-titles .animateWordScroll .btn-animate-chars [data-button-animate-chars] span{
    transform: translateY(-1.3em) rotate(0.001deg);
}

.pilier-section{
    /*border-top: 1px solid hsla(0, 0%, 100%, .6);*/
    position: relative;
}

.pilier-section:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    width: 100%;
    height: 1px;
    background: hsla(0, 0%, 100%, .4);
}

.pilier-section:first-child:after{
    width: 40%;
}
.pilier-section:nth-child(2):after{
    width: 47%;
}
.pilier-section:nth-child(3):after{
    width: 54%;
}
.pilier-section:nth-child(4):after{
    width: 61%;
}
.pilier-section:nth-child(5):after{
    width: 68%;
}


.section-services__piliers_title{
    font-weight: 700;
    line-height: 1;
    opacity: 1;
    transform: translateY(0);
    text-align: center;
    color: #fff;
    font-size: max(22px, min(6vw, 29px));
    margin: 0 auto;
    position: relative;
    top: 100px;
    padding:  15px 0;
}

.section-services__piliers_title span{
    cursor: pointer;
    display: flex;
    justify-content: center;
    /*width: fit-content;*/
    margin: auto;
    align-items: center;
}

.section-services__piliers_title span svg{
    transition: transform .3s;
    margin-left: 5px;
}

.pilier-section.is-open .section-services__piliers_title span svg{
    transform: rotate(180deg);
}

.service_btn .btn-animate-chars__bg{
    background: linear-gradient(90deg, #c14673, #672b41);
}

.service_btn .btn-animate-chars{
    max-width: 300px;
    color: #fff;
    margin-bottom: 0;
}

.section-info{
    margin-top: 50px;
}

.section-info__content{
    align-items: flex-start;
    justify-content: flex-end;
    cursor: pointer;
}

.section-info__content .titles{
    font-size: max(23px, min(6vw, 28px));
    line-height: 1.1;
}

.section-info__card svg{
    animation: numSpin;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    height: 100%;
    position: absolute;
    transition: .3s;
    width: auto;
    right: -20px;
    bottom: -19px;
    max-width: 150px;
    max-height: 133px;
}

.section-info__card svg:nth-child(3) {
    animation-delay: .3s;
}
.section-info__card svg:nth-child(2) {
    animation-delay: .2s;
}

.section-info__card svg path{
    stroke: #fff;
    stroke-width: 1px;
}
.card_image_box{
    position: relative;
}

.card_image img{
    width: 90%;
}
.card_image:before {
    background-color: #131313;
    bottom: 0;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    transition: all 1.3s ease-in-out;
    transition-delay: .1s;
    width: 90%;
    border-radius: 4px;
}
.card_image:after {
    content: '';
    display: block;
    background-image: linear-gradient(-12deg, black 4%, transparent, transparent);
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 100%;
}
.horizontal-section.active .card_image:before{
    height: 0;
}

.section-info__content .info_images{
    margin-bottom: 40px;
    border-radius: 4px;
}

section.service_page_portfolio.service-project{
    background: transparent;
}

section.service_page_portfolio.service-project h2{
    /*color: #000 !important;*/
}
.scaling_video_block{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.scaling-element-header{
    min-height: auto!important;
}
.scaling-element-header__description{
    margin-bottom: 80px;
}

.scaling-element-header__description a{
    margin-top: 15px;
    display: block;
}

.section-info__heading a{
    font-size: 16px;
    margin-top: 20px;
    display: block;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.section-heading-secondary .h2,
.scaling-element-header__h1,
.section-info .section-info__heading,
.scaling-element-header__description{
    position: relative;
    top: 100px;
}

.section-heading-secondary.is-inview .h2,
.scaling-element-header__h1.visible,
.section-info.visible .section-info__heading,
.section-services__piliers_title.animateWord,
.scaling-element-header__description.animateWord{
    top: 100px;
    animation-name: animTitle;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}


.section-heading-secondary .h2::after,
.scaling-element-header__h1::after,
.section-info .section-info__heading::after,
.section-services__piliers_title::after,
.scaling-element-header__description::after{
    content: '';
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    background: #fff;
    z-index: 1;
    transition: background 0.2s;
}

body.body-theme-dark .section-heading-secondary .h2::after,
body.body-theme-dark .section-info .section-info__heading::after,
body.body-theme-dark .section-services__piliers_title::after,
body.body-theme-dark .scaling-element-header__description::after{
    background: #131313;
}

body.body-theme-dark.portfolio-active .section-heading-secondary .h2::after{
    background: #fff;
}

.section-heading-secondary.is-inview .h2::after,
.scaling-element-header__h1.visible::after,
.section-info.visible .section-info__heading::after,
.section-services__piliers_title.animateWord::after,
.scaling-element-header__description.animateWord::after{
    animation-name: animTitleBg;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-delay: .2s;
}

.portfolio_btn{
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.portfolio_btn .service-project-btn--portfolio{
    margin-bottom: 0;
}
.portfolio_btn .service-project-btn--portfolio .btn-animate-chars__bg{
    border: 1px solid #000;
    background-color: #fff !important;
}
body.portfolio-active {
    background-color: transparent !important;
}

body.portfolio-active.body-theme-dark {
    background-color: transparent !important;
}

.portfolio_inner_block,
.scaling-element__small-box,
.clients-section{
    position: relative;
    z-index: 2;
}
.clients-section{
    margin-bottom: 60px;
}
.section-info .scroll-horiz{
    will-change: transform;
}

.pilier-section .toggle--content{
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.3s ease;
}

.pilier-section.is-open .toggle--content{
    opacity: 1;
}

.client-logo__img{
    filter: blur(5px);
    animation-name: logoBlur;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
}

.toggle_arr{
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
}
.toggle {
    width: 12px;
    height: 12px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
}

.toggle span {
    position: absolute;
    left: 4px;
    right: 4px;
    height: 2px;
    background: currentColor;
    transition: transform 1s ease;
    border-radius: 10px;
}

/* arrow down */
.toggle span:first-child {
    bottom: 4.5px;
    transform: rotate(135deg);
    right: -1px;
}

.toggle span:last-child {
    bottom: 4.5px;
    transform: rotate(45deg);
    left: -1px;
}

.pilier-section.is-open .toggle span:first-child{
    transform: rotate(225deg);
}

.pilier-section.is-open .toggle span:last-child{
    transform: rotate(-45deg);
}

.scroll-bounce-wrapper {
    position: relative;
    height: 140vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
    padding-top: 50px;
    width: 100%;
}

.scroll-bounce-block {
    position: absolute;
    width: 40%;
    will-change: transform;
}

.scroll-bounce-block video {
    width: 100%;
    border-radius: 12px;
    display: block;
    transform-origin: center top;
    object-fit: cover;
}




@keyframes logoBlur {
    0%{
        filter: blur(5px);
    }
    100%{
        filter: blur(0);
    }
}

@keyframes animTitleBg {
    0%{
        top: -10%;
    }
    100%{
        top: 130%;
        visibility: hidden;
    }
}

@keyframes animTitle {
    0%{
        top: 100px;
    }
    100%{
        top: 0;
    }
}

@media(min-width: 992px){
    .preview-item__col.is--medium {
        max-width: 25% !important;
    }
    .preview-item__col.is--small {
        max-width: 35% !important;
    }
    .preview-item__col.is--large {
        max-width: 40% !important;
    }
}

@media(max-width: 1200px){
    video.service-video {
        height: 300px;
    }
}

@media(min-width: 768px){
    .section-info{
        margin-top: 50px;
        margin-bottom: 100px;
        height: 1600px;
    }
    .horizontal-section {
        margin-left: 0;
        height: 1600px;
        /*height: auto;*/
        /*position: sticky;*/
        /*top: 100px;*/
    }
    .section-info__row{
        width: 33vw;
    }

    .h-scroll-wrapper{
        top: 100px;
    }
    .section-info__row{
        padding: 0 25px;
    }
    .section-info__content{
        padding-left: 0;
        padding-right: 0;
        height: 100%;
    }
    .section-info .scroll-horiz {
        height: auto;
        margin-right: 100vw;
    }
    .piliers-sections .contact_button a{
        max-width: 60%;
        padding: 42px;
        font-size: 18px;
    }
    .footer_contact_button a {
        font-size: 30px;
    }
    .piliers-sections .contact_button .btn-animate-chars__bg{
        background-size: auto;
    }
}

@media(max-width: 992px){
    .single-service .scaling-element-header{
        justify-content: flex-start;
        padding-top: 50px;
    }
    .single-service .scaling-video__before{
        padding-top: 110%;
    }
    .single-service .scaling-video,.single-service .scaling-video__wrapper {
        min-height: 390px;
    }
    .single-service .scaling-video video{
        height: 100%;
        max-width: fit-content;
    }
    .info__content{
        flex-direction: column;
    }
    .service-item{
        width: 100%;
    }
    /*video.service-video {*/
    /*    height: 240px;*/
    /*}*/
    .info__content{
        gap: 8px;

    }
    .pilier-section.is-open .info__content{
        margin-bottom: 24px;
    }
    .service-text{
        font-size: 14px;
    }

    .horizontal-titles {
        justify-content: flex-start;
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        width: 90%;
        padding: 22px 16px;
        margin: 0 auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .horizontal-titles::-webkit-scrollbar {
        display: none;
    }

    .horizontal-titles li {
        flex: 0 0 auto;
        font-size: 16px;
        white-space: nowrap;
        cursor: pointer;
    }
    .pilier-section:first-child:after{
        width: 72%;
    }
    .pilier-section:nth-child(2):after{
        width: 79%;
    }
    .pilier-section:nth-child(3):after{
        width: 86%;
    }
    .pilier-section:nth-child(4):after{
        width: 93%;
    }
    .pilier-section:nth-child(5):after{
        width: 100%;
    }
}


@media(max-width: 767px){
    .horizontal-section {
        position: sticky;
        top: 80px;
    }

    .scroll-horiz-outer {
        overflow: hidden;
        width: 100%;
    }

    .h-scroll-wrapper {
        display: flex;
        height: 100%;
        will-change: transform;
    }

    .section-info__row {
        flex: 0 0 100vw;
        height: 100%;
    }
    .section-info__content .info_images{
        margin-bottom: 30px;
    }
    .section-info__card svg{
        max-width: 70px;
        max-height: 96px;
    }
    .section-info .section-info__heading{
        max-width: 90%;
    }
    .scroll-bounce-block video{
        height: 100%;
    }
    .scroll-bounce-block{
        height: 390px;
        width: 75%;
    }
}