

/*--------------------------------------------------------------
# Main Slider
--------------------------------------------------------------*/
.main-slider {
  overflow: hidden;
  position: relative;
}

.slider01 .swiper-slide {
  position: relative;
  background-color: #151414;height: 500px
}

 
.main-slider .image-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  transform-origin: top center;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: -webkit-transform 7000ms ease;
  transition: -webkit-transform 7000ms ease;
  transition: transform 7000ms ease;
  transition: transform 7000ms ease, -webkit-transform 7000ms ease;
}

.main-slider .swiper-slide-inner {
  position: relative; height: 100%;
  display: flex;
  text-align: center; 
  justify-content: center;
  align-items: center;
 flex-direction:column;
   
}

 

.main-slider .text {
  width: 68%;
  margin: 0 auto;
  padding-bottom: 30px;
 
  color: #fff;
  font-size: 36px;
  line-height: 50px;
  font-weight: 800;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translateY(90px);
  transform: translateY(90px);
  -webkit-transition-delay: 1000ms;
  transition-delay: 1000ms;
  -webkit-transition: opacity 2000ms ease, -webkit-transform 2000ms ease;
  transition: opacity 2000ms ease, -webkit-transform 2000ms ease;
  transition: transform 2000ms ease, opacity 2000ms ease;
  transition: transform 2000ms ease, opacity 2000ms ease,
    -webkit-transform 2000ms ease;
}

 
 
.main-slider .thm-btn {
  opacity: 0;
  -webkit-transform: translateY(100px);
  transform: translateY(100px);
  -webkit-transition-delay: 2500ms;
  transition-delay: 2500ms;
  -webkit-transition: opacity 2000ms ease, color 500ms ease,
    background 500ms ease, -webkit-transform 2000ms ease;
  transition: opacity 2000ms ease, color 500ms ease, background 500ms ease,
    -webkit-transform 2000ms ease;
  transition: transform 2000ms ease, opacity 2000ms ease, color 500ms ease,
    background 500ms ease;
  transition: transform 2000ms ease, opacity 2000ms ease, color 500ms ease,
    background 500ms ease, -webkit-transform 2000ms ease;
}


.main-slider .swiper-slide-active .image-layer {
  -webkit-transform: scale(1.15);
  transform: scale(1.15);
}

.main-slider .swiper-slide-active .thm-btn,
.main-slider .swiper-slide-active h2,.main-slider .swiper-slide-active .text,
.main-slider .swiper-slide-active p {
  visibility: visible;
  opacity: 1;
  -webkit-transform: translateY(0) translateX(0);
  transform: translateY(0) translateX(0);
}

#main-slider-pagination {
  z-index: 10;
  width: 100%;
  margin: 0 auto;
  bottom: 50px;
}

#main-slider-pagination .swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  border-radius: 50%; 
  background-color: #333;
  border:1px solid #fff;
  margin-right: 10px;
}

#main-slider-pagination .swiper-pagination-bullet + .swiper-pagination-bullet {
  margin-top: 10px;
}

#main-slider-pagination
  .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: red;border:1px solid #fff;
  opacity: 1;
}

.banner-slider-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.banner-slider-button-next {
  position: relative;
  width: 65px;
  height: 65px;
  line-height: 25px;
  border-radius: 50%;
  text-align: center;
  color: #fff;
  cursor: pointer;
  z-index: 9;
  margin-right: 100px;
  font-size: 25px;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.3;
  transition: 0.5s;
}

.banner-slider-button-prev {
  position: relative;
  width: 65px;
  height: 65px;
  line-height: 25px;
  border-radius: 50%;
  text-align: center;
  color: #ffff;
  cursor: pointer;
  z-index: 9;
  margin-left: 100px;
  font-size: 25px;
  border: 2px solid #fff;
  transform: rotate(-180deg);
  opacity: 0.3;
  transition: 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-slider-button-prev,
.banner-slider-button-next:focus {
  outline: none;
}
.banner-slider-button-prev:hover,
.banner-slider-button-next:hover {
  opacity: 1;
}


.main-slider .thm-btn {
  text-decoration: none;
  display: inline-block;
  vertical-align: middle;
  border: none;
  outline: none;
  background-color: #ea130e;
  font-size: 16px;
  color: #ffffff;
  font-weight: 700;
  padding: 20px 40px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.main-slider .thm-btn:hover {
  background-color: #fff;
  color: #000;
}

/*--------------------------------------------------------------
# Slider All Responsice Css
/////////
--------------------------------------------------------------*/

@media only screen and (min-width: 992px) and (max-width: 1199px) {

  .main-slider .thm-btn {
    padding: 15px 25px;
  }

  .main-slider h2 {
    font-size: 40px;
    line-height: 80px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
   .main-slider .thm-btn {
    padding: 15px 25px;
  }

  .main-slider h2 {
    font-size: 30px;
    line-height: 80px;
  }

  .main-slider.two h2 {
    font-size: 60px;
    line-height: 70px;
  }
  .main-slider-three .banner-slider-button-prev {
    display: none;
  }
  .main-slider-three .banner-slider-button-next {
    display: none;
  }
}

@media only screen and (max-width: 767px) {
   .main-slider .thm-btn {
    padding: 10px 15px;
  }

    .banner-slider-button-prev {
    display: none;
  }
  .banner-slider-button-next {
    display: none;
  }

  .main-slider h2 {
    font-size: 20px;
    line-height: 40px;
  }
 
  .banner-slider-button-prev {
    display: none;
  }
  .banner-slider-button-next {
    display: none;
  }
  .main-slider p:before {
    display: none;
  }
  .main-slider .swiper-slide-inner {
    padding-top: 140px;
    padding-bottom: 150px;
  }
  .main-slider.two h2 {
    font-size: 35px;
    line-height: 45px;
  }
  .main-slider.two h2 br {
    display: none;
  }
  .main-slider.main-slider-three .swiper-slide-inner {
    padding: 251px 0 151px;
  }
  .main-slider.two .banner-slider-nav {
    display: none;
  }
}

@media only screen and (max-width: 1000px) {
.main-slider .text {font-size: 22px;
  width: 92%


}
