.carousel {
    width: 100%;
    max-width: 100%;
    height: 600px; /* Desktop height */
    margin: auto;
    overflow: hidden;
    position: relative;
}

/* Mobile & Tablet Responsive Fix */
@media (max-width: 768px) {
    .carousel {
        height: 350px; /* Adjust for tablets */
    }
}

@media (max-width: 480px) {
    .carousel {
        height: 250px; /* Perfect for mobile */
    }
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
