.banner-certificate {
    background-image: url('../img/bg-certificate.gif');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-certificate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.banner-certificate .container {
    position: relative;
    z-index: 10;
}

.certificate-section .row {
    min-height: 400px;
}

@media (max-width: 768px) {
    .certificate-content {
        text-align: center;
        padding: 2rem !important;
    }
}

.certificate-content p {
    text-align: justify;
    margin-bottom: 1.5rem !important;
}

.brand-logo-card {
    background: #fff;
    border-radius: 18px;
    /*padding: 5px 5px;*/
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 60px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: .3s ease;
}

.brand-logo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);
}

.brand-logo-img {
    max-width: 150px;
    /*max-height: 35px;*/
    object-fit: contain;
}

@media (max-width: 575px) {
    .brand-logo-card {
        min-width: 130px;
        min-height: 55px;
        padding: 12px 18px;
    }

    .brand-logo-img {
        max-width: 85px;
        max-height: 30px;
    }
}

