/* hero-slider.css */
.hero-banner {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    max-width: 100%;
    overflow: hidden;
    height: 400px; /* Fixed height for slider consistency */
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    z-index: 2;
}

.hero-slide-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.hero-slide-content p {
    margin-bottom: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: white;
    transform: scale(1.2);
    border: 2px solid var(--primary-color);
}

/* Video Banner Styles */
.video-banner {
    position: relative;
    overflow: hidden;
    padding: 0;
}

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

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    z-index: 2;
}

.video-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.video-content p {
    margin-bottom: 20px;
}

.mute-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: background-color 0.3s;
    padding: 5px;
}

.mute-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.mute-icon, .unmute-icon {
    width: 30px;
    height: 30px;
    transition: opacity 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .video-content {
        padding: 20px;
    }
    
    .video-content h1 {
        font-size: 1.8rem;
    }
    
    .mute-btn {
        bottom: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 576px) {
    .hero-banner.video-banner {
        height: 250px;
    }
    
    .video-content {
        padding: 15px;
    }
    
    .video-content h1 {
        font-size: 1.5rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-banner {
        height: 300px;
    }
    
    .hero-slide-content {
        padding: 20px;
    }
    
    .hero-slide-content h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .hero-banner {
        height: 250px;
        margin: -10px -10px 20px -10px;
        border-radius: 0;
    }
    
    .hero-slide-content {
        padding: 15px;
    }
    
    .hero-slide-content h1 {
        font-size: 1.5rem;
    }
}