/* Badges Section */
#badges {
    padding: 2rem 0;
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.badge-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.badge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--accent);
}

.badge-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.badge-card:hover .badge-overlay {
    opacity: 1;
}

.badge-overlay i {
    color: white;
    font-size: 1.5rem;
}

.badge-image-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.badge-thumb {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.badge-info h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.badge-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0 auto;
}

.certificate-date {
    display: block;
    font-size: 0.85rem;
    color: var(--accent);
    margin-top: 0.5rem;
    font-weight: 500;
}
