
/* ========== NAVBAR ========== */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      background: var(--glass-bg);
      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);
    }

    .theme-toggle {
      background: var(--bg-secondary);
      border: 1px solid var(--border-color);
      border-radius: 50px;
      padding: 0.5rem 1rem;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.9rem;
      color: var(--text-secondary);
    }

    .theme-toggle:hover {
      background: var(--accent-primary);
      color: white;
      border-color: var(--accent-primary);
    }

    .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 */
  }
}



/* ========== MOBILE SIDEBAR ========== */
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: var(--bg-primary);
  box-shadow: var(--shadow-xl);
  z-index: 2000;
  transition: left 0.3s ease;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-sidebar.active {
  left: 0;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  transition: background 0.2s;
}

.close-btn:hover {
  background: var(--bg-secondary);
}

.sidebar-section {
  margin-bottom: 2rem;
}

.sidebar-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-primary);
}

.sidebar-links {
  list-style: none;
  padding: 0;
}

.sidebar-links li {
  margin-bottom: 0.75rem;
}

.sidebar-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.75rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-weight: 500;
}

.sidebar-links a:hover {
  background: var(--bg-secondary);
  color: var(--accent-primary);
  transform: translateX(4px);
}

.sidebar-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.sidebar-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.sidebar-social a:hover {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.sidebar-theme-toggle {
  width: 100%;
  justify-content: center;
  padding: 0.75rem;
  font-size: 0.9rem;
}

/* Show sidebar only on mobile */
@media (min-width: 769px) {
  .mobile-sidebar,
  .sidebar-overlay {
    display: none !important;
  }
}

/* Adjust padding when sidebar is open (optional) */
body.sidebar-open {
  overflow: hidden;
}



 /* ========== FOOTER ========== */
    .footer {
      background: var(--bg-secondary);
      padding: 4rem 0 2rem;
      border-top: 1px solid var(--border-color);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 3rem;
      margin-bottom: 3rem;
    }

    .footer-col h3 {
      font-size: 1.2rem;
      margin-bottom: 1.5rem;
      color: var(--text-primary);
      position: relative;
      display: inline-block;
    }

    .footer-col h3::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 30px;
      height: 2px;
      background: var(--accent-primary);
    }

    .footer-links {
      list-style: none;
    }

    .footer-links li {
      margin-bottom: 0.75rem;
    }

    .footer-links a {
      color: var(--text-secondary);
      text-decoration: none;
      transition: all 0.3s ease;
      font-size: 0.9rem;
    }

    .footer-links a:hover {
      color: var(--accent-primary);
      transform: translateX(5px);
    }

    .social-links {
      display: flex;
      gap: 0.75rem;
      margin-top: 1rem;
    }

    .social-links a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      background: var(--bg-primary);
      color: var(--text-secondary);
      border-radius: 8px;
      transition: all 0.3s ease;
      border: 1px solid var(--border-color);
    }

    .social-links a:hover {
      background: var(--accent-primary);
      color: white;
      border-color: var(--accent-primary);
      transform: translateY(-2px);
    }

    .footer-bottom {
      text-align: center;
      padding-top: 2rem;
      border-top: 1px solid var(--border-color);
      color: var(--text-muted);
      font-size: 0.9rem;
    }
    
   