.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #0d1b2a;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-left: 1rem;
}

.logo-img {
  object-fit: contain;
}

.mobile-logo {
  display: block;
  height: clamp(70px, 8vw, 75px);
  width: auto;
  margin-top: 10px;
}

.desktop-logo {
  display: none;
}

.nav-links,
.nav-contact {
  display: none;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  padding: 0;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.25s ease;
  transform-origin: center;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

#mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: #0d1b2a;
  padding: 0.5rem 0 1rem 0.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease,
    max-height 0.4s ease;
}

#mobile-menu.active {
  max-height: 600px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#mobile-menu li {
  list-style: none;
  width: 100%;
  margin: 2rem 0;
  margin-top: -0.1rem;
}

#mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.3px;
  font-size: 1rem;
  transition: color 0.2s ease;
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.3rem 0 0.3rem 0.1rem;
}

#mobile-menu a:hover {
  color: #f5b301;
}

#mobile-menu .phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-top: -0.9rem;
  margin-left: 2.5rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

#mobile-menu .phone svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: #fff;
  margin-right: 0.4rem;
  transition: stroke 0.3s ease;
}

#mobile-menu .phone:hover {
  color: #f5b301;
}

#mobile-menu .phone:hover svg {
  stroke: #f5b301;
}

#mobile-menu .btn {
  width: 90%;
  margin-top: 1rem;
  background: #f5b301;
  color: #0d1b2a;
  padding: 0.8rem 0;
  text-align: center;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#mobile-menu .btn:hover {
  background: #ffffff;
}

.btn {
  background: #f5b301;
  color: #0d1b2a;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn:hover {
  background: #e1a600;
}
.phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.phone:hover {
  color: #f5b301;
}

.phone svg {
  flex-shrink: 0;
  stroke: #fff;
  transition: stroke 0.3s ease;
}
.phone:hover svg {
  stroke: #f5b301;
}

@media (min-width: 1024px) {
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4rem;
    max-width: 1600px;
    margin: 0 auto;
  }

  .mobile-logo {
    display: block;
    height: clamp(75px, 6.5vw, 115px);
    width: auto;
  }

  .logo {
    margin-left: -20px;
  }

  .desktop-logo {
    display: none;
  }

  .menu-toggle,
  #mobile-menu {
    display: none;
  }

  .nav-links,
  .nav-contact {
    display: flex;
    align-items: center;
  }

  .nav-right {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.8rem;
    flex-wrap: nowrap;
    min-width: 0;
  }

  .nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin-right: 0;
  }

  .nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(1rem, 1.3vw, 1.3rem);
    letter-spacing: 0.4px;
    transition: color 0.3s;
    white-space: nowrap;
  }

  .nav-links a:hover {
    color: #f5b301;
  }

  .nav-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
    white-space: nowrap;
    margin-left: 0;
  }

  .nav-contact .phone {
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    gap: 0.45rem;
    display: flex;
    align-items: center;
  }

  .nav-contact .phone svg {
    width: clamp(16px, 1.6vw, 22px);
    height: clamp(16px, 1.6vw, 22px);
    stroke-width: 1.8;
  }

  .phone svg:hover {
    color: #f5b301;
  }
  .nav-contact .btn {
    background: #f5b301;
    color: #0d1b2a;
    padding: clamp(0.55rem, 1vw, 0.9rem) clamp(1.1rem, 1.8vw, 1.8rem);
    border-radius: 8px;
    font-weight: 700;
    font-size: clamp(0.95rem, 1.1vw, 1.25rem);
    transition: background 0.3s, transform 0.2s ease;
  }

  .nav-contact .btn:hover {
    background: #ffffff;
  }
}

@media (min-width: 1300px) {
  .nav-container {
    max-width: 1600px;
    margin: 0 auto;
  }

  .nav-right {
    justify-content: center;
  }
}

@media (min-width: 1600px) {
  .nav-container {
    max-width: 1500px;
  }

  .nav-right {
    justify-content: center;
  }
}
