/* Logo Banner Styles */

/* Animated Logo Banner */
.tech-logos-slider {
    padding-top: 45px;
    padding-bottom: 45px;
    overflow: hidden;
    position: relative;
}

@media (min-width: 700px) {
    .tech-logos-slider {
        padding-top: 70px;
        padding-bottom: 70px;
    }
}

@media (max-width: 768px) {
    .tech-logos-slider .logos-wrapper img {
        max-width: 500px;
    }
}

@media (max-width: 576px) {
    .tech-logos-slider .logos-wrapper img {
        max-width: 350px;
    }
}

.tech-logos-slider .logos-wrapper.tech-marquee {
    overflow: hidden;
    white-space: nowrap;
    padding-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
}

.tech-logos-slider .logos-wrapper.tech-marquee .marquee-inner {
    display: inline-block;
    width: max-content;
    position: relative;
    animation: marqueeScroll 30s linear infinite;
}

.tech-logos-slider .logos-wrapper.tech-marquee.right-direction {
    padding-bottom: 0px;
}

    .tech-logos-slider .logos-wrapper.tech-marquee.right-direction .marquee-inner {
        animation: marqueeScrollRight 30s linear infinite;
    }

.tech-logos-slider .logos-wrapper img {
    max-width: 783px;
    width: 100%;
    height: auto;
    margin: 0 7.5px;
    position: relative;
}

/* Animation Controls */
.infinite-scroll-controls {
    position: absolute;
    bottom: 0;
    transform: translateY(-50%);
    right: 24px;
}

.infinite-scroll-controls .animation-toggle {
    border: 1px solid rgba(120, 120, 120, 0);
    background: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.infinite-scroll-controls .animation-toggle::after {
    content: "\f04b";
    font-family: "FontAwesome";
    color: #787878;
    padding-left: 4px;
    line-height: 17px;
}

.infinite-scroll-controls .animation-toggle:focus {
    border: 1px solid #787878;
}

.infinite-scroll-controls .animation-toggle.pause::after {
    content: "\f04c";
    padding-left: 0;
}

/* Static Logo Banner */
.logo-banner-static {
    overflow: hidden;
    width: 100%;
}

.logo-banner-static img {
    height: 110px; /* Mobile height */
    width: auto;
    max-width: none; /* Allow image to extend beyond container */
    display: block;
    object-fit: cover;
    object-position: left center; /* Crop from the right */
}

@media (min-width: 992px) {
    .logo-banner-static img {
        height: 240px; /* Desktop height */
    }
}

/* Animation Keyframes */
@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

@keyframes marqueeScrollRight {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
