/* HEADER BASE */
.nav-header {
  position: fixed;
  top: 20px;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s ease;
}

/* FLOATING STYLE (INITIAL) */
.nav-header.initial {
  top: 20px;
}

.nav-container {
  max-width: 1420px;
  width: 90%;
  margin: auto;
  padding: 16px 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  backdrop-filter: blur(12px);
  background: #003D2B;
}

/* SCROLLED STYLE */
.nav-header.scrolled {
  top: 0;
}

.nav-header.scrolled .nav-container {
  background: #003D2B;
  border-radius: 0px 0px 12px 12px;
}

/* HIDE ON SCROLL DOWN */
.nav-header.hide {
  transform: translateY(-100%);
}

/* LOGO */
.nav-logo img {
  /* font-weight: bold;
  color: #9effa1; */
  height: 80px;
  width: auto;
}

/* MENU */
.nav-menu {
  display: flex;
  gap: 50px;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #c8f5a8;
}

.nav-menu a::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #c8f5a8;

  left: -10px;
  top: 50%;

  transform: translateX(-120%) translateY(-50%);
  opacity: 0;

  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

/* HOVER STATE */
.nav-menu a:hover::before,
.nav-menu a.active::before {
  transform: translateX(0) translateY(-50%);
  opacity: 1;
}

/* drop down */
/* drop down */
.nav-drop-down-container{
    position: relative;
    display: inline-block;
}

/* top nav hover same as menu */
.nav-drop-down-container > a{
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-drop-down-container > a:hover,
.nav-drop-down-container:hover > a{
    color: #c8f5a8;
}

.nav-drop-down-container > a::before{
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #c8f5a8;
    left: -10px;
    top: 50%;
    transform: translateX(-120%) translateY(-50%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-drop-down-container > a:hover::before,
.nav-drop-down-container:hover > a::before{
    transform: translateX(0) translateY(-50%);
    opacity: 1;
}

/* dropdown box */
.nav-drop-down{
    position: absolute;
    top: 100%;
    left: 0%;
    transform: translateX(0%) translateY(12px);
    padding-top: 28px;
    min-width: 290px;
    background: transparent;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: 0.35s ease;
}

/* show */
.nav-drop-down-container:hover .nav-drop-down{
    opacity: 1;
    visibility: visible;
    transform: translateX(0%) translateY(0);
}

/* glass morphism */
.nav-drop-down-wrapper{
    position: relative;
    display: block;
    border-radius: 16px;

    background: rgb(0 61 43 / 94%);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow:
        0 12px 35px rgba(0,0,0,0.22),
        inset 0 1px 0 rgba(255,255,255,0.08);
}

/* left top arrow */
.nav-drop-down-wrapper::before{
    content: "";
    position: absolute;
    top: -8px;
    left: 32px;   /* move arrow to left top */
    width: 16px;
    height: 16px;
    transform: rotate(45deg);

    background: rgb(0 61 43);
    border-left: 1px solid rgba(255,255,255,0.12);
    border-top: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* items */
.nav-drop-down a{
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    position: relative;
    transition: all 0.3s ease;
/*     border-bottom: 1px solid rgba(255,255,255,0.08); */
}

.nav-drop-down a:last-child{
    border-bottom: none;
}

/* same hover style adapted */
.nav-drop-down a::before{
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c8f5a8;
    left: 14px;
    top: 50%;
    transform: translateX(-10px) translateY(-50%);
    opacity: 0;
    transition: 0.3s ease;
}

.nav-drop-down a:hover  , .nav-drop-down a.active{
    color: #c8f5a8;
    padding-left: 30px;
/*     background: rgba(255,255,255,0.04); */
}

.nav-drop-down a:hover::before{
    transform: translateX(0) translateY(-50%);
    opacity: 1;
}

/* TOGGLE */
.nav-toggle {
  display: none;
  padding-right: 16px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background-color: #79eb93;
  position: relative;
  border-radius: 50px;
}

.nav-toggle span::before {
  content: "";
  width: 20px;
  height: 2px;
  display: block;
  background-color: #fff;
  position: absolute;
  top: -7px;
  border-radius: 50px;
}

.nav-toggle span::after {
  content: "";
  width: 20px;
  height: 2px;
  display: block;
  background-color: #fff;
  position: absolute;
  top: 7px;
  border-radius: 50px;
}

/* MOBILE MENU */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
}

.nav-mobile.active {
  display: block;
}

.nav-mobile-content {
  position: absolute;
  right: 0;
  top: 0;
  width: 260px;
  height: 100%;
  background: black;
  /* padding: 20px; */
  display: flex;
  flex-direction: column;
  /* gap: 20px; */
}

.nav-mobile a {
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  margin-bottom: 6px;
}

.nav-mobile a.active {
  background-color: #c8f5a8;
  color: #000;
}

.nav-close {
  align-self: flex-end;
  cursor: pointer;
  padding: 20px;
}

.nav-close svg {
  stroke: #fff;
  width: 20px;
  height: 20px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-menu {
    display: none;
  }

  .nav-toggle {
      min-height: 28px;
	  display: flex;
	  align-items: center;
	  min-width: 40px;
  }

  .nav-container {
    padding: 12px 16px;
  }
	
  .nav-logo img {
  height: 60px;
}
}
