.new-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  /* transition: all 0.1s linear; */
  background: rgba(2, 4, 22, 0.98);
}
.new-body .new-header {
  background: transparent;
}
.new-header.scroll {
  background: rgba(2, 4, 22, 0.98);
}
.new-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 71px;
  overflow: visible;
}
.new-logo {
  margin-right: 7.6%;
}

.new-nav ul {
  display: flex;
}

.new-nav-link-menu {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  left: -166px;
  padding-top: 20px;
  width: 1055px;
  max-width: 95vw;
  transition: all 0.2s linear;
}
.new-nav li:first-child {
  position: relative;
}
.new-nav li:first-child:hover .new-nav-link-menu {
  opacity: 1;
  visibility: visible;
}
.new-nav li:first-child:hover .new-nav-link {
  color: #fff;
  opacity: 1;
}
.new-nav li:first-child:hover .triangle-nav {
  transform: rotate(180deg);
}
.new-nav li:first-child:hover .triangle-nav-wrapper {
  transform: translate(-30px, 26px);
  transition: all 0.2s linear;
}
.new-nav-link-menu-content {
  background-color: #fff;
  border-radius: 16px;
  padding: 40px;
  color: #0e1020;
}
.new-nav li:not(:last-child) {
  margin-right: 44px;
}
.new-nav {
  margin-right: auto;
  flex-shrink: 0;
}
.new-nav-link {
  color: #d5d7f1;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  opacity: 0.6;
}
.new-nav-link:first-child {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.new-nav-link.active {
  color: #fff;
  opacity: 1;
}
.new-nav-link:hover {
  transition: all 0.3s linear;
  color: #fff;
  opacity: 1;
}
.new-header-right {
  display: flex;
  align-items: center;
}
.new-nav-link-menu-content {
  display: flex;
  gap: 40px;
}
.new-nav-link-menu-left {
  width: 55%;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}
.new-nav-link-menu-right {
  width: 45%;
}
.new-nav-link-menu-right-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.new-nav-link-menu-right-item {
  width: max-content;
  border-radius: 100px;
  border: 1px solid rgba(43, 73, 226, 0.3);
  padding: 8px 20px;
  color: #0e1020;
  font-family: 'Gilroy-Medium', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
}
.new-nav-link-menu-right p {
  margin-bottom: 31px;
  color: #4e4f5c;
  font-family: 'Gilroy', 'Gilroy-Medium', sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
}
.new-nav-link-menu-left a {
  display: flex;
  gap: 18px;
  padding: 16px;
  background-color: #f1f3ff;
  border-radius: 8px;
  min-height: 74px;
  align-items: center;
  color: #181a2c;
  font-family: 'Gilroy', 'Gilroy-Medium', sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
  transition: all 0.25s ease-in-out;
}
/* .new-nav-link-menu-left a img {
  transform: translateY(3px);
} */
.new-nav-link-menu-left a:hover {
  background-color: #e1e6ff;
  color: #3143d1;
}
.new-nav-link-menu-left a svg {
  fill: #181a2c;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: all 0.25s ease-in-out;
}
.new-nav-link-menu-left a:hover svg {
  fill: #3143d1;
  transform: rotate(360deg);
}

.triangle-nav,
.triangle-phone,
.triangle-lang {
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 6px solid #fff;
  margin-left: 4px;
  transform: translateY(1px);
  transition: all 0.1s linear;
}
.triangle-nav {
  transition: all 0.2s linear;
}
.triangle-phone,
.triangle-lang {
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 5px solid #d5d7f1;
  transform: translateY(0px);
}
.new-header-right-phone {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  margin-right: 24px;
  margin-left: 20px;
  cursor: pointer;
}
.new-header-right-phone img {
  margin-right: 8px;
}
.new-header-right-phone a,
.new-header-right-lang a {
  color: #d5d7f1;
  font-family: 'Gilroy', 'Gilroy-Medium', sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-right: 4px;
}
.new-header-right-lang {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 36px;
  cursor: pointer;
  color: #d5d7f1;
}
.new-header-right-lang a,
.new-header-right-lang span {
  font-size: 14px;
  margin-right: 0;
  color: #d5d7f1;
}

.new-header-right-lang-options-wrapper {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 4px;
  border-radius: 5px;
}
.new-header-right-lang-options {
  background: rgba(2, 4, 22, 0.9);
  backdrop-filter: blur(10px);
  padding: 10px 10px 0 10px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.new-header-right-lang:hover {
  color: white;
}
.new-header-right-lang:hover .new-header-right-lang-options-wrapper {
  display: block;
}
.new-header-right-lang:hover .triangle-lang {
  transform: rotate(180deg);
}
.new-header-right-lang-options a {
  margin-bottom: 5px;
  width: 100%;
}
.new-header-right-lang a:hover {
  color: var(--green-color);
}
.new-header-right-phone-options-wrapper {
  display: none;
  position: absolute;
  bottom: -56px;
  left: -4px;
  padding-top: 5px;
  border-radius: 5px;
}
.new-header-right-phone-options {
  background: rgba(2, 4, 22, 0.9);
  backdrop-filter: blur(10px);
  padding-left: 24px;
  border-radius: 5px;
  padding-top: 5px;
}
.new-header-right-phone:hover .new-header-right-phone-options-wrapper {
  display: block;
}
.new-header-right-phone:hover .triangle-phone {
  transform: rotate(180deg);
}
.new-header-right-phone-options a {
  display: inline-block;
  margin-bottom: 5px;
}
.new-header-right-phone a:hover {
  color: var(--green-color);
}
.new-header-right-btn {
  width: 172px;
  height: 43px;
  border-radius: 8px;
  border: 1.5px solid var(--green-color);
  color: #0e1020;
  background: var(--green-color);
  font-family: 'Gilroy', 'Gilroy-Medium', sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s linear;
  position: relative;
  overflow: hidden;
}
.new-header-right-btn .btn-txt-green,
.new-header-right-btn .btn-txt-black {
  position: relative;
  font-family: 'Gilroy', 'Gilroy-Medium', sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
  transform: translateY(-108%);
  transition: all 0.2s linear;
}
.new-header-right-btn:hover {
  color: var(--green-color);
  background-color: transparent;
}

.new-header-right-burger {
  display: none;
  margin-left: 22px;
}
.new-burger {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0 20px;
  background-color: #fff;
  z-index: 60;
  overflow-y: auto;
  transform: translateX(105%);
  /* opacity: 1; */
  /* visibility: hidden; */
  transition: transform 0.3s ease-out;
}
.new-burger.open {
  transform: translateX(0);
  /* visibility: visible; */
  /* opacity: 1; */
}
.new-burger-header {
  position: sticky;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  top: 0;
  left: 0;
  width: 100%;
  height: 59px;
}
.new-burger-header-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.new-burger-header-right img {
  margin-left: 15px;
}
.new-burger-header-right-lang-item {
  border-radius: 8px;
  padding: 6px 12px;
  border: 1px solid var(--green-color);
  color: #0e1020;
  text-align: center;
  font-family: 'Gilroy', 'Gilroy-Medium', sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}
.new-burger-header-right-lang {
  transform: translateY(-2px);
}
.new-burger-card {
  display: flex;
  align-items: center;
  gap: 14px;
  /* max-width: 600px; */
  max-width: 100%;
  background-color: #f1f3ff;
  padding: 18px 16px;
  margin-bottom: 8px;
  border-radius: 8px;
}
.new-burger-card-last {
  margin-bottom: 30px;
}
.new-burger-card-txt {
  color: #181a2c;
  font-family: 'Gilroy', 'Gilroy-Medium', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
}
.new-burger-header-right-lang-item:not(:last-child) {
  margin-right: 1px;
}
.new-burger-header-right-lang-item.active {
  background-color: var(--green-color);
}
.new-burger-item {
  display: block;
  color: #0e1020;
  font-family: 'Gilroy', 'Gilroy-Medium', sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 16px;
  padding-left: 14px;
}

.new-burger-item:not(:first-child) {
  margin-bottom: 24px;
}
.new-burger-btn {
  position: sticky;
  display: flex;
  justify-content: center;
  bottom: 0;
  margin-bottom: 0;
  left: 0;
  padding-bottom: 20px;
  background: #fff;
  margin-top: auto;
}
.new-burger-btn::before {
  position: absolute;
  content: '';
  height: 40px;
  width: 100%;
  left: 0;
  top: -40px;
  background: linear-gradient(to bottom, transparent, white 80%);
}
.new-burger-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}
.new-burger-footer-title {
  color: #4e4f5c;
  font-family: 'Gilroy', 'Gilroy-Medium', sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  margin-bottom: 6px;
  margin-top: 40px;
}
.new-burger-footer-link {
  color: #0e1020;
  font-family: 'Gilroy', 'Gilroy-Medium', sans-serif;
  font-size: 26px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 20px;
}
.new-burger-footer-social {
  margin-top: 16px;
}
.new-burger-footer-copy {
  color: #4e4e4e;
  font-family: 'Gilroy', 'Gilroy-Regular', sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-top: 30px;
}

.new-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  /*display: flex;*/
  display: grid;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  z-index: 100;
  overflow: auto;
}
.new-modal.active {
  opacity: 1;
  visibility: visible;
}
.new-modal-form {
  display: none;
}
.new-modal-form.active {
  display: block;
}

