/* Image to Video Carousel Wrapper */
.image-video-carousel-wrapper {
    position: relative;
    width: 100%;
    padding: 3rem 1rem;
    background-color: #fff;
}

.image-video-carousel-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.image-video-title {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: #4A9ECC;
    text-transform: uppercase;
    font-family: sans-serif;
    margin: 0 0 0.5rem 0;
}

.image-video-subtitle {
    font-size: 0.875rem;
    color: #999;
    font-family: sans-serif;
    margin: 0;
    line-height: 1.5;
}

/* Carousel Container */
.image-video-carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.image-video-carousel-track {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Individual Slide */
.image-video-slide {
    display: none;
    width: 100%;
}

.image-video-slide.active {
    display: block;
}

/* Media Wrapper */
.image-video-media-wrapper {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 500px;
    border: 1px solid #000;
    overflow: hidden;
    background-color: #000;
}

/* Still Image Container */
.still-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.still-image {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    display: block;
}

/* Overlay Text */
.overlay-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 10;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000;
    /* background-color: rgba(0, 0, 0, 0.5); */
    padding: 0.5rem 1rem;
    font-family: sans-serif;
}

/* Video Container */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 500px;
    z-index: 15;
    background-color: #000;
}

.carousel-video {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    display: block;
}

.video-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 20;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    border: 2px solid #fff;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.video-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Play Button */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 0;
}

.play-button svg {
    width: 32px;
    height: 32px;
    margin-left: 4px; /* Slight offset for visual centering */
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Play Button Styles */
.play-button-blue_circle {
    background-color: #4A9ECC;
    color: #fff;
}

.play-button-blue_circle:hover {
    background-color: #3a8dbc;
}

.play-button-white_circle {
    background-color: #fff;
    color: #4A9ECC;
    border-color: #4A9ECC;
}

.play-button-white_circle:hover {
    background-color: #f0f0f0;
}

.play-button-custom_color {
    background-color: #4A9ECC;
    color: #fff;
}

/* Navigation Controls */
.image-video-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    margin-top: 1rem;
    max-width: 100%;
}

/* Navigation Buttons */
.image-video-nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    color: #999;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    font-family: sans-serif;
    white-space: nowrap;
}

.image-video-nav-btn:hover {
    color: #000;
}

.image-video-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-text {
    display: inline-block;
}

/* Dot Indicators */
.image-video-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    flex: 1;
    margin: 0 1rem;
}

.image-video-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background-color: #d3d3d3;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.image-video-dot:hover {
    background-color: #999;
    transform: scale(1.2);
}

.image-video-dot.active {
    background-color: #666;
    width: 8px;
    height: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .image-video-carousel-wrapper {
        padding: 2rem 1rem;
    }

    .image-video-title {
        font-size: 1.125rem;
        padding: 0 1rem;
    }

    .image-video-subtitle {
        font-size: 0.75rem;
        padding: 0 1rem;
    }

    .image-video-media-wrapper {
        min-height: 400px;
    }

    .still-image-container,
    .video-container,
    .carousel-video {
        min-height: 400px;
    }

    .overlay-text {
        top: 10px;
        left: 10px;
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
    }

    .video-close-btn {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 1.25rem;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button svg {
        width: 24px;
        height: 24px;
    }

    .image-video-carousel-controls {
        padding: 1rem;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .image-video-nav-btn {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    .image-video-dots {
        order: -1;
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .image-video-media-wrapper {
        min-height: 300px;
    }

    .still-image-container,
    .video-container,
    .carousel-video {
        min-height: 300px;
    }

    .play-button {
        width: 50px;
        height: 50px;
    }

    .play-button svg {
        width: 20px;
        height: 20px;
    }
}

