body{
    background-color: #fef2c7 !important;
}

.card{
    background-color:#fdf4d6;
}

.list-group-item {
    background-color: #fdf4d6;
    border: none;
}
.dark-mode .list-group-item {
    background-color: #121211;
    border: none;
    color:#ffffff;
}

.btn-primary {
    background-color: #007bff;
    border: none;
    transition: background-color 0.3s ease-in-out;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Certification Cards */
.certification-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.certification-card {
    width: 160px;
    height: 250px;
    background: rgb(215, 210, 145);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
}
.dark-mode .certification-card{
    color: black;
}

.certification-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
}

/* Embedded PDF Preview */
.pdf-preview {
    width: 100%;
    height: 80%;
    border: none;
}

/* Full-page Modal Styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8); /* Dimmed background */
    display: none; /* Initially hidden */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it appears above other content */
}

/* Modal Close Button */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    z-index: 1001; /* Ensure close button is on top */
}

/* PDF Viewer inside Modal */
.pdf-viewer {
    width: 90%;
    height: 90%;
    border: none;
}

