/* Partners Section */
.partners-section {
    padding: 6rem 0 3rem 0;
    background-color: #f4f6f8;
}

.partners-section .section-title {
    margin-bottom: 3rem;
}

.dynamic-partner-container {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    padding: 3rem;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.partner-logo {
    max-height: 250px;
    max-width: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.partner-logo.active {
    opacity: 1;
}

/* Clients Section */
.clients-section {
    padding: 3rem 0 6rem 0;
    background-color: #f4f6f8;
}

.clients-section .section-title {
    margin-bottom: 3rem;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    align-items: center;
    justify-items: center;
}

.client-logo-wrapper {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16/9;
}

.client-logo {
    max-width: 180px;
    max-height: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}