#vanta-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;  
    z-index: -1;
    background: #000000;
}

.navibar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(9, 10, 75, 0.397);
    padding: 15px 30px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 1000;
}

.navibar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
    width: 100%; 
    justify-content: flex-start;
    flex-wrap: nowrap;}
    
.navibar a {
    color: white;
    text-decoration: none;
    font-size: 23px;
    padding: 10px 15px;
    border-radius: 5px;
}

.navibar a:hover {
    background: #555;
}

body {
    font-family: "Cal Sans", sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #000;
}

.certificates-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    
}

#cert-title {
    font-family: "Cal Sans", sans-serif;
    font-weight: 600;
    color : white;
}

.certificates-container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(20, 20, 20, 0.85); 
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}


.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.certificate-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    background-color: white;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.certificate-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 999;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 2px 0;
    transition: 0.4s;
}

.brand-text {
    display: none;
    position: fixed;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 24px;
    font-family: "Cal Sans", sans-serif;
    font-weight: bold;
    z-index: 999;
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .navibar {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        width: 250px;
        background: rgba(9, 10, 75, 0.95);
        flex-direction: column;
        padding: 60px 20px;
        transition: 0.3s;
        z-index: 1001;
    }

    .navibar.active {
        left: 0;
    }

    .navibar ul {
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }

    .navibar a {
        font-size: 16px;
        padding: 8px 12px;
        white-space: nowrap;
        display: block;
        width: 100%; 
        text-align: left; 
        font-size: 23px;
        padding: 10px 15px;
        white-space: nowrap;
    }

    .certificates-wrapper {
        margin-top: 60px;
    }
    
    .brand-text {
        display: block;
    }
}

@media screen and (max-width: 480px) {
    .navibar {
        padding: 60px 15px;
    }

    .navibar ul {
        gap: 15px;
    }

    .navibar a {
        font-size: 20px;
        padding: 8px 12px;
    }

    .brand-text {
        display: block;
    }
}

@media screen and (max-width: 768px) {
    .certificates-container {
        width: 90%;
        padding: 15px;
    }

    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .certificate-item h3 {
        font-size: 16px;
    }
}