/* Featured Logos Banner */
.featured-logos-section {
    width: 100%;
    background-color: #fafafa;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    height: 100px;
}

/* Left Title Area */
.featured-title-box {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background-color: #fafafa;
    padding: 0 40px 0 5%;
    display: flex;
    align-items: center;
    z-index: 10;
    box-shadow: 20px 0 30px -10px #fafafa;
}

.featured-title-text {
    font-size: 11px;
    font-weight: 600;
    color: #999;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Right Marquee Area */
.featured-marquee-wrapper {
    display: flex;
    width: 200%;
    animation: marqueeScroll 25s linear infinite;
}

.featured-marquee-track {
    display: flex;
    width: 50%;
    justify-content: space-around;
    align-items: center;
    padding-left: 200px; /* Offset for the absolute title box */
}

.featured-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.featured-brand:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.featured-brand img {
    height: 45px;
    width: auto;
    mix-blend-mode: multiply; /* Removes the white background of the AI images! */
    object-fit: contain;
}

.featured-brand-text {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    line-height: 1.1;
}
.featured-brand-text span {
    display: block;
    font-weight: 400;
    font-size: 13px;
    color: #666;
}

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

/* Responsive */
@media (max-width: 991px) {
    .featured-title-box {
        padding: 0 20px 0 5%;
    }
    .featured-marquee-track {
        padding-left: 150px;
    }
}

@media (max-width: 767px) {
    .featured-logos-section {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
    }
    .featured-title-box {
        position: relative;
        box-shadow: none;
        padding: 0 0 15px 0;
        background: transparent;
        justify-content: center;
        width: 100%;
    }
    .featured-marquee-wrapper {
        width: 300%;
        animation: marqueeScrollMobile 20s linear infinite;
    }
    .featured-marquee-track {
        padding-left: 0;
        width: 50%;
    }
}

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