html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

/* Lazy loading and performance optimization */
img[data-src] {
    opacity: 0.5;
    transition: opacity 0.3s;
}

img.loaded {
    opacity: 1;

}


/* skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite linear;
}

@keyframes loading {
    from {
        background-position: 200% 0;
    }

    to {
        background-position: -200% 0;
    }
}

/* skeleton */

/* zoom-effect */
.zoom-effect img {
    transition: transform 0.3s ease-in-out;
}

.zoom-effect:hover img {
    transform: scale(1.1);
}

/* zoom-effect */

/* resposive */
.scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.card {
    flex: 0 0 auto;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .scroll-container {
        scroll-snap-type: x mandatory;
    }

    .card {
        scroll-snap-align: center;
        min-width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .card {
        min-width: 33.33%; /* Show 3 items on tablet */
    }
}

@media (min-width: 1024px) {
    .card {
        min-width: 25%; /* Show 4 items on desktop */
    }
}