#certifications {
    background: var(--bg);
    color: var(--text);
}

.certifications-heading h2 {
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* GRID */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(360px, 1fr));
    gap: 24px;
    max-width: 860px;
    margin: 0 auto;
    align-items: stretch;
}

/* CARD */
.cert-card {
    background: linear-gradient(140deg, #1b1d23, #17191f);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 12px;
    align-items: flex-start;
    box-shadow: var(--shadow);
    min-height: 180px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.cert-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-2);
}

/* LOGO */
.cert-logo {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: #fff;
    color: #0f1115;
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 800;
    overflow: hidden;
}

.cert-logo img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

/* CONTENT */
.cert-content {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.cert-content h3 {
    font-size: 18px;
    font-family: "Courier New", monospace;
    line-height: 1.2;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cert-org {
    font-size: 14px;
    color: #98a7bb;
}

.cert-issued {
    color: #8ea0b6;
    font-size: 13px;
    margin-top: 2px;
}

/* BUTTON */
.cert-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    align-self: flex-start;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.2);
    color: #f6f8fa;
    text-decoration: none;
    font-family: "Courier New", monospace;
    font-weight: 700;
    font-size: 13px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.cert-btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.cert-btn:hover {
    transform: translateY(-2px);
    border-color: var(--accent-2);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .cert-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .cert-card {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 10px;
    }

    .cert-logo {
        width: 44px;
        height: 44px;
    }

    .cert-content h3 {
        font-size: 16px;
    }

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

    .cert-issued {
        font-size: 12px;
    }

    .cert-btn {
        font-size: 12px;
        padding: 5px 10px;
    }
}