﻿/* todo ~~~~~~~~~~ LOGOS-SLIDER-SECTION ~~~~~~~~~~ */
/*
.logos-slider {
    padding: 50px 0px;
    background-color: var(--bg-gray);
}

    .logos-slider .container {
        position: relative;
    }

    .logos-slider .pause-icon button {
        height: 40px;
        width: 40px;
        background-color: transparent;
        border: none;
        border-radius: 50%;
        border: 1px solid var(--gray-40);
        font-size: 22px;
        color: var(--black-100);
    }

#playPauseBtn {
    cursor: pointer;
    position: absolute;
    top: -70px;
    right: 10px;
    color: var(--black-100);
}

    #playPauseBtn i {
        color: var(--black-100);
    }

#pauseIcon {
    display: block;
}

#playIcon {
    display: none;
}

.paused #pauseIcon {
    display: none;
}

.paused #playIcon {
    display: block;
}

.logos {
    overflow: hidden;
    position: relative;
    display: flex;
}

.logos-slide {
    display: flex;
    animation: scroll 15s linear infinite;
    -webkit-animation: scroll 15s linear infinite;
}

    .logos-slide .slide-item {
        height: 170px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        flex-direction: column;
        padding: 0px 30px;
        text-align: center;
    }

        .logos-slide .slide-item img {
            height: auto;
            object-fit: cover;
        }

        .logos-slide .slide-item .dsc {
            font-size: 16px;
            color: var(--gray-100);
        }

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50%));
    }
}*/

/* Ensure the button shows/hides icons correctly */
/* Hide/Show icons based on the .paused class on the button itself */
.logos {
    overflow: hidden;
    width: 100%;
    /* Remove display:flex from here if it's causing issues */
}

.logos-slide {
    display: flex;
    flex-direction: row; /* Keep items side by side */
    animation: scroll 15s linear infinite;
    animation-play-state: running;
}

    .logos-slide .slide-item {
        /* Critical Fixes */
        flex: 0 0 auto; /* Prevents items from shrinking */
        display: flex;
        flex-direction: column; /* Stack image and text vertically */
        align-items: center;
        justify-content: center;
        padding: 0 40px; /* Gap between sets */
        text-align: center;
        width: 180px; /* Give each item a fixed width so text can wrap */
    }

        .logos-slide .slide-item .dsc {
            font-size: 16px;
            color: var(--gray-100);
            white-space: normal; /* ALLOWS THE TEXT TO WRAP TO MULTIPLE LINES */
            line-height: 1.2;
            margin-top: 10px;
        }

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}
