.navbar {
  background-color: white;
  border-bottom: 1px solid #ddd;
  padding: 0.4rem 2.5rem;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
  flex-wrap: wrap;
}

.nav-list li.logo {
  display: none;
}

.lets-talk {
  position: relative;
  overflow: hidden;
  color: #151831;
  background-color: transparent;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  border: 2px solid #FFE300;
  border-radius: 8px;
  cursor: pointer;
  z-index: 1;
  transition: color 0.3s ease;
}

.lets-talk::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: #151831;
  border-radius: 8px;
  z-index: -1;
  transition: width 0.4s ease;
}

.nav-list .link {
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
}

.nav-list .arrow {
  font-size: 1.1rem;
}

.nav-list .link.active {
  font-weight: 600;
  color: #000;
}

.nav-logo,
.nav-logo-mobile {
  height: 60px;
  width: auto;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  width: 100%;
  padding: 1rem;
  border-top: 1px solid #ccc;
  z-index: 999;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu li {
  margin-bottom: 1rem;
}

.mobile-menu .close-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  float: right;
  cursor: pointer;
}

.nav-logo-wrapper {
  display: none;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .nav-container {
    flex-direction: column;
    align-items: center;
  }

  .nav-logo-wrapper {
    display: block;
    margin: 1rem auto 0.5rem;
  }

  .nav-logo-mobile,
  .hamburger,
  .mobile-menu {
    display: none;
  }

  .nav-list {
    display: flex;
    width: 100%;
    justify-content: space-around;
    margin: 0.5rem 0;
  }

  .nav-list li.logo {
    display: none;
  }
}

@media (max-width: 767px) {
  .nav-logo,
  .nav-list {
    display: none;
  }

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

  .nav-logo-mobile {
    display: inline-block;
    height: 40px;
  }

  .hamburger {
    display: inline-block;
    font-size: 1.5rem;
  }

  .mobile-menu.open {
    display: block;
  }
}

@media (min-width: 1024px) {
  .nav-logo-mobile,
  .hamburger,
  .mobile-menu {
    display: none;
  }

  .nav-list {
    display: flex;
    flex: 1;
    justify-content: flex-end;
  }

  .nav-list li.logo {
    display: block;
    margin-right: auto;
  }
}

@media (hover: hover) and (pointer: fine) {
  .nav-list li .link:hover {
    color: #ccc;
  }

  .lets-talk:hover::before {
    width: 100%;
  }

  .lets-talk:hover {
    color: white;
  }
}