/* testimonial 1*/
.testimonial-block-layout-one{
    margin: 80px 0;
}
.testimonial-block-layout-one .testimonial_item{
    text-align: center;
}
.testimonial-block-layout-one .testimonial_item img{
    width: 115px;
    margin: 0 auto 32px;
}
.testimonial-block-layout-one .testimonial_item h5{
    max-width: 768px;
    text-align: center;
    margin: auto;
}
.testimonial-block-layout-one .testimonial_name_wraper img{
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0;
}
.testimonial-block-layout-one .testimonial_name_wraper{
    margin-top: 32px;
    gap: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.testimonial-block-layout-one .slick-dots li,
.testimonial-block-layout-one .slick-dots li button{
    width: 8px;
    height: 8px;
    padding: 0;
    margin: 0;
}
.testimonial-block-layout-one .slick-dots li{
    margin: 0 4.5px;
}
.testimonial-block-layout-one .slick-dots li button:before{
    line-height: 8px;
    width: 8px;
    height: 8px;
}
/* .testimonial-block-layout-one .slick-prev{
    background: url("../images/Slider_prev.svg");
    background-repeat: no-repeat;
    background-size: 100%;
    height: 48px;
    width: 48px;
    z-index: 1;
}
.testimonial-block-layout-one .slick-next{
    background: url("../images/Slider_next.svg");
    background-repeat: no-repeat;
    background-size: 100%;
    height: 48px;
    width: 48px;
    z-index: 1;
} */
.testimonial-block-layout-one .slick-next::before,
.testimonial-block-layout-one .slick-prev::before{
    display: none;
}
@media (max-width:767px){
    .testimonial-block-layout-one{
        margin: 64px 0;
    }
    .testimonial-block-layout-one .testimonial_item img{
        margin: 0 auto 24px;
    }
    .testimonial-block-layout-one .testimonial_name_wraper{
        margin-top: 24px;
    }
}
/* testimonial 2*/
.testimonial-block-layout-two{
    display: flex;
    gap: 80px;
    flex-direction: column;
    margin: 80px 0;
}
.testimonial-block-layout-two .testimonial_header{
    text-align: center;
}
.testimonial-block-layout-two .testimonial_header h2{
    margin-bottom: 24px;
}
.testimonial-block-layout-two .testimonial_header p{
    font-size: 18px;
    list-style: 150%;
    font-weight: 400;
}
.testimonial-block-layout-two .testimonial_content{
    display: grid;
    gap: 48px;
    grid-template-columns: 1fr 1fr 1fr;
}
.testimonial-block-layout-two .testimonial_item {
    text-align: center;
    display: flex;
    gap: 24px;
    flex-direction: column;
    align-items: center;
}
.testimonial-block-layout-two .testimonial_item img{
    width: 115px;
}
.testimonial-block-layout-two .testimonial_name_wraper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}
.testimonial-block-layout-two .testimonial_name_wraper img{
    width: 56px;
    height: 56px;
    border-radius: 50%;
}
.testimonial-block-layout-two .testimonial_item h6{
    height: 140px;
    overflow: auto;
}
@media (max-width:767px){
    .testimonial-block-layout-two .testimonial_content{
        grid-template-columns: 1fr;
    }
    .testimonial-block-layout-two .testimonial_item {
        gap: 20px;
    }
    .testimonial-block-layout-two {
        gap: 48px;
        margin: 64px 0;
    }
    .testimonial-block-layout-two .testimonial_header h2{
        margin-bottom: 20px;
    }
}
/* testimonial 3*/
.testimonial-block-layout-three{
    margin: 80px 0;
}
.testimonial-block-layout-three .testimonial_item{
    text-align: center;
}
.testimonial-block-layout-three .testimonial_star_rating{
    margin: 0 auto 32px;
}
.testimonial-block-layout-three .testimonial_item h5{
    max-width: 768px;
    text-align: center;
    margin: auto;
}
.testimonial-block-layout-three .testimonial_name_wraper{
    display: flex;
    justify-content: center;
    margin-top: 32px;
}
.testimonial-block-layout-three .testimonial_name_wraper .testimonial_rating img{
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin: 0;
}
.testimonial-block-layout-three .testimonial_name_wraper > img {
    padding-left: 22px;
    width: 120px;
}
.testimonial-block-layout-three .testimonial_rating{
    gap: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-right: 20px;
    border-right: 1px solid #000;
}
.testimonial-block-layout-three .testimonial_rating p{
    text-align: left;
}
.testimonial-block-layout-three .slick-dots li,
.testimonial-block-layout-three .slick-dots li button{
    width: 8px;
    height: 8px;
    padding: 0;
    margin: 0;
}
.testimonial-block-layout-three .slick-dots li{
    margin: 0 4.5px;
}
.testimonial-block-layout-three .slick-dots li button:before{
    line-height: 8px;
    width: 8px;
    height: 8px;
}
/* .testimonial-block-layout-one .slick-prev{
    background: url("../images/Slider_prev.svg");
    background-repeat: no-repeat;
    background-size: 100%;
    height: 48px;
    width: 48px;
    z-index: 1;
}
.testimonial-block-layout-one .slick-next{
    background: url("../images/Slider_next.svg");
    background-repeat: no-repeat;
    background-size: 100%;
    height: 48px;
    width: 48px;
    z-index: 1;
} */
.testimonial-block-layout-three .slick-next::before,
.testimonial-block-layout-three .slick-prev::before{
    display: none;
}
.testimonial-block-layout-three .testimonial_star_rating {
    display: flex;
    align-items: center;
    justify-content: center;
}
 
