.carousel-home-slider {
  overflow: hidden;
}
.carousel-home-slider.container {
  padding: 0;
}
.carousel-home-slider .header-item {
  position: relative;
  width: 100%;
  height: 600px;
  display: table;
  overflow-x: hidden;
}
.carousel-home-slider .slider-background {
  position: absolute;
  width: 100%;
  height: 600px;
  z-index: 0;
  top: 0;
}
.carousel-home-slider .slider-background .bg-cover {
  background-position: 30% 35%;
}
.carousel-home-slider .slider-background .bg-img {
  height: 100%;
  object-fit: cover;
}
.carousel-home-slider .slider-background.bg-cover {
  background-position: 30% 50%;
}
.carousel-home-slider .valign-center {
  display: table-cell;
  vertical-align: middle;
}
.carousel-home-slider .cd-content-animation {
  position: relative;
  z-index: 11;
}
.carousel-home-slider .cd-content-animation .btn-form {
  margin-left: 50px;
}
.carousel-home-slider .section-heading,
.carousel-home-slider .tag-line,
.carousel-home-slider .btn-form {
  display: block;
  transition: opacity 0.8s, -webkit-transform 0.8s;
  transition: opacity 0.8s, transform 0.8s;
  transition: opacity 0.8s, transform 0.8s, -webkit-transform 0.8s;
  -webkit-transform: translate3d(0, 30px, 0);
  -ms-transform: translate3d(0, 30px, 0);
  transform: translate3d(0, 30px, 0);
  opacity: 0;
}
.carousel-home-slider .section-heading {
  font-weight: 700;
  transition-delay: 500ms;
  color: #2a3855;
  font-size: 30px;
  line-height: 40px;
  background-color: rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
}
.carousel-home-slider .tag-line {
  color: #2a3855;
  transition-delay: 700ms;
  font-style: normal;
  font-size: 28px;
  background-color: rgba(255, 255, 255, 0.6);
}
.carousel-home-slider .tag-line p {
  color: #2a3855;
}
.carousel-home-slider .btn-form {
  transition-delay: 900ms;
}
.carousel-home-slider .btn-form a {
  margin: 0;
  border-radius: 0;
}
.carousel-home-slider .btn-form .btn i {
  color: #fdd428;
  margin-left: 10px;
}
.carousel-home-slider .btn-form .btn:hover i {
  color: #161e4d;
}
.carousel-home-slider .btn-form .btn.btn-elixir-yellow i {
  color: #161e4d;
}
.carousel-home-slider .btn-form .btn.btn-elixir-yellow:hover i {
  color: #FFFFFF;
}
.carousel-home-slider .active .section-heading,
.carousel-home-slider .active .tag-line,
.carousel-home-slider .active .btn-form {
  -webkit-transform: translate3d(0px, 0, 0);
  transform: translate3d(0px, 0, 0);
  opacity: 1;
}
.carousel-home-slider .owl-nav {
  font-size: 200px;
}
.carousel-home-slider .owl-nav .owl-prev,
.carousel-home-slider .owl-nav .owl-next {
  left: 10px;
  position: absolute;
  top: 50%;
  margin-top: -50px;
  outline: none;
}
.carousel-home-slider .owl-nav .owl-prev span,
.carousel-home-slider .owl-nav .owl-next span {
  color: rgba(255, 255, 255, 0.6);
  transition: 0.3s;
}
.carousel-home-slider .owl-nav .owl-prev:hover span,
.carousel-home-slider .owl-nav .owl-next:hover span {
  color: rgba(0, 0, 0, 0.5);
}
.carousel-home-slider .owl-nav .owl-next {
  left: auto;
  right: 10px;
}
.carousel-home-slider .owl-dots {
  display: none;
}

@media (max-width: 996px) {
  .carousel-home-slider .header-item {
    height: 400px;
    position: relative;
    overflow: visible;
  }
  .carousel-home-slider .header-item .slider-background {
    position: absolute;
    top: 0;
    left: 0;
    height: 350px;
    width: 100%;
    z-index: 1;
  }
  .carousel-home-slider .header-item .slider-background .bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .carousel-home-slider .header-item .valign-center {
    position: absolute;
    bottom: -9px;
    left: 0;
    width: 100%;
    height: auto;
    padding: 10px 0;
    z-index: 2;
  }
  .carousel-home-slider .header-item .valign-center .container {
    padding: 0;
  }
  .carousel-home-slider .header-item .section-header {
    padding: 0;
    width: 100%;
  }
  .carousel-home-slider .header-item .section-header a {
    width: 100%;
  }
  .carousel-home-slider .header-item .section-heading {
    font-size: 16px;
    line-height: 23px;
    background: #161e4d;
    color: #ffffff;
    padding: 15px;
    opacity: 1;
    transition-delay: 0ms;
    transform: translate(0);
  }
  .carousel-home-slider .header-item .tag-line {
    color: #ffffff;
    font-size: 14px;
    line-height: 22px;
    padding: 0 15px;
    background: transparent;
  }
  .carousel-home-slider .section-separator-big {
    position: relative;
    bottom: auto;
    padding: 0 !important;
    margin: 0;
  }
  .carousel-home-slider .cd-content-animation h1,
  .carousel-home-slider .cd-content-animation h2 {
    margin-left: 0;
    padding: 0;
    float: none;
    clear: none;
    background: transparent;
  }
  .carousel-home-slider .cd-content-animation .btn-form {
    display: none;
  }
  .carousel-home-slider .owl-nav span {
    display: none;
  }
}
@media (max-width: 576px) {
  .carousel-home-slider .header-item {
    height: 270px;
  }
  .carousel-home-slider .header-item .slider-background {
    height: 200px;
  }
  .carousel-home-slider .header-item .valign-center {
    bottom: 10px;
  }
  .carousel-home-slider .header-item .section-heading {
    font-size: 14px;
    line-height: 22px;
  }
  .carousel-home-slider .header-item .tag-line {
    font-size: 12px;
    line-height: 18px;
    padding: 0 12px;
  }
}