.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin-bottom: -150px;
}

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

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

.hero-slide.next {
    opacity: 1;
    transform: translateX(100%);
    z-index: 2;
}

.hero-slide.sliding {
    transform: translateX(-100%);
}

.hero-slide.sliding-next {
    transform: translateX(0);
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -150px;
    background: radial-gradient(ellipse at center, 
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    color: white;
    text-align: center;
    padding: 150px 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Style for features section */
.features {
    position: relative;
    z-index: 5;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hero-section {
        height: 500px;
        margin-bottom: -100px;
    }

    .hero-section::after {
        bottom: -100px;
    }

    .hero-content {
        padding: 100px 15px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .features {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 480px) {
    .hero-section {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}
