@use '../../utils' as *;

/*----------------------------------------*/
/*  7.4 Testimonial css
/*----------------------------------------*/

.th-clientbox-wrap{
    background: var(--primary-color);
    border-radius: 24px;
    position: relative;
    text-align: center;
    padding: 48px;
    @media #{$md,$xs}{
        padding: 30px;
    }
    & .th-shape{
        position: absolute;
        top: 0;
        right: 0;
    }
}

.th-clientbox-wrap-top-content{
    & .th-client-tltle{
        font-size: 72px;
        line-height: 80px;
        color: var(--black-color);
        transition: .3s;
        font-weight: 700;
    }
    & .th-desc{
        font-size: 18px;
        line-height: 26px;
        font-weight: 400;
        color: var(--black-color);
    }
    padding-bottom: 78px;
}

.th-clientbox-wrap-center-content{
    & .th-desc{
        font-size: 18px;
        line-height: 26px;
        font-weight: 600;
        color: var(--black-color);
    }
    padding-bottom: 136px;
}

.th-testimonial-content-wrap{
    padding: 56px 48px;
    border-radius: 16px;
    border:1px solid var(--black-color);
    background: var(--black-color);
    @media #{$md,$xs}{
        padding: 30px;
    }
    & .th-text{
        font-size: 24px;
        line-height: 36px;
        font-weight: 500;
        color: var(--secondary-color);
        font-style: italic;
        padding-top: 32px;
        padding-bottom: 40px;
        @media #{$md,$xs}{
           font-size: 20px;
           line-height: 30px;
        }
    }
    &-2{
        & .th-text{
            font-style: normal;
            font-size: 14px;
            line-height: 20px;
            padding-top: 16px;
            padding-bottom: 0;
        }
    }
}

.th-testimonial-authflex{
    display: flex;
    align-items: center;
    & .th-thumb{
        & img{
            height: 72px;
            width: 72px;
            border-radius: 50px;
            margin-right: 8px;
        }
    }
    & .th-content{
        & .th-title{
            font-size: 24px;
            line-height: 32px;
            font-weight: 700;
            color: var(--secondary-color);
            transition: .3s;
        }
        & .th-desc{
            padding-top: 8px;
            font-size: 16px;
            line-height: 24px;
            font-weight: 400;
            color: var(--text-color);
            transition: .3s;
        }
    }
    &-2{
        flex-direction: column;
        text-align: center;
        width: 89%;
        margin-right: 24px;
        padding-right: 24px;
        & .th-thumb{
            & img{
                height: 72px;
                width: 72px;
                border-radius: 50px;
                margin-bottom: 12px;
                margin-right: 0;
            }
        }
        & .th-content{
            & .th-title{
                font-size: 20px;
                line-height: 28px;
                font-weight: 700;
                color: var(--secondary-color);
                transition: .3s;
                &:hover{
                    color: var(--primary-color-2);
                    transition: .3s;
                }
            }
            & .th-desc{
                padding-top: 8px;
                font-size: 14px;
                line-height: 20px;
                font-weight: 400;
                color: var(--text-color);
                transition: .3s;
            }
        }
        @media #{$lg,$md,$xs}{
            margin-right: 0;
            padding-right: 0;
            width: 100%;
        }
    }
}

.tp-test-slider-space {
    margin-right: -445px;
    @media #{$lg,$md,$xs}{
        margin-right: 0;
    }
}
.th-testimonial-navigation {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 9;
}


.th-testimonial-navigation-button span:hover img {
    filter: brightness(0);
    transition: .3s;
}

.th-testimonial-navigation-button span img {
    filter: none;
    transition: .3s;
}
.th-testimonial-navigation-button span {
    background: var(--black-bg);
    height: 56px;
    width: 56px;
    display: inline-block;
    line-height: 56px;
    text-align: center;
    border-radius: 50%;
    transition: .3s;
    &:hover{
        background: var(--primary-color);
        transition: .3s;
    }
}

.th-testimonial-navigation-button-2 span {
    background: var(--black-bg);
    height: 56px;
    width: 56px;
    display: inline-block;
    line-height: 56px;
    text-align: center;
    border-radius: 50%;
    transition: .3s;
    &:hover{
        background: #4C40F7;
        transition: .3s;
    }
}