.testimonial-block-layout-three .testimonial_star_rating .stars {
    display: flex;
    gap: 4px;
}
 
.testimonial-block-layout-three .testimonial_star_rating .star {
    font-size: 24px;
    color: #ddd;
    transition: color 0.2s ease;
}
 
.testimonial-block-layout-three .testimonial_star_rating .star.filled {
    color: #FBB41B;
}
@media (max-width:767px){
    .testimonial-block-layout-three{
        margin: 64px 0;
    }
    .testimonial-block-layout-three .testimonial_name_wraper{
        margin-top: 24px;
        flex-direction: column;
        gap: 16px;
        justify-content: center;
        align-items: center;
    }
    .testimonial-block-layout-three .testimonial_star_rating {
        margin: 0 auto 24px;
    }
    .testimonial-block-layout-three .testimonial_rating{
        flex-direction: column;
        padding: 0;
        border: 0;
    }
    .testimonial-block-layout-three .testimonial_rating p {
        text-align: center;
    }
    .testimonial-block-layout-three .testimonial_name_wraper > img{
        padding: 0;
    }
}
/** testimonial 4*/
.testimonial-block-layout-four{
    display: flex;
    gap: 80px;
    flex-direction: column;
    margin: 80px 0;
}
.testimonial-block-layout-four .testimonial_header p{
    margin-top: 24px;
    font-size: 18px;
    list-style: 150%;
    font-weight: 400;
}
.testimonial-block-layout-four .testimonial_content{
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr 1fr 1fr;
}
.testimonial-block-layout-four .testimonial_star_rating {
    display: flex;
    margin-bottom: 32px;
}
 
.testimonial-block-layout-four .testimonial_star_rating .stars {
    display: flex;
    gap: 4px;
}
 
.testimonial-block-layout-four .testimonial_star_rating .star {
    font-size: 24px;
    color: #ddd;
    transition: color 0.2s ease;
}
 
