/* ==========================================
	Client Logos
   ========================================== */

.logos-section {
    background-color: #ededed;
    padding: 30px 20px 50px 20px;
}

.logos-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* NOTE: .section-title was repeated here with the same values as in
   shared-style-projects-past-clients.css, so the copy was removed. */

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px 30px;
    margin-bottom: 10px;
}

.logo-item {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 22px;
    width: 215px;
    height: 115px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.logo-item img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.75);
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

/* The same effect now also happens when someone tabs to a logo with the keyboard */
.logo-item:hover,
.logo-item:focus-within {
    border-color: #00aeef;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.logo-item:hover img,
.logo-item:focus-within img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .logo-item {
        width: 160px;
        height: 95px;
        padding: 12px;
    }
}