/* certifications.css */
.certifications-container {
    padding: 2rem;
    background-color: var(--bg-color);
    min-height: calc(100vh - var(--nav-height));
    color: var(--text-color);
}

.file-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
}

.section-title {
    margin: 2rem 0;
}

.comment {
    color: #6A9955;
    font-family: 'Fira Code', monospace;
}

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

.cert-card {
    background: #1E1E1E;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-5px);
    border-color: #569CD6;
}

.cert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cert-type {
    color: #569CD6;
    font-family: 'Fira Code', monospace;
}

.cert-date {
    color: #CE9178;
    font-size: 0.9rem;
}

.cert-title {
    color: #4FC1FF;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    min-height: 2.5rem;
}

.skill-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.skill-list li {
    color: #D4D4D4;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.skill-list li::before {
    content: "•";
    color: #6A9955;
    position: absolute;
    left: 0;
}

.view-cert {
    background: transparent;
    color: #C586C0;
    border: 1px solid currentColor;
    padding: 0.5rem 1rem;
    font-family: 'Fira Code', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.view-cert:hover {
    background: rgba(197, 134, 192, 0.1);
    transform: translateX(5px);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}

.modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    margin: 2% auto;
    background: #1E1E1E;
    padding: 20px;
    border-radius: 8px;
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 10px;
    color: #D4D4D4;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
}