.new-modal-content {
  position: relative;
  padding: 50px 40px 40px;
  background-color: #f1f3ff;
  border-radius: 8px;
}

@media screen and (max-width: 450px) {
  .new-modal-content {
    border-radius: 0px;
    height: 100%;
    width: 100%;
    overflow: auto;
  }
}

.new-modal-content .close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  cursor: pointer;
}
.new-modal-content .close-btn:hover {
  transform: scale(1.1);
  transition: all 0.2s linear;
}
.new-modal-thanks {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 340px;
}

.new-modal-thanks.active {
  display: flex;
}

.new-thanks-title,
.new-thanks-subtitle {
  color: #020205;
  text-align: center;
  font-family: 'Gilroy', 'Gilroy-Medium', sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: 110%;
  margin-bottom: 16px;
}
.new-thanks-subtitle {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 25px;
}
.new-thanks-text {
  color: #0e1020;
  text-align: center;
  font-family: 'Gilroy', 'Gilroy-Regular', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 21px */
  letter-spacing: 0.07px;
  margin-bottom: 25px;
}
.new-thanks-text strong {
  font-family: 'Gilroy', 'Gilroy-Bold', sans-serif;

  font-weight: 700;
}

.new-contacts {
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 700px;
  padding: 40px;
  background-color: white;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  z-index: 15;
  transform: translateX(105%);
  transition: all 0.3s ease-in-out;
}
.new-contacts.active {
  transform: translateX(0);
}
.close-btn-contacts {
  position: absolute;
  top: 30px;
  right: 30px;
  cursor: pointer;
}
.close-btn-contacts:hover {
  transform: scale(1.1);
}
.contacts-open {
  cursor: pointer;
}
.contacts-links {
  font-size: 32px !important;
  color: #0e1020 !important;
}
.new-contacts-socials {
  margin-bottom: 20px;
  margin-top: -20px;
  display: flex;
}
.new-contacts-social {
  margin-bottom: 20px;
  margin-top: 20px;
  display: flex;
  gap: 10px;
}
.new-contacts-social a {
  width: 40px;
  height: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 0.85px solid var(--dark-color);
  border-radius: 50%;
}
.new-contacts-social a svg {
  fill: var(--dark-color);
  stroke: var(--dark-color);
  position: relative;
  z-index: 1;
  transition: all 0.2s linear;
}
.new-contacts-social .inner-footer-social {
  display: block;
  height: 0;
  left: 50%;
  margin: 0;
  position: absolute;
  top: 50%;
  width: 0;
  background-color: var(--dark-color);
  border-radius: 50%;
  z-index: 0;
  transition: all 0.2s linear;
}
.new-contacts-social a:hover .inner-footer-social {
  height: 40px;
  margin-left: -20px;
  margin-top: -20px;
  width: 40px;
}
.new-contacts-social a:hover svg {
  fill: rgba(235, 236, 250, 1);
  stroke: rgba(235, 236, 250, 1);
}
/* .new-contacts-socials li:hover {
  transform: scale(1.2);
  transition: all 0.2s linear;
} */

