/** banner-section **/

.banner-section {
  position: relative;
  overflow: hidden;
}

/* Bottom fade gradient */
.banner-section:after {
  content: '';
  position: absolute;
  left: 0px;
  bottom: 0px;
  width: 100%;
  height: 80px;
  background: -webkit-linear-gradient(bottom, #ffffff 0%, rgba(255,255,255,0.7) 35%, rgba(255,255,255,0) 100%);
  background: linear-gradient(to top, #ffffff 0%, rgba(255,255,255,0.7) 35%, rgba(255,255,255,0) 100%);
  z-index: 4;
  pointer-events: none;
}

.banner-section .pattern-layer {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
}
  
.banner-carousel .slide-item {
  position: relative;
  padding: 170px 0px 160px 0px;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.banner-carousel .slide-item:before {
  position: absolute;
  content: '';
  background: #000;
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  opacity: 0.52;
  z-index: 1;
}
  
.banner-carousel .content-box {
  position: relative;
  display: block;
  z-index: 5;
  max-width: 650px;
}
  
.banner-carousel .slide-item .bg-layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

/* --- ANIMATIONS FOR ALL SLIDES --- */
@-webkit-keyframes bannerZoomEffect {
  from { -webkit-transform: scale(1); transform: scale(1); }
  to { -webkit-transform: scale(1.15); transform: scale(1.15); }
}
@keyframes bannerZoomEffect {
  from { -webkit-transform: scale(1); transform: scale(1); }
  to { -webkit-transform: scale(1.15); transform: scale(1.15); }
}

@-webkit-keyframes fadeInUpText {
  0% { opacity: 0; -webkit-transform: translateY(40px); transform: translateY(40px); }
  100% { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}
@keyframes fadeInUpText {
  0% { opacity: 0; -webkit-transform: translateY(40px); transform: translateY(40px); }
  100% { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}

.banner-carousel .active .slide-item .bg-layer {
  -webkit-animation: bannerZoomEffect 8000ms linear forwards;
  animation: bannerZoomEffect 8000ms linear forwards;
}
  
.banner-carousel .content-box h2 {
  font-size: clamp(32px, 4.8vw, 64px);
  line-height: 1.18;
  font-weight: 800;
  color: #fff;
  margin-bottom: 22px;
  opacity: 1;
}

.banner-carousel .content-box h2 span {
  color: var(--theme-color);
}
  
.banner-carousel .owl-item.active .content-box h2,
.banner-carousel .active .content-box h2 {
  -webkit-animation: fadeInUpText 900ms ease forwards;
  animation: fadeInUpText 900ms ease forwards;
  -webkit-animation-delay: 200ms;
  animation-delay: 200ms;
}
  
.banner-carousel .content-box p {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.65;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.92);
  opacity: 1;
}
  
.banner-carousel .owl-item.active .content-box p,
.banner-carousel .active .content-box p {
  -webkit-animation: fadeInUpText 900ms ease forwards;
  animation: fadeInUpText 900ms ease forwards;
  -webkit-animation-delay: 400ms;
  animation-delay: 400ms;
}
  
.banner-carousel .content-box .btn-box {
  opacity: 1;
}
  
.banner-carousel .owl-item.active .content-box .btn-box,
.banner-carousel .active .content-box .btn-box {
  -webkit-animation: fadeInUpText 900ms ease forwards;
  animation: fadeInUpText 900ms ease forwards;
  -webkit-animation-delay: 600ms;
  animation-delay: 600ms;
}

.banner-section .pattern-layer .pattern-1 {
  position: absolute;
  top: 0px;
  right: 200px;
  width: 616px;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
  -webkit-animation: service_hexagon_2 15s infinite linear;
  -moz-animation: service_hexagon_2 15s infinite linear;
  -o-animation: service_hexagon_2 15s infinite linear;
  animation: service_hexagon_2 15s infinite linear;
}

.banner-section .pattern-layer .pattern-2 {
  position: absolute;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  width: 86px;
  height: 234px;
  background-repeat: no-repeat;
  z-index: 1;
}

.banner-section .owl-nav {
  position: absolute;
  left: 0px;
  top: 50%;
  margin-top: -35px;
  width: 100%;
}

.banner-section .owl-nav button {
  position: absolute;
  top: 0px;
  display: inline-block;
  width: 70px;
  height: 70px;
  line-height: 76px;
  text-align: center;
  background: #fff;
  font-size: 30px;
  color: #000;
  border-radius: 50%;
  transition: all 500ms ease;
}

.banner-section .owl-nav button.owl-prev {
  left: 120px;
}

.banner-section .owl-nav button.owl-next {
  right: 120px;
}

.banner-section .owl-nav button:hover {
  color: #fff;
  background: var(--theme-color);
}

.banner-style-two .banner-carousel .slide-item {
  padding: 340px 0px 225px 0px;
}

.banner-style-two .banner-carousel .slide-item:before {
  background: -webkit-linear-gradient(0deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  opacity: 0.6;
}

.banner-style-two .pattern-layer .pattern-3 {
  position: absolute;
  left: 0px;
  bottom: 0px;
  width: 342px;
  height: 439px;
  background-repeat: no-repeat;
  mix-blend-mode: luminosity;
  z-index: 1;
}

.banner-style-three .banner-carousel .content-box h2 {
  font-size: 64px;
}

.banner-style-three .banner-carousel .slide-item {
  padding: 160px 0px 245px 0px;
}

.banner-style-three .banner-carousel .slide-item:before {
  opacity: 1;
  background: #FF0003;
  mix-blend-mode: multiply;
}

.banner-style-three .banner-carousel .content-box .theme-btn.btn-three {
  color: var(--title-color) !important;
}

.banner-style-three .banner-carousel .content-box .theme-btn.btn-three:hover {
  color: #fff !important;
}

.banner-style-three .pattern-layer .pattern-4 {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 346px;
  height: 447px;
  background-repeat: no-repeat;
  z-index: 1;
}

.banner-style-three .pattern-layer .pattern-5 {
  position: absolute;
  top: 276px;
  right: 0px;
  width: 94px;
  height: 233px;
  background-repeat: no-repeat;
  z-index: 1;
}

.banner-style-three .shape {
  position: absolute;
  left: 0px;
  bottom: 0px;
  width: 100%;
  height: 98px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 2;
}

/** RTL **/
.rtl .banner-carousel .content-box {
  text-align: right;
}

/** responsive-css **/

@media only screen and (max-width: 1700px){
  .banner-section .owl-nav{
    display: none;
  }
}

@media only screen and (max-width: 1200px){

}

@media only screen and (max-width: 991px){
  .banner-style-three .pattern-layer{
    display: none;
  }
}

@media only screen and (max-width: 767px){

}

@media only screen and (max-width: 599px){

}

@media only screen and (max-width: 499px){

}