/* ========== Reset ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* ========== Body ========== */
  body {
    font-family: 'Segoe UI', sans-serif;
    background: #444;
    color: #fff;
    line-height: 1.6;
  }
  
  /* ========== Header/Nav ========== */
  /*@media (max-width: 760px) {*/
    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 30px;
    }
    .nav-links {
      list-style: none;
      display: flex;
      gap: 15px;
      flex-wrap: wrap;
      justify-content: flex-start;
      width: 100%;
      gap: 10px;
    }
    .nav-links li {
      margin: 5px 0;
    }
   
  /*}*/
  header {
    background: #333;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .logo {
    font-weight: bold;
    font-size: 1.5em;
    white-space: nowrap;
  }
  
  .nav-links li a {
    background-color: #b45e28;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
  }
  
  .nav-links li a:hover {
    background-color: #91491f;
  }
  
  /* ========== Toggle Button ========== */
  #darkModeToggle {
    background: none;
    border: 1px solid #fff;
    color: #fff;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 5px;
    margin-left: 20px;
    transition: all 0.3s ease;
    align-self: flex-end;
    margin-top: 10px;
  }
  
  #darkModeToggle:hover {
    background: #fff;
    color: #333;
  }
  
  /* ========== Main Layout ========== */
  main {
    padding: 50px 30px;
  }
  
  .home-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
  }
  
  .profile-pic img {
    max-width: 250px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  
  .intro-text {
    max-width: 600px;
  }
  
  .intro-text h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
  }
  
  .intro-text p {
    font-size: 1.2em;
    line-height: 1.5;
  }
  
  /* ========== Sections ========== */
  section {
    margin-bottom: 50px;
    background: #fff;
    color: #222;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  /* ========== Project Cards ========== */
  .project-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
  }
  
  .card {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    width: 250px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  .card img {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: cover;
    border-radius: 5px;
  }
  
  .card h3 {
    margin: 10px 0 5px;
    font-size: 18px;
    color: #333;
  }
  
  .card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
  }
  
  .card a {
    display: inline-block;
    background-color: #b45e28;
    color: #fff;
    padding: 6px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
  }
  
  .card a:hover {
    background-color: #91491f;
  }
  
  /* ========== Footer ========== */
  footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: #fff;
  }
  
  /* ========== Dark Mode ========== */
  body.dark-mode {
    background: #1f1f1f;
    color: #eee;
  }
  
  body.dark-mode header,
  body.dark-mode footer {
    background: #1f1f1f;
  }
  
  body.dark-mode section {
    background: #2a2a2a;
    color: #eee;
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
  }
  
  /* ========== Utilities ========== */
  .nowrap {
    white-space: nowrap;
  }
  