.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 10000; /* Above sticky wall */
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 32px; /* adjust text size here */
  font-weight: bold;
  color: var(--brand);
  gap: 12px;
}

.logo img {
  height: 50px; /* Reduced height to save more space */
  width: auto;
}

.nav-links ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

/* Hamburger button styles */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Mobile styles */
@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 6px 20px;
  }

  .navbar .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .menu-toggle {
    display: block;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #045D56;
    order: 2; /* Push hamburger to the right */
  }

  .logo {
    order: 1; /* Keep logo on the left */
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; /* Below navbar */
    right: 0;  /* Align to the right */
    width: 80%; /* Not full screen */
    left: auto;
    background-color: #F5F5F5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    z-index: 999;
    border-radius: 0 0 0 12px;
  }

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

  .nav-links ul {
    flex-direction: column;
    gap: 15px;
    padding: 20px 0;
  }

  .nav-links a {
    padding: 10px 20px;
  }
}

.nav-links li {
    padding: 12px 20px;
    border-top: 1px solid #eee;
    width: 100%;
}

  .nav-links a {
    display: block;
    width: 100%;
    text-align: left;
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap; /* 👈 prevents "Contact Us" from breaking into 2 lines */
  }

@media (max-width: 480px) {
  .logo {
    font-size: 24px;
  }

  .logo img {
    height: 40px;
  }

  .nav-links {
    width: 90%;
  }
}

