/* ==== 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;
  }
}
.language-switcher a {
  display: flex !important;
  gap: 8px;
  align-items: center;
}
.language-switcher a::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: url(../assets/img/globe.svg) center no-repeat;
}

.burger {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.burger__layer {
  display: block;
  background: var(--e-global-color-text);
  width: 32px;
  height: 2px;
  margin-bottom: 6px;
  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: 35.78px;
  transform: rotate(26.57deg) translate(2.5px, -1px);
}
.burger_open .burger__layer:nth-child(2) {
  transform: scaleX(0);
}
.burger_open .burger__layer:nth-child(3) {
  width: 35.78px;
  transform: rotate(-26.57deg) translate(2.5px, 1px);
}

.main-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.main-menu a {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
}
.main-menu__wrapper {
  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;
}
.main-menu__wrapper > div {
  overflow: hidden;
}
.main-menu__wrapper.active {
  grid-template-rows: 1fr;
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-bottom);
  opacity: 1;
}
.main-menu__wrapper.active a {
  opacity: 1;
  transition: opacity 0.25s ease-in calc((var(--linkIndex) + 1) * 0.25s);
}

.hero-cog {
  animation: cog 5s ease-in-out infinite alternate;
}
.hero-waypoint {
  animation: waypoint 6s ease-in-out infinite alternate -3s;
}
.hero-shield {
  animation: waypoint 10s ease-in-out infinite alternate -2s;
}
.hero-arrow {
  animation: arrow 8s ease-in-out infinite alternate -1s;
}

@keyframes cog {
  0% {
    transform: translate(0, 0) scale(1, 1);
  }
  100% {
    transform: translate(15%, 15%) scale(0.9, 0.9);
  }
}
@keyframes waypoint {
  0% {
    transform: translate(0, 0) scale(1, 1);
  }
  100% {
    transform: translate(25%, -15%) scale(0.9, 0.9);
  }
}
@keyframes waypoint {
  0% {
    transform: translate(0, 0) scale(1, 1);
  }
  100% {
    transform: translate(-25%, 15%) scale(0.9, 0.9);
  }
}
@keyframes arrow {
  0% {
    transform: translate(0, 0) scale(0.8, 0.8);
  }
  100% {
    transform: translate(15%, 15%) scale(1, 1) rotate(10deg);
  }
}
/* moving circles background */
.moving-circle {
  top: 50%;
  left: 50%;
  width: clamp(120px, 18vw, 260px);
  aspect-ratio: 1/1;
  border-radius: 50%;
  filter: blur(0.5px);
  animation-duration: var(--circle-duration, 22s);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-fill-mode: both;
  will-change: transform;
  filter: blur(10vw) saturate(2);
}

.moving-circle:nth-of-type(1) {
  --circle-duration: 26s;
  animation-name: movingCircleAlpha;
  animation-delay: -6s;
}

.moving-circle:nth-of-type(2) {
  --circle-duration: 21s;
  animation-name: movingCircleBeta;
  animation-delay: -3s;
}

.moving-circle:nth-of-type(3) {
  --circle-duration: 18s;
  animation-name: movingCircleGamma;
  animation-delay: -9s;
}

