.section-mainbanner{
    height:85vh;
}
.section-mainbanner .swiper-mainbanner{
  width:100%;
  height: 100%;
}

.section-mainbanner .swiper-slide{
  position:relative;
  height:100%;
}
.section-mainbanner .slide-video{
  position:absolute;
  inset:0;
  z-index:0;
}
.slide-video video{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position: center;
}
/* Image */
.section-mainbanner .slide-bg{
  position:absolute;
  inset:0;
  z-index:0;
  height: 100%;
  height: 100%;
}

.section-mainbanner .slide-bg picture{
  display:block;
  width:100%;
  max-height:100%;
  height: 100%;
}

.section-mainbanner .slide-bg img{
  width:100%;
  max-height:100%;
  object-fit:cover;
  object-position: center;
  height: 100%;
}

/* Content */
.section-mainbanner .slide-content{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:16px;
  width:100%;
  height:100%;
}

.section-mainbanner .slide-title{
  font-size:clamp(2rem, 4vw, 4rem);
  font-weight:600;
  line-height:normal;
  max-width:768px;
}

.section-mainbanner .slide-subtitle{
  font-size:clamp(1rem, 2vw, 1.25rem);
  line-height:1.6;
  max-width:768px;
}

.section-mainbanner .slide-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 32px;
  border-radius:4px;
  font-size:clamp(1.5rem, 2vw, 1rem);
  text-decoration:none;
  transition:all .3s ease;
}

.section-mainbanner .slide-btn:hover{
  opacity:.85;
  transform:translateY(-1px);
}

/* Pagination */
.section-mainbanner .swiper-pagination{
  bottom:24px !important;
}

.section-mainbanner .swiper-pagination-bullet{
  width:24px;
  height:6px;
  border-radius:3px;
  border:none;
  background:rgba(255,255,255,0.5);
  opacity:1;
  transition:all .3s ease;
}

.section-mainbanner .swiper-pagination-bullet-active{
  background:var(--primary-color) !important;
  width:32px;
}

/* Arrows */
.section-mainbanner .swiper-button-next,
.section-mainbanner .swiper-button-prev{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:40px;
  height:40px;
  border:1px solid rgba(255,255,255,.5);
  border-radius:4px;
  background:rgba(255,255,255,.1);
  margin-top:0;
  z-index:10;
  transition:all .3s ease;
}

.section-mainbanner .swiper-button-prev{
  left:20px;
}


.section-mainbanner .swiper-button-next::after,
.section-mainbanner .swiper-button-prev::after{
  display:none;
}

.section-mainbanner .swiper-button-next i,
.section-mainbanner .swiper-button-prev i{
  color:#fff;
  font-size:clamp(0.8125rem, 2vw, 1.25rem);
  transition:transform .3s ease;
}

.section-mainbanner .swiper-button-next:hover,
.section-mainbanner .swiper-button-prev:hover{
  background:rgba(255,255,255,.9);
  border-color:#fff;
}

.section-mainbanner .swiper-button-next:hover i,
.section-mainbanner .swiper-button-prev:hover i{
  color:#1a1a1a;
}

.section-mainbanner .swiper-button-prev:hover i{
  transform:translateX(2px);
}

.section-mainbanner .swiper-button-next:hover i{
  transform:translateX(-2px);
}

.section-mainbanner .swiper-button-disabled{
  opacity:.3;
  pointer-events:none;
}
/* Mobile */
@media screen and (max-width:768px) {
  .section-mainbanner{
    height: 50vh;
  }
  .section-mainbanner .swiper-mainbanner {
    min-height: 300px;
  }

  .section-mainbanner .swiper-slide {
    min-height: 300px;
  }

  .section-mainbanner .slide-content {
    padding: 20px;
    gap: 10px;
  }
  .section-mainbanner .slide-btn {
    padding: 8px 20px;
  }

  .section-mainbanner .swiper-button-next,
  .section-mainbanner .swiper-button-prev {
    display: none;
  }
}
