

.navbar {
  padding: 0 5vw;
  margin: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: 60px;
  align-items: center;
  position: relative;
  background: linear-gradient(to bottom, rgba(20, 20, 20, 0.8), rgba(20, 20, 20, 0.4), rgba(20, 20, 20, 0));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 10;
}


.logo img {
    height: 60px;
    object-fit: contain;
}


.menu {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 24px;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
}

.menu li a {
  position: relative;
  text-decoration: none;
  color: #f5f5f5;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 15px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.2s ease;
  background: transparent;
  backdrop-filter: blur(4px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.menu li a::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 18px;
  width: calc(100% - 36px);
  height: 2px;
  background-color: #2a67a0da;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease-in-out;
  border-radius: 4px;
}

.menu li a:hover::after {
  transform: scaleX(1);
}

.menu li a:hover {
  transform: translateY(-2px);
  color: #fff;
}

.menu li a.active::after {
  transform: scaleX(1);
  background-color: #2c6ba5;
}

.menu li a.active {
  color: #ffffff;
  font-weight: 800;
}





.actions {
    display: flex;
    align-items: center;
    gap: 10px;
      order: 2;
}

.btn-login {
    padding: 12px 24px;
    background-color: #ffffff;
    color: #1a1a1a;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
        text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-login:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    color: #000;
}





.btn-box-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1); 
    color: #ffffff;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease;
    font-size: 15px;
}

.btn-login i {
  font-size: 18px;
  margin-right: 8px;
}

.btn-box-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}





.hamburger {
    order: 3;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 20;
  position: relative;
     justify-self: end;
}

.icon-bars,
.icon-close {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.icon-bars span {
  display: block;
  height: 3px;
  width: 24px;
  background: #f5f5f5;
  border-radius: 2px;
  margin: 4px 0;
}

.icon-close {
  color: #f5f5f5;
  font-size: 24px;
  display: none;
}

.hamburger.open .icon-bars {
  display: none;
}

.hamburger.open .icon-close {
  display: block;
}



@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }


.menu {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: auto;             
  background: rgb(20, 20, 20);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 0 0;         
  margin: 0;
  list-style: none;

  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;

  overflow-y: auto;      

  transition: 
    transform 0.3s ease, 
    opacity 0.3s ease, 
    height 0.3s ease,
    padding 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 15;
}

.menu.open {
  height: calc(100vh - 60px); 
  padding: 20px 0;           
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}




  .menu li a {
    font-size: 24px !important;
    padding: 12px 24px;
  }


.actions {
  display: flex;
  align-items: center;   
  height: 30px;           
  gap: 10px;   
  margin-right: 10PX;          
  margin-left: auto;    
}


  .actions .label {
    display: none;
  }

.btn-box-icon,
.btn-login {
color: white;
background: transparent;
box-shadow: transparent;
border: transparent;
}

.btn-box-icon i,
.btn-login i {
  font-size: 20px;
  pointer-events: none;
}

}






@media (max-width: 1150px) {
  .navbar {
    grid-template-rows: 50px; 
    padding: 0 3vw;
  }

  .logo img {
    height: 50px; 
  }

  .menu {
    gap: 16px; 
  }

  .menu li a {
    padding: 6px 12px;     
    font-size: 13px;      
  }

  .actions {
    gap: 6px;
  }

  .btn-login {
    padding: 8px 16px;
    font-size: 14px;
  }

  .btn-box-icon {
    padding: 8px 14px;
    font-size: 13px;
    gap: 6px;
  }

  .btn-box-icon i {
    font-size: 16px;
  }
}













