/* ==================================================
   CERTIFICATES PAGE
   ================================================== */

   /* =========================
   Main Certificates Page
   ========================= */

   .certs-page {
    min-height: 100vh;

    padding-top: 120px;
    padding-bottom: 80px;
    }

    .certs-section {
    width: 88%;
    max-width: 1100px;

    margin: 0 auto;
    }

/* =========================
   Base
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0b0b12;
    color: #f5f5f7;
    line-height: 1.6;
    min-height: 100vh;
}


/* =========================
   Page Heading
   ========================= */

.certs-section-heading {
    text-align: center;

    margin-bottom: 18px;
}

.certs-section-heading p {
    color: #8b5cf6;

    font-size: 1rem;

    margin-bottom: 5px;
}

.certs-section-heading h1 {
    color: #f5f5f7;

    font-size: 2.5rem;
    font-weight: 700;

    line-height: 1.2;
}

body.light-theme .certs-section-heading h1 {
    color: #18181f;
}


/* Intro */

.certs-page-intro {
    max-width: 700px;

    margin: 0 auto 50px;

    text-align: center;

    color: #9292a3;

    font-size: 1rem;
    line-height: 1.7;
}


/* =========================
   Certificates Grid
   ========================= */

.certs-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 25px;
}


/* =========================
   Certificate Card
   ========================= */

   .certs-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.certs-card-header .certs-category {
    margin-bottom: 0;
}

.certs-card-content {
    padding: 28px;
}


/* Icon */

.certs-card-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border-radius: 12px;

    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);

    color: #8b5cf6;

    font-size: 1.35rem;

    box-shadow: 0 0 20px rgba(139, 92, 246, 0.08);
}


/* Category */

.certs-category {
    color: #8b5cf6;

    font-size: 0.85rem;

    margin-bottom: 8px;
}


/* Title */

.certs-card h2 {
    color: #f5f5f7;

    font-size: 1.25rem;
    font-weight: 600;

    line-height: 1.3;

    margin-bottom: 10px;
}


/* Issuer / date */

.certs-card p {
    color: #9292a3;

    font-size: 0.92rem;

    line-height: 1.6;
}


/* =========================
   Credential Link
   ========================= */

.certs-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-top: 20px;
    padding: 9px 16px;

    border: 1px solid #8b5cf6;
    border-radius: 7px;

    color: #f5f5f7;
    background: transparent;

    font-size: 0.88rem;
    font-weight: 500;

    text-decoration: none;

    transition: 0.3s ease;
}

.certs-link:hover {
    background: #8b5cf6;
    color: #ffffff;

    transform: translateY(-2px);
}

.certs-attended {
    display: inline-block;
    margin-top: 20px;
    padding: 9px 16px;
    border: 1px solid #242433;
    border-radius: 7px;
    color: #9292a3;
    font-size: 0.88rem;
}

/* ==================================================
   RESPONSIVE
   ================================================== */

@media (max-width: 900px) {

   
    .certs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 600px) {

  
    .certs-page {
        padding-top: 105px;
        padding-bottom: 60px;
    }

    .certs-section {
        width: 90%;
    }

    .certs-section-heading h1 {
        font-size: 2.1rem;
    }

    .certs-page-intro {
        margin-bottom: 35px;
    }

    .certs-card-content {
        padding: 22px;
    }

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

}


@media (max-width: 400px) {

   
    .certs-section-heading h1 {
        font-size: 1.9rem;
    }

    .certs-card-content {
        padding: 20px;
    }

}


/* =========================
   Light Theme
========================= */

body.light-theme {
    background: #f7f7fb;
    color: #18181f;
}
