/* Video Quote Slider Styles */
.video-quote-slider {
    position: relative;
    width: 100%;
    max-width: 1265px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
}

/* Swiper-specific styles */
.video-quote-slider.swiper {
    overflow: hidden;
    position: relative;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.video-quote-slider .swiper-wrapper {
    min-height: 350px;
    width: 100%;
    display: flex;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.video-quote-slider .swiper-wrapper::-webkit-scrollbar {
    display: none;
}

.video-quote-slider .swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
    width: 100%;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.video-quote-slider .slide-content {
    display: flex;
    width: 100%;
    min-height: 400px;
    background: #fff;
}

.video-quote-slider .video-container {
    position: relative;
    width: 50%;
    background: #000;
    overflow: hidden;
}

.video-quote-slider .video-container iframe,
.video-quote-slider .video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.video-quote-slider .video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.video-quote-slider .video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-quote-slider .quote-container {
    width: 50%;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.video-quote-slider .quote-content {
    text-align: center;
    max-width: 400px;
}

.video-quote-slider .quote-text {
    margin-bottom: 30px;
}

.video-quote-slider .quote-text blockquote {
    font-size: 1.13rem;
    line-height: 1.6;
    color: #fff;
    margin: 0;
    position: relative;
    padding: 0 20px;
}

.video-quote-slider .author-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.video-quote-slider .author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.video-quote-slider .author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-quote-slider .author-details {
    text-align: left;
}

.video-quote-slider .author-name {
    font-size: 1rem;
    font-weight: 700;
    color: #86B955;
    margin-bottom: -4px;
}

.video-quote-slider .author-title {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 400;
}





/* Swiper Pagination */
.video-quote-slider .swiper-pagination {
    position: absolute;
    bottom: 20px;
    left: 75%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    justify-content: center;
}

.video-quote-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background: #86B955;
;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-quote-slider .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.8);
}

.video-quote-slider .swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 900px) {
    .video-quote-slider .swiper-pagination {
        left: 0;
        margin-top: 3rem;
        position: relative;
        transform: unset;
    }
}
@media (max-width: 768px) {
    .video-quote-slider .slide-content {
        flex-direction: column;
        min-height: auto;
    }

    .video-quote-slider .video-container,
    .video-quote-slider .quote-container {
        width: 100%;
    }

    .video-quote-slider .video-container {
        height: 250px;
    }

    .video-quote-slider .quote-container {
        padding: 30px 20px;
    }

    .video-quote-slider .quote-text blockquote {
        font-size: 1.1rem;
        padding: 0 15px;
    }

    .video-quote-slider .quote-text blockquote::before,
    .video-quote-slider .quote-text blockquote::after {
        font-size: 2.5rem;
    }



    .video-quote-slider .swiper-pagination {
        bottom: 0;
    }

    .video-quote-slider .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .video-quote-slider .quote-container {
        padding: 20px 15px;
    }

    .video-quote-slider .quote-text blockquote {
        font-size: 1rem;
    }

    .video-quote-slider .author-info {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .video-quote-slider .author-details {
        text-align: center;
    }


}



/* Focus states for accessibility */
.video-quote-slider .swiper-button-prev:focus,
.video-quote-slider .swiper-button-next:focus,
.video-quote-slider .swiper-pagination-bullet:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .video-quote-slider .swiper-button-prev,
    .video-quote-slider .swiper-button-next {
        border: 2px solid #000;
    }
    
    .video-quote-slider .swiper-pagination-bullet {
        border: 1px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .video-quote-slider .swiper-slide,
    .video-quote-slider .swiper-button-prev,
    .video-quote-slider .swiper-button-next,
    .video-quote-slider .swiper-pagination-bullet {
        transition: none;
    }
}

/* --- Layout --- */
.video-quote-slider.vqs-modern .slider-container {
    width: 100%;
    height: 100%;
}
.video-quote-slider.vqs-modern .slide-content.vqs-flex-row {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 400px;
    background: none;
    gap: 5rem;
}
.video-quote-slider.vqs-modern .vqs-video-col {
    width: 50%;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}
.video-quote-slider.vqs-modern .video-container iframe,
.video-quote-slider.vqs-modern .video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    border-radius: 12px;
}

.video-quote-slider.vqs-modern .vqs-quote-col {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    background: none;
    position: relative;
}

/* --- Chat Bubble --- */
.vqs-quote-bubble {
    background: #85bb5a;
    border-radius: 15px;
    padding: 32px 32px 24px 32px;
    position: relative;
    margin-bottom: 24px;
    min-width: 320px;
    max-width: 100%;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.vqs-quote-bubble-inner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.vqs-user-icon {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #00b6ff;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-right: 12px;
    flex-shrink: 0;
    overflow: hidden;
}
.vqs-user-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.vqs-user-initial {
    background: #00b6ff;
    color: #fff;
}
.vqs-quote-text {
    color: #fff;
    font-size: 1.15rem;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    max-width: 350px;
}
.vqs-quote-text blockquote {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.6;
}
.vqs-quote-bubble-arrow {
    position: absolute;
    left: 50%;
    bottom: -17px;
    width: 32px;
    height: 18px;
    background: transparent;
}
.vqs-quote-bubble-arrow::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 18px;
    background: #85bb5a;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* --- Author Info --- */
.vqs-author-info {
    width: 100%;
    margin-top: 12px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.vqs-author-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}
.vqs-author-image {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    overflow: hidden;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vqs-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.vqs-author-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.vqs-author-name {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}
.vqs-author-title {
    font-size: 0.95rem;
    color: #4d4d4d;
    font-weight: 400;
}

/* --- Navigation Dots --- */
.vqs-slider-dots {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    margin-bottom: 0;
    align-items: center;
    justify-content: flex-start;
}
.vqs-slider-dots .slider-dot {
    width: 8px;
    height: 8px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.12);
    cursor: pointer;
    transition: all 0.3s;
}
.vqs-slider-dots .slider-dot.active {
    background: #85bb5a;
    transform: scale(1.2);
}

/* --- Arrows --- */
.video-quote-slider .slider-arrows {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
    z-index: 10;
}
.video-quote-slider .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.video-quote-slider .slider-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.video-quote-slider .slider-arrow.prev {
    left: 20px;
}
.video-quote-slider .slider-arrow.next {
    right: 20px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .video-quote-slider.vqs-modern .slide-content.vqs-flex-row {
        align-items: center;
        flex-direction: column;
        min-height: auto;
    }
    .video-quote-slider.vqs-modern .vqs-video-col,
    .video-quote-slider.vqs-modern .vqs-quote-col {
        width: 100%;
        border-radius: 18px 18px 0 0;
        min-height: 220px;
        padding: 0 18px;
    }
    .vqs-quote-bubble {
        min-width: 0;
        padding: 24px 16px 18px 16px;
    }
    .vqs-quote-bubble-arrow {
        left: 24px;
    }
}
@media (max-width: 600px) {
    .vqs-quote-bubble {
        padding: 16px 8px 12px 8px;
    }
    .vqs-quote-bubble-arrow {
        left: 12px;
        width: 20px;
    }
    .vqs-author-meta {
        gap: 8px;
    }
    .video-quote-slider.vqs-modern .vqs-quote-col {
        padding: 0 6px;
    }
}

/* Remove background from quote container if inherited */
.video-quote-slider .quote-container,
.video-quote-slider .vqs-quote-col {
    background: transparent !important;
    box-shadow: none !important;
} 