/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
  }

  /* body {
    background-color: #011200;
    color: #e0e0e0;
    line-height: 1.6;
    padding: 20px;
  } */



  html {
    scroll-padding-top: 40px;
    scroll-behavior: smooth;
  }
  

  body {
    background: url('green_gradient_bg.gif') no-repeat center center fixed;
    background-size: cover;
    color: #e0e0e0;
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    padding: 20px;
  }


 
/* Header Styles */
header {
    /* background-color: transparent; */
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); */
    
  }
  
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
  
  }

  
  /* Navigation Button Styles */
  .nav-buttons {
    display: flex;
    gap: 25px;
  }
  
  .nav-buttons a {
    text-decoration: none;
    background: #aaff94;
    color: #121212;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid yellow;
    transition: all 0.3s ease;
  }
  
  .nav-buttons a:hover {
    background: #33ff00;
    border-color: #33ff00;
  }


  /* Responsive Design for Mobile: */
   @media (max-width: 768px) {
    .nav-buttons {
      gap: 10px;
      width: 100%;
      margin-top: 15px;
      overflow-x: auto;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      white-space: nowrap;
    }

    .nav-buttons a {
      display: inline-block;
      min-width: 120px;  
      text-align: center;
      padding: 12px 0;
    }

    html {
      scroll-padding-top: 80px;
      scroll-behavior: smooth;
  }
  }




/* Section Styling */
section {
    text-align: center;
    margin: 20px auto 10px;
    padding: 40px 20px;
    background-color: #071601; /* Slightly darker background for contrast */
    border: 1px dashed whitesmoke;
}

#home {
  border: none;
  background: none;
}


section h1 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 10px;
}

section h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: yellow;
}

#cursor {
  display: inline-block;
  color: yellow;
  font-weight: bold;
  margin-left: 5px;
  animation: blink 0.5s steps(1) infinite;
  font-size: 1.5rem;
}
  
  #role {
    color: yellow;
    font-weight: bold;
  }
  
  
  /* Section Styling */
  section {
    text-align: center;
    margin-bottom: 20px;
    max-width: 1100px;
  }
  
  h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    border-bottom: 2px solid whitesmoke;
    padding-bottom: 5px;
    color: #aaff94;
  }
  

  .find_me {
    border: none;
    color: yellow;
    font-size: 20px;
  }
  

  #social-links .icons {
    display: flex;
    gap: 25px;
    margin-top: 15px;
    justify-content: center;
  }
  
  #social-links a {
    color: whitesmoke;
    font-size: 2.4rem;
    transition: color 0.3s;
  }
  
  #social-links a:hover {
    color: #33ff00;
  }
  

  /* Skills Section */
  .skills-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .skill-box {
    /* flex: 1 1 45%; */
    text-align: center;
    background: #021a01;
    padding: 20px;
    border-radius: 4px;
    /* border: 1px solid yellow; */
    transition: 
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  }

  .skill-box:hover {
  box-shadow: 0 0 24px 8px greenyellow;
  transform: scale(1.04);
}



  .tech-pill {
  display: inline-block;
  border: 1px solid #aaff94;
  border-radius: 4px;
  padding: 6px 12px;
  margin: 4px 4px 4px 0;
  font-size: 0.95rem;
  color: #aaff94;
  background-color: transparent;
  transition: all 0.3s ease;
}

.tech-pill:hover {
  background-color: #aaff94;
  color: #121212;
  cursor: default;
}

  
  /* Projects */
  .project {
    background: #021a01;
    padding: 20px;
    margin-top: 24px;
    margin-bottom: 24px;
    border-radius: 4px;
    text-align: left;
    /* border: 1px solid yellow; */
    transition: 
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project:hover {
  box-shadow: 0 0 24px 8px greenyellow;
  transform: scale(1.04);
}

  .project h4 {
    color: yellow;
    font-size: 20px;
    margin-bottom: 10px;
    text-align: left;
  }
  
  .btn {
    display: inline-block;
    margin-top: 10px;
    margin-right: 10px;
    background: #aaff94;
    color: #121212;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
  }
  
  .btn:hover {
    background: #33ff00;
  }


  .project-flex {
    display: flex;
    align-items: flex-start;
    gap: 20px;
  }


  .project-img {
    width: 500px;
    height: auto;
    border-radius: 4px;
    /* border: 2px solid #aaff94; */
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.15); */
  }


  .more-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #aaff94;
    color: #121212;
    padding: 12px 24px;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
  }

  .more-button i {
    margin-top: 8px;
  }

  .more-button:hover {
    background: #33ff00;
  }



  /* Only for Tablet/Mobile View */
  @media (max-width: 1024px) {
    .project-flex {
      flex-direction: column;
    }
    .project-img {
      order: 1;
    }
  }


  /* .btn {
  margin-right: 12px;
} */

  /* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
  margin-right: 12px;
  /* vertical-align: middle; */
}

/* Responsive Design for Mobile: */
@media (max-width: 500px) {
  .dropdown {
    display: block;
    margin-top: 12px;
    width: 40%;
  }
}


/* Dropdown button */
.dropbtn {
  background-color: #aaff94;
  color: #121212;
  font-weight: bold;
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  font-weight: bold;
  min-width: 200px;
  /* box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); */
  z-index: 1;
  /* border: 2px solid white; */
  border-radius: 4px;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: #021a01;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  border-radius: 4px;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #99caff;}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}
/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: #33ff00;}





  /* Responsive Design for Mobile: */
  @media (max-width: 600px) {
    .project-flex {
      flex-direction: column;
      align-items: stretch;
    }
    .project-img {
      width: 100%;
      max-width: 300px;
      margin-bottom: 15px;
    }
  }


  /* Tablet view: 601px to 1024px */
@media (min-width: 601px) and (max-width: 1024px) {
  .project-flex {
    flex-direction: column;
    align-items: stretch;
  }
  .project-img {
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
  }
}

    
  
  /* ===== Contact Section Styling ===== */
#contact {
  margin-top: 100px;
  text-align: center;
  /* font-family: 'Open Sans', sans-serif; */
  background: transparent;
  border: none;
}

#contact h3 {
  margin-bottom: 20px;
}

  .connect {
    border: none;
    color: #aaff94;
  }


/* Form fields */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  background: #c6efff;
  border-radius: 4px;
  font-size: 1rem;
  resize: none;
}

/* First Name + Last Name side by side */
.name-row {
  display: flex;
  gap: 10px;
}

.name-row input {
  flex: 1;
}

/* Button style */
.email-button {
  max-width: 200px;
  margin: 0 auto;
  display: block;
  background-color: #aaff94;
  color: #121212;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  border: none;
  border-radius: 4px;
  transition: background 0.3s ease;
  cursor: pointer;
}

.email-button:hover {
  background-color: #33ff00;
}
  
  
  
  /* Footer */
  footer {
    text-align: center;
    font-size: 0.9rem;
    color: whitesmoke;
    margin-top: 50px;
  }


  
  /* Hide the HTML logo by default (desktop) */
.responsive-logo {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  z-index: 10;
}

/* Show the logo on mobile */
@media (max-width: 660px) {
  .responsive-logo {
    display: block;
  }
}
