/* ========================================
   Certifications Page
   ======================================== */

/* Hero - Page Title */
.cert-hero {
    background-color: #ffffff;
    padding-top: calc(7% + 80px);
    padding-bottom: 20px;
    text-align: center;
}

.cert-hero .cont {
    max-width: 900px;
    margin: 0 auto;
}

.cert-page-title {
    color: #232323;
    font-size: 50px;
    line-height: 53px;
    margin-bottom: 0;
}

/* Intro Section */
.cert-intro {
    padding: 30px 0 40px;
    text-align: center;
}

.cert-intro .cont {
    max-width: 900px;
    margin: 0 auto;
}

.cert-intro-text {
    color: #232323;
    font-size: 18px;
    line-height: 28px;
}

.cert-intro-text p {
    margin: 0 0 12px;
    color: #232323;
}

/* Certificates Grid Section */
.cert-grid-section {
    background-color: #F0F0F0;
    padding: 50px 0 60px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Individual Certificate Card */
.cert-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Certificate Image / Link */
.cert-image-link {
    display: block;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    overflow: hidden;
    width: 100%;
}

.cert-image-link:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.cert-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Responsive
   ======================================== */

@media screen and (max-width: 999px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .cert-page-title {
        font-size: 40px;
        line-height: 44px;
    }
}

@media screen and (max-width: 690px) {
    .cert-hero {
        padding-top: calc(10% + 80px);
    }

    .cert-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 400px;
    }

    .cert-page-title {
        font-size: 32px;
        line-height: 38px;
    }

    .cert-intro-text {
        font-size: 16px;
        line-height: 24px;
    }
}