/* Hero Slider Styles */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    background-color: #000000; /* Adding black background to the slider container */
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  
    z-index: 1;
}

.hero-slider .slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 100px 20px;
    color: #fff;
    text-shadow: 0 2px 4px rgb(0, 0, 0);
}

.hero-content h1 {

    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced responsive adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Improve image display on mobile */
    .hero-slider .slide {
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
    }
    
    .hero {
        height: 70vh; /* Adjust height for mobile */
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero {
        height: 60vh;
    }
    
    .hero-slider .slide {
        background-size: cover;
        background-position: center top;
    }
    
    .hero-content {
        padding: 60px 15px;
    }
}