html,
body{
    overflow-x:hidden;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Bebas Neue;
}

html{
  scroll-behavior: smooth;
}

body {
  background: white;
}

#preloader{
  position: fixed;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}


/* ================= NAVIGATION ================= */

.navbar {
  padding: 20px 0px;
  display: flex;
  justify-content: center;
  position: absolute;
  z-index: 1;
  width: 100%;
  z-index: 9999;
 
  
   
}


.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.25s; }
.delay-4 { transition-delay: 0.3s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }





.nav-container {

  width: 100%;
  height: 80px;
  max-width: 1200px;
  background: #ffffff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0px 5px 25px rgb(61, 61, 61);
  letter-spacing: 1px;
  padding: 10px 30px;
  transition: all 0.4s ease;
  
  

}

.navbar.scrolled {
  padding: 0;
  top: 0;
  left: 0;
  display: flex;
  position: fixed;
  z-index: 999;
  

  
}



.nav-container.scrolled {
  padding: 0;
  max-width: 100%;
  padding-right: 10px;
  border-radius: 0px;
  display: flex;
  z-index: 999;
 
  


}



.logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  flex-shrink: 0;
  vertical-align: center;
  
}

.logoimg {
  height: 230px;
  display: block;
  width: auto;
  object-fit: contain;


  
  padding: 0;
  
  transform: translateY(0);
}

.logoimgmobile{
  display: none;
  height: 120px;
  width: auto;
  object-fit: contain;


  
  padding: 0;
  
  transform: translateY(0)

}


@media (max-width: 845px) {
  .logoimg {
    display: none ;
  }

  .logoimgmobile{
    display: block;
  }

}



.nav_links a {
  margin: 0px 15px;
  text-decoration: none;
  color: #000000;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s;

}

.nav_links{
  display: flex;
  align-items: center;
  gap: 0px;
  z-index: 10000;
}

.nav_links a:hover{
  color:#9a52ff ;
}

.hamburger{
  display: none;
  cursor: pointer;
  z-index: 999;
  background-color: #1f1240;
  padding: 9px 9px;
  border-radius: 10px;

}

.bar{
  display:block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: rgb(255, 255, 255);
  background-color: #ffffff;


}

@media (max-width: 845px) {

  

 
   .hamburger {
    display: block;
  }

  .nav_links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 25px 0;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    /* Hidden state */
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav_links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }


 
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

}



/* ================= PRIMARY BUTTON ================= */

.btn-primary {
  background: #1f1240;
  color: #ffffff;
  padding: 13px 40px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  overflow: hidden;
  z-index: 1;
  position: relative;
  transition: 0.3s;
  letter-spacing: 1.5px;
  display: none;
  flex-shrink: 1;
  font-size: 15px;
  

}

@media (min-width: 1024px) {
  .btn-primary {
    display: inline-block;
  }

}

@media (max-width: 1024px) {
  .btn-primary {
    flex-shrink: 1;
    
  }

}

.btn-primary::before {
  content: "";
  position: absolute;
  background-color: #8A2CFF;
  border-radius: 25px;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  z-index: -1;
  transition: 0.3s;
}

.btn-primary:hover::before {
  width: 100%;
}

.btn-primary:hover {
  color: #ffffff ;
  font-weight: bold;
}