.new-contacts .new-burger-footer-social {
  margin-bottom: 20px;
  margin-top: -15px;
}
.modal-video {
  opacity: 0;
  visibility: hidden;
  padding-top: 20px;
  width: 232px;
  height: 412px;
}
.modal-video.active {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 1280px) {
  .new-logo {
    margin-right: 4%;
  }
  .new-nav li:not(:last-child) {
    margin-right: 24px;
  }
  .new-header-right-lang {
    margin-right: 24px;
  }
  .new-header-right-phone {
    margin-left: 30px;
  }
  .new-nav-link-menu-left {
    width: 60%;
  }
  .new-nav-link-menu-right {
    width: 40%;
  }
}

/* @media (max-height: 780px) {
  .new-modal {
    align-items: flex-start;
    padding-top: 40px;
    padding-bottom: 40px;
    height: 100%;
  }
} */
@media (max-width: 1024px) {
  .new-header-container {
    height: 58px;
  }
  .new-logo img {
    width: 80px;
    height: 25px;
  }

  .new-nav,
  .new-header-right-phone,
  .new-header-right-lang {
    display: none;
  }
  .new-header-right-btn {
    width: 142px;
    height: 36px;
    font-size: 10px;
  }
  .new-header-right-burger {
    display: block;
  }
}
@media (max-width: 768px) {
  .new-contacts {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  .contacts-links {
    font-size: 28px !important;
  }
}
@media (max-width: 476px) {
  .btn-burger {
    width: 100%;
    margin: 0 !important;
    display: flex;
    justify-content: center;
  }
  .new-modal-content {
    padding: 50px 15px 40px;
    display: flex;
    align-items: center;
  }
  .new-modal-content .close-btn {
    top: 16px;
    right: 16px;
  }
  .new-body .new-header {
    background: rgba(2, 4, 22, 0.98);
  }
  .new-header.scroll {
    background: rgba(2, 4, 22, 0.98);
  }
}

@media (max-height: 608px) {
  .new-modal-content {
    padding: 50px 15px 40px;
    display: flex;
    align-items: flex-start;
  }
}

.lds-spinner {
  color: official;
  display: none;
  position: absolute;
  width: 80px;
  height: 80px;
}
.lds-spinner div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
  content: ' ';
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: #fff;
}
.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}
@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
