/* ==== RESET (Modern) ==== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure,
blockquote, dl, dd {
  margin: 0;
}

ul[role=list],
ol[role=list] {
  list-style: none;
  padding: 0;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
  color: inherit;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.main-menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 32px;
}
.main-menu a {
  color: var(--e-global-color-primary);
  font-family: var(--e-global-typography-primary-font-family);
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
}

.language-switcher {
  display: flex;
  gap: 8px;
  align-items: center;
}
.language-switcher::before {
  content: "";
  display: block;
  height: 16px;
  width: 16px;
  background-image: url("../assets/img/globe-white.svg");
}

.burger {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 16px;
}
.burger__layer {
  display: block;
  background: var(--e-global-color-primary);
  width: 24px;
  height: 1.25px;
  margin-bottom: 8px;
  transition: width 0.25s ease-in-out, transform 0.25s ease-in-out;
}
.burger__layer:last-child {
  margin-bottom: 0;
}
.burger__layer:nth-child(1) {
  transform-origin: top left;
}
.burger__layer:nth-child(2) {
  transform-origin: center;
}
.burger__layer:nth-child(3) {
  transform-origin: bottom left;
}
.burger_open .burger__layer:nth-child(1) {
  width: 28.84px;
  transform: rotate(33deg) translate(3px, 0px);
}
.burger_open .burger__layer:nth-child(2) {
  transform: scaleX(0);
}
.burger_open .burger__layer:nth-child(3) {
  width: 28.84px;
  transform: rotate(-33deg) translate(3px, 0px);
}

.mobile-nav {
  backdrop-filter: blur(16px);
  display: grid;
  grid-template-rows: 0fr;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  transition: grid-template-rows 0.4s ease-in-out, padding 0.4s ease-in-out, opacity 0.4s ease-in-out;
}
.mobile-nav > div {
  overflow: hidden;
}
.mobile-nav.active {
  grid-template-rows: 1fr;
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-bottom);
  opacity: 1;
}
.mobile-nav.active a {
  opacity: 1;
  transition: opacity 0.25s ease-in calc((var(--linkIndex) + 1) * 0.25s);
}
.mobile-nav .main-menu {
  flex-direction: column;
  align-items: center;
}
.mobile-nav .main-menu a {
  color: var(--e-global-color-accent);
  font-size: 1.5rem;
  line-height: 2rem;
}
.mobile-nav .language-switcher {
  display: flex;
  gap: 8px;
  align-items: center;
}
.mobile-nav .language-switcher::before {
  content: "";
  display: block;
  height: 16px;
  width: 16px;
  background-image: url("../assets/img/globe-orange.svg");
}

.hero {
  height: calc(100vh - 64px);
  height: calc(100dvh - 64px);
  min-height: 700px;
}
.hero__scroll-arrow {
  animation: up-down 1s ease-in-out infinite alternate;
}
.hero__people {
  background-size: auto 100%;
}
.hero__diamond-waves-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__diamond-waves g rect {
  opacity: 0;
  animation: shimmer 2s calc(0.5s * var(--wave)) ease-in-out infinite alternate;
}

@keyframes up-down {
  0% {
    transform: translateY(0%);
  }
  100% {
    transform: translateY(25%);
  }
}
@keyframes shimmer {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.elementor-widget-nexus_island_ribbon {
  width: 100vw;
}
.elementor-widget-nexus_island_ribbon > .elementor-widget-container {
  display: flex;
  justify-content: center;
}

.services-marquee {
  overflow: hidden;
  width: 100vw;
  display: flex;
  gap: 0;
}
.services-marquee .services-marquee-track {
  flex-shrink: 0;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-left: 16px;
  animation: marquee-scroll 30s linear infinite;
}
.services-marquee .marquee-item {
  white-space: nowrap;
  font-size: 2rem;
  line-height: 2.5rem;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--e-global-color-accent);
  font-family: var(--e-global-typography-primary-font-family);
}
.services-marquee .bullet {
  white-space: nowrap;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
.nexus-island-benefit {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nexus-island-benefit__text-group {
  display: flex;
  flex-direction: column;
  font-family: var(--e-global-typography-primary-font-family);
}
.nexus-island-benefit__title {
  color: var(--e-global-color-accent);
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 500;
}
.nexus-island-benefit__desc {
  color: var(--e-global-color-text);
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
}

.nexus-island-service {
  height: 100%;
}
.nexus-island-service__link {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  font-family: var(--e-global-typography-primary-font-family);
  color: var(--e-global-color-primary);
  border: 2px solid var(--e-global-color-accent);
  padding: 12px;
}
.nexus-island-service__link:hover {
  background-color: var(--e-global-color-accent);
}

.elementor-widget-nexus_island_service {
  height: 100%;
}

.service-page__background {
  width: 100%;
  height: 100%;
  z-index: -2;
}
.service-page__background::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: hsla(26, 100%, 40%, 0.25);
  backdrop-filter: blur(60px) brightness(60%);
}
.service-page__image {
  max-height: 420px;
}
.service-page__about ul {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  list-style-type: none;
}
.service-page__about ul li {
  display: flex;
  gap: 8px;
}
.service-page__about ul li::before {
  content: "";
  display: block;
  width: 8px;
  height: 24px;
  background: url("../assets/img/marker.svg") no-repeat center/cover;
}

.mf-input-wrapper {
  position: relative;
}

.mf-error-message {
  position: absolute;
  right: 8px;
  top: 0px;
}

.mf-btn-wraper {
  height: 100%;
}
.mf-btn-wraper button {
  height: 100%;
  width: 100%;
}

.contact-form__diamond {
  background-size: auto 100%;
}

strong {
  color: var(--e-global-color-accent);
}