/* =====================================================
   HERO
   ===================================================== */
.cert-hero {
    padding-bottom: 60px;
}

.cert-hero__inner {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cert-hero__intro {
    display: flex;
    gap: 40px;
    color: #3c3c3c;
    font-size: 1rem;
    line-height: 1.7;
}

.cert-hero__intro p {
    flex: 1;
    margin: 0;
}

/* =====================================================
   SECTION DIVIDER
   ===================================================== */
.cert-section {
    width: 80%;
    margin: 80px auto 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.cert-section__header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cert-section__line {
    flex: 1;
    height: 1px;
    background-color: var(--clr-red);
}

.cert-section__title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--clr-red);
    white-space: nowrap;
}

.cert-section__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--clr-dark);
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.cert-section__link:hover {
    color: var(--clr-red);
    gap: 18px;
}

.cert-section__link .fa-arrow-right {
    font-size: 1.1rem;
}

/* =====================================================
   LOGO BACKGROUND OVERRIDE (beige instead of dark)
   ===================================================== */
.cert-section .partner-logo-img {
    background-color: var(--clr-bg);
}

/* =====================================================
   BOTTOM SPACING
   ===================================================== */
.cert-bottom {
    height: 100px;
}

/* =====================================================
   MOBILE (< 800px)
   ===================================================== */
@media screen and (max-width: 800px) {
    .cert-hero__inner {
        width: 90%;
    }

    .cert-hero__inner .hero-title {
        font-size: 38px;
    }

    .cert-hero__intro {
        flex-direction: column;
        gap: 12px;
    }

    .cert-section {
        width: 90%;
        margin-top: 50px;
        gap: 24px;
    }

}
