/* Partner Logos Section */
.partners-section {
    margin-bottom: 90px;
    padding: 0;
}

.partners-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 1140px;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    flex-shrink: 0;
    width: 135px;
    height: 113px;
}

.partner-logo img {
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* Specific sizes for each logo */
.partner-logo:nth-child(1) img {
    width: 109px;
    height: 12px;
}

.partner-logo:nth-child(2) img {
    width: 102px;
    height: 27px;
}

.partner-logo:nth-child(3) img {
    width: 106px;
    height: 21px;
}

.partner-logo:nth-child(4) img {
    width: 100px;
    height: 24px;
}

.partner-logo:nth-child(5) img {
    width: 85px;
    height: 15px;
}

.partner-logo:nth-child(6) img {
    width: 69px;
    height: 23px;
}

.partner-logo:nth-child(7) img {
    width: 90px;
    height: 20px;
}

.partner-logo:nth-child(8) img {
    width: 90px;
    height: 20px;
}


/* Tablet - wrap to multiple rows */
@media (max-width: 991px) {
    .partners-grid {
        flex-wrap: wrap;
        gap: 30px;
    }

    .partner-logo img {
        max-width: 120px;
        max-height: 50px;
    }
}

/* Mobile - 2 columns */
@media (max-width: 767px) {
    .partners-section {
        padding: 40px 0;
        margin: 0;
    }

    .partners-grid {
        flex-wrap: wrap;
        gap: 0;
        justify-content: space-around;
    }

    .partner-logo {
        margin: 0;
    }

    .partner-logo img {
        max-width: 100px;
        max-height: 40px;
    }
}

