/* ================= CERTIFICATIONS SECTION ================= */

/* Certificate Cards */
.cert-card {
    cursor: pointer;
    transition: transform 0.3s ease;
    height: 100%;
    text-align: center;
}

/* .cert-card:hover {
    transform: scale(1.05);
} */

.cert-img {
    display: block;
    width: 100%;
    max-height: 350px;
    object-fit: contain;
    margin: 0 auto;
}

/* Certifications Modal */
.modal-backdrop.show {
    opacity: 0.9 !important;
    background-color: #000;
}

.custom-modal-header {
    position: absolute;
    right: 0;
    z-index: 9999;
}

.custom-close-btn {
    background-color: white !important;
    opacity: 1 !important;
    border-radius: 50%;
    padding: 10px;
    margin: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* If the background is white, remove the invert filter from btn-close-white if it exists */
.custom-close-btn.btn-close-white {
    filter: none !important;
}

.carousel-cert-img {
    max-height: 85vh;
    max-width: 100%;
    object-fit: contain;
}

.custom-carousel-nav {
    width: 10% !important;
}

.custom-nav-icon {
    background-color: rgba(0,0,0,0.8);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background-size: 24px 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
