.certificates-section {
    background: var(--green);
    color: var(--white);
}

.certificates-heading {
    margin-bottom: 36px;
}

.certificates-heading .eyebrow,
.certificates-heading em {
    color: var(--gold);
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.certificate-card {
    padding: 20px 16px;
    background: var(--white);
    color: var(--green);
    border-top: 3px solid var(--gold);
    text-align: center;
}

.certificate-mark {
    display: grid;
    place-items: center;
    height: 72px;
    margin-bottom: 16px;
}

.certificate-mark img {
    width: auto;
    height: auto;
    max-height: 56px;
    max-width: 100%;
    object-fit: contain;
}

.certificate-card h3 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.certificate-card p {
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.5;
}

.certificates-note {
    margin-top: 23px;
    color: #e1eae1;
    font-size: 14px;
}

.certificates-note a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 1000px) {
    .certificate-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .certificate-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .certificate-card {
        padding: 14px 10px;
    }

    .certificate-mark {
        height: 54px;
        margin-bottom: 10px;
    }

    .certificate-mark img {
        max-height: 43px;
    }

    .certificate-card h3 {
        font-size: 15px;
    }

    .certificate-card-dubai {
        grid-column: 1 / -1;
    }
}
