:root {
    --bg-color: #0d1117;
    --item-hover: #161b22;
    --border-color: #30363d;
    --text-primary: #e6edf3;
    --text-secondary: #848d97;
    --btn-border: #30363d;
    --btn-bg: #21262d;
    --btn-text: #c9d1d9;
    --btn-hover-border: #8b949e;
    --tag-text: #8b949e;
    --accent-blue: #58a6ff;
}

.certifications-section {
    max-width: 800px;
    margin: 0 0 30px 0;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--bg-color);
}

.section-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    background-color: #161b22;
    border-radius: 6px 6px 0 0;
}

.section-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.cert-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cert-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s;
    position: relative;
    align-items: flex-start;
}

.cert-item:last-child {
    border-bottom: none;
}

.cert-logo {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}

.cert-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
    background-color: #fff;
}

.cert-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cert-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}

.cert-org {
    font-size: 18px;
    color: var(--text-primary);
    margin: 0;
}

.cert-date {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.cert-skills {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.5;
}

.skill-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-right: 4px;
}

.skill-tags {
    color: var(--text-secondary);
}

@media (max-width: 600px) {
    .cert-item {
        flex-direction: column;
    }
    .cert-logo {
        width: 40px;
        height: 40px;
        margin-bottom: 8px;
    }
}

.embed-container {
    display: flex;
    min-height: auto;
}

.local-mock-wrapper {
    display: flex;
    gap: 16px;
    width: 100%;
}

#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out;
}

.spinner {
    width: 120px;
    height: 120px;
    border: 16px solid #f3f3f3;
    border-top: 16px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body.loading {
    overflow: hidden;
    height: 100vh;
}