.th-testimonial-navigation-button-2 span:hover img{
    filter: brightness(0) invert(1);
    transition: .3s;
}



.th-testimonial-navigation-button.th-testimonial-navigation-button-3 span:hover {
    background: #FF7B00;
}
.th-testimonial-navigation-button.th-testimonial-navigation-button-3 span:hover img {
    filter: brightness(0) invert(1);
}



.th-testimonial-content-wrap{
    border: 1px solid #191919;
    transition: .3s;
}

.swiper-slide.swiper-slide-active .th-testimonial-content-wrap {
    border: 1px solid var(--primary-color);
    transition: .3s;
    &-2{
        border: 1px solid var(--primary-color-2);
    }
}

.th-testimonial-content-wrap-2 {
    display: flex;
    align-items: center;
    padding: 40px 24px;
    @media #{$lg,$md,$xs}{
        display: block;
    }
}


.th-testimonial-authflex.th-testimonial-authflex-2 {
    position: relative;
}

.th-testimonial-authflex.th-testimonial-authflex-2::after {
    position: absolute;
    content: "";
    right: 0;
    top: -41px;
    background: #2F2F2F;
    width: 1px;
    height: 155%;
    bottom: 32px;
    @media #{$lg,$md,$xs}{
        top: 0;
        background: inherit;
        width: inherit;
        height: inherit;
        bottom: inherit;
    }
}

.th-quote-flex2{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.th-icon-rating ul li{
    display: inline-block;
}

.th-testimonial-thumb-3{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 912px;
}

.th-testimonial-box-thee {
    background: #0E0E0E;
    border: 1px solid #2C2C2C;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    @media #{$xs}{
        flex-direction: column;
    }
}

.th-testimonial-box-content{
    margin-right: 52px;
    & .th-para{
        font-size: 20px;
        line-height: 30px;
        font-weight: 500;
        font-style: italic;
        color: var(--text-color);
        padding-bottom: 32px;
        margin-bottom: 32px;
        border-bottom: 1px solid #2C2C2C;
    }
    @media #{$xs}{
        margin-right: 0;
    }
}

.th-testimonial-auth-thee{
    & .th-auth-title{
        font-size: 20px;
        line-height: 28px;
        font-weight: 600;
        color: var(--secondary-color);
        transition: .3s;
        & span{
            font-size: 16px;
            line-height: 24px;
            font-weight: 400;
            color: var(--text-color);
            font-family: var(--th-fonts-Onest);
        }
    }
}


.th-testimonial-box-thumb{
    & img{
        height: 168px;
        width: 168px;
        line-height: 1;
        border: 1px solid #2F2F2F;
        border-radius: 50%;
    }
}


.th-testimoninial-reviewbox{
    border-radius: 16px;
    border: 1px solid #2C2C2C;
    padding: 40px 24px;
    text-align: center;
}

.th-testimoninial-flex{
    display: flex;
    align-items: center;
    justify-content: center;
}

.th-star-content{
    & .title{
        font-size: 32px;
        line-height: 40px;
        font-weight: 700;
        color: var(--secondary-color);
    }
}

.th-test-center-content{
    & .th-title{
        font-size: 16px;
        line-height: 24px;
        font-weight: 600;
        color: #B4B2B2;
        & span{
            color: var(--primary-color-3);
        }
    }
    & .th-thumb{
        margin-top: 26px;
        margin-bottom: 16px;
    }
}

.th-quote-three{
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    & span{
        height: 48px;
        width: 48px;
        line-height: 48px;
        text-align: center;
        border-radius: 50%;
        background: #121212;
        display: inline-block;
        & img{
            height: 24px;
            width: 24px;
            border: inherit;
        }
    }
}

// testimonial slider 3.1

.th-vertical-pagination{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-right: 48px;
    padding: 16px 12px;
    border-radius: 50px;
    border: 1px solid #3D332C;
}

.th-vertical-pagination span{
  width:48px;
  height:48px;
  border-radius:50%;
  background:#0E0E0E;
  color: var(--text-color);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:.3s;
}

