/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: #fff;
}

.testimonials .about-label {
    
   font-family: "Poltawski Nowy";
    font-weight: 400;
    font-style: Italic;
    font-size: 21px;
    line-height: 28px;

}

.testimonials h2 {
    color: #000;
    font-family: "Poltawski Nowy";
    font-size: 50px;
    font-style: normal;
    font-weight: 700;
    line-height: 58px; /* 116% */
    margin: 16px 0;
}

.testimonials .text-muted {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    max-width: 600px;
}

.testimonial-slider {
    padding: 40px 0;
    position: relative;
    margin-top: 40px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.slide-counter {
    position: absolute;
   top: -80px;
    right: 390px;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #1E1E1E;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.slide-counter .separator {
    opacity: 0.3;
}
.testimonial-navigation button.nav-btn.next.slick-arrow svg,.testimonial-navigation button.nav-btn.prev.slick-arrow svg  {
    max-width: 15px;
}
.testimonial-slides {
    margin: 0;
    padding: 0;
    width: 100%;
}
.slide-counter span.total {
    opacity: 0.3;
}
.testimonial-item {
    padding: 0 8px;
    max-width: 440px;
}

.video-wrapper {
    overflow: hidden;
    position: relative;
    background: #000;
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.1); */
    aspect-ratio: 9 / 12;
}

.video-wrapper .testimonial-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    display: none !important;
}

.video-wrapper .testimonial-video.playing {
    display: block !important;
    z-index: 5 !important;
}

.video-wrapper .testimonial-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 2;
}

.testimonial-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
        position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgb(0 0 0 / 68%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s 
ease;
    z-index: 2;
}

.play-btn i {
    font-size: 27px;
    color: #D9D9D9;
}

.play-btn:hover {
    background: rgba(0, 0, 0, 0.788);
    transform: translate(-50%, -50%) scale(1.1);
}
.testimonial-slides .slick-slide {
    max-width: 440px;
}
.testimonial-slider .slick-dots {
    position: relative;
    bottom: 0;
}
.testimonial-btn {
    text-align: right;
    padding: 0 0;
    position: relative;
    top: -30px;
}
.testimonial-slider .slider-dots .dot {
    display: none;
}
.slick-dots li button:before {
    font-size:8px;
    line-height: 16px;
}
.testimonial-slider .slider-dots {
    bottom: -5px;
        display: flex;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    border-radius: 16px;
    background: #D9D9D9;
    padding: 0px 8px;
}
.video-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
    color: #fff;
    z-index: 3;
}

.video-text-overlay h3 {
     margin: 0 0;
    color: #FFF;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 33px;
}

.video-text-overlay p {
    color: #E6E6E6;
font-family: Poppins;
font-size: 14px;
font-weight: 400;
line-height: 20px; 
}

.testimonial-text {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

.testimonial-navigation {
       position: absolute;
    top: -90px;
    right: 260px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}
.testi-paragraph {
    color: #3C3C3C;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 29px; /* 181.25% */
    width: 50%;
}
.nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #0F0F10; 
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-btn i {
    color: #B8964B; 
    font-size: 16px;
}

.nav-btn:hover {
    background: #000;
    transform: translateY(-1px);
}

.slider-dots {
    position: absolute;
    bottom: -30px;
    left: 10%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.slider-dots .dot.active {
    background: #000000;
}

.view-all-testimonials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: 30px;
    border: 1px solid #BCBCBC;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #000;
    font-family: "Inter Tight";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 33px; /* 285.714% */
}

.view-all-testimonials:hover {
    background: linear-gradient(90deg, #C5962F 3.99%, #E7C562 59.69%, #F7DD7B 73.62%, #EFD271 101.47%, #E3C05D 115.4%, #DEB853 143.25%);
    border-color: #c5962f00;
    color: #000000;
}

#videoTestimonialModal .modal-content {
    background: #000000; 
}

#videoTestimonialModal .modal-body {
    padding: 0;
}

#videoTestimonialModal .video-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 80vh;
    padding: 12px;
}

#videoTestimonialModal #modalVideo {
    width: auto !important; 
    max-width: 100%;
    height: auto !important;
    max-height: 80vh;
    object-fit: contain; 
    display: block;
    margin: 0 auto;
}
@media (max-width: 1200px)  {

.trust-title {
        font-size: 52px;
}
}
@media (max-width: 992px) {
    .testi-paragraph {
        width: 100%;
    }
}
@media (max-width: 580px) {
.thumbnail-img-div {
    max-width: 100%;
    width: 100%;
}
    .testimonials {
        padding-top: 300px;
    }
    .testimonials h2 {
        font-size: 30px;
        line-height: 39px;
    }
    .testi-paragraph {
        width: 100%;
    }

    .view-all-testimonials {
        display: none;
    }

.testimonial-slider {
    padding: 0 0;
}

    #videoTestimonialModal .video-container {
        padding: 6px;
    }
    #videoTestimonialModal #modalVideo {
        max-height: 70vh;
    }
}

@media (max-width: 420px) {

    .testimonials {
        padding-top: 340px;
    }
}

@media (max-width: 400px) {

    .testimonials {
        padding-top: 380px;
    }
}