@keyframes movingCircleAlpha {
  0% {
    transform: translate(-90%, 100%) translate3d(-15%, -10%, 0) scale(0.75);
  }
  35% {
    transform: translate(-30%, -50%) translate3d(12%, 8%, 0) scale(1.05);
  }
  70% {
    transform: translate(-40%, 60%) translate3d(-8%, 18%, 0) scale(0.9);
  }
  100% {
    transform: translate(-50%, -75%) translate3d(15%, -12%, 0) scale(1.5);
  }
}
@keyframes movingCircleBeta {
  0% {
    transform: translate(-20%, -10%) translate3d(10%, -6%, 0) scale(0.9);
  }
  30% {
    transform: translate(-40%, -80%) translate3d(-14%, 12%, 0) scale(2);
  }
  65% {
    transform: translate(-50%, -50%) translate3d(6%, 20%, 0) scale(0.85);
  }
  100% {
    transform: translate(-100%, -80%) translate3d(-18%, -10%, 0) scale(1);
  }
}
@keyframes movingCircleGamma {
  0% {
    transform: translate(-50%, -150%) translate3d(-8%, 15%, 0) scale(0.8);
  }
  25% {
    transform: translate(20%, -50%) translate3d(14%, -8%, 0) scale(1.05);
  }
  55% {
    transform: translate(-50%, 70%) translate3d(-16%, -12%, 0) scale(2);
  }
  100% {
    transform: translate(50%, -50%) translate3d(10%, 10%, 0) scale(1.1);
  }
}
@media screen and (min-width: 768px) {
  .approach-text {
    position: sticky;
    top: 96px;
  }
}

.service-item {
  border-bottom: 1px #000 solid;
  padding: 16px 0;
}
.service-item__header {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}
.service-item__title {
  text-transform: uppercase;
  font-size: 1.25rem;
  line-height: 1.5rem;
  font-weight: 500;
}
.service-item__toggle {
  display: block;
  width: 24px;
  height: 24px;
  background: none;
  outline: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.service-item__toggle-icon {
  display: block;
  width: 24px;
  height: 24px;
  background: url("../assets/img/chevron.svg");
  transition: transform 0.5s ease-in-out;
}
.service-item__toggle-icon::after {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-color: rgba(0, 0, 0, 0.1019607843);
  border-radius: 100%;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}
.service-item__content {
  display: grid;
  height: 100%;
  min-height: 0;
  gap: 16px;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  padding-top: 0px;
  opacity: 0;
  transition: padding-top 0.5s ease-in-out, opacity 0.5s ease-in-out;
}
@media screen and (min-width: 767px) {
  .service-item__content {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
  }
}
.service-item__content-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.5s ease-in-out;
}
.service-item__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-item__list-item {
  display: flex;
  gap: 16px;
}
.service-item__list-item::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background: url("../assets/img/check.svg");
  flex-shrink: 0;
}
.service-item__image {
  height: 280px;
  max-height: 280px;
  background-position: center;
  background-size: cover;
  border-radius: 16px;
  box-shadow: inset 0 0px 16px #fff;
}
.service-item.is-opened .service-item__toggle-icon {
  transform: rotate(-180deg);
}
.service-item.is-opened .service-item__toggle-icon::after {
  opacity: 0;
  transform: scale(1.25, 1.25);
}
.service-item.is-opened .service-item__content {
  padding-top: 16px;
  opacity: 1;
}
.service-item.is-opened .service-item__content-wrapper {
  grid-template-rows: 1fr;
}

.running-line {
  overflow: hidden;
  width: 100%;
  padding: 16px 0;
  /* Mask */
  mask-image: linear-gradient(to right, transparent 0, black 100px, black calc(100% - 100px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 100px, black calc(100% - 100px), transparent 100%);
  mix-blend-mode: multiply;
  opacity: 0.25;
}

.running-line__track {
  display: flex;
  width: max-content;
  animation: running-line 20s linear infinite;
}

.running-line__row {
  display: flex;
  gap: 30px;
  padding-right: 3rem;
}

.running-line__item {
  font-size: 3rem;
  line-height: 3rem;
  font-weight: 700;
  font-family: var(--e-global-typography-primary-font-family);
  text-transform: uppercase;
  white-space: nowrap;
  color: #A9A9A9;
  display: flex;
  gap: 30px;
}
@media screen and (min-width: 768px) {
  .running-line__item {
    font-size: 5rem;
    line-height: 5rem;
  }
}
.running-line__item::after {
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  background: url("../assets/img/loader.gif") no-repeat center/cover;
}
@media screen and (min-width: 768px) {
  .running-line__item::after {
    width: 80px;
    height: 80px;
  }
}

@keyframes running-line {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}