/* Modern Client Logos Section */
#clients {
    background: #fff;
    padding: 4em 0;
}

#clients .major {
    text-align: center;
    margin-bottom: 3em;
}

#clients .major h2 {
    font-size: 2.5em;
    color: #646464;
    margin-bottom: 0.5em;
}

#clients .major p {
    color: #999;
    font-size: 1.1em;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5em;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2em;
}

.client-logo {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 2.5em 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.client-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #94b0c2 0%, #e89980 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.client-logo:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #94b0c2;
}

.client-logo:hover::before {
    opacity: 0.03;
}

.client-logo img {
    max-width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    filter: grayscale(0%) brightness(1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.client-logo:hover img {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.05);
}

/* Responsive adjustments */
@media screen and (max-width: 1280px) {
    .client-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 2em;
    }
}

@media screen and (max-width: 980px) {
    .client-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5em;
        padding: 0 1.5em;
    }
    
    .client-logo {
        padding: 2em 1.5em;
        min-height: 130px;
    }
    
    #clients .major h2 {
        font-size: 2em;
    }
}

@media screen and (max-width: 736px) {
    #clients {
        padding: 3em 0;
    }
    
    .client-grid {
        grid-template-columns: 1fr;
        gap: 1.5em;
        padding: 0 1em;
    }
    
    .client-logo {
        padding: 2em 1.5em;
        min-height: 120px;
    }
    
    .client-logo img {
        max-height: 80px;
    }
    
    #clients .major h2 {
        font-size: 1.75em;
    }
    
    #clients .major p {
        font-size: 1em;
    }
}

@media screen and (max-width: 480px) {
    .client-logo {
        padding: 1.5em 1em;
        min-height: 100px;
    }
    
    .client-logo img {
        max-height: 70px;
    }
}