.expertise-hero-section {
  position: relative;
  max-width: 1920px;
  margin-inline: auto;
  margin-bottom: 120px;
  overflow: hidden;
}

.expertise-hero-section .waves {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.expertise-hero-section .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 548px;
}

.expertise-hero-section .section-title {
  margin-top: 188px;
  font-family: Satoshi, sans-serif;
  font-size: 72px;
  font-style: normal;
  font-weight: 700;
  line-height: 80px; /* 111.111% */
  color: #01040A;
}

.expertise-hero-section .expertise-hero-nav-list {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  margin: auto 0 16px;
  list-style: none;
}

.expertise-hero-section .expertise-hero-nav-item {
  font-family: Satoshi, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  font-feature-settings: 'liga' off;
  line-height: 20px; /* 142.857% */
  color: #01040A;
  text-transform: uppercase;
  letter-spacing: 0.56px;
}

@media screen and (min-width: 1441px) {
  .expertise-hero-section .container {
    min-height: clamp(548px, 32px + 35.8333vw, 720px);
  }

  .expertise-hero-section .section-title {
    margin-top: clamp(188px, -208px + 27.5vw, 320px);
  }
}

@media screen and (max-width: 1560px) {
  .expertise-hero-section .container {
    /* min-height: 720px; */
  }

  .expertise-hero-section .section-title {
    /* margin-top: 188px; */
    font-size: 72px;
    line-height: 80px; /* 111.111% */
  }
}


@media screen and (max-width: 1360px) {
  .expertise-hero-section .container {
    min-height: clamp(375px, 280.6364px + 19.6591vw, 548px);
  }

  .expertise-hero-section .section-title {
    margin-top: clamp(110px, 67.4545px + 8.8636vw, 188px);
    font-size: clamp(44px, 30px + 2.9167vw, 72px);
    line-height: 1.1111;
  }
}

@media screen and (min-width:561px) {
  .expertise-hero-section .expertise-hero-nav-wrapper {
    position: absolute;
    display: none;
    visibility: hidden;
    opacity: 0;
  }
}

@media screen and (max-width: 560px) {
  .expertise-hero-section {
    margin-bottom: 40px;
  }

  .expertise-hero-section .container {
    min-height: 375px;
  }

  .expertise-hero-section .section-title {
    margin-top: 110px;
  }

  /* Стилі для бігучої стрічки */
  .expertise-hero-section .expertise-hero-nav-list {
    display: flex;
    width: 100%;
    overflow: hidden;
  }

  .expertise-hero-section .expertise-hero-nav-wrapper {
    position: static;
    display: flex;
    white-space: nowrap;
    visibility: visible;
    opacity: 1;
    animation: marquee 30s linear infinite;
  }

  .expertise-hero-section .expertise-hero-nav-item {
    display: inline-block;
    padding-right: 24px;
    white-space: nowrap;
  }

  @keyframes marquee {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-50%);
    }
  }
}

@media screen and (max-width: 440px) {
  .expertise-hero-section .expertise-hero-nav-list {
    /* position: relative; */

    /* left: 50%; */

    /* gap: 16px; */

    /* overflow: hidden; */

    /* transform: translateX(-50%); */
  }

  .expertise-hero-section .expertise-hero-nav-item {
    /* white-space: nowrap; */
  }

  .expertise-hero-section .expertise-hero-nav-list:not(.has-marquee) {
    position: relative;
    left: 50%;
    gap: 16px;
    transform: translateX(-50%);
  }

}