/* Marquee Bar - Infinite Scroll Styles */

.marquee-bar {
    width: 100%;
    height: 40px;
    background-color: #ffffff;
    direction: ltr;
    position: relative;
    overflow: hidden;
  
    border-bottom: 1px solid #e5e5e5;
}

.marquee-bar__container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-bar__content {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    animation: marqueeScroll 30s linear infinite;
    will-change: transform;
    width: fit-content;
}

.marquee-bar__text-item {
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0 60px;
    margin: 0;
    flex-shrink: 0;
    white-space: nowrap;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause on hover */
.marquee-bar:hover .marquee-bar__content {
    animation-play-state: paused;
}

/* Responsive Styles */

/* Small Devices (Landscape Phones, less than 768px) */
@media (max-width: 767.98px) {
    .marquee-bar {
        height: 35px;
    }

    .marquee-bar__text-item {
        font-size: 12px;
        letter-spacing: 1.5px;
        padding: 0 40px;
    }

    .marquee-bar__content {
        animation-duration: 25s;
    }
}

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575.98px) {
    .marquee-bar {
        height: 32px;
    }

    .marquee-bar__text-item {
        font-size: 11px;
        letter-spacing: 1px;
        padding: 0 30px;
    }

    .marquee-bar__content {
        animation-duration: 20s;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .marquee-bar__content {
        animation: none;
    }
}

