/*****************************************************
********************* HEADER CSS *********************
******************************************************/
.header-main {
  position: fixed;
  top: 0;
  left: 0px;
  right: 0;
  z-index: 99;
  max-width: 100vw;
}

.header-wrapper {
  /* position: fixed; */
  position: absolute;
  width: 100%;
  padding-top: 20px;
  z-index: 99;
  top: 0;
  left: 0px;
  right: 0;
  transition: transform 0.4s ease;
}

/* Hide state */
.header-wrapper.header-hide {
  transform: translateY(-100%);
}

/* Optional: Add shadow when sticky */
.header-wrapper.header-shadow {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-wrapper .header-container {
  max-width: calc(1838px + 24px);
  margin: 0 auto;
  padding: 0 12px;
}

.header-wrapper .header-inner {
  background: rgba(39, 31, 58, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: inset -2px -1px 5px 0px rgba(255, 255, 255, 0.3);
  border-radius: 184px;
  padding: 15px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-right .header-contact-btn {
  font-size: 20px;
  line-height: 100%;
  color: #fff;
  font-weight: 400;
  cursor: pointer;
  padding: 13px 30px;
  min-width: 160px;
  border-radius: 52px;
}

.header-right .header-contact-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 52px;
  padding: 2px;
  background: linear-gradient(95.44deg,
      #ff4ab9 5.84%,
      #26aed2 41.85%,
      #733ad1 77.85%);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  z-index: 0;
}

.header-right .header-contact-btn:hover {
  background: linear-gradient(103.8deg,
      rgba(44, 6, 75, 0.6) 22.16%,
      rgba(234, 45, 149, 0.6) 295.98%);
  border-radius: 52px;
}



/* TOGGLE MENU CSSS */

/* Гамбургер иконка */
/* .menu-btn {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.menu-btn .bar {
  width: 30px;
  height: 4px;
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 4px;
  transform: translate(-50%, -50%);
  background-color: white;
  transition: all 0.3s ease-in-out;
}

.menu-btn .bar:nth-of-type(2) {
  top: calc(50% - 9px);
}

.menu-btn .bar:nth-of-type(3) {
  top: calc(50% + 9px);
}
.menu-btn.active .bar:nth-of-type(1) {
  display: none;
}

.menu-btn.active .bar:nth-of-type(2) {
  top: 50%;
  transform: translate(-50%, 0%) rotate(45deg);
}

.menu-btn.active .bar:nth-of-type(3) {
  top: 50%;
  transform: translate(-50%, 0%) rotate(-45deg);
} */



/* ///////// */
.header__nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  padding: 50px 100px;
  background: #ffefba;
  transform: translateX(100%);
  transition: transform 0.5s;
  z-index: 99;
  scroll-behavior: auto;
  overflow: auto;
}
 
.header__nav::before {
  content: "";
  background-image: url("../images/menu-bg-new.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: scaleX(-1);
}

.header__nav:after {
  content: '';
  border: 1px solid transparent;
  border-image-source: linear-gradient(180deg, #6D6C6C 0%, #D3D2D2 100%);
  background: linear-gradient(79.98deg, rgba(102, 102, 102, 0) -28.19%, rgba(0, 0, 0, 0.8) 76.41%);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.header__nav.active {
  transform: translateX(0);
}

.header__nav .nav {
  justify-content: end;
}

.header__nav .nav__list {
  position: relative;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: end;
  text-align: end;
  gap: 20px;
}

.header__nav .nav__list .nav__list_item .nav__link {
  /* color: #575757; */
  color: rgb(255, 255, 255,0.6);
  font-weight: 700;
  font-style: Bold;
  font-size: 60px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  padding-bottom: 16px;
}

.header__nav .nav__list .nav__list_item .nav__link:hover {
  color: #fff;
}

.header__nav .nav__list .nav__list_item {

  padding: 2px;
}

.header__nav .nav__list .nav__list_item:after {
  content: '';
  height: 1px;
  width: 100%;
  display: inline-block;
  background: linear-gradient(90deg, #000000 0%, #D3D2D2 114.6%);
}
.header__nav .nav__list .nav__list_item:last-child:after {
  display: none;
}

.header__nav .header__nav_menu_btn {
  width: 33px;
  margin-right: -60px;
  padding-bottom: 20px;
}


@media (max-width: 1880.98px) {
  .header-wrapper .header-container {
    max-width: calc(1730px + 24px);
  }

}

@media (max-width: 1799.98px) {
  .header-wrapper .header-container {
    max-width: calc(1640px + 24px);
  }
}

@media (max-width: 1699.98px) {
  .header-wrapper .header-container {
    max-width: calc(1540px + 24px);
  }


  /* MENU BAR CSS */
  .header__nav .nav__list .nav__list_item .nav__link {
    font-size: 50PX;
  }
}

@media (max-width: 1599.98px) {
  .header-wrapper .header-container {
    max-width: calc(1450px + 24px);
  }

  .header-wrapper .header-inner {
    padding: 15px 50px;
  }

  .header-right .burger-menu-icon {
    max-width: 32px;
  }
}

@media (max-width: 1499.98px) {
  .header-wrapper .header-container {
    max-width: calc(1350px + 24px);
  }

  .header-wrapper .header-inner {
    padding: 12px 45px;
  }

  .header-right .burger-menu-icon {
    max-width: 32px;
  }


  /* MENU BAR CSS */
  .header__nav .nav__list .nav__list_item .nav__link {
    font-size: 50px;
  }
}

@media (max-width: 1399.98px) {
  .header-wrapper .header-container {
    max-width: calc(1260px + 24px);
  }
}

@media (max-width: 1299.98px) {
  .header-wrapper .header-container {
    max-width: calc(1160px + 24px);
  }
}

@media (max-width: 1199.98px) {
  .header-wrapper .header-container {
    max-width: 100%;
    padding: 0 16px;
  }

  .header-wrapper .header-inner {
    padding: 10px 38px;
  }

  .header-right .header-contact-btn {
    font-size: 18px;
    padding: 13px 28px;
    min-width: 150px;
  }

  .header-right .burger-menu-icon {
    max-width: 29px;
  }
}

@media (max-width: 991.98px) {
  .header-wrapper .header-inner {
    padding: 10px 32px;
  }

  .header-wrapper .header-inner .header-logo img {
    max-width: 240px;
  }


  /* MENU BAR CSS */
  .header__nav{
    padding: 50px 70px;
  }
  .header__nav .nav__list .nav__list_item .nav__link {
    font-size: 45px;
  }
  .header__nav .header__nav_menu_btn{
    margin-right: -40px;
  }
}

@media (max-width: 767px) {
  .header-wrapper .header-inner {
    padding: 10px 28px;
  }

  .header-wrapper .header-inner .header-logo img {
    max-width: 220px;
  }

  .header-right .header-contact-btn {
    font-size: 16px;
    padding: 13px 24px;
    min-width: 130px;
  }

  .header-right .burger-menu-icon {
    max-width: 24px;
  }

  /* MENU BAR CSS */
  .header__nav .header__nav_menu_btn{
    margin-right: 0px;
  }
  .header__nav::before{
    background-position: 85% center;
  }
}

@media (max-width: 575px) {
  .header-wrapper .header-inner {
    padding: 12px 24px 12px 16px;
  }

  .header-wrapper .header-inner .header-logo img {
    max-width: 160px;
  }

  .header-right .header-contact-btn {
    font-size: 14px;
    padding: 10px 20px;
    min-width: 90px;
  }

  .header-right .burger-menu-icon {
    max-width: 22px;
  }


  /* MENU BAR CSS */
  .header__nav{
    padding: 30px;
  }
  .header__nav .nav__list .nav__list_item .nav__link {
    font-size: 32px;
    padding-bottom: 10px;
  }
  .header__nav .header__nav_menu_btn{
    padding-bottom: 40px;
  }
  .header__nav .nav__list{
    gap: 16px;
  }
}