header {
  position: fixed;
  width: 100%;
  height: 100px;
  top: 0;
  left: 0;
  z-index: 99999;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* background: rgba(255, 255, 255, 0.4); */
  background: linear-gradient(68deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.3) 40%) , linear-gradient(-45deg, rgba(255, 255, 255, 0.8) 0%, transparent 30%);;
  backdrop-filter: blur(12px) saturate(200%);;
  
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
   transition: transform 0.35s ease, opacity 0.35s ease;
}


header.header-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

header.scrolled {
  background: #fff;
  color: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

header.scrolled li a {
  color: #000 !important;
}

header.scrolled li.active a {
  color: #d67700 !important;
}

.logo-black {
  display: none;
}

header.scrolled .logo-white {
  display: none;
}

header.scrolled .logo-black {
  display: block;
}

header img {
  max-height: 50px;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  list-style: none;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s ease;
  font-size: 16px;
}

.nav-links a:hover {
  color: rgb(214, 119, 0);
}

.nav-links.black a{
  color: #000;
}

.button-small {
  padding: 11px 20px;
  border-radius: 999px;
  color: #fff !important;
  border: 1px solid #FFFFFF; 
  display: none; 
}

header.scrolled .button-small {
  border: 1px solid #000000
}

header.scrolled #tata path{
  fill: #000000;
}

.menu-icon {
  display: none;
  cursor: pointer;
  z-index: 100000;
}

.menu-icon img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.menu-icon img:active {
  transform: scale(0.9);
}

@media (max-width: 900px) {
  header {
    height: 70px;
    padding: 0 20px;
  }

  header img {
    max-height: 40px;
  }

  .menu-icon {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: right 0.4s ease;
  }

  header.scrolled .nav-links {
    background: #fff;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 20px;
  }

  .menu-black {
    display: none;
  }

  header.scrolled .menu-white {
    display: none;
  }

  header.scrolled .menu-black {
    display: block;
  }
  
  header.scrolled .button-small{
      border: none;
  }
}

@media (max-width: 480px) {
  .nav-links a {
    border: none;
    font-size: 18px;
    padding: 0;
  }

  .button-small {
    font-size: 14px;
  }
}