 /* ==========================================================================
   1. GENERAL RESET & BASE STYLES
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #0d1117; /* Cyber Dark Theme */
  color: #ffffff;
  padding-top: 80px; /* Header spacing */
}

/* ==========================================================================
   2. HEADER & LAYOUT
   ========================================================================== */
#hdr {
  background-color: #161b22;
  border-bottom: 2px solid #30363d;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.brand {
  text-decoration: floralwhite;
  color: #ffffff;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  font-family: sans-serif;
  letter-spacing: 1px;
  color: #00eeff; /* Cyber Blue */
}

.brand-sub {
  font-size: 1rem;
  color: #8b949e;
}

/* ==========================================================================
   3. DESKTOP NAVIGATION
   ========================================================================== */
.desk-nav a {
  color: #c9d1d9;
  text-decoration: none;
  margin-left: 20px;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.desk-nav a:hover {
  color: #58e3ff;
}

.desk-nav .nav-cta {
  background-color: #00dae1ef; /* Green CTA Button */
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
}

.desk-nav .nav-cta:hover {
  background-color: #00b7a4;
  color: #ffffff;
}

/* ==========================================================================
   4. HAMBURGER ICON (ALWAYS VISIBLE & CRISP WHITE)
   ========================================================================== */
.ham {
  display: flex; /* Hamesha visible rahega desktop aur mobile dono par */
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1002;
  margin-left: 20px; /* Desktop items se space maintain karne ke liye */
}

.ham span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #ffffff; /* Pure White Bars */
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

/* Hover Effect: Clean Glow */
.ham:hover span {
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* Hamburger X-Transformation Animation */
.ham.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background-color: #ffffff;
}

.ham.open span:nth-child(2) {
  opacity: 0;
}

.ham.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background-color: #ffffff;
}

/* ==========================================================================
   5. MOBILE NAVIGATION DRAWER & OVERLAY
   ========================================================================== */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  backdrop-filter: blur(4px); /* Premium Blur Effect */
}

.nav-overlay.active {
  display: block;
}

.mob-nav {
  position: fixed;
  top: 0;
  right: -280px; /* Hidden Off-screen */
  width: 280px;
  height: 100vh;
  background-color: #161b22;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
  padding: 80px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1001;
  transition: right 0.4s cubic-bezier(0.1, 1, 0.1, 1); /* Ultra Smooth Slide */
}

.mob-nav.active {
  right: 0; /* Slide-in position */
}

.mob-nav a {
  color: #c9d1d9;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 12px 15px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: background 0.2s ease, color 0.2s ease;
}

.mob-nav a i {
  color: #00f5f5;
  width: 20px;
}

.mob-nav a:hover {
  background-color: #21262d;
  color: #ffffff;
}

.mob-nav .mob-cta {
  background-color: #00d1d1cf;
  color: #ffffff;
  justify-content: center;
  margin-top: 10px;
  font-weight: 600;
}

.mob-nav .mob-cta i {
  color: #ffffff;
}

/* ==========================================================================
   6. RESPONSIVE BREAKPOINT
   ========================================================================== */
@media (max-width: 992px) {
  .desk-nav {
    display: none; /* Tablet aur Mobile par sirf side menu chalega */
  }
}