* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font: #5c0c0e normal Colonna MT;
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: #EEEEEE;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 800 400'%3E%3Cdefs%3E%3CradialGradient id='a' cx='396' cy='281' r='514' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23C28868'/%3E%3Cstop offset='1' stop-color='%23EEEEEE'/%3E%3C/radialGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='400' y1='148' x2='400' y2='333'%3E%3Cstop offset='0' stop-color='%2347402A' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%2347402A' stop-opacity='0.5'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill='url(%23a)' width='800' height='400'/%3E%3Cg fill-opacity='0.24'%3E%3Ccircle fill='url(%23b)' cx='267.5' cy='61' r='300'/%3E%3Ccircle fill='url(%23b)' cx='532.5' cy='61' r='300'/%3E%3Ccircle fill='url(%23b)' cx='400' cy='30' r='300'/%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
    background-size: cover;
    padding: 0px;
    margin: 0px;
}

.certifications-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

.certifications-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.336);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0);
}

.certifications-table th {
    background: rgba(149, 80, 46, 0.1);
    color: #462B22;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.certifications-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.certifications-table tr:hover {
    background: rgba(255, 255, 255, 0.651);
}

.certifications-table tr:last-child td {
    border-bottom: none;
}


.cert-name {
    font-weight: 600;
    color: #462B22;
}

.cert-type {
    color: #95502E;
    font-style: italic;
}

.cert-institution {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #462B22;
}

.institution-logo {
    width: 42px;
    height: 42px;
}

.institution-logo img {
    width: auto;
    height: 42px;
}

.cert-duration {
    color: #95502E;
    font-size: 0.9rem;
}

.credential-id {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

.more-btn {
    background: rgba(149, 80, 46, 0.15);
    color: #95502E;
    border: 1px solid rgba(149, 80, 46, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.more-btn:hover {
    background: rgba(149, 80, 46, 0.25);
    transform: translateY(-2px);
}

/* Popup overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #95502E;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background 0.3s ease;
    text-decoration: none;
}

.popup-close:hover {
    background: rgba(149, 80, 46, 0.1);
}

.popup-overlay:target {
    opacity: 1;
    visibility: visible;
}

.popup-overlay:target .popup-content {
    transform: scale(1);
}


.quick-access-title {
    color: #462B22;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.quick-access {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    margin: 0 auto;
    padding: 40px 20px;
    border-left: 4px solid rgba(149, 80, 46, 0.4);
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.github-badge {
    display: inline-flex;
    background: #ffffff49;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid #d1d5da;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 12px;
    line-height: 1;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.github-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border-color: #95502E;
}

.badge-label {
    background: #d19b80;
    color: white;
    padding: 8px 12px;
    font-weight: 600;
    border-radius: 20px 0 0 20px;
}

.badge-value {
    color: #24292f;
    padding: 8px 12px;
    font-weight: 500;
    border-left: 1px solid #d1d5da;
}

@media screen and (max-width: 768px) {
    .certifications-table {
        display: block;
        overflow-x: auto;
    }
}