/* top of bonbloc-partners.css */
.bonbloc-partners-section,
.bonbloc-partners-title,
.bonbloc-partner-box {
    font-family: 'Nunito', sans-serif !important;
}


/* 🌐 Base styles stay as-is */
.bonbloc-partners-section {
    background-color: #2c1762;
    padding: 60px 0;
    text-align: center;
    font-family: 'Nunito', sans-serif !important;
}

.bonbloc-partners-title {
    color: white;
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 50px;
    padding: 0 20px;
    font-family: 'Nunito', sans-serif !important;
}

.bonbloc-partners-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: 'Nunito', sans-serif !important;
}

.bonbloc-partner-box {
    background-color: white;
    padding: 100px 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    min-width: 180px;
    max-width: 110px;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif !important;
}

.bonbloc-partner-box:hover {
    transform: scale(1.05);
}

.bonbloc-partner-box img {
    height: auto;
    width: 50px;
    object-fit: contain;
    display: block;
}

/* 📱 Responsive for tablets and below */
@media (max-width: 768px) {
    .bonbloc-partners-wrapper {
        gap: 15px;
        padding: 0 15px;
    }

    .bonbloc-partner-box {
        padding: 20px 30px;
        min-width: 160px;
        max-width: 160px;
    }

    .bonbloc-partner-box img {
        width: 120px;
    }

    .bonbloc-partners-title {
        font-size: 24px;
        margin-bottom: 30px;
        padding: 0 15px;
    }
}

/* 📱 Extra small screens (e.g. phones) */
@media (max-width: 480px) {
    .bonbloc-partners-wrapper {
        gap: 20px;
        padding: 0 10px;
    }

    .bonbloc-partner-box {
        padding: 25px 30px;
        min-width: 120px;
        max-width: 120px;
    }

    .bonbloc-partner-box img {
        width: 150px !important;
        height: auto !important;
    }

    .bonbloc-partners-title {
        font-size: 24px !important;
        line-height: 1.4;
    }
}

/* Very small screens (e.g. iPhone SE) */
@media (max-width: 375px) {
    .bonbloc-partner-box {
        padding: 20px;
        min-width: 100px;
        max-width: 100px;
    }

    .bonbloc-partner-box img {
        width: 90px;
    }

    .bonbloc-partners-title {
        font-size: 20px;
    }
}
