body {
    margin: 0;
    padding: 0;
    background-color: #101820; 
    font-family: Arial, sans-serif;
    font-size: 1rem;
    color: white;
}

h2 {
    color: #FFC000;
    text-transform: uppercase;
    font-size: 2rem;
}

header {
    position: sticky; 
    top: 0;
    left: 0;
    width: 100vw;
    background: #006B38; 
    padding: 1.5vh 0;
    border-radius: 0 0 2em 2em;
    display: flex;
    justify-content: center;
    z-index: 1000;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; 
    gap: 1.5em;
    padding: 0;
    width: 90vw;
}

.nav-menu li {
    display: inline-block;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.8em 1.2em;
    border-radius: 2em;
    transition: 0.3s;
    position: relative;
    z-index: 1;
}

.nav-menu a.active {
    background: #FFC000; 
    color: white;
    box-shadow: 0px 0px 1em #008F54;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 2em;
    transition: background-color 0.3s ease;
}


.section-box {
    padding: 4rem 2rem;
    width: 100%;
    color: white;
    font-size: 2rem;
    transition: background-color 0.5s ease-in-out;
    text-align: center;
}

.section-box.highlight {
    background-color: rgba(0, 107, 56, 0.2); 
    box-shadow: 0px 0px 2em rgba(0, 107, 56, 0.2);
}

/* About Section */
.about-me {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
}

.about-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1); 
    padding: 2rem;
    border-radius: 1.5rem;
    width: 80vw;
    max-width: 900px;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 2rem;
    border: 4px solid #008F54; 
}

.about-text {
    color: white;
    text-align: left;
}

.about-text h2 {
    text-transform: uppercase;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #008F54; 
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.5;
    max-width: 500px;
}

.cv-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 2.5rem;
    margin-left: 9.5rem;
    background-color: #FFC000; 
    color: black;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
    box-shadow: 0px 4px 10px rgba(0, 143, 84, 0.3);
}

.cv-button:hover {
    transform: scale(1.05);
}

/* Experience Section */
.experience {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.experience-banner {
    width: 60%;
    max-width: 1000px;
    height: auto;
    margin-bottom: 2rem;
    border-radius: 10px;
}

.experience-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    width: 80vw;
    max-width: 1000px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.experience-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease-in-out;
    margin-bottom: 1rem;
}

.experience-item:hover {
    transform: translateY(-5px);
}

.exp-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 3px solid #008F54;
}

.experience-item dt {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFC000;
    margin-bottom: 0.5rem;
}

.experience-item dd {
    font-size: 1rem;
    color: white;
    max-width: 250px;
}

/* Certificates Section */
.certificates {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.certificates-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    width: 80vw;
    max-width: 1000px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.certificate-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    width: 280px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0px 4px 12px rgba(0, 143, 84, 0.2);
    margin-bottom: 1rem;
}

.certificate-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 14px rgba(0, 143, 84, 0.3);
}

.cert-img {
    width: 180px; 
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 5px solid #008F54; 
}

.certificate-item h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: #FFC000;
}

/* Projects Section */
.projects {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.projects-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 80vw;
    max-width: 800px;
    margin-top: 2rem;
}

.project-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(0, 143, 84, 0.2);
}

.project-item:hover {
    transform: translateY(-5px);
}

.project-logo img {
    width: 120px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 50%;
    border: 3px solid #008F54;
}

.project-item h3 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #FFC000;
    margin-bottom: 0.5rem;
}

.project-item p {
    font-size: 1.4rem;
    color: white;
    max-width: 600px;
    line-height: 1.5;
    padding: 0 1rem;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}


.github-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #008F54;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: 0.3s ease-in-out;
    font-weight: bold;
    box-shadow: 0px 4px 8px rgba(0, 143, 84, 0.2);
}


.soon-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #008F54;
    color: white;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0px 4px 8px rgba(0, 143, 84, 0.2);
    opacity: 0.5; 
    cursor: not-allowed; 
    border: none;
    transition: 0.3s ease-in-out;
    font-size: 1rem;
    
}


.github-link img {
    width: 30px;
    height: 30px;
}

.github-link:hover {
    background: #005C3A;
    transform: scale(1.1);
}

.project-image {
    width: 100%; 
    max-width: 500px; 
    height: auto;
    border-radius: 10px;
    margin-top: 1rem;
    border: 3px solid #008F54; 
}



/* Skills Section */
.skills {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.skills-container {
    width: 60vw;
    max-width: 700px;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 143, 84, 0.2);
    margin-top: 2rem;
}

.skills-list {
    list-style: decimal inside; 
    text-align: left;
    padding-left: 20px;
    font-size: 1.2rem;
    color: white;
    line-height: 1.8;
}

.skills-list li strong {
    color: #FFC000; 
}

/* Contact Section */
.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap; 
}

.contact-item {
    display: flex;
    flex-direction: column; 
    align-items: center;
    text-decoration: none;
    color: #008F54;
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.contact-item img {
    width: 60px; 
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 143, 84, 0.3);
    transition: transform 0.3s ease-in-out;
}

.contact-item:hover img {
    transform: scale(1.1);
    box-shadow: 0px 6px 14px rgba(0, 143, 84, 0.5);
}



/* Mobile Version */
@media (max-width: 768px) {
    h2 {
        font-size: 1.5rem; 
    }

    header {
        padding: 1vh 0;
        width: 100vw;
        border-radius: 0 0 1.5em 1.5em;
    }

    .nav-menu {
        flex-wrap: wrap; 
        gap: 1em; 
        justify-content: center;
        width: 100%;
    }

    .nav-menu a {
        font-size: 1rem;
        padding: 0.6em 1em;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .profile-pic {
        margin: 0 0 1rem 0; 
    }

    .about-text {
        text-align: center;
    }

    .experience-list {
        flex-direction: column;
        align-items: center;
    }

    .experience-item {
        width: 90%;
        max-width: 350px;
    }

    .experience-banner {
        width: 90%;
    }

    .certificates-container {
        flex-direction: column;
        align-items: center;
    }

    .certificate-item {
        width: 90%;
        max-width: 350px;
        padding: 1.5rem;
    }

    .cert-img {
        width: 200px; 
    }

    .projects-container {
        width: 90%;
    }

    .project-logo img {
        width: 100px;
    }

    .project-item p {
        font-size: 1rem;
    }

    .skills-container {
        width: 80%;
        padding: 1.5rem;
    }

    .skills-list {
        font-size: 1rem;
    }

    .contact-container {
        gap: 1.5rem;
    }

    .contact-item {
        flex-direction: row;
        gap: 0.5rem;
        justify-content: flex-start;
    }

    .contact-item img {
        width: 40px; 
    }

    .contact-item p {
        font-size: 1rem;
    }
}
