html {
  overflow-x: hidden;
}
nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  background-color: #5694bdff;
  z-index: 1000;
  overflow-x: clip;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #5694bdff;
  border-bottom: 5px solid #ffffff;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 2px;
}

.logo-img img {
  width: 180px;
  height: auto;
  transition: filter 0.3s ease;
}

.logo-img a:hover img {
 filter: brightness(1.2);
  opacity: 0.9; 
}

.logo-img a:hover {
  background: none !important;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 8px;
  margin: 0;
  padding: 0;
}
nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 600;
  font-family: "Segoe UI", sans-serif;
  font-size: 20px;
  padding: 9px 18px;
  border-radius: 8px;
  transition:
    background 0.2s,
    color 0.2s;
  display: block;
  letter-spacing: 0.2px;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.contact-button a {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 22px;
  color: #fff;
  display: flex;
  padding: 10px 20px;
  margin-right: 25px;
}

.contact-button a:hover {
  background: #fff;
  color: #2a6ea6;
}
.NavmenuWrapper {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
}
.Navmenu {
  margin-right: auto;
}

nav h3 {
  color: #fff;
  font-family: monospace;
  font-weight: 700;
  font-size: 20px;
  margin: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 868px) {
  .hamburger {
    display: flex;
  }

 .NavmenuWrapper {
    display: none;
    flex-direction: column; 
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(86, 148, 189, 0.6);  
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    z-index: 999;
    -webkit-backdrop-filter: blur(2px); 
    backdrop-filter: blur(2px);
 }
  .NavmenuWrapper.open {
    display: flex; 
  }

 
  nav ul {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  nav ul li a {
    display: block;
    padding: 15px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
  }

  
  .contact-button {
    width: 100%; 
  }

  .contact-button a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 15px 24px; 
    background: none; 
    border: none; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.15); 
    border-radius: 0;
    color: #fff;
    justify-content: flex-start; 
  }
  
  
  .contact-button a:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
  }
}