.background-slider {
  margin-top: 4rem;
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 8rem 2rem;
}
.background-slider .splide-container {
  max-width: 1640px;
  margin: 0 auto;
  background: rgba(38, 60, 142, 0.84);
  color: #fff;
  position: relative;
  z-index: 1;
  padding: 3rem;
}
.background-slider .bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.background-slider .splide__slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}
.background-slider .splide__slide .slide-content {
  max-width: 1200px;
  padding: 0 1rem;
  text-align: center;
  padding-bottom: 8rem;
}
.background-slider .splide__slide .slide-content h2 {
  font-weight: 800;
  font-size: 50px;
  margin-bottom: 3rem;
}
.background-slider .splide__slide .slide-content p {
  font-weight: 300;
  font-size: 20px;
  line-height: 1.6;
}
.background-slider .splide__arrow {
  width: 40px;
  height: 40px;
  background: none;
  cursor: pointer;
  opacity: 0.95;
  transform: unset;
  top: 3.5rem;
  transition: opacity 0.3s ease;
}
.background-slider .splide__arrow:hover {
  opacity: 1;
}
.background-slider .splide__arrow.splide__arrow--prev {
  left: 3rem;
  transform: rotate(-90deg);
}
.background-slider .splide__arrow.splide__arrow--next {
  right: 3rem;
  transform: rotate(90deg);
}
.background-slider .splide__pagination__page {
  margin: 0 0.75rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  opacity: 1;
  background: none;
  border: 1px solid #fff;
}
.background-slider .splide__pagination__page.is-active {
  transform: unset;
  background: #fff;
}
@media (max-width: 1200px) {
  .background-slider .splide__arrow {
    top: 3rem;
  }
  .background-slider .splide__slide .slide-content h2 {
    font-size: 40px;
  }
}
@media (max-width: 992px) {
  .background-slider .splide__arrow {
    display: none;
  }
  .background-slider .splide__slide .slide-content {
    padding-bottom: 4rem;
  }
}
@media (max-width: 768px) {
  .background-slider .splide__slide .slide-content h2 {
    font-size: 32px;
    margin-bottom: 2rem;
  }
  .background-slider .splide__slide .slide-content p {
    font-size: 16px;
  }
  .background-slider .splide-container {
    padding: 2rem;
  }
}
@media (max-width: 480px) {
  .background-slider {
    padding: 6rem 2rem;
  }
  .background-slider .splide__slide .slide-content h2 {
    font-size: 22px;
    margin-bottom: 1.5rem;
  }
  .background-slider .splide__pagination__page {
    width: 20px;
    height: 20px;
    margin: 0 0.25rem;
  }
}
