/* Logo Gallery Styles */

/* Inline Logo Gallery Styles */
.gallery-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
}

/* "As Featured In" text */
.gallery-container.featured-in::before {
    content: "as featured in";
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .gallery-container.featured-in::before {
        top: -1.5rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .gallery-container {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-container {
        gap: 1rem;
    }
}

/* Logo Gallery Item Styles */
.gallery-item {
    transition: all 0.3s ease;
    width: 120px; /* Fixed width - back to original */
    height: 4rem; /* 64px - Fixed height - back to original */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gallery-item img {
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.8;
}

/* Logo hover effects */
.gallery-item:hover {
    transform: scale(1.1);
}

.gallery-item:hover img {
    opacity: 1;
}

/* Lazy Loading */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

img.lazy.loaded {
    opacity: 1;
}

/* Carousel specific styles */
.gallery-container.carousel .slick-slide {
    padding: 0 10px;
}

.gallery-container.carousel .slick-prev,
.gallery-container.carousel .slick-next {
    z-index: 10;
}

.gallery-container.carousel .slick-prev {
    left: -30px;
}

.gallery-container.carousel .slick-next {
    right: -30px;
}

/* Custom List Styling for Boxes */
.custom-list ul {
    list-style: none;
    padding-left: 0;
}

.custom-list ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
}

.custom-list ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 1.25rem;
    height: 1.25rem;
    background-image: url('../imgs/list.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
