nav{
    position: sticky;
    width: 100%;
    top: 30px;
    z-index: 9999;
}
nav .container {
  border         : 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(34px);
  border-radius  : 16px;
  padding        : 1rem 2rem;
  margin-top     : 1rem;
  z-index: 800;
}

nav .container .desktop-nav {
  display        : flex;
  align-items    : center;
  justify-content: space-between;


}

nav ul {
  display      : flex;
  gap          : 20px;
  margin-bottom: 0;
}

nav ul li {
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  color          : white;
  opacity        : 0.6;
}

nav ul li a:hover {
  color     : white;
  opacity   : 1;
  transition: all 0.3s ease-in-out;
}




/* small screen navbar */

nav i {
  
  color    : white;
  font-size: 1.5rem;
  cursor   : pointer;
}

.mobile-nav {
  display       : none;
  flex-direction: column;
}
.mobile-nav.active {
  display: flex;
}

.mobile-links {
  display       : flex;
  flex-direction: column;
  gap           : 1rem;
  margin-block  : 2rem;

}

.mobile-links {
  padding-inline-start: 10px;
}

nav .mobile-nav .main-btn {
  width: fit-content;
}



.close-menu {
  border-radius     : 12px;
  width             : 56px;
  height            : 56px;
  display           : none;
  justify-content   : center;
  align-items       : center;
  border            : 2px solid rgba(254, 254, 254, 0.08);
  backdrop-filter   : blur(48px);
  box-shadow        : 0px 0px 12px 0px rgba(255, 255, 255, 0.2) inset;
  background-color  : black;
  position          : absolute;
  bottom            : -28px;
  inset-inline-start: 50%;
  transform         : translateX(-50%);
  font-size         : 1.5rem;
  cursor            : pointer;
  color             : white;
  z-index: 99;
}
.arabic-version .close-menu{
  inset-inline-start: unset;
  inset-inline-end: 50%;
}

.close-menu i {
  font-size: 1rem;
}


/* Lock scroll */
body.no-scroll {
  overflow: hidden;
}

/* Overlay with blur using ::after */
body.no-scroll::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.4);
  z-index: 8; /* below mobile nav */
}


@media (max-width:991.89px) {
  nav ul li a:hover {
  padding-inline-start: 15px;
}
  nav .desktop-nav .main-btn {
    display: none;
  }

  nav .desktop-links {
    display: none;
  }
  
}
@media (min-width:991.89px) {
  nav i {
    display: none !important;
  }
}