/* Certifications — homepage / products / team */

.certifications-section {
    background: var(--background-color-light);
    color: var(--text-color-dark);
    padding: 88px 0 96px;
}

.certifications-section .container {
    max-width: 1140px;
}

.certs-intro {
    max-width: 820px;
    margin: 0 auto 48px;
    text-align: center;
}

.certs-kicker {
    margin: 0 0 12px;
    color: var(--brand-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.certs-intro h2 {
    margin: 0 0 14px;
    color: var(--important-color);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.certs-intro p {
    margin: 0;
    color: var(--text-color-muted);
    font-size: 16px;
    line-height: 1.5;
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cert-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px 24px;
    margin: 0;
    background: var(--text-color-alt-1);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    max-width: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cert-card:hover {
    transform: translateY(-3px);
    background: var(--text-color-alt-1);
    border-color: rgba(8, 145, 222, 0.35);
    box-shadow: 0 10px 28px rgba(30, 51, 111, 0.08);
}

.cert-icon {
    height: 120px;
    width: 100%;
    margin-bottom: 18px;
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cert-icon img {
    max-width: 88%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.cert-description {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-color-muted);
    opacity: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 991px) {
    .certifications-section {
        padding: 56px 0 64px;
    }

    .certs-intro h2 {
        font-size: 24px;
    }

    .certs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .cert-icon {
        height: 96px;
        margin-bottom: 14px;
    }
}

@media (max-width: 575px) {
    .certs-intro h2 {
        font-size: 22px;
    }

    .certs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cert-card {
        padding: 22px 18px;
    }

    .cert-icon {
        height: 88px;
    }

    .cert-description {
        font-size: 13px;
    }
}
