* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

:root {
    --link:  #3498db;
    --lang_visit: cornflowerblue;
    --lang_hover: deepskyblue;
    --txt_color: #2c3e50;
}

body {
    background-color: #fafafa;
    color: var(--txt_color);
    line-height: 1.65;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 2px solid #eee;
    margin-bottom: 40px;
}

h1 {
    font-size: 2.2em;
    margin-bottom: 10px;
    color: var(--txt_color);
}

.subtitle {
    color: #667;
    font-size: 1.1em;
}

.section {
    margin-bottom: 2.5rem;
}
.change-lang {
    display: grid;
    margin-bottom: -0.5rem;
    padding-top: 1rem;
}
.change-lang a {
    color: var(--link);
    text-decoration: underline;
    font-weight: 500;
}
.change-lang a:visited { color: var(--lang_visit); }
.change-lang a:hover { color: var(--lang_hover); }

.section-title {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: var(--txt_color);
    border-bottom: 2px solid #3498db;
    padding-bottom: 5px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.card h3 {
    color: var(--txt_color);
    margin-bottom: 10px;
    font-size: 1.2em;
}

.card p {
    color: #667;
    margin-bottom: 10px;
}

.link {
    display: inline-block;
    color: var(--link);
    text-decoration: none;
    margin-top: 5px;
    font-size: 0.9em;
}

.link:hover {
    text-decoration: underline;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 15px;
}

.prof-grid {
    display: grid;
}

.cert-entry {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 15px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.prof-entry {
    display: grid;
    background: #fff;
    border-radius: 4px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.cert-info h3 {
    font-size: 1.1em;
    color: var(--txt_color);
}

.cert-info p {
    color: #667;
    font-size: 0.9em;
}

.cert-date {
    text-align: right;
    color: #667;
    font-size: 0.9em;
}

.contact {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-top: 40px;
}

.github-link {
    color: var(--link);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.github-link:hover {
    color: var(--lang_hover);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cert-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 10px;
    }

    header {
        padding: 20px 0;
    }
}

/* CERT PROGRESS */
.cert-accordion {
    background: #fff;
    border-radius: 4px;
    margin-bottom: 20px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.cert-accordion summary {
    cursor: pointer;
    font-size: 1.1em;
    color: var(--txt_color);
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cert-accordion[open] summary {
    margin-bottom: 10px;
}

.cert-accordion summary::-webkit-details-marker {
    display: none;
}

.progress-bar {
    background: #eee;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    background: #4caf50;
    height: 100%;
    transition: width 0.6s ease;
}

.module-list {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.module-list li {
    margin-bottom: 6px;
    font-size: 0.95em;
    color: #667;
}

.module-list li.completed {
    color: #2c3e50;
    font-weight: 500;
}

.module-list li.completed::before {
    content: "✅ ";
    color: #4caf50;
}

.module-list li.pending::before {
    content: "⬜ ";
    color: #ccc;
}