.th-vertical-pagination span.active{
  background:#ff7a00;
  opacity:1;
  transform:scale(1.1);
  color: var(--secondary-color);
}

.th-project-container{
  display:flex;
  align-items:center;
  position:relative;
}

.th-bottom-text{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 64px;
    margin: 0 auto;
    text-align: center;
    & small{
        font-size: 16px;
        line-height: 24px;
        font-weight: 400;
        color: var(--primary-color-3);
    }
}

.th-portfolio-title{
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    color: var(--secondary-color);
}

.th-portfolio-btn3 {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    transform: translateY(-50%);
}

.thg-year {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin-left: 30px;
    opacity: .6;
    font-size: 24px;
    line-height: 32px;
    color: var(--secondary-color);
    position: relative;
}

.th-line25 {
    position: absolute;
    top: -64px;
    right: -10px;
    bottom: 0;
}

// video bottom 

.th-play-video-wrap{
    background: #0E0E0E;
    padding: 41px 32px;
    margin-top: 688px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    @media #{$xs}{
        margin-top: 400px;
    }
}

.th-play-video-wrap-box{
    background: var(--primary-color-3);
    padding: 16px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    @media #{$xs}{
        flex-direction: column;
        border-radius: 16px;
    }
    & .th-icon{
        & span{
            height: 110px;
            width: 110px;
            line-height: 110px;
            text-align: center;
            background: var(--secondary-color);
            display: inline-block;
            color: var(--black-color);
            border-radius: 50%;
            font-size: 24px;
            margin-right: 16px;
        }
    }
    & .th-content{
        & .th-para{
            font-size: 18px;
            line-height: 26px;
            font-weight: 600;
            color: var(--secondary-color);
        }
    }
}

.th-project-active-margin {
    margin: 0 -100px;
    @media #{$lg,$md,$xs}{
        margin: 0;
    }
}

.th-control-pagination{
    .swiper-pagination{
        position: relative;
    }
    span.swiper-pagination-bullet {
        background: #C9C9C9;
        opacity: 1;
    }
    span.swiper-pagination-bullet.swiper-pagination-bullet-active {
        background: var(--primary-color);
        position: relative;
    }
    &.th-control-dot-2{
        span.swiper-pagination-bullet.swiper-pagination-bullet-active {
            background: #4C40F7;
            position: relative;
        }    
    }
    &.th-control-dot-3{
        span.swiper-pagination-bullet.swiper-pagination-bullet-active {
            background: #FF7B00;
            position: relative;
        }    
    }
}

.th-control-pagination span.swiper-pagination-bullet.swiper-pagination-bullet-active:after {
    position: absolute;
    border: 2px solid var(--primary-color);
    left: -6px;
    top: -6px;
    content: "";
    border-radius: 50%;
    padding: 8px;
}

.th-control-pagination.th-control-dot-2 span.swiper-pagination-bullet.swiper-pagination-bullet-active:after {
    position: absolute;
    border: 2px solid #4C40F7;
    left: -6px;
    top: -6px;
    content: "";
    border-radius: 50%;
    padding: 8px;
}

.th-control-pagination.th-control-dot-3 span.swiper-pagination-bullet.swiper-pagination-bullet-active:after {
    position: absolute;
    border: 2px solid #FF7B00;
    left: -6px;
    top: -6px;
    content: "";
    border-radius: 50%;
    padding: 8px;
}

.th-control-pagination {
    margin-top: 48px;
}
.th-slider-arrow-control {
    margin-top: -48px;
    &-2{
        margin: 0;
        margin-top: 48px;
        top: -22px;
        position: relative;
    }
}



.th-testimonial-navigation-next::after {
    position: absolute;
    content: "";
    left: 72px;
    right: 0;
    background: #454545;
    height: 1px;
    width: 198px;
    top: 50%;
}

.th-testimonial-navigation-prev::after {
    position: absolute;
    content: "";
    height: 1px;
    width: 198px;
    background: #454545;
    right: 65px;
    left: auto;
    top: 50%;
}

.th-testimonial-navigation-prev::after {
    position: absolute;
    content: "";
    height: 1px;
    width: 198px;
    background: #454545;
    right: 65px;
    left: auto;
    top: 50%;
}

