/* Trust Kanzo Section */
.trust-kanzo-section {
    padding: 0 0;
  background-image: url(../img/product-cat-bg.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    margin-top: 246px;
    height: 1324px;
}
/* Main Video Player */
.main-video-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}

.main-video-player {
    width: 100%;
    height: 708px;
    display: block;
    object-fit: cover;
}
.black-bg {
    /* background-color: black; */
    position: relative;
    /* margin-bottom: -200px; */
    top: -270px;
}
/* Center Play Button */
.center-video-controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.3s 
ease;
    pointer-events: none;
}
.center-control-btn {
        background-color: inherit;
    border: none;
}
.main-video-container .play-overlay, .about-full-video .play-overlay {
opacity: 0;
}
.main-video-container:hover .center-video-controls {
    opacity: 1;
    pointer-events: auto;
}

.trust-kanzo-section .main-video-container.center-video-controls.show {
    opacity: 1;
    pointer-events: auto;
}

.trust-kanzo-section .main-video-container .center-control-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-kanzo-section .main-video-container .center-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    fill: rgba(0, 0, 0, 0.25);
    stroke-width: 1px;
    stroke: #FFF;
    box-shadow: -0.73px 0.73px 0.73px -1.46px rgba(255, 255, 255, 0.35) inset;
    backdrop-filter: blur(10px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
    opacity: 1;
}

.main-video-container .center-play-btn i {
    font-size: 32px;
    color: #0F0F10;
    margin-left: 4px;
    transition: opacity 0.3s ease;
}

.main-video-container .center-play-btn .fa-play {
    opacity: 1;
}

.center-play-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Center Video Controls (new overlay controls) */
.main-video-container .center-video-controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    z-index: 6;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.main-video-container:hover .center-video-controls {
    opacity: 1;
    pointer-events: auto;
}

.main-video-container .center-control-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-video-container .center-control-btn:hover {
    transform: scale(1.1);
}

.trust-kanzo-section .main-video-container .center-control-btn svg {
    display: block;
}

/* Video Controls */
.trust-kanzo-section .main-video-container .video-controls {
    position:absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 4;
    display:block;
    bottom: 0;
    top: unset;
    left: 50%;
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    transform: translate(-50%, -20%);
}

.trust-kanzo-section .main-video-container:hover .video-controls {
    opacity: 1;
}

