@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');
*{
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}
body{
    width: 100%;
    height: 750px;
    height: 100vh;
    overflow: hidden;
    background-color: black;
}
nav{
    width: 100%;
    height: 750px;
    height: 10vh;
    position: sticky;
}
.nav-container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.logo{
    color: white;
    font-size: 2rem;
    font-weight: bold;
}
.logo span{
    color: #077b32;
    text-shadow: 0 0 10px #077b32;
}
.hamburg,
.cancel{
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
    color: white;
    display: none;
    font-size: clamp(2.5rem, 0.5rem + 5vw, 3rem);
}
.nav-container .links{
    display: flex;
}
.nav-container .links a{
    position: relative;
    font-size: 1.2rem;
    color: white;
    margin: 0 20px;
    text-decoration: none;
    font-weight: 550;
    transition: 0.3s linear;
}
.nav-container .links a::before{
    position: absolute;
    content: "";
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: #077b32;
    transition: 0.2s linear;
}
.nav-container .links a:hover::before{
    width: 100%;
}
.nav-container .links a:hover{
    color: #077b32;
}
.dropdown{
    z-index: 100;
    position: absolute;
    top: 0;
    transform: translateY(-500px);
    width: 100%;
    height: auto;
    backdrop-filter: blur(4px) brightness(40%);
    box-shadow:  0 0 20px black;
    transition: 0.2s linear;
}
.dropdown .links a{
    display: flex;
    color: white;
    text-decoration: none;
    justify-content: center;
    padding: 15px 0;
    align-items: center;
    transition: 0.2s linear;
}
.dropdown .links a:hover{
    background-color: #077b32;
}
section{
    width: 100%;
    height: 750px;
    height: 90vh;
}
.main-container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.main-container .image{
    width: 500px;
    height: 80vh;
    border-radius: 100%;
    overflow: hidden;
    box-shadow: 0 0 50px #f8f9f8;
}
.main-container .image img{
    width: 100%;
}
.main-container .image:hover{
    animation: animate 1.5s ease-in-out infinite;
}
@keyframes animate {
    0%{
        scale: 1;
    }
    50%{
        scale: 1.05;
    }
    100%{
        scale: 1;
    }
}
.main-container .content{
    color: white;
    width: 40%;
    min-height: 100px;
}
.content h1{
    font-size: clamp(1rem, 1rem + 5vw, 1.8rem);
}
.content h1 span{
    color: #077b32;
    text-shadow: 0  0 10px #077b32;
}
.content .typewriter{
    font-size: clamp(1rem, 1rem + 5vw, 2.5rem);
    font-weight: 600;
}
.content .typewriter-text{
    color: #077b32;
    text-shadow: 0 0 10px #077b32;
}
.content p{
    font-size: clamp(0.4rem , 0.2rem + 9vw, 1rem);
    margin: 10px 0;
}
.social-links i{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border: 0.2rem solid #077b32;
    border-radius: 50%;
    color: #077b32;
    margin: 5px 15px;
    font-size: 1.5rem;
    transition: 0.2s linear;
}
.social-links i:hover{
    scale: 1.3;
    color: black;
    background-color: #077b32;
    filter: drop-shadow(0 0 10px #077b32);
}
.content button{
    width: 50%;
    height: 6vh;
    margin: 30px;
    background-color: #077b32;
    color: white;
    border: none;
    outline: none;
    font-size: 120%;
    font-weight: 700;
    border-radius: 5px;
    transition: 0.2s linear;
}
.content button:hover{
    scale: 1.1;
    color: #077b32;
    border: 2px solid #077b32;
    background-color: transparent;
    font-weight: 700;
    box-shadow: 0 0 40px #077b32;
}
@media (max-width:884px) {
    nav .logo{
        position: absolute;
        top: 16px;
        left: 15px;
        font-size: 1.5rem;
    }
    .main-container {
        display: flex;
        flex-direction: column;
    }
    .nav-container .links{
        display: none;
    }
    .hamburg,
    .cancel{
        display: block;
    }
    .main-container .content{
        height: 750px;
        width: 80%;
    }
    .social-links i{
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }
    .main-container .image{
        z-index: -1;
        width: 50%;
        height: 60%;
    }
}
@media (max-width:440px){
    .main-container .image{
        width: 50%;
        height: 60%;
        margin-bottom: 0px;
    }
    .main-container .content{
        width: 80%;
    }
    .main-container button{
        margin-top: 15px;
    }
}#skills {
    width: 100%;
     /* Set the height as needed */
    padding: 50px 0;
    background-color: #000000;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center; /* Ensure content is vertically centered */
}

.skills-container {
    max-width: 1200px;
    width: 90%; /* Adjust width for better responsiveness */
/* Allow it to take full height of its parent */
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Ensure content is centered vertically */
}

.skills-container h2 {
    font-size: 2.5rem;
    color: #077b32;
    text-shadow: 0 0 10px #00471a;
    margin-bottom: 30px;
}

