.mainSlider {
  max-width: 970px;
  overflow: visible !important;
}

.mainSliderWrapper {
  margin: 20px 0 60px;
  overflow: hidden;
}

.mainSliderText {
  color: white;
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  left: 50px;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 10px;
}

.mainSliderTitle {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
}

.mainSliderScrollbar {
  height: 1px;
  background: #e1e1e1;
  margin: 20px auto;
  width: calc(100% - 40px);
}

.mainSliderScrollbar .swiper-scrollbar-drag {
  height: 1px;
  background: #0355ff;
}

@media (min-width: 576px) {
  .mainSliderTitle {
    font-size: 36px;
  }
}

@media (min-width: 992px) {
  .mainSliderScrollbar {
    display: none;
  }
}

@media (max-width: 992px) {
  .mainSliderWrapper {
    margin-top: 0;
  }

  .mainSliderText {
    max-width: calc(100% - 100px);
  }
}

@media (max-width: 768px) {
  .mainSliderWrapper {
    margin-top: 0;
    margin-bottom: 0;
  }

  .mainSliderText {
    position: static;
    background: #ecf2fa;
    color: #333333;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    padding: 30px 20px;
    transform: none;
  }
}