.demo-content {
    text-align: center;
    color: white;
    padding: 40px 20px;
}

.demo-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.demo-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Logo Scroller Container */
.logo-scroller-section {
    background: white;
    padding: 40px 0;
    overflow: hidden;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
    font-family: auto;
}

/* Scroller Wrapper */
.logo-scroller {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 1) 10%,
            rgba(255, 255, 255, 1) 90%,
            rgba(255, 255, 255, 0) 100%);
    padding-bottom: 30px;
}

/* Scrolling Track */
.logo-track {
    display: flex;
    width: calc(250px * 16);
    /* Width for 8 logos × 2 for seamless loop */
    animation: scroll 25s linear infinite;
    margin: 20px 0;
}

.logo-track:hover {
    animation-play-state: paused;
}

/* Individual Logo Items */
.logo-item {
    min-width: 250px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.logo-item img {
    max-width: 140px;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Alternative: Text-based logos for demo */
.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #34495e;
    text-align: center;
}

/* Gradient overlays for seamless edges */
.logo-scroller::before,
.logo-scroller::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 100px;
    z-index: 10;
    pointer-events: none;
}

.logo-scroller::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.logo-scroller::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

/* Keyframe Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 8 - 160px));
        /* Move by 8 logos + margins */
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-item {
        min-width: 200px;
        height: 100px;
        margin: 0 15px;
    }

    .logo-item img {
        max-width: 120px;
        max-height: 60px;
    }

    .logo-track {
        width: calc(230px * 16);
        animation-duration: 30s;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-230px * 8 - 120px));
        }
    }

    .section-title h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .logo-item {
        min-width: 180px;
        height: 90px;
        margin: 0 10px;
    }

    .logo-track {
        width: calc(200px * 16);
        animation-duration: 35s;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-200px * 8 - 80px));
        }
    }
}

/* Additional styling for demo */
.stats-section {
    background: #2c3e50;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}