.skills-wrapper {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.skill-category {
    width: 45%;
    margin-bottom: 30px;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 255, 127, 0.5);
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #077b32;
    text-shadow: 0 0 10px #077b32;
}

.skill {
    margin-bottom: 15px;
}

.skill span {
    font-size: 1rem;
    font-weight: bold;
}

/* For the progress bars */
@keyframes progressBar {
    from {
        width: 0;
    }
    to {
        width: var(--progress);
    }
}

.skill .progress-bar {
    position: relative;
    width: 100%;
    height: 10px;
    background-color: #5ab812;
    border-radius: 5px;
    overflow: hidden;
}

.skill .progress-bar .progress {
    height: 100%;
    background-color: #00ff7f;
    border-radius: 5px;
    width: 0;
    animation: progressBar 2s ease-out forwards;
}

.progress {
    width: 100%;
    background: #070707;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 5px;
}

.progress-bar {
    height: 20px;
    background: #077b32;
    width: 0;
    transition: width 1s ease;
    text-align: center;
    color: white;
    line-height: 20px;
    font-size: 0.9rem;
}

.progress {
    width: 100%;
    background: #333;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 5px;
    height: 25px;
}

.progress-bar {
    height: 25px;
    background: #00ff7f;
    text-align: center;
    line-height: 25px;
    color: black;
    font-size: 0.9rem;
    width: 0;
    transition: width 1.2s ease, box-shadow 0.5s;
}

.progress-bar.active-bar {
    box-shadow: 0 0 20px #00ff7f;
}
/* Add scrollbar styles */
body {
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    scrollbar-width: thin; /* Firefox-specific: Thin scrollbar */
    scrollbar-color: #077b32 #121212; /* Scrollbar and track color */
}

/* Custom scrollbar for Webkit browsers (Chrome, Edge, Safari) */
body::-webkit-scrollbar {
    width: 10px; /* Scrollbar width */
}

body::-webkit-scrollbar-track {
    background: #121212; /* Scrollbar track color */
}

body::-webkit-scrollbar-thumb {
    background-color: #077b32; /* Scrollbar handle color */
    border-radius: 5px; /* Rounded edges for the handle */
    border: 2px solid #121212; /* Space around the handle */
}

/* Ensure dropdown also scrolls if too large */
.dropdown {
    max-height: 100vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #077b32 #000;
}

.dropdown::-webkit-scrollbar {
    width: 10px;
}

.dropdown::-webkit-scrollbar-track {
    background: #000;
}

.dropdown::-webkit-scrollbar-thumb {
    background-color: #077b32;
    border-radius: 5px;
    border: 2px solid #000;
}#about {
    width: 100%;
    padding: 50px 0;
    height: 750px;
    background-color: #1a1a1a;
    color: white;
}

.about-container {
    max-width: 1200px;
    height: 2000px;  /* Set the height to 800px (or any desired value) */
    margin: 0 auto;
    text-align: center;
    padding: 20px;
}

.about-container h2 {
    font-size: 2.5rem;
    color: #077b32;
    text-shadow: 0 0 10px #077b32;
    margin-bottom: 30px;
}

.about-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #cccccc;
}

.about-content p {
    margin-bottom: 20px;
    text-align: justify;
}


/* styles.css */

.certifications-section {
    font-size: 1.7rem;
    color: #00ff7f;
    text-shadow: 0 0 10px #00ff7f, 0 0 20px #077b32;
    padding: 50px 20px;
    height: 750px;
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
    background-color: #333333; /* Changed to grey */
    padding: 20px;
    border-radius: 10px;
}
.slideshow-container {
    position: relative;
    width: 50%;
    margin: 0 auto;
    overflow: hidden;
    background-color: #333333; /* Changed to grey like the skills section */
    border: 2px solid #ccc;
    border-radius: 10px;
}


.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    width: 100%;
    flex-shrink: 0;
    border-radius: 10px;
}

.dots-container {
    margin-top: 10px;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 5px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #555;
}

/* Styles for the ball that follows the cursor */
.cursor-dot {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    background-color: #ffffff; /* Red color for visibility */
    pointer-events: none; /* Make sure it doesn't block interactions */
    transition: transform 0.1s ease;
}#contact {
    height: 100%;
    width: 100%;
    padding: 20px;
    background-color: #000000;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Adds space between the sections */
    align-items: center;
    text-align: center;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.contact-container h2 {
    font-size: 2.5rem;
    color: #077b32;
    text-shadow: 0 0 10px #077b32;
    margin-bottom: 30px; /* Space between the title and the next section */
}

.contact-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 30px; /* Adds space below the content */
}

.contact-content p {
    margin: 0 auto;
    font-size: 1.2rem;
    max-width: 600px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.contact-item {
    text-align: center;
}

.contact-item i {
    font-size: 2rem;
    color: #077b32;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 1.1rem;
    color: #333;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
}

.contact-form button {
    padding: 12px 20px;
    background-color: #077b32;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #065c23;
}
