.home-cta-section {
  background: linear-gradient(180deg, rgb(1 4 10 / 0%) 0%, rgb(1 4 10 / 72%) 60%, rgb(1 4 10 / 88%) 100%) no-repeat center / 110% 110%;

}

.home-cta-section .wrapper {
  position: relative;
  max-width: 1920px;
  height: 851px;
  margin-inline: auto;
  overflow: hidden;
  box-shadow: inset 120px 0 250px -80px rgb(1 4 10 / 100%), 120px 0 120px -80px rgb(1 4 10 / 100%),
  inset -120px 0 250px -80px rgb(1 4 10 / 100%), -120px 0 120px -80px rgb(1 4 10 / 100%);
}

.home-cta-section .wrapper::before,
.home-cta-section .wrapper::after {
  position: absolute;
  top: -2px;
  z-index: 2;
  width: 350px;
  height: 110%;
  content: '';
}

.home-cta-section .wrapper::before {
  left: -100px;
  background: linear-gradient(90deg,
  rgb(1 4 10 / 100%) 0%,
  rgb(1 4 10 / 100%) 6%,
  rgb(1 4 10 / 0%) 100%);
}

.home-cta-section .wrapper::after {
  right: -100px;
  background: linear-gradient(270deg,
  rgb(1 4 10 / 100%) 0%,
  rgb(1 4 10 / 100%) 6%,
  rgb(1 4 10 / 0%) 100%);
}

.home-cta-section .marquee-track {
  position: absolute;
  z-index: -1;
  display: flex;
  gap: 8px;
  width: max-content;
  height: 33.3333%;
  overflow: hidden;
  will-change: transform;
}

.home-cta-section .marquee-track.top {
  top: 0;
  left: 0;

}

.home-cta-section .marquee-track.middle {
  top: 33.33%;
  left: 0;

}

.home-cta-section .marquee-track.bottom {
  bottom: 0;
  left: 0;
}

.home-cta-section .bg-image {
  position: relative;
  width: 480px;
  max-width: none;
  height: 100%;
  overflow: hidden;
  object-fit: cover;
  object-position: center;
  border-radius: 15px;
}

/* Змінюємо стилі для .bg-image в .wrapper щоб уникнути конфліктів */
.home-cta-section .wrapper > .bg-image {
  display: none;
}

.home-cta-section .container {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 100%;
  overflow: hidden;
}

.home-cta-section .container::after {
  position: absolute;
  top: 24px;
  left: 24px;
  font-family: Satoshi, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  font-feature-settings: 'liga' off;
  line-height: 24px; /* 150% */
  color: var(--e-global-opacity-white-024);
  text-transform: uppercase;
  letter-spacing: 0.64px;
  content: none;
}

.home-cta-section .content {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 81px;
}

.home-cta-section .heading {
  position: relative;
  z-index: 3;
  max-width: 751px;
}

.home-cta-section .section-title {
  margin: 0 0 16px;
  font-family: Satoshi, sans-serif;
  font-size: 64px;
  font-style: normal;
  font-weight: 700;
  line-height: 72px; /* 112.5% */
  color: #F5F7FC;
}

.home-cta-section .section-subtitle {
  margin: 0 0 16px;
  font-family: Satoshi, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px; /* 133.333% */
  color: rgb(240 243 250 / 80%);
}

.home-cta-section .section-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: Satoshi, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
  color: rgb(240 243 250 / 80%);
}

.home-cta-section .section-text p {
  margin: 0;
}

.home-cta-section .link-wrapper {
  position: relative;
  z-index: 3;
}

.home-cta-section .link {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  padding: 24px 36px 24px 40px;
  font-family: Satoshi, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px; /* 150% */
  color: #F5F7FC;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 2px solid #2B4DFD;
  border-radius: 80px;
}

.home-cta-section .link path {
  stroke: currentcolor;
}

@media screen and (min-width: 1560px) {
  .home-cta-section .wrapper {
    height: 1133px;
  }

  .home-cta-section .bg-image {
    width: 720px;
  }
}

@media screen and (max-width: 1440px) {
  .home-cta-section .section-title {
    font-size: clamp(40px, 28px + 2.5vw, 64px);
    line-height: 1.125;
  }
}

@media screen and (max-width: 998px) {
  .home-cta-section .content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media screen and (max-width: 768px) {
  .home-cta-section .wrapper {
    height: 640px;
  }

  .home-cta-section .wrapper::before,
  .home-cta-section .wrapper::after {
    content: none;
  }

  .home-cta-section .container::after {
    content: 'Success Stories';
  }

  .home-cta-section .content {
    margin-bottom: 16px;
  }

  .home-cta-section .link-wrapper {
    width: 100%;
  }

  .home-cta-section .link {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .home-cta-section .section-title {
    font-size: 40px;
    line-height: 48px;
  }
}
