.certifications-area {
    padding: 75px 0;
    background: #f7f9fb;
}

.certifications-area h2 {
    color: #172a46;
}

.certification-card {
    margin: 0;
    padding: 16px;
    background: #fff;
    border: 1px solid #e8edf1;
    border-radius: 6px;
}

.certification-card a {
    display: block;
    cursor: zoom-in;
}

.certifications-carousel .certification-card img {
    width: 100%;
    height: 340px;
    object-fit: contain;
}

.certification-card figcaption {
    min-height: 52px;
    margin-top: 16px;
    color: #172a46;
    text-align: center;
    line-height: 26px;
}

.certifications-carousel .owl-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.certifications-carousel.owl-carousel .owl-nav button {
    width: 44px;
    height: 44px;
    border: 1px solid #172a46;
    border-radius: 50%;
    color: #172a46;
    font-size: 26px;
    line-height: 1;
}

.certifications-carousel.owl-carousel .owl-nav button:hover {
    color: #fff;
    background: #172a46;
}

.certification-card a:focus-visible,
.certifications-carousel .owl-nav button:focus-visible {
    outline: 3px solid #3589bd;
    outline-offset: 4px;
}

@media (max-width: 575px) {
    .certifications-area {
        padding: 50px 0;
    }
}

.certification-viewer {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 64px 70px 24px;
    border: 0;
    background: rgba(8, 16, 29, 0.97);
    color: #fff;
}

.certification-viewer[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.certification-viewer::backdrop {
    background: #08101d;
}

.certification-viewer figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 0;
}

.certification-viewer img {
    flex: 1;
    min-height: 0;
    width: 100%;
    object-fit: contain;
}

.certification-viewer figcaption {
    flex-shrink: 0;
    padding-top: 14px;
    text-align: center;
    line-height: 1.5;
}

.certification-viewer button {
    position: absolute;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: #172a46;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
}

.certification-viewer button:hover {
    background: #315278;
}

.certification-viewer button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.certification-viewer-close { top: 12px; right: 12px; }
.certification-viewer-prev { top: calc(50% - 24px); left: 12px; }
.certification-viewer-next { top: calc(50% - 24px); right: 12px; }

@media (max-width: 575px) {
    .certification-viewer { padding: 68px 8px 76px; }
    .certification-viewer-prev { top: auto; bottom: 12px; left: calc(50% - 60px); }
    .certification-viewer-next { top: auto; bottom: 12px; right: calc(50% - 60px); }
}
