/* Main Certification - Bigger and More Prominent */
.cert-main {
    display: flex;
    align-items: center;
    background-color: #222;
    color: white;
    padding: 16px;
    border-radius: 10px;
    border: 2px solid #444;
    transition: background 0.3s, border 0.3s;
    max-width: 400px;
    margin-bottom: 16px;
    margin-left: auto;
    margin-right: auto;
}

.cert-main img {
    width: 64px;
    height: 64px;
    margin-right: 16px;
    border-radius: 5px;
}

.cert-main .cert-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.cert-main .cert-name {
    font-size: 18px;
    font-weight: bold;
}

.cert-main .cert-issuer,
.cert-main .cert-date {
    font-size: 14px;
    color: #bbb;
}

.cert-main:hover {
    background-color: #333;
    border-color: #666;
}

/* Grid Layout for Less Important Certs */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.cert-item {
    display: flex;
    align-items: center;
    background-color: #222;
    color: white;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #444;
    transition: background 0.3s, border 0.3s;
}

.cert-item img {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    border-radius: 5px;
}

.cert-item .cert-info {
    display: flex;
    flex-direction: column;
}

.cert-item .cert-name {
    font-size: 16px;
    font-weight: bold;
}

.cert-item .cert-issuer,
.cert-item .cert-date {
    font-size: 12px;
    color: #bbb;
}

.cert-item:hover {
    background-color: #333;
    border-color: #666;
}
