.scrollarea{
    max-width: 100%;
    height: 5rem;
    position: relative;
    text-align: right;
    align-items: center;
    overflow: hidden;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin: 1rem 0;
}

/* Responsive margins to match topbar/navbar */
@media (min-width: 992px) {
    .scrollarea {
        margin: 1rem 5vh;
    }
}

@media (max-width: 991.98px) {
    .scrollarea {
        margin: 1rem 1.5rem;
    }
}

.scrollbanner {
    animation: scrollanimation 50s linear infinite;
}

/**@keyframes scrollanimation {
    0%   {margin-right:0;}
    50%  {margin-right:100%;}
    100% {margin-right:0; }
    
} **/
/**
@keyframes scrollanimation {
    0%   {margin-right:0;}
    20%  {margin-right:100%;}
    40%  {margin-right:0;}
    60%  {margin-right:100%;}
    80%  {margin-right:0;}
    100% {margin-right:100%;}
} 
**/

.divspacer {
    background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
    height: 1px;
    margin: 2rem 0;
}

#container0 {
    height: 60px;
    display: inline-flex;
    object-fit:contain;
    align-items: center;
    justify-content: space-around;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    margin-top: 1em;
}


#container1, #container2 {
    height: 70px;
    object-fit: contain;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin: 1rem 1rem;
    border: 2px solid rgba(0,128,255,0.1);
}

/* Align with topbar and navbar padding */
@media (min-width: 992px) {
    #container1, #container2 {
        margin: 1.5rem 0;
        padding: 0 1rem;
    }
    
    /* Adjust transition zones for desktop */
    #container1::after,
    #container2::before {
        left: 5%;
        right: 5%;
        height: 3px;
    }
}

#container1 .scroll1, #container2 .scroll2 {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-around;
    white-space: nowrap;
    height: 100%;
}

#container1 .scroll1 {
    animation: loop1 45s linear infinite;
}

#container2 .scroll2 {
    animation: loop2 45s linear infinite;
}

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

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

.item {
    max-width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    object-fit: contain;
    gap: 0 0.5rem;
    padding: 0.5rem;
    position: relative;
}

/* Add visual separators between vendor categories */
.item:not(:last-child):not(:first-child)::after {
    content: '';
    position: absolute;
    right: -0.75rem;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,128,255,0.2) 50%, transparent 100%);
}


/* Add prominent transition zones between containers */
#container1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,128,255,0.3) 20%, rgba(0,128,255,0.5) 50%, rgba(0,128,255,0.3) 80%, transparent 100%);
    border-radius: 1px;
    z-index: 10;
}

#container2::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,128,255,0.3) 20%, rgba(0,128,255,0.5) 50%, rgba(0,128,255,0.3) 80%, transparent 100%);
    border-radius: 1px;
    z-index: 10;
}

.item img {
    height: 50px;
    max-width: 120px;
    margin: 0 1.5rem;
    object-fit: contain;
    filter: grayscale(20%) opacity(85%);
    transition: all 0.3s ease;
}

.item img:hover {
    filter: grayscale(0%) opacity(100%);
    transform: scale(1.05);
}

.item h6 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #666;
    text-align: center;
    line-height: 1.2;
    margin: 0 2rem;
}

