header#header {
    position: fixed;
    width: 100%;
    z-index: 2;
    height: auto;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.2);
}


.header_relative {position: relative;
     background: #fff;



nav{position: relative;
    display: flex;
    
}

/*Styling logo*/
/*.logo{
    padding:1vh 1vw;
    text-align: center;
}*/
.logo img {
    height: auto;
    width: auto;
     transform: scale(1);
     transition: transform ease 1s;
    transform-origin: left;
}



/*Styling Links*/
.nav-links {
    display: flex;
    list-style: none;
    width: 100%;
    padding: 0;
    justify-content: end;
    align-items: center;
    gap: 3px;
}

.nav-links li {
    position: relative;
    text-align: center;
}

.nav-links li a {
    position: relative;
    text-decoration: none;
    padding: 8px 10px;
    color: #000b10;
    font-size: 15px;
    display: inline-block;
    font-weight: 600;
    text-align: left;
    margin: 0 5px;
    text-transform: uppercase;
}
.nav-links li a:hover {
    color: #7dc12d;
;
}

.nav-links li a.active {
    color: #7dc12d;
    
}


.nav-links li a:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    z-index: 1;
    transform: scaleX(0);
    transform-origin: 100% 0;
    transition: transform 0.4s ease;
}

.nav-links li a:after {
    background-color: #7dc12d;
}

.nav-links li:hover a:after {
    transform: scaleX(1);
    transform-origin: 0% 0;
}

.dropdown-menu li a::after {display: none;}



/*.nav-links li a::before {
    content: "";
    display: block;
    height: 3px;
    width: 0%;
    background-color: #61DAFB;
    position: absolute;
    transition: all ease-in-out 250ms;
    margin: 0 0 0 10%;
}
.nav-links li a:hover::before{
    width: 80%;
}*/

/*Styling Buttons*/
.login-button{
    background-color: transparent;
    border: 1.5px solid #f2f5f7;
    border-radius: 2em;
    padding: 0.6rem 0.8rem;
    margin-left: 2vw;
    font-size: 1rem;
    cursor: pointer;

}
.login-button:hover {
    color: #131418;
    background-color: #f2f5f7;
    border:1.5px solid #f2f5f7;
    transition: all ease-in-out 350ms;
}
.join-button{
    color: #131418;
    background-color: #61DAFB;
    border: 1.5px solid #61DAFB;
    border-radius: 2em;
    padding: 0.6rem 0.8rem;
    font-size: 1rem;
    cursor: pointer;
}
.join-button:hover {
    color: #f2f5f7;
    background-color: transparent;
    border:1.5px solid #f2f5f7;
    transition: all ease-in-out 350ms;
}

/*Styling Hamburger Icon*/
.hamburger div{
    width: 30px;
    height:3px;
    background: #f2f5f7;
    margin: 5px;
    transition: all 0.3s ease;
}
.hamburger{
    display: none;
}


.dropdown {
  position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 110%;
    left: 0;
    background: #fff;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 285px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    display: block;
    z-index: 5;
    border: 1px solid #eee;
    overflow: hidden;
}

.dropdown-menu li a {
    color: #333;
    display: block;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 400;
    transition: 0.3s ease;
    border-bottom: 1px solid #eee;
    margin: 0;
}

.no-bdr{border-bottom: 0px !important;}

.dropdown-menu li a:hover {
 color: #fff;
background: #7dc12d;
}

/* Show dropdown on hover */
.dropdown:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


.fade:not(.show), .modal-backdrop.fade, .toast:not(.showing):not(.show) {opacity: 1; text-align: center !important;}



/*Stying for small screens*/
@media screen and (max-width: 980px){

   nav {
    /* position: fixed; */
    z-index: 3;
}

.logo img {
    width: 80%;}





   .hamburger {
    display: block;
    position: absolute;
    cursor: pointer;
    right: 5%;
    top: 50%;
    transform: translate(-5%, -50%);
    z-index: 10;
    transition: all 0.7s ease;
    background: .hamburger;
    background: #131418;
    padding: 5px;
    border-radius: 5px;
}
 .nav-links {
    position: fixed;
    background: #131418;
    height: 100vh;
    width: 100%;
    flex-direction: column;
    clip-path: circle(50px at 90% -20%);
    -webkit-clip-path: circle(50px at 90% -10%);
    transition: all 1s ease-out;
    pointer-events: none;
    margin-left: -12px;
    justify-content: center;
     gap: 10px;
}


.nav-links li a {color: #c1c1c1; text-align: center; padding: 5px 10px;}

   /* .nav-links.open{
        clip-path: circle(1000px at 90% -10%);
        -webkit-clip-path: circle(1000px at 90% -10%);
        pointer-events: all;
    }*/

.nav-links.open {
    clip-path: circle(1000px at 90% -10%);
    -webkit-clip-path: circle(1000px at 85% 0%);
    pointer-events: all;
}
    
    .nav-links li{
        opacity: 0;
    }
    .nav-links li:nth-child(1){
        transition: all 0.5s ease 0.2s;
    }
    .nav-links li:nth-child(2){
        transition: all 0.5s ease 0.4s;
    }
    .nav-links li:nth-child(3){
        transition: all 0.5s ease 0.6s;
    }
    .nav-links li:nth-child(4){
        transition: all 0.5s ease 0.7s;
    }
    .nav-links li:nth-child(5){
        transition: all 0.5s ease 0.8s;
    }
    .nav-links li:nth-child(6){
        transition: all 0.5s ease 0.9s;
        margin: 0;
    }
    .nav-links li:nth-child(7){
        transition: all 0.5s ease 1s;
        margin: 0;
    }
    li.fade{
        opacity: 1;
    }


 .dropdown input[type=checkbox] {
    display: none;
  }

  .dropdown label {
    display: block;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 8px;
  }

.dropdown input:checked ~ .dropdown-menu {
    display: block;
  }

 .dropdown-menu li a {
    color: #c1c1c1;
    display: block;
    padding: 8px 18px;
  }  




  /*******************/

  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: transparent;
    width: 100%;
    text-align: center;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none; /* hidden by default */
  }

  /* Show dropdown when active */
  .dropdown.open-dropdown .dropdown-menu {
    display: block;
    animation: dropdownSlide 0.3s ease;
  }

  @keyframes dropdownSlide {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Optional: animate chevron icon */
  .dropdown.open-dropdown > a i {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
  }


  /**********************/


}
/*Animating Hamburger Icon on Click*/
.toggle .line1{
    transform: rotate(-45deg) translate(-5px,6px);
}
.toggle .line2{
    transition: all 0.7s ease;
    width:0;
}
.toggle .line3{
    transform: rotate(45deg) translate(-5px,-6px);
}