@keyframes progress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

.hero-video-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-width: unset;
}

.hero-video-slider .video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-video-slider .video-slide {
    width: 100%;
    height: 100%;
    display: none;
    transition: opacity 0.5s ease-in-out;
    border-radius: 30px;
    position: relative;
}

.hero-video-slider .video-slide.active {
    display: block;
}

.hero-video-slider .video-slide video {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 30px;
}

.hero-video-slider .video-navigation {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 3;
    width: 80%;
    margin: 0 auto;
}

.hero-video-slider .nav-button {
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Circle navigation style */
.hero-video-slider .video-navigation.circles .nav-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

/* Bar navigation style */
.hero-video-slider .video-navigation.bars .nav-button {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    position: relative;
}

.hero-video-slider .video-navigation.bars .nav-button .progress-bar {
    width: 0%;
    height: 100%;
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-video-slider .video-overlay {
    position: absolute;
    bottom: 125px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    z-index: 2;
    width: 80%;
}

.hero-video-slider .overlay-pagination-title {
    font-size: 0.6em;
    margin-bottom: 10px;
    border: 1px solid white;
    padding: 2.5px 10px;
    border-radius: 10px;
    display: inline-block;
    font-weight: 600;
    border-radius: 1000px;
}

.hero-video-slider .overlay-title {
    font-size: 2.5em;
    margin-bottom: 0.1em;
    margin-top: 0.1em;
}

.hero-video-slider .overlay-content {
    font-size: 1.2em;
}

.hero-video-slider .nav-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 10px;
    flex: 1;
}

.hero-video-slider .nav-title {
    font-size: 0.7em;
    margin-top: 5px;
    color: #fff;
    text-align: center;
    cursor: pointer;
}

.hero-video-slider .video-navigation.bars .nav-item {
    margin: 0 15px;
}

/* Ensure video takes full width */
.hero-video-slider .video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-slider .overlay-link {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.7em;
    display: inline-block;
    border-radius: 1000px;
    background: #B4A760;
    padding: 5px 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .hero-video-slider .video-navigation {
        bottom: 35px;
        width: 90%;
        gap: 20px;
    }

    .hero-video-slider .video-navigation.bars .nav-item {
        margin: 0;
    }

    .hero-video-slider .video-overlay {
        bottom: 80px;
        width: 90%;
    }

    .hero-video-slider .video-overlay .overlay-title {
        font-size: 1.1em;
        margin-bottom: 10px;
    }

    .hero-video-slider .video-overlay .overlay-content {
        font-size: 0.7em;
    }

    .hero-video-slider .overlay-link {
        font-size: 0.5em;
        padding: 5px 10px;
        margin-top: 10px;
    }

    .hero-video-slider .overlay-pagination-title {
        font-size: 0.5em;
    }

    .hero-video-slider .nav-title {
        display: none;
    }

    .hero-video-slider .video-container video {
        border-radius: 0;
    }
}