/* ===== SLEEK SCROLLING MARQUEE STRIP ===== */
.road-marquee-section {
    background: #111;
    /* Deep dark background */
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 1rem 0;
    /* Slim vertical padding */
    overflow: hidden;
    position: relative;
    z-index: 5;
    white-space: nowrap;
}

/* Container for the scrolling track */
.marquee-track-container {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    /* Gradient masks to fade out edges */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 2rem;
    /* Spacing between pills */
    width: max-content;
    /* Speed of scroll - adjust 40s to make faster/slower */
    animation: scrollContinuous 40s linear infinite;
    padding-left: 2rem;
}

/* Pause on hover to read */
.marquee-track-container:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes scrollContinuous {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Moves -50% because we will duplicate the content exactly once */
}

/* PILL STYLE - Sleek & Small */
.trust-badge-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 1.2rem;
    /* Small compact padding */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Subtle border */
    border-radius: 999px;
    /* Pill shape */
    background: rgba(255, 255, 255, 0.05);
    /* Very faint glass background */
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    /* Small, sleek text */
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.trust-badge-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
    color: #fff;
    cursor: default;
}