nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: whitesmoke;
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  /* Logo container */
  .logo {
    font-size: 1.5rem;
    color: black;
    font-weight: bold;
  }
 
  
  /* Nav links */
  .nav-links {
    display: flex;
    gap: 20px;
    list-style-type: none;
    color: black;
  }
  
  .nav-links a {
    color: black;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.5rem;
    transition: color 0.3s ease;
  }
  .hamburger{
    display: none;
    cursor: pointer;
  }
  .hamburger span{
    display: block;
    width: 25px;
    height: 3px;
    background-color: black;
    margin-bottom: 5px;
  }
  
  .nav-links a:hover {
    color: #1e90ff;
  }
  
  /* HERO SECTION */
  header.hero {
    max-width: 1200px;
    margin: 3rem auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4rem;
    padding: 0 2rem;
    flex-wrap: wrap;
  }
  
  /* Profile picture */
  .profile-pic {
    flex-shrink: 0;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #007bff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  
  .hero-text {
    max-width: 600px;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 1rem;
    color: #111;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-align: center;
  }
  .hero-text h2{
    font-size: 2.8rem;
    color: #111;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-align: center;
  }
  
  .hero-text p {
    font-size: 1.25rem;
    color: #444;
    line-height: 1.5;
  }
  
  /* Buttons */
  .hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    flex-direction: column;
    width: 50%;
    

  }
  
  .btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    color: white;
    background-color: black;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .btn:hover {
    background-color: grey;
  }
  
  .btn.secondary {
    background-color: black;
  }
  
  .btn.secondary:hover {
    background-color: #4a5058;
  }
  .footer {
    background-color: whitesmoke;
    color: black;
    padding: 30px 20px;
    text-align: center;
  }
  
  .footer p {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
  }
  
  .social-icons a svg {
    fill: black;
    transition: transform 0.2s ease, fill 0.2s ease;
  }
  
  .social-icons a:hover svg {
    transform: scale(1.2);
    fill: #0ea5e9; /* light blue hover effect */
  }
  .contact-section {
    max-width: 800px;
    margin: 5rem auto;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }
  
  .contact-section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .contact-section p {
    text-align: center;
    margin-bottom: 2rem;
    color: #555;
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 1rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: none;
    width: 100%;
  }
  
  .contact-form button {
    padding: 1rem;
    background-color: #222;
    color: white;
    border: none;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .contact-form button:hover {
    background-color: #444;
  }
  .projects-section {
    padding: 60px 20px;
    background-color: #f8f8f8;
    text-align: center;
  }
  
  .projects-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
  }
  
  .projects-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }
  
  .project-box {
    background-color: white;
    border: 1px solid #ddd;
    padding: 30px 20px;
    width: 280px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-radius: 10px;
  }
  
  .project-box:hover {
    transform: translateY(-10px);
  }
  
  .project-box a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 1.1rem;
  }
  
  
  
 
@media (max-width: 680px) {
    /* Navbar tweaks */
    nav {
      flex-direction: column;
      align-items: flex-start;
      padding: 1rem 1.5rem;
    }
  
    .logo {
        font-size: 1.1rem;
      }
  
    .nav-links {
      flex-direction: column;
      display: none;
      width: 100%;
      gap: 1rem;
      margin-top: 0.75rem;
    }
    
    .navbar {
        flex-direction: column;
        align-items: center;
      }
    
      .nav-links {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
      }
    
      .logo {
        width: 80px;
        margin-bottom: 0.5rem;
      }
  
    /* Hero section stacks vertically */
    header.hero {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 1.5rem 1rem;
    }
  
    /* Profile pic smaller and centered */
    .profile-pic {
      width: 150px;
      height: 150px;
      margin-bottom: 1.5rem;
    }
  
    /* Hero text fills width and centers */
    .hero-text {
      max-width: 100%;
    }
  
    /* Buttons centered */
    .hero-buttons {
      justify-content: center;
    }
  
    /* Text size adjustments */
    .hero-text h1 {
      font-size: 2rem;
    }
  
    .hero-text p {
      font-size: 1.1rem;
    }
  
    /* Nav links font smaller */
    .nav-links a {
      font-size: 1rem;
    }
    .contact-section {
        margin: 2rem 1rem;
        padding: 1.5rem;
      }
    
      .contact-section h2 {
        font-size: 1.5rem;
      }
    
      .contact-form input,
      .contact-form textarea {
        font-size: 0.95rem;
        padding: 0.8rem;
      }
    
      .contact-form button {
        font-size: 0.95rem;
        padding: 0.9rem;
      }
      @media (max-width: 768px) {
        .nav-links{
            display: none;
            flex-direction: column;
            position: absolute;
            top: 60px;
            left: 0;
            width: 100%;
            background-color: #333;
            padding: 1rem;
        }
        .nav-links.show{
            display: flex;
        }
        .hamburger{
            display: block;
        }
        .projects-container {
          flex-direction: column;
          align-items: center;
        }
      
        .project-box {
          width: 90%;
          max-width: 350px;
          margin-bottom: 20px;
        }
      
        .projects-title {
          font-size: 2rem;
        }
      }
      
      @media (max-width: 480px) {
        .projects-title {
          font-size: 1.7rem;
        }
      
        .project-box {
          padding: 20px 15px;
        }
      
        .project-box a {
          font-size: 1rem;
        }
      }
      
    .footer p {
        font-size: 1rem;
      }
      .social-icons {
        gap: 18px;
      }
      .social-icons a svg {
        width: 20px;
        height: 20px;
      }
  }
  
  