.scrolling-carousel-wrapper-3946 {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.scrolling-carousel-track-3946 {
    display: inline-flex;
    align-items: center;
    animation: scroll_carousel_3946 linear infinite;
    /* Hardware acceleration for smoother animation */
    transform: translateZ(0);
    will-change: transform;
}

.scrolling-carousel-item-3946 {
    display: inline-flex;
    align-items: center;
    padding: 0 30px; /* Base spacing between items */
}

.scrolling-carousel-text-3946 {
    margin-right: 30px;
    /* Prevent text selection while scrolling */
    user-select: none;
}

.scrolling-carousel-icon-3946 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Pause on hover (optional enhancement) */
.scrolling-carousel-wrapper-3946:hover .scrolling-carousel-track-3946 {
    animation-play-state: paused;
}

@keyframes scroll_carousel_3946 {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Scroll exactly half the duplicated content width for seamless loop */
    }
}

/* Make sure inner SVGs are sized correctly */
.scrolling-carousel-icon-3946 svg {
    display: block;
}