.ba {
  position: relative;
  overflow: hidden;
  height: calc(100vh - 6.625rem);
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-pack: center;
      justify-content: center;
}

@media (min-width: 992px) {
  .ba {
    min-height: calc(100vh - 7.125rem);
  }
}

.ba-slider {
  z-index: 2;
  width: 100%;
  height: 100%;
}

.ba-slider-item {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-pack: center;
      justify-content: center;
  -ms-flex-align: center;
      align-items: center;
  height: calc(100vh - 6.625rem);
  min-height: 47.375rem;
  padding-top: 9.375rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 992px) {
  .ba-slider-item {
    padding-top: 9.375rem;
    padding-bottom: 5rem;
    height: calc(100vh - 7.125rem);
  }
}

.ba-slider-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #d9d9d9;
  background: linear-gradient(270deg, rgba(217, 217, 217, 0) 0%, rgba(44, 44, 44, 0.21) 51%, rgba(0, 0, 0, 0.55) 80%);
  z-index: 1;
}

.ba-slider-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-slider-item-content {
  position: relative;
  z-index: 2;
  max-width: 42.5rem;
  color: var(--white);
}

.ba-slider-item-content h1 {
  font-size: 3.375rem;
  margin-bottom: 2.5rem;
  line-height: 1;
  transform: scale(1.1) matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1) translateY(-40%);
  transition: transform 0.5s ease-in-out;
}

@media (min-width: 768px) {
  .ba-slider-item-content h1 {
    font-size: 3.875rem;
  }
}

@media (min-width: 992px) {
  .ba-slider-item-content h1 {
    font-size: 4.6875rem;
  }
}

.swiper-slide-next .ba-slider-item-content h1 {
  transform: scale(1.1) translate3d(1ch, 1in, 5em) translateY(20%);
}

.swiper-slide-active .ba-slider-item-content h1 {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.ba-slider-item-content p {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
  line-height: 1.1;
}

.ba-slider-item-content-btn {
  max-width: 17rem;
  width: 100%;
  text-align: center;
  display: inline-block;
  font-size: 1rem;
  line-height: .875rem;
  font-weight: 600;
  padding: 1.4375rem 2rem;
  color: var(--blue);
  background: var(--yellow);
  border-radius: 99px;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
}

.ba-slider-item-content-btn:hover {
  color: var(--white);
  background: var(--blue);
}

.ba-slider .swiper-pagination {
  position: absolute;
  z-index: 2;
  text-align: end;
  bottom: 2.5rem;
}

@media (min-width: 992px) {
  .ba-slider .swiper-pagination {
    bottom: 5rem;
  }
}

.ba-slider .swiper-pagination .swiper-pagination-bullet {
  background: var(--yellow);
  width: 1.375rem;
  height: .5625rem;
  border: 1px solid var(--white);
  border-radius: .4688rem;
  opacity: 1;
  transition: all 0.3s ease-in-out;
}

.ba-slider .swiper-pagination .swiper-pagination-bullet:hover {
  background: #c1ddff;
}

.ba-slider .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: 3.125rem;
  background: #c1ddff;
}

.ba-nav {
  display: block;
  position: relative;
}
