/* 
   Certification Logos Block Styles
*/

.cert-logos-section {
    width: 100%;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Background Color Themes */
.cert-logos--bg-white {
    background-color: #FFFFFF;
}

.cert-logos--bg-surface {
    background-color: #F8F8EF;
}

.cert-logos--bg-soft {
    background-color: #F6FAF2;
}

.cert-logos-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 30px;
    color: #333333;
    text-align: center;
}

.cert-logos-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.cert-logo-card {
    width: 160px;
    height: 160px;
    background-color: #FFFFFF !important;
    border: 1px solid #E9E9E9 !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 18px !important;
    box-sizing: border-box !important;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.cert-logo-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

.cert-logo-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
    outline: none !important;
}

.cert-logo-img {
    max-width: 110px !important;
    max-height: 110px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .cert-logos-section {
        padding: 40px 16px;
    }

    .cert-logos-title {
        font-size: 1.45rem;
        margin-bottom: 20px;
    }

    .cert-logos-container {
        gap: 14px;
    }

    .cert-logo-card {
        width: 130px;
        height: 130px;
        padding: 14px !important;
        border-radius: 14px !important;
    }

    .cert-logo-img {
        max-width: 90px !important;
        max-height: 90px !important;
    }
}

@media (max-width: 480px) {
    .cert-logo-card {
        width: 110px;
        height: 110px;
        padding: 10px !important;
        border-radius: 12px !important;
    }

    .cert-logo-img {
        max-width: 75px !important;
        max-height: 75px !important;
    }
}