.testimonial-block-layout-four .testimonial_star_rating .star.filled {
    color: #FBB41B;
}
.testimonial-block-layout-four .testimonial_name_wraper{
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.testimonial-block-layout-four .testimonial_rating{
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.testimonial-block-layout-four .testimonial_rating img{
    width: 56px;
    height: 56px;
    border-radius: 50%;
}
.testimonial-block-layout-four .testimonial_name_wraper > img{
    width: 115px;
}
.testimonial-block-layout-four .testimonial_item h6{
    height: 112px;
    overflow: auto;
}
@media (max-width:767px){
    .testimonial-block-layout-four{
        display: flex;
        gap: 48px;
        flex-direction: column;
        margin: 64px 0;
    }
    .testimonial-block-layout-four .testimonial_content{
        grid-template-columns: 1fr;
    }
    .testimonial-block-layout-four .testimonial_header p{
        margin-top: 20px;
        font-size: 16px;
    }
    .testimonial-block-layout-four .testimonial_star_rating {
        margin-bottom: 24px;
    }
    .testimonial-block-layout-four .testimonial_name_wraper {
        margin-top: 24px;
    }
    .testimonial-block-layout-four .testimonial_name_wraper > img{
        width: 120px;
    }
}
/* testimonial 5*/
.testimonial-block-layout-five{
    display: flex;
    gap: 80px;
    flex-direction: column;
    margin: 80px 0;
}
.testimonial-block-layout-five .testimonial_header{
    text-align: center;
}
.testimonial-block-layout-five .testimonial_review_p{
    font-size: 18px;
    line-height: 150%;
    font-weight: 400;
    height: 108px;
    overflow: auto;
}
.testimonial-block-layout-five .testimonial_review_p,
.testimonial-block-layout-five .testimonial_name_wraper .testimonial_rating p{
    text-align: left;
}
.testimonial-block-layout-five .testimonial_header h2{
    margin-bottom: 24px;
}
.testimonial-block-layout-five .testimonial_header p{
    font-size: 18px;
    list-style: 150%;
    font-weight: 400;
}
.testimonial-block-layout-five .testimonial_content{
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr 1fr 1fr;
}
.testimonial-block-layout-five .testimonial_item {
    text-align: center;
    display: flex;
    gap: 24px;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    border: 1px solid #DADADA;
}
.testimonial-block-layout-five .testimonial_name_wraper .testimonial_rating{
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
}
.testimonial-block-layout-five .testimonial_name_wraper img{
    width: 48px;
    height: 48px;
    border-radius: 50%;
}
.testimonial-block-layout-five .testimonial_star_rating {
    display: flex;
}
 
.testimonial-block-layout-five .testimonial_star_rating .stars {
    display: flex;
    gap: 4px;
}
 
.testimonial-block-layout-five .testimonial_star_rating .star {
    font-size: 24px;
    line-height: 20px;
    color: #ddd;
    transition: color 0.2s ease;
}
 
.testimonial-block-layout-five .testimonial_star_rating .star.filled {
    color: #FBB41B;
}
@media (max-width:767px){
    .testimonial-block-layout-five .testimonial_content{
        grid-template-columns: 1fr;
    }
    .testimonial-block-layout-five .testimonial_item {
        gap: 20px;
    }
    .testimonial-block-layout-five {
        gap: 48px;
        margin: 64px 0;
    }
    .testimonial-block-layout-five .testimonial_header h2{
        margin-bottom: 20px;
    }
    .testimonial-block-layout-five .testimonial_review_p{
        font-size: 16px;
    }
}
/* testimonial 6*/
.testimonial-block-layout-six{
    display: flex;
    gap: 80px;
    flex-direction: column;
    margin: 80px 0;
}
.testimonial-block-layout-six .testimonial_header{
    text-align: center;
}
.testimonial-block-layout-six .testimonial_review_p{
    font-size: 18px;
    line-height: 150%;
    font-weight: 400;
}
.testimonial-block-layout-six .testimonial_review_p,
.testimonial-block-layout-six .testimonial_name_wraper .testimonial_rating p{
    text-align: left;
}
.testimonial-block-layout-six .testimonial_header h2{
    margin-bottom: 24px;
}
.testimonial-block-layout-six .testimonial_header p{
    font-size: 18px;
    list-style: 150%;
    font-weight: 400;
}
.testimonial-block-layout-six .testimonial_content{
    /* display: grid;
    gap: 32px;
    grid-template-columns: 1fr 1fr 1fr; */
    position: relative;
}
.testimonial-block-layout-six .testimonial_item {
    text-align: center;
    display: flex;
    gap: 24px;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    border: 1px solid #DADADA;
    margin-bottom: 32px;
    /* line-height: 0;        
    height: auto;   */
    width: calc((100% / 3) - 21.33px); 
}
.testimonial-block-layout-six .testimonial_name_wraper .testimonial_rating{
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
}
.testimonial-block-layout-six .testimonial_name_wraper img{
    width: 48px;
    height: 48px;
    border-radius: 50%;
}
.testimonial-block-layout-six .testimonial_star_rating {
    display: flex;
}
 
.testimonial-block-layout-six .testimonial_star_rating .stars {
    display: flex;
    gap: 4px;
}
 
.testimonial-block-layout-six .testimonial_star_rating .star {
    font-size: 24px;
    line-height: 20px;
    color: #ddd;
    transition: color 0.2s ease;
}
 
.testimonial-block-layout-six .testimonial_star_rating .star.filled {
    color: #FBB41B;
}
@media (max-width : 1024px){
    .testimonial-block-layout-six .testimonial_item {
    
        width: calc((100% / 2) - 16px); 
    }
}
@media (max-width:767px){
    .testimonial-block-layout-six .testimonial_content{
        grid-template-columns: 1fr;
    }
    .testimonial-block-layout-six .testimonial_item {
        gap: 20px;
        width:100% ;
    }
    .testimonial-block-layout-six {
        gap: 48px;
        margin: 64px 0;
    }
    .testimonial-block-layout-six .testimonial_header h2{
        margin-bottom: 20px;
    }
    .testimonial-block-layout-six .testimonial_review_p{
        font-size: 16px;
    }
}
/* testimonial 7*/
.testimonial-block-layout-seven{
    display: flex;
    gap: 80px;
    flex-direction: column;
    margin: 80px 0;
}
.testimonial-block-layout-seven .testimonial_header{
    text-align: center;
}
.testimonial-block-layout-seven .testimonial_review_p{
    font-size: 18px;
    line-height: 150%;
    font-weight: 400;
    height: 135px;
    overflow: auto;
}
.testimonial-block-layout-seven .testimonial_review_p,
.testimonial-block-layout-seven .testimonial_name_wraper .testimonial_rating p{
    text-align: left;
}
.testimonial-block-layout-seven .testimonial_header h2{
    margin-bottom: 24px;
}
.testimonial-block-layout-seven .testimonial_header p{
    font-size: 18px;
    list-style: 150%;
    font-weight: 400;
}
/* .testimonial-block-layout-seven .testimonial_content{
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr 1fr 1fr;
} */
.testimonial-block-layout-seven .testimonial_item {
    text-align: center;
    display: flex;
    gap: 24px;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    border: 1px solid #DADADA;
     margin: 0  16px 0 16px; 
}
.testimonial-block-layout-seven .testimonial_name_wraper .testimonial_rating{
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
}
.testimonial-block-layout-seven .testimonial_name_wraper img{
    width: 48px;
    height: 48px;
    border-radius: 50%;
}
.testimonial-block-layout-seven .testimonial_star_rating {
    display: flex;
}
 
.testimonial-block-layout-seven .testimonial_star_rating .stars {
    display: flex;
    gap: 4px;
}
 
.testimonial-block-layout-seven .testimonial_star_rating .star {
    font-size: 24px;
    line-height: 20px;
    color: #ddd;
    transition: color 0.2s ease;
}
 
.testimonial-block-layout-seven .testimonial_star_rating .star.filled {
    color: #FBB41B;
}
/* .testimonial-block-layout-seven .slick-list {
     padding: 0 calc((100% - 1280px) / 2) !important;
} */
 
.testimonial-block-layout-seven .slick-prev {
    left: 0px;
    bottom: -72px;
    top: unset;
    transform: translate(0, -0%);
}
.testimonial-block-layout-seven .slick-next {
    left: 66px;
    bottom: -72px;
    top: unset;
    transform: translate(0, -0%);
}
.testimonial-block-layout-seven .slick-dots{
    bottom: -56px;
    right: 0;
    width: auto;
}
.testimonial-block-layout-seven .slick-dots li,
.testimonial-block-layout-seven .slick-dots li button{
    width: 8px;
    height: 8px;
    padding: 0;
    margin: 0;
}
.testimonial-block-layout-seven .slick-dots li{
    margin: 0 4.5px;
}
.testimonial-block-layout-seven .slick-dots li button:before{
    line-height: 12px;
     width: 8px;
    height: 8px;
    font-size: 8px;
}
.testimonial-block-layout-seven .slick-prev{
    background: url("../images/Slider_prev.svg");
    background-repeat: no-repeat;
    background-size: 100%;
    height: 48px;
    width: 48px;
    z-index: 1;
}
.testimonial-block-layout-seven .slick-next{
    background: url("../images/Slider_next.svg");
    background-repeat: no-repeat;
    background-size: 100%;
    height: 48px;
    width: 48px;
    z-index: 1;
}
.testimonial-block-layout-seven .slick-next::before,
.testimonial-block-layout-seven .slick-prev::before{
    display: none;
}

/* No gap at the right end */
.testimonial-block-layout-seven .slick-track > .slick-slide.slick-active:last-of-type {
    margin-right: 0 !important;
}

/* No gap at the left end */
.testimonial-block-layout-seven .slick-track > .slick-slide.slick-active:first-of-type {
    margin-left: 0 !important;
}
@media (max-width:767px){
    /* .testimonial-block-layout-seven .testimonial_content{
        grid-template-columns: 1fr;
    } */
    .testimonial-block-layout-seven .testimonial_item {
        gap: 20px;
    }
    .testimonial-block-layout-seven {
        gap: 48px;
        margin: 64px 0;
    }
    .testimonial-block-layout-seven .testimonial_header h2{
        margin-bottom: 20px;
    }
    .testimonial-block-layout-seven .testimonial_review_p{
        font-size: 16px;
    }
}
/* testimonial 7*/
.testimonial-block-layout-eight{
    display: flex;
    gap: 40px;
    flex-direction: column;
    margin: 80px 0;
}
.testimonial-block-layout-eight .testimonial_header h2{
    margin-bottom: 24px;
}
.testimonial-block-layout-eight .testimonial_header p{
    font-size: 18px;
    list-style: 150%;
    font-weight: 400;
}
.testimonial-block-layout-eight .testimonial_header{
    width: 1280px;
    margin: auto;
}
.testimonial-block-layout-eight .testimonial_item_wrapper{
    display: flex;
    flex-direction: column;
    padding: 32px;
    border: 1px solid #DADADA;   
}
.testimonial-block-layout-eight .testimonial_item {
    /* display: flex;
    flex-direction: column;
    padding: 32px;
    border: 1px solid #DADADA; */
     /* margin: 0  16px 0 16px;  */
      padding: 0 16px 0 16px; 
}
.testimonial-block-layout-eight .testimonial_review_p {
    font-size: 18px;
    line-height: 150%;
    font-weight: 400;
    height: 135px;
    overflow: auto;
    margin-bottom: 24px;
}
.testimonial-block-layout-eight .testimonial_name_wraper .testimonial_rating {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
}
.testimonial-block-layout-eight .testimonial_name_wraper img {
    width: 48px !important;
    height: 48px;
    border-radius: 50%;
    margin-bottom: 0 !important;
}
.testimonial-block-layout-eight .testimonial_review_read_more{
    margin-top: 32px;
    font-size: 16px;
    line-height: 150%;
    font-weight: 400;
}
.testimonial-block-layout-eight .testimonial_review_read_more::after {
    content: '';
    display: inline-block;
    width: 6.69px;
    height: 11.62px;
    margin-left: 16.51px;
    background: url(../images/black-arrow.svg) no-repeat center center;
}
.testimonial-block-layout-eight .slick-prev {
    /* left:calc((100vw - 1280px) / 2 - 8px); */
    bottom: -72px;
    top: unset;
    transform: translate(0, -0%);
    right:calc((100vw - 1280px) / 2 - 8px + 48px + 16px);
    left: unset;
}
.testimonial-block-layout-eight .slick-next {
    /* left: 66px; */
    bottom: -72px;
    top: unset;
    transform: translate(0, -0%);
    right: calc((100vw - 1280px) / 2 - 8px);
}
.testimonial-block-layout-eight .slick-dots{
    bottom: -56px;
    left: calc((100vw - 1280px) / 2 - 16px);
    width: auto;
}
.testimonial-block-layout-eight .slick-list{
    padding: 0 calc((100% - 1280px - 32px) / 2);
}
.testimonial-block-layout-eight .slick-dots li,
.testimonial-block-layout-eight .slick-dots li button{
    width: 8px;
    height: 8px;
    padding: 0;
    margin: 0;
}
.testimonial-block-layout-eight .slick-dots li{
    margin: 0 4.5px;
}
.testimonial-block-layout-eight .slick-dots li button:before{
    line-height: 12px;
     width: 8px;
    height: 8px;
    font-size: 8px;
}
.testimonial-block-layout-eight .slick-prev{
    background: url("../images/Slider_prev.svg");
    background-repeat: no-repeat;
    background-size: 100%;
    height: 48px;
    width: 48px;
    z-index: 1;
}
.testimonial-block-layout-eight .slick-next{
    background: url("../images/Slider_next.svg");
    background-repeat: no-repeat;
    background-size: 100%;
    height: 48px;
    width: 48px;
    z-index: 1;
}
.testimonial-block-layout-eight .slick-next::before,
.testimonial-block-layout-eight .slick-prev::before{
    display: none;
}
.testimonial-block-layout-eight .testimonial_item img {
    width: 120px;
    margin-bottom: 48px;
    height: 48px;
    object-fit: contain;
}
@media (max-width:1280px){
    .testimonial-block-layout-eight {
        padding: 0 20px;
    }
    .testimonial-block-layout-eight .slick-prev {
        right:84px;
    }
    .testimonial-block-layout-eight .slick-next {
        right: 20px;
    }
    .testimonial-block-layout-eight .slick-dots{
        left: 20px;
    }
    .testimonial-block-layout-eight .slick-list{
        padding: 0 calc((100% - 1280px - 32px) / 2);
    }
    .testimonial-block-layout-eight .testimonial_header{
        width: 100%;
    }
}
@media (max-width:767px){
    .testimonial-block-layout-eight {
        gap: 24px;
        margin: 64px 0;
    }
    .testimonial-block-layout-eight .testimonial_header h2{
        margin-bottom: 20px;
    }
    .testimonial-block-layout-eight .testimonial_review_p{
        font-size: 16px;
    }
}