/* .full-video-container:hover .video-controls {
    opacity: 1;
} */
.progress-bar-container {
    margin-bottom: 15px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress-filled {
    height: 100%;
    background: #B8964B;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

.controls-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.controls-left,
.controls-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

.control-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.control-btn i {
    font-size: 19px;
}

.seek-time {
    position: absolute;
    bottom: 11px;
    right: 13px;
    font-size: 8px;
    font-weight: 600;
}

/* Video Thumbnails Slider */
.video-thumbnails-slider {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.thumbnail-nav {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumbnail-nav:hover {
    background: #B8964B;
}

/* Default layout before Slick; Slick will override structure */
.thumbnails-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
}

/* When Slick initializes, avoid flex scrolling and use Slick structure */
.thumbnails-container.slick-slider {
    display: block;
    overflow: hidden;
    margin-bottom: 0;
}
.thumbnail-content p {
    color: #ffffff;
    margin-bottom: 0;
}
.thumbnail-content {
    padding-top: 21px;
}
.black-bg .row.mt-5 {
    margin-top: 25px !important;
}
.video-thumbnails-slider .thumbnail-item {
width: 273px;
    height: 100%;
flex-shrink: 0;
/* Ensure overlay clips correctly */
position: relative;
overflow: visible;
background: transparent;
}
.thumbnail-img-div {
    border-radius: 8px;
    aspect-ratio: 1.7;
    overflow: hidden;
    max-width: 268px;
    width: 100%;
    position: relative;
}
.video-thumbnails-slider .thumbnail-item .thumbnail-img-div::after {
    /* Gradient overlay */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, #000 100%);
    opacity: 1; /* normal state */
    transition: opacity 0.2s ease-in-out;
    pointer-events: none;
    z-index: 1; /* below play icon */
    bottom: -1px;
}
.video-thumbnails-slider .thumbnail-item:hover .thumbnail-img-div::after,
.video-thumbnails-slider .thumbnail-item.active .thumbnail-img-div::after {
    opacity: 0; /* hover and active state */
}

/* Keep the play icon above the gradient */
.video-thumbnails-slider .play-overlay {
    z-index: 2;
}
.video-thumbnails-slider .thumbnail-item:hover {
    border-color: rgba(80, 80, 80, 0);
}

.video-thumbnails-slider .thumbnail-item.active {
    border-color: #50505000;
}

/* Optional spacing between slides under Slick */
.thumbnails-container .slick-list { margin: 0 -6px; }
.thumbnails-container .slick-slide { margin: 0 6px; }

.thumbnails-container::-webkit-scrollbar {
    display: none;
}

.thumbnail-item {
    position: relative;
    flex-shrink: 0;
    width: 140px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail-item:hover {
    border-color: rgba(184, 150, 75, 0.5);
}

.thumbnail-item.active {
    border-color: #B8964B;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
        border-radius: 8px;
}

.play-overlay {
    position: absolute;
    top:31%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.thumbnail-item:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-overlay i {
    font-size: 16px;
    color: #0F0F10;
    margin-left: 2px;
}

/* Trust Testimonial Section */
.trust-testimonial-header {
    margin-bottom: 20px;
        margin-top: 15px;
}

.trust-testimonial-section {
    background: transparent;
    border-radius: 0;
    padding: 0;
    height: auto;
}

.trust-label {
    margin-bottom: 12px;
    font-family: "Poltawski Nowy";
    font-size: 21px;
    font-style: italic;
    font-weight: 400;
    line-height: 28px; /* 133.333% */
    background: linear-gradient(90deg, #C5962F 3.99%, #E7C562 59.69%, #F7DD7B 73.62%, #EFD271 101.47%, #E3C05D 115.4%, #DEB853 143.25%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trust-title {
   color: #FFF;
font-family: "Poltawski Nowy";
font-size: 66px;
font-style: normal;
font-weight: 700;
line-height: 68px; /* 103.03% */
}

.client-avatars {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.client-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #0F0F10;
    margin-left: -12px;
    object-fit: cover;
}

.client-avatar:first-child {
    margin-left: 0;
}

.more-clients {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #B8964B;
    border: 2px solid #0F0F10;
    margin-left: -12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.client-count {
   color: #7C7C7C;
font-family: Poppins;
font-size: 22px;
font-style: normal;
font-weight: 400;
line-height: 31px; /* 140.909% */
    margin-bottom: 30px;
}

/* Quote Controls */
.quote-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top:83px;
    align-content: center;
    flex-wrap: nowrap;
    text-align: left;
    flex-direction: row;
    float: left;
    margin-left: 23px;
}
.quote-counter {
    position: relative;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    margin-right: 27px;
}
button.quote-nav-btn {
    width: 56px;
    height: 56px;
}
.quote-counter .separator, .quote-counter .total-quotes {
    opacity: 0.5;
    margin: 0 0;
    color: #9D9D9D;
font-family: "Inter Tight";
font-size: 23px;
font-style: normal;
font-weight: 400;
line-height: 40px;
}

.quote-navigation {
    position: relative;
    display: flex;
    gap: 8px;
}
.trust-kanzo-section .main-video-container #centerPlayBtn {
    opacity: 1;
}
/* Testimonial Quote Slider */
.testimonial-quote-slider {
    position: relative;
    background: transparent;
    border-radius: 16px;
   padding: 0 30px 50px;
}
.testimonial-quote-slider .slick-list.draggable {
    height: auto !important;
}

.testimonial-quote-slider .slick-dots {
   position: relative;
    margin-top: 16px;
    display: flex !important;
    align-items: center;
    top: -109px;
    width: 106px;
    /* flex-direction: row; */
    float: right;
    justify-content: center;
    background-color: gainsboro;
    border-radius: 16px;
    background: #D9D9D9;
    padding: 6px 0;
}

.testimonial-quote-slider .slick-dots li {
    width: 12px;
    height: 12px;
    margin: 0 2px;
}

.testimonial-quote-slider .slick-dots li button {
    width: 12px;
    height: 12px;
    padding: 0;
}

.testimonial-quote-slider .slick-dots li button:before {
    color: #B3B1B1;
    opacity: 1;
    font-size: 8px; /* default dot size via slick glyph */
}

.testimonial-quote-slider .slick-dots li.slick-active button:before {
    color: #000000;
    opacity: 1;
}
.slick-dots li {
    margin: 0 0;
}
.quote-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quote-nav-btn:hover {
    background: #B8964B;
}

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

.quotes-container {
    margin-top: 0;
    min-height: 280px;
}

.quote-item {
    display: none;
        padding-left: 45px;
        padding-top: 52px;
}

.quote-item.active {
    display: block;
    animation: fadeIn 0.5s ease;
}
#prevThumb, #nextThumb {
    display: none;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quote-text {
        color: #FFF;
    font-family: Poppins;
    font-size: 29px;
    font-style: normal;
    font-weight: 400;
    line-height: 46px;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 0;
   margin-top: 129px;
}

.author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}
.current-quote {
    color: #FFF;
    font-family: "Inter Tight";
    font-size: 23px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
}
.author-info {
    flex: 1;
}

.author-name {
   color: #F7DD7B;
    font-family: Poppins;
    font-size: 27px;
    font-style: normal;
    font-weight: 400;
    line-height: 31px; /* 114.815% */
    margin: 0 0 4px 0;
}

.author-title {
   color: #7C7C7C;
    font-family: Poppins;
    font-size: 18px;
    font-weight: 400;
    line-height: 31px; /* 172.222% */
    margin: 0;
}

.quote-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.quote-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.quote-dots .dot.active {
    background: #B8964B;
    width: 24px;
    border-radius: 4px;
}

/* Responsive */

@media(max-width:1199px) {
    .black-bg {
        background-color: black;
        margin-bottom: -200px;
    }
}

@media (max-width: 991px) {
    .trust-testimonial-section {
        margin-top: 30px;
    }
    .trust-kanzo-section .thumbnails-container.slick-slider {
        padding-bottom: 10px;
    }
    .thumbnail-item {
        width: 120px;
        height: 75px;
    }
    button.quote-nav-btn {
    width: 36px;
    height: 36px;
}
.main-video-container .center-play-btn { 
     width: 36px;
    height: 36px;
}
.main-video-container .center-play-btn i {
    font-size: 23px;
}
}

@media (max-width: 580px) {

    .trust-testimonial-header {
        text-align: center;
        align-items: center;
        margin-bottom: 0;
    }
    .trust-kanzo-section .main-video-container .center-play-btn
    {
        width: 50px;
    height: 50px;
    }
    .trust-label {
        margin-bottom: 0;
    }
    .trust-title {
        font-size: 41px;
    }

    .client-avatars {
        justify-content: center;
    }
    .quote-text {
        font-size: 24px;
        line-height: 37px;
        text-align: center;
    }

    .testimonial-quote-slider {
        padding: 0 25px 30px 20px;
    }

    .quote-item {
        padding-left: 0;
        padding-top: 0;
    }

    .quote-controls {
        margin-top: 0;
    }

    .quote-counter {
        display: none;
    }

    .quote-navigation {
        top: 500px;
        left: 110px;
    }
    .client-count {
        font-size: 16px;
        margin-bottom: 0;
    }

    .quote-author {
        justify-content: center;
        margin-top: 40px;
    }
    .author-name {
        font-size: 20px;
        margin-bottom: 0;
    }
    
    .author-title {
        font-size: 16px;
        line-height: 26px;
    }




        
    .thumbnail-item {
        width: 100px;
        height: 65px;
    }
    
    .center-play-btn {
        width: 60px;
        height: 60px;
    }
    
    .center-play-btn i {
        font-size: 24px;
    }
}