.th-testimonial-navigation-prev-2::after {
    position: absolute;
    content: "";
    height: 1px;
    width: 38%;
    background: #454545;
    right: 65px;
    left: auto;
    top: 50%;
}
.th-testimonial-navigation-next-2::after {
    position: absolute;
    content: "";
    left: 72px;
    right: 0;
    background: #454545;
    height: 1px;
    width: 38%;
    top: 50%;
}


.th-testimonial-navigation-3{
    .th-testimonial-navigation-next::after {
    position: absolute;
    content: "";
    left: 72px;
    right: 0;
    background: #454545;
    height: 1px;
    width:40%;
    top: 50%;
}
.th-testimonial-navigation-prev::after {
    position: absolute;
    content: "";
    height: 1px;
    width: 40%;
    background: #454545;
    right: 72px;
    left: auto;
    top: 50%;
}
}

.th-project-year25{
    & .th-yrtitle{
        font-size: 24px;
        line-height: 32px;
        font-weight: 700;
        color: #FBFBFB;
        position: absolute;
        writing-mode: sideways-rl;
        top: 50%;
        right: 3px;
        transform: translateY(-119%);
    }
    & span{
        & img{
            position: absolute;
            top: 50%;
            right: 0;
            transform: translateY(-104%);
        }
    }
}

.th-marketing-content{
    position: absolute;
    bottom: 0;
    text-align: center;
    left: 0;
    right: 0;
    transition: .3s;
    opacity: 0;
    visibility: hidden;
    & .th-sutitle{
        color: #FF7B00;
        font-size: 16px;
        line-height: 24px;
        font-weight: 400;
        transition: .3s;
    }
    & .th-title{
        color: #FBFBFB;
        font-size: 24px;
        line-height: 32px;
        font-weight: 700;
        transition: .3s;
        &:hover{
            color:#FF7B00;
            transition: .3s;
        }
    }
    & span{
        & img{
            width: 24px;
        }
    }
}

.th-slide-image{
    &:hover{
        & .th-marketing-content{
            bottom: 32px;
            opacity: 1;
            visibility: visible;
            transition: .3s;
        }
    }
}




// testimonial new 

        .th-project-slider{
         display:flex;
         align-items:center;
         gap:40px;
         }
         /* number navigation */
        .th-number-nav {
            display: flex;
            flex-direction: column;
            gap: 16px;
            border: 1px solid #3C322B;
            padding: 16px 12px;
            border-radius: 90px;
            position: relative;
            z-index: 1;
        }

         .th-num1{
         width:42px;
         height:42px;
         border-radius:50%;
         display:flex;
         align-items:center;
         justify-content:center;
         background:#0E0E0E;
         color: #B4B2B2;
         cursor:pointer;
         transition:.3s;
         }
         .th-num1.th-active{
         background:#FF7B00;
         color: #FBFBFB;
         }
         /* slider */
         .th-swiper{
         width:100%;
         }
         .th-slide-image{
         position:relative;
         }
         .th-slide-image img{
         width:100%;
         border-radius:14px;
         }
         /* year */
         .th-slide-year{
         position:absolute;
         right:-40px;
         top:50%;
         transform:translateY(-50%) scale(.7);
         writing-mode:vertical-rl;
         font-size:22px;
         letter-spacing:6px;
         opacity:0;
         transition:.4s;
         }
         /* only active slide */
         .swiper-slide-active .th-slide-year{
         opacity:1;
         transform:translateY(-50%) scale(1);
         }
         /* controls */
         .th-slider-controls{
         margin-top:40px;
         display:flex;
         align-items:center;
         justify-content:center;
         gap:30px;
         }
         /* arrows */
         .th-arrow{
         width:46px;
         height:46px;
         border-radius:50%;
         background:#111;
         display:flex;
         align-items:center;
         justify-content:center;
         cursor:pointer;
         transition:.3s;
         }
         
         /* responsive */
         @media(max-width:768px){
         .th-project-slider{
         flex-direction:column;
         }
         .th-number-nav{
         flex-direction:row;
         }
         .th-slide-year{
         display:none;
         }
         }