body {
    background-color: #111;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
}

.certifications-page {
    padding: 50px 0;
    text-align: center;
}

.certifications-page h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 0 0 10px #39FF14, 0 0 20px #39FF14, 0 0 30px #39FF14;
}

.certifications-page p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.certifications-section {
    margin-bottom: 50px;
}

.certifications-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #39FF14;
    text-shadow: 0 0 10px #39FF14, 0 0 20px #39FF14, 0 0 30px #39FF14;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.certification {
    background-color: #222;
    border: 3px solid transparent;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 15px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.certification:hover {
    transform: translateY(-10px);
    border-color: #39FF14;
    box-shadow: 0 10px 20px rgba(57, 255, 20, 0.5);
}

.certification img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.certification img:hover {
    transform: scale(1.05);
}

.certification p {
    font-size: 1.1em;
    color: #fff;
}


@keyframes neon {
    0% {
        text-shadow: 0 0 10px #39FF14, 0 0 20px #39FF14, 0 0 30px #39FF14;
    }
    50% {
        text-shadow: 0 0 20px #39FF14, 0 0 30px #39FF14, 0 0 40px #39FF14;
    }
    100% {
        text-shadow: 0 0 10px #39FF14, 0 0 20px #39FF14, 0 0 30px #39FF14;
    }
}

.certifications-page h1, .certifications-section h2 {
    animation: neon 1.5s ease-in-out infinite;
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 80%;
    max-height: 80%;
    margin-top: 5%;
    border-radius: 10px;
}

#close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

.certification img {
    cursor: pointer;
}

.nav-btn {
    position: absolute;
    top: 50%;
    font-size: 50px;
    color: white;
    cursor: pointer;
    user-select: none;
    transform: translateY(-50%);
}

#prev {
    left: 20px;
}

#next {
    right: 20px;
}

.modal-content {
    transition: opacity 0.3s ease;
}