.hero-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px 50px;
    /*border-radius: 10px;*/
    max-width: 80%;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* H tags forced to white */
.slide-h1,
.slide-h1 a,
.slide-h1 span,
.slide-h1 * {
    color: #ffffff !important;
    font-size: 48px;
    margin: 0 0 20px 0;
    font-weight: bold;
}

.slide-h2,
.slide-h2 a,
.slide-h2 span,
.slide-h2 * {
    color: #ffffff !important;
    font-size: 24px;
    margin: 0;
    font-weight: normal;
}

/* Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
    transition: background 0.3s;
    border-radius: 5px;
}

.slider-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev-slide {
    left: 20px;
}

.next-slide {
    right: 20px;
}

/* Dots Navigation */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

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

.slider-dots .dot.active {
    background: white;
}

.slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-slider {
        height: 400px;
    }
    
    .slide-h1 {
        font-size: 28px !important;
    }
    
    .slide-h2 {
        font-size: 18px !important;
    }
    
    .slide-content {
        padding: 20px 30px;
        max-width: 90%;
    }
    
    .slider-nav {
        padding: 10px 15px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 300px;
    }
    
    .slide-h1 {
        font-size: 22px !important;
    }
    
    .slide-h2 {
        font-size: 14px !important;
    }
    
    .slide-content {
        padding: 15px 20px;
    }
}