.hero-slider {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.hero-image {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    );
}

.hero-content {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    z-index: 3;
    color: white;
}

.hero-content h2 {
    font-size: 1.8rem;
    max-width: 800px;
    margin-bottom: 20px;
}

.hero-prev,
.hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;

    width: 50px;
    height: 50px;

    border: none;
    border-radius: 50%;

    background: rgba(255,255,255,0.2);
    color: white;

    cursor: pointer;
    backdrop-filter: blur(6px);
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}


@media (max-width: 768px) {

    .hero-slider {
        height: 55vh;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .hero-image {
        object-fit: cover;
    }


}