.navbar {
  width: 90%;
  margin-top: 5rem;
  margin: 0 auto;
  padding: 0.3rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10001;
  transition: all 0.3s ease;
  background-color: #EEEEEE;
}
.logo-mobile img{
    width: 80px;
}

.logo-desc img{
    display: none;
}

.phone a{
    font-weight: 500;
    font-size: 15px;
    margin-right: 10%;
    background-color: none;
    color: #747D89;
    border-radius: 12px;
    padding: 5px 10px 5px 10px;
    transition: 0.5s ease;
    text-decoration: none;
}

.phone a:hover{
    color: #44494f;
    transition: 0.2s ease;
}

.nav-center {
  list-style: none;
  display: flex;
  gap: 15px;
}

.nav-center a {
  text-decoration: none;
  font-size: 15px;
  list-style: none;
  color: #747D89;
  font-weight: 500;
  margin-top: 5rem;
  position: relative;
  transition: color 0.25s ease;
}

.nav-center a:hover {
  color: #EFA654;
} 

.nav-center a::after {
  list-style: none;
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -4px;
  background: #EFA654;
  transition: width 0.2s ease;
}
.nav-center a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 18px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #747D89;
  border-radius: 2px;
  transition: 0.3s;
}

.nav-center.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 14%;
  background: #fff;
  width: 90%;
  padding: 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nav-center.active li {
  margin-bottom: 1rem;
  color: #fff;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
@media (max-width: 1440px){
    .navbar{
        width: 90%;
    }
}
@media (max-width: 860px) {
  .navbar{
      width: 100%;
      margin-left: 10%;
  }
  .nav-center {
    display: none;
    margin: 0 auto;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }
  .logo-mobile img{
    display: none;
  }
  .logo-desc img{
    display: flex;
    width: 80px;
  }
  .hamburger {
    display: flex;
  }
.phone a{
    margin-right: 20%;
}
}

@media (max-width: 425px) {
    .navbar{
        margin-left: 5%;
    }
    .nav-center.active {
        right: 10%;
    }
}
@media (max-width: 320px) {
    .navbar{
        margin-left: 3%;
    }
    .nav-center.active {
        right: 8%;
    }
}