.logo{
  background-color: white;
  border-radius: 22px;
  width: max-content;
}

/* Navbar */
/* Navbar Base */
.navbar {
  background: #002a4a;
  padding: 12px 30px;
  border-radius: 40px;
  max-width: 1200px;
  margin: 20px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1000;
}

/* Logo */
.navbar .logo img {
  height: 30px;
  display: block;
}

/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  padding: 8px 18px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.nav-links li a.active {
  background: #ff9800;
  color: #000;
  font-weight: 500;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}
.nav-links li a:hover {
  background: #ff9800;
  color: #000;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  margin-left: auto; /* force right side */
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* Responsive */
@media (max-width: 1024px) {
  nav {
    position: relative;
  }

  .nav-links {
    flex-direction: column;
    margin-top: 27px;
    display: none;
    position: absolute;
    top: 100%;
    right: 0;   /* right-end se hi khulega */
    background: #002a4a;
    border-radius: 15px;
    padding: 15px 20px;
    width: auto;   /* sirf content jitna width */
    min-width: 180px; /* thoda readable banane ke liye */
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    text-align: right; /* text bhi right align */
    padding: 10px 0;
  }

  .hamburger {
    display: flex;
  }

  /* Cross effect */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }
}
