/* ===========================================
   Logo Carousel Section
   로고 캐러셀 섹션 스타일
   =========================================== */

/* Logo Carousel Section */
.logo-carousel-section {
    padding: 60px 0;
    background: #fff;
    overflow: hidden;
}

/* Statistics Cards */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.stat-card {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #4361ee 0%, #3730a3 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(67, 97, 238, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 12px 40px rgba(67, 97, 238, 0.5);
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

.logo-carousel-container {
    width: 100%;
    overflow: hidden;
    background: transparent;
    padding: 40px 0;
    border-radius: 20px;
}

.logo-carousel-track {
    display: flex;
    flex-wrap: nowrap;
    will-change: transform;
    animation-fill-mode: none;
    backface-visibility: hidden;
    perspective: 1000px;
    transform: translateZ(0);
}

.logo-carousel-track.animate {
    animation: scroll 60s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(var(--scroll-distance, 0px) * -1));
    }
}

.logo-item {
    flex: 0 0 210px;
    margin-right: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 84px;
    background: transparent !important;
    transition: opacity 0.3s ease;
    padding: 15px 20px;
}

.logo-item:hover {
    opacity: 0.7;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    background: transparent !important;
    mix-blend-mode: multiply;
}

.logo-carousel-section .logo-placeholder {
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Pause animation on hover */
@media (hover: hover) and (pointer: fine) {
    .logo-carousel-container:hover .logo-carousel-track {
        animation-play-state: paused;
    }
}

@media (hover: none), (pointer: coarse) {
    .logo-carousel-container:hover .logo-carousel-track {
        animation-play-state: running !important;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .logo-carousel-section {
        padding: 0;
        margin: 40px 0 40px 0;
    }

    .logo-carousel-container {
        padding: 0;
    }

    .stats-container {
        gap: 20px;
        margin-bottom: 40px;
    }

    .stat-card {
        width: 140px;
        height: 140px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 12px;
    }

    .logo-item {
        flex: 0 0 150px;
        margin-right: 20px;
        height: 60px;
    }
}
