.certificate-zoom {
    pointer-events: none;
}
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(9, 23, 27, 0.95);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-caption {
    color: #fff;
    margin-top: 20px;
    font-family: Oswald, sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10;
}

.lightbox-close:hover {
    color: var(--lime);
}

.certificate-img {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid #eee;
}

.certificate-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.certificate-zoom {
    position: absolute;
    inset: 0;
    background: rgba(18, 36, 42, 0.6);
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certificate-img:hover .certificate-zoom {
    opacity: 1;
}

.certificate-img:hover img {
    transform: scale(1.03);
}