.testimonials {
    position: relative;
    z-index: 1;
}

.testimonials__bg {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.testimonial-wrap h2 {
    text-align: center;
}


.testimonial-progress-bar {
    width: calc(100% - 87px);
    margin-left: auto;
}

.testimonial-progress {
    display: block;
    width: 100%;
    height: 6px;
    border-radius: 0;
    overflow: hidden;
    background-color: #737373;
    background-image: linear-gradient(to right, #FFC820, #FFC820);
    background-repeat: no-repeat;
    background-size: 0 100%;
    transition: background-size .4s ease-in-out;
    margin-left: auto;
}


.js-testimonial {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    padding-bottom: 28px;
    margin: 0 -16px;
}

.testimonial-item {
    padding: 16px;
}

.testimonial {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    height: 100%;
    border-bottom: 8px solid #FFCC00;
    background: var(--color-white);
    padding: 25px 32px;
    color: var(--color-black);
    box-shadow: 0 0 15px rgba(0,0,0,0.16);
}

.js-testimonial .slick-track {
    display: flex !important;
}

.js-testimonial .slick-slide {
    height: inherit !important;
}

.js-testimonial .slick-slide div {
    height: 100%;
}

.js-testimonial .slick-slide .testimonial div {
    height: auto;
}

.testimonial__details.testimonial-inner {
    padding-bottom: 25px;
    max-height: 200px;
    overflow: scroll;
}
/* width */
.testimonial__details::-webkit-scrollbar {
    width: 5px;
    border-radius: 10px;
  }
  

  /* Handle */
  .testimonial__details::-webkit-scrollbar-thumb {
    background: #888; 
  
  }
  
  /* Handle on hover */
  .testimonial__details::-webkit-scrollbar-thumb:hover {
    background: #555; 
  }

.testimonial__author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
}

.testimonial__author img {
    width: 36px;
}

.testimonial__author span {
    width: calc(100% - 52px);
}

.testimonials__bttn {
    margin-top: 43px;
    text-align: center;
}

.js-testimonial .slick-arrow {
    bottom: -18px;
}

.testimonial__details p {
    font-size: 16px;
}

@media (min-width: 768px) {
    .js-testimonial {
        padding-bottom: 4px;
    }

    .testimonials__bttn {
        margin-top: 0;
        text-align: left;
        width: 306px;
    }

    .testimonials__bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        padding-left: 87px;
    }

    .testimonial-progress-bar {
        width: calc(100% - 331px);
        margin-left: 0;
    }

    .js-testimonial .slick-arrow {
        bottom: -41px;
    }
    .testimonials__bg::before{
        content: '';
        position: absolute;
        top: 0;
        left: -50px;
        width: 100%;
        height: 100%;
        background: rgb(0,0,0);
        background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8898153011204482) 16%, rgba(0,0,0,0) 52%);
    }
    .testimonials__bg {
        width: 38vw;
    }
}

@media (min-width: 1200px) {
    .testimonial-wrap h2 {
        text-align: left;
        padding-bottom: 25px;
    }

    .testimonial-wrap {
        width: 817px;
    }

   
   
}

@media (min-width: 1600px) {
    .testimonial-wrap {
        width: 1017px;
    }

   
    
}

.testimonial__details p {
    color : var(--color-black) ;
}
.slick-arrow.is-active{
    opacity: 1;
}