
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    background-color: #1f1f1f; /* Dark background */
    color: #f0f0f0; /* Light text */
  }
  
  header {
    background: #282828; /* Darker header */
    padding: 20px 0;
    position: fixed;
    width: 100%;
    
  }
  

  /* Hamburger Menu Styles */
/* Hide the navbar and show the menu icon on mobile */
.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-icon .bar {
  width: 25px;
  height: 3px;
  background-color: #f77f00;
  margin: 4px 0;
  transition: 0.3s;
}
  
@media screen and (max-width: 768px) {
  nav {
    display: none; /* Hide the navbar on mobile screens */
  }

  .menu-icon {
    display: flex; /* Display hamburger menu on mobile screens */
    flex-direction: column;
    cursor: pointer;
    margin-left: 285px;
  }

  .menu-icon .bar {
    width: 25px;
    height: 3px;
    background-color: #f77f00;
    margin: 4px 0;
    transition: 0.3s;
  }

  /* Display the navbar when the menu icon is clicked */
  nav.active {
    display: block;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #282828;
    width: 100%;
    text-align: center;
  }

  .nav-links {
    flex-direction: column;
  }

  .nav-links li {
    margin: 15px 0;
  }
}

  
  .container {
    width: 80%;
    margin: 0 auto;
    max-width: 1200px;
  }
  
  .logo {
    color: #f77f00; /* Orange color for logo */
    font-size: 1.8rem;
    font-weight: 600;
  }
  
  nav {
    float: right;
  }
  
  .nav-links {
    list-style: none;
  }
  
  .nav-links li {
    display: inline-block;
    margin-left: 30px;
  }
  
  .nav-links a {
    color: #f0f0f0; /* Light text for links */
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover {
    color: #f77f00; /* Orange on hover */
  }
  
  .hero {
    height: 100vh;
    background: url('images/hero.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    width: 100%;
    opacity: 1;
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
    
  }
  
  .hero-content h1 span {
    color: #f77f00; /* Highlighted text */
  }
  
  .btn-primary {
    background-color: #f77f00; /* Button color */
    color: white;
    padding: 3px 20px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s ease;
    margin-top: 10px;
    padding-top: 1.3rem;
    padding-bottom: 1.3rem;
    border-radius: 12px;
  }
  
  .btn-primary:hover {
    background-color: #ff8f00; /* Button hover color */
  }
  
  .about {
    padding: 80px 0;
    text-align: center;
  }
  
  .projects {
    background-color: #2a2a2a; /* Dark background for projects */
    padding: 80px 0;
    
  }
  
  .project-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
  }
  
  .project-card {
    background: #3b3b3b; /* Card background */
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    padding:  20px;
    transition: transform 0.3s ease;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
   
 
  }
  
  .project-card:hover {
    transform: translateY(-10px);
  }
  
  .project-card img {
    width: 100%;
    border-radius: 10px;
  }
  
  .btn-secondary {
    background-color: #444; /* Dark button color */
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s ease;
    margin-top: 3px;
  }
  
  .btn-secondary:hover {
    background-color: #555; /* Dark button hover color */
  }
  
  .skills-list {
    list-style: none;
    padding: 0;
}

.skills-list li {
    display: inline-block;
    background: #333;
    color: white;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
}
  
  .contact {
    padding: 80px 0;
    text-align: center;
    background-color: #2a2a2a; /* Dark background for contact section */
  }
  
  .contact h2 {
    margin-bottom: 20px;
  }
  
  .contact p {
    font-size: 1.1rem;
    margin-bottom: 40px;
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .contact-form form {
    width: 100%;
    max-width: 600px;
  }
  
  .contact-form input, 
  .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #444; /* Border color */
    border-radius: 5px; /* Rounded corners */
    background-color: #3b3b3b; /* Input background color */
    color: #f0f0f0; /* Light text color */
    font-size: 1rem;
  }
  
  .contact-form input::placeholder, 
  .contact-form textarea::placeholder {
    color: #bbb; /* Placeholder color */
  }
  
  .contact-form button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: #f77f00; /* Button color */
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .contact-form button:hover {
    background-color: #ff8f00; /* Button hover color */
  }
  
  
  footer {
    background: #282828; /* Dark footer */
    padding: 20px 0;
    text-align: center;
    color: #f0f0f0; /* Light text */
  }




  /* Media Queries */

/* For tablets */
@media (max-width: 768px) {
    .nav-links {
      display: f; /* Hide navigation links */
    }
  
    .header {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  
    .nav-links {
      display: flex;
      flex-direction: column;
      position: absolute;
      top: 60px; /* Adjust based on your header height */
      right: 0;
      background-color: #282828; /* Match header background */
      width: 100%;
      padding: 10px 0;
    }
  
    .nav-links li {
      margin: 10px 0; /* Spacing for links */
    }
  
    .hero-content h1 {
      font-size: 2.5rem; /* Smaller font size */
    }
  
    .project-grid {
      flex-direction: column; /* Stack project cards vertically */
      align-items: center; /* Center the cards */
    }
  
    .project-card {
      width: 100%; /* Full width for cards */
      margin-bottom: 20px; /* Space between cards */
    }
  
    .contact-form {
      flex-direction: column; /* Stack contact form elements */
    }
  
    .contact-form form {
      width: 90%; /* Slightly smaller width */
    }
  }
  
  /* For mobile devices */
  @media (max-width: 480px) {
    .hero-content h1 {
      font-size: 2rem; /* Further reduce font size */
    }
  
    .hero-content p {
      font-size: 1.2rem; /* Smaller paragraph font size */
    }
  
    .btn-primary, .btn-secondary {
      padding: 10px; /* Smaller button padding */
      font-size: 1rem; /* Smaller font size */
    }
  
    .skills-list li {
      font-size: 1rem; /* Smaller skills font size */
    }
  }
  
