/* Gallery Section Styling */
.gallery-section {
    height: 200px;
    width: 100vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #FFFFFF;
    position: relative;
}

.gallery-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-scroll {
    display: flex;
    height: 100%;
    animation: scroll-left 30s linear infinite;
    width: calc(200% + 40px);
    /* Double width + gap for seamless scroll */
}

.gallery-item {
    flex-shrink: 0;
    margin-right: 20px;
    height: 200px;
    display: flex;
    align-items: center;
}

.gallery-image {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
}

/* Scrolling Animation */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.gallery-section:hover .gallery-scroll {
    animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .gallery-image {
        width: 300px;
        height: 200px;
    }

    .gallery-item {
        margin-right: 16px;
    }

    .gallery-scroll {
        animation-duration: 25s;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        height: 200px;
    }

    .gallery-image {
        width: 300px;
        height: 200px;
        border-radius: 16px;
    }

    .gallery-item {
        margin-right: 12px;
        height: 200px;
    }

    .gallery-scroll {
        animation-duration: 20s;
    }
}

@media (max-width: 440px) {
    .gallery-section {
        height: 200px;
    }

    .gallery-image {
        width: 300px;
        height: 200px;
        border-radius: 12px;
    }

    .gallery-item {
        margin-right: 10px;
        height: 200px;
    }

    .gallery-scroll {
        animation-duration: 18s;
    }
}