.ai-pacs-logo-carousel-28120-wrapper {
    padding: 60px 0;
    text-align: center;
    overflow: hidden; /* crucial for marquee */
}

.ai-pacs-lc-header {
    max-width: 900px;
    margin: 0 auto 60px;
}

.ai-pacs-lc-pre-title {
    color: var(--aipx-text, #475569);
    font-size: 2rem;
    font-weight: 400; /* Lighter weight matching screenshot */
    margin-bottom: 10px;
    font-family: 'Outfit', sans-serif;
}

.ai-pacs-lc-main-title {
    color: var(--aipx-title-color, #000D44);
    font-size: 4rem;
    font-weight: 800; /* Bolder weight matching screenshot */
    margin-bottom: 25px;
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
}

.ai-pacs-lc-desc {
    color: var(--aipx-text, #475569);
    font-size: 1.125rem;
    line-height: 1.8;
    font-family: 'DM Sans', sans-serif;
    margin: 0 auto;
    max-width: 800px;
}

/* Marquee Styles */
.ai-pacs-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

/* Gradient masks for smooth fade in/out at edges */
.ai-pacs-marquee-container::before,
.ai-pacs-marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.ai-pacs-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.ai-pacs-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.ai-pacs-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scrollLeft 20s linear infinite;
}

.ai-pacs-marquee-item {
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-pacs-marquee-item img {
    max-height: 80px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
}

.ai-pacs-marquee-item img:hover {
    filter: grayscale(0%) opacity(1);
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move exactly half the width since we duplicated items */
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .ai-pacs-lc-main-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .ai-pacs-lc-main-title {
        font-size: 2.2rem;
    }
    .ai-pacs-lc-pre-title {
        font-size: 1.5rem;
    }
    .ai-pacs-marquee-item img {
        max-height: 60px;
    }
    .ai-pacs-marquee-item {
        padding: 0 20px;
    }
}