.vision-vivante-video-slider-wrapper {
    position: relative;
    width: 100%;
    margin: 20px 0;
}

.vision-vivante-video-slider {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.video-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f0f0f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder .play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-placeholder .play-button i {
    font-size: 24px;
    color: #ff0000;
    margin-left: 5px;
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
}

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

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 40px 30px 30px;
    z-index: 2;
}

.slide-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-description {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0,0,0,0.8);
    transform: scale(1.1);
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #ff0000;
    transform: scale(1.2);
}

/* Video Modal */
/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.video-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: black;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.video-modal iframe {
    width: 100%;
    height: 500px;
    display: block;
    border: none;
}

.close-modal {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 36px;
    cursor: pointer;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.close-modal:hover {
    opacity: 1;
    color: #ff0000;
}

video.external-video{
    height: 100% !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive modal */
@media (max-width: 768px) {
    .video-modal-content {
        max-width: 95%;
    }
    
    .video-modal iframe {
        height: 400px;
    }
    
    .close-modal {
        top: -45px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .video-modal iframe {
        height: 300px;
    }
    
    .close-modal {
        top: -40px;
        right: -10px;
    }
}

.no-video-message {
    text-align: center;
    color: #666;
}

.no-video-message i {
    font-size: 48px;
    margin-bottom: 10px;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .vision-vivante-video-slider {
        height: 400px;
    }
    
    .slide-content {
        padding: 30px 20px 20px;
    }
    
    .slide-title {
        font-size: 22px;
    }
    
    .slide-description {
        font-size: 14px;
    }
    
    .video-placeholder .play-button {
        width: 60px;
        height: 60px;
    }
    
    .video-placeholder .play-button i {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .vision-vivante-video-slider {
        height: 300px;
    }
    
    .slide-content {
        padding: 20px 15px 15px;
    }
    
    .slide-title {
        font-size: 18px;
        margin-bottom: 5px;
    }
    
    .slide-description {
        font-size: 12px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}