/* Navbar Base */
.navbar {
  background: #F3F8FF;
  padding: 28px 70px;
  position: relative;
}

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

/* Logo */
.navbar-logo img {
  height: 50px;
  width: 150px;
}

/* Links (center) */
.navbar-links {
  flex: 1;
  text-align: center;
}

.navbar-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
  justify-content: center;
  font-size: 18px;
}

.navbar-links a {
  text-decoration: none;
  color: #000000;
}

/* Register Button */
.register {
  background: #0266BE;
  color: #fff;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 18px;
  display: inline-block;
}

/* Login Button */
.login {
  background: #023E8E;
  color: #fff;
  padding: 10px 34px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 18px;
  display: inline-block;
}

/* Toggler */
.navbar-toggler {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;  /* sometimes browsers add a focus shadow */
}

.custom-hamburger {
  width: 28px;
  height: 28px;
}

/* Responsive helpers */
.mobile-only {
  display: none;
}

.desktop-only {
  display: flex;
  gap: 10px;
}

/* Mobile styles */
@media (max-width: 992px) {

  /* Navbar padding */
  .navbar {
    padding: 10px 20px;
  }

  /* Navbar links slide-down menu */
  .navbar-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #f8fafc;
    flex-direction: column;
    max-height: 0; /* hidden initially */
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 0;
    z-index: 1000;
  }

  .navbar-links ul {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .navbar-links.active {
    max-height: 500px; /* adjust to fit menu */
    padding: 0;
  }

  /* Logo smaller on mobile */
  .navbar-logo img {
    height: 30px;
    width: 100px;
  }

  /* Mobile container for auth buttons + hamburger */
  .mobile-only-container {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .auth-buttons.mobile-only {
    display: flex;
    gap: 6px;
  }

  .navbar-toggler.mobile-only {
    display: flex;
    align-items: center;
  }

  /* Hide desktop-only items on mobile */
  .desktop-only {
    display: none;
  }

  /* Show mobile-only items on mobile */
  .mobile-only {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  /* Buttons smaller on mobile */
  .register {
    padding: 8px 12px;
    font-size: 14px;
  }

  .login {
    padding: 8px 16px;
    font-size: 14px;
  }
}
