/* General Styles */
body {
    margin: 0;
    font-family: Poppins, sans-serif;
    color: #000000;
    background-color: #ffffff;
    transition: background-color 0.3s, color 0.3s;
}

/* Particles Background */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}


/* Top Header Bar */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: right;
    padding: 10px 20px;
    background-color: #ffffff;
    color: #000000;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    height: 100%;
}

.top-header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-header .logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.top-header .logo span {
    font-size: 18px;
    font-weight: bold;
}
.cta-button {
    background-color: #4caf50;
    color: #000000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none; 
    font-size: 16px;
    font-weight: bold;
    position: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #fff;
    transform: scale(1.05);
    text-decoration: none;
}
.hamburger-menu {
    display: none; /* Hidden by default */
    flex-direction: column-reverse;
    cursor: pointer;
}

.hamburger-menu .line {
    width: 25px;
    height: 2px;
    background-color: rgb(0, 0, 0);
    margin: 3px 0;
}


/* Navigation Bar */
.navbar {
    display: flex;
    gap: 20px;
    position: relative;
    
    /* right: 3%; */
}

.navbar a {
    text-decoration: none;
    color: #000000;
    font-size: 16px;
    transition: color 0.3s;
}

.navbar a:hover {
    color: #4caf50;
    text-decoration: none;
}


/* Media Queries */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex; /* Show hamburger menu on mobile */
        position: relative;
        right: 0%;
    }

    .navbar {
        display: none; /* Hide nav by default on mobile */
        flex-direction: column; /* Stack items vertically */
        width: 100%;
        background-color: #ffffff; /* Match header background */
        position: absolute; /* Position it below the header */
        top: 60px; /* Adjust based on header height */
        left: 0;
    }

    .navbar.active {
        display: flex; /* Show nav when active */
    }

    .navbar a {
        margin:0; /* Space out items */
        padding: 10px; /* Add padding for better touch targets */
    }
}

.view-all-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 18px;
  border-radius: 6px;
  background: rgb(255, 255, 255);
  color: white;
  text-decoration: none;
  font-weight: 500;
}
.view-all-btn:hover {
  opacity: 0.85;
}

/* Section Styles */
.main-content {
    text-align: center;
    padding: 100px 20px 50px;
}
.main-content h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #4caf50;
}

.main-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #4caf50;
}



/* Skills Section */
.skills-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #ffffff;
    border: #ffffff;
    background: transparent;
    color: #000000;
}
.skills-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #4caf50;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.skill-category {
    background-color: #ffffff;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    text-align: left;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease-in-out;
}
.skill-category:hover {
    transform: scale(1.05);
}


.skill-category h3 {
    font-size: 1.2rem;
    color: #4caf50;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.skill-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-category ul li {
    font-size: 1rem;
    padding: 8px 0;
    color: #000000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-category ul li::before {
    content: '✓';
    color: #4caf50;
    font-size: 1.2rem;
}

.projects {
    text-align: center;
    padding: 50px 20px;
}

.projects h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #4caf50;
}


.card-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.project-card {
    background-color: #ffffff;
    border: 1px solid #000000;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    box-shadow: 0px 4px 6px hsla(0, 0%, 0%, 0.5);
    transition: transform 0.3s;
}
.project-card h3 {
    font-size: 1.2rem;
    color: #4caf50;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.project-card:hover {
    transform: scale(1.05);
}

.project-card img {
    max-width: 100%;
    border-radius: 10px;
}

.project-card a {
    color: #4caf50;
    text-decoration: none;
}

.project-card a:hover {
    text-decoration: underline;
}


/* Footer */
footer {
    text-align: center;
    padding: 15px;
    background-color: #ffffff;
    color: #000000;
    font-size: 14px;
}

footer a {
    color: #4caf50;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
#education {
    padding: 40px;
    background-color: #ffffff;
    background: transparent;
    text-align: center;
}

.education-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.education-item {
    background-color: #ffffff;
    border: 1px solid #000000;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    box-shadow: 0px 4px 6px hsla(0, 0%, 0%, 0.5);
    transition: transform 0.3s;
}

.education-item h3 {
    color: #4caf50;
    margin-bottom: 10px;
}

.education-item p {
    margin: 5px 0;
    color: #000000;
}

.education-item:hover {
    transform: scale(1.05);
}

/* Style inputs with type="text", select elements and textareas */
input[type=text], textarea {
    width: 100%; /* Full width */
    padding: 12px; /* Some padding */ 
    border: 1px solid #000000; /* Gray border */
    border-radius: 4px; /* Rounded borders */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    margin-top: 6px; /* Add a top margin */
    margin-bottom: 16px; /* Bottom margin */
    resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
  }
  input[type=email] {
    width: 100%; /* Full width */
    padding: 12px; /* Some padding */ 
    border: 1px solid #000000; /* Gray border */
    border-radius: 4px; /* Rounded borders */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    margin-top: 6px; /* Add a top margin */
    margin-bottom: 16px; /* Bottom margin */
    resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
  }
  
  /* Style the submit button with a specific background color etc */
  input[type=submit] {
    background-color: #4caf50;
    color: #000000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none; 
    font-size: 16px;
    font-weight: bold;
    position: center;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  /* When moving the mouse over the submit button*/
  input[type=submit]:hover {
    background-color: #ffffff;
    color: #4caf50;
    transform: scale(1.01);
    font-size: 16px;
    text-decoration: none;
  }
  

/* Input and Textarea Styles */
input, textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background-color: #ffffff; 
    color: #090909; 
    border-radius: 5px;
    outline: none; /* Remove browser's default outline */
    transition: background-color 0.3s, border-color 0.3s; /* Smooth interaction */
}
/* Focus State */
input:focus, textarea:focus {
    background-color: #ffffff; /* Slightly lighter background on focus */
    color: #000000; 
    border: 1px solid #4caf50; 
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);      
}
  


/* Contact Section */
form {
    display: block;
    max-width: 600px;
    margin: auto;
    background-color: #ffffff; /* Dark background for the form */
    border: 1px solid #000000;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s;
    box-shadow: 0px 4px 6px hsla(0, 0%, 0%, 0.5);
    
}

form:hover {
    transform: scale(1.05);
}


  /* Add a background color and some padding around the form */
  .container {
    border-radius: 5px;
    text-align: center;
    padding: 10px 20px;
    
  }

  .container h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #4caf50;
 }

  .container h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #4caf50;
 }


 /* Prevent scrollbar from affecting layout */
html {
    overflow-y: scroll; /* Ensures scrollbar space is always reserved */
  }
  
  /* Custom green scrollbar */
  ::-webkit-scrollbar {
    width: 12px;
  }
  
  ::-webkit-scrollbar-track {
    background: #ffffff;
    border-radius: 10px;
  }
  
  ::-webkit-scrollbar-thumb {
    background-color: #45a049;
    border-radius: 10px;
    border: 3px solid #ffffff;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background-color: #4caf50;
  }
  