/* Simple Logo Grid/Carousel */
.logo-carousel {
    padding: 0;
}

.logo-carousel-container {
    margin: 0 auto;
    padding: 0;
}

/* Desktop/Tablet - Flex Layout */
.desktop-tablet-only {
    display: block;
}

.logo-grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: all 0.3s ease;
    min-height: 120px;
    max-height: 200px;
    margin: 0;
}

.logo-item:hover {
    transform: translateY(-4px);
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.logo-image {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.4s ease;
}

.logo-item:hover .logo-image {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Mobile Swiper */
.logo-swiper {
    position: relative;
    padding: 2rem 0;
}

.swiper {
    padding: 0 1rem 2rem 1rem;
    overflow: visible;
}

.swiper-slide {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide .logo-item {
    margin: 0;
    padding: 1rem;
    min-height: 100px;
    max-height: 150px;
}

.swiper-pagination {
    position: relative;
    margin-top: 1rem;
}

.swiper-pagination-bullet {
    background: #2B2B2B;
    opacity: 0.3;
    width: 8px;
    height: 8px;
    margin: 0 4px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* Responsive */
.mobile-only {
    display: none;
}

/* Tablet: 768px – 1024px - Show responsive grid */
@media (max-width: 1024px) and (min-width: 768px) {
    .logo-grid {
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .logo-item {
        padding: 0.75rem;
        min-height: 100px;
        max-height: 180px;
    }
    
    .logo-image {
        max-height: 100px;
    }
}

/* Mobile: < 768px - Show swiper */
@media (max-width: 767px) {
    .desktop-tablet-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .logo-carousel {
        padding: 0;
    }
    
    .logo-carousel-container {
        padding: 0;
    }
}