
/* ========== NAVBAR ========== */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      background: white;
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border-color);
      height: 80px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 2rem;
      z-index: 1000;
      transition: all 0.3s ease;
    }

    .navbar.scrolled {
      background: var(--bg-primary);
      box-shadow: var(--shadow-lg);
    }

    .logo {
      display: flex;
      align-items: center;
      text-decoration: none;
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--text-primary);
    }

    .logo-img {
      height: 50px;
      width: auto;
      border-radius: 8px;
      transition: all 0.3s ease;
    }

    .logo:hover .logo-img {
      transform: scale(1.05);
      box-shadow: var(--shadow-md);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 2rem;
    }

    .nav-links a {
      color: var(--text-secondary);
      text-decoration: none;
      font-weight: 500;
      font-size: 0.95rem;
      padding: 0.5rem 1rem;
      border-radius: 8px;
      transition: all 0.3s ease;
      position: relative;
    }

    .nav-links a:hover {
      color: var(--accent-primary);
      background: var(--bg-secondary);
    }

  

    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      padding: 0.5rem;
      border-radius: 8px;
      transition: all 0.3s ease;
    }

    .hamburger span {
      width: 25px;
      height: 2px;
      background: var(--text-primary);
      margin: 3px 0;
      border-radius: 2px;
      transition: all 0.3s ease;
    }

    @media (max-width: 768px) {
      .hamburger { display: flex; }
      .nav-links, .theme-toggle { display: none; }
      .navbar {
  padding: 0 10px; /* 👈 This is what you want */
}
    }
    
    
    @media (max-width: 768px) {
  .logo {
    padding: 10px 0; /* vertical padding for better tap area */
  }

  .hamburger {
    padding: 12px; /* increases touch target */
  }
}