/*
 *  Bootstrap Carousel Effect Ken Burns
 * ===========================================================================*/
@keyframes kenburns {
  0% {
    transform: scale(1);
    transition: transform 20000ms linear 0s;
  }

  100% {
    transform: scale(1.4);
    transition: transform 20000ms linear 0s;
  }
}

.slider__section {
  position: relative;
}

/* Carousel Wrapper */
.kb-carousel {
  overflow: hidden;
  /* max-height: 650px; */
}

/* Carousel Items */
.kb-carousel .carousel-item {
  transition: transform .6s ease-in-out 0s, opacity ease-in-out .6s;
  border-radius: 8px;
}

.kb-carousel .carousel-item.active {
  transition: transform .6s ease-in-out 0s, opacity ease-in-out .6s;
}

.kb-carousel>.carousel-inner>.carousel-item>img,
.kb-carousel>.carousel-inner>.carousel-item>a>img {
  border-radius: 8px;
  /* opacity: 0.8; */
  animation: kenburns 20000ms linear 0s infinite alternate;
}

.kb-carousel .carousel-item-next.carousel-item-start .carousel-caption,
.kb-carousel .carousel-item-prev.carousel-item-end .carousel-caption {
  z-index: 0;
  opacity: 0;
}

/* Carousel Captions */
.kb-caption {
  right: 0 !important;
  left: 0 !important;
  bottom: 25%;
  padding: 0;
}

.kb-caption-left {
  margin-right: auto;
}

.kb-caption-right {
  margin-left: auto;
}

.kb-caption-center {
  margin: auto;
}

.kb-caption h5,
.kb-caption h3 {
  padding: 0.5rem 0;
  margin-bottom: 0;
  animation-delay: 1.5s;
  animation-duration: 6s;
  animation-iteration-count: infinite;
  text-shadow: 1px 2px 10px #00000061;
  text-align: center;
}

.kb-caption h5 {
  animation-delay: 1s;
  /* background: #fff; */
  color: #FFB627;
  display: block;
  font-size: 20px;
  /* padding: 10px 20px; */

}

.kb-caption h3 {
  /* background: rgba(0 0 0 / 0.5); */
  color: #fff;
  display: block;
  font-size: 48px;
  animation-delay: 1.5s;
  /* padding: 10px 20px; */
}

@media (min-width: 768px) {
  .kb-caption {
    bottom: 37%;
    /* width: 40%; */
  }
}

@media (min-width: 1200px) {
  .kb-caption {
    bottom: 50%;
  }
}

/* Controls */
.kb-control-prev,
.kb-control-next {
  width: 3rem;
  height: 3rem;
  margin: auto 0;
  opacity: 0;
  color: #fff;
  background: rgba(132 71 205 / 0.5);
  border-radius: 3px;
}

.kb-carousel:hover .kb-control-prev,
.kb-carousel:hover .kb-control-next {
  opacity: 1;
}

.kb-control-prev {
  left: 1%;
}

.kb-control-next {
  right: 1%;
}

.kb-control-prev:hover,
.kb-control-prev:focus,
.kb-control-next:hover,
.kb-control-next:focus {
  color: #fff;
  background: rgba(132 71 205 / 1);
}

/* Support for dark mode */
[data-bs-theme="dark"] .carousel .carousel-control-next-icon,
[data-bs-theme="dark"] .carousel .carousel-control-prev-icon {
  filter: none;
}

.search__wrapper {
  position: absolute;
  left: 0;
  bottom: 20%;
  width: 100%;
  z-index: 9;
}

.h-search-form {
  position: relative;
}

.h-search-form input {
  /* max-width: 700px; */
  padding: 0 30px 0 50px;
  border-radius: 4px;
  border: none;
  font-weight: 500;
  font-size: 16px;
  text-transform: capitalize;
  position: relative;
  color: #333;
  height: 60px;
  width: 100%;
}

.s_icon {
  position: absolute;
  left: 15px;
  top: 16px;
  content: '';
  font-size: 24px;
  color: #CD2C22;
  z-index: 1;
}

.h-search-form button {
  position: absolute;
  right: 0;
  height: 60px;
  color: #fff;
  background: #000000;
  border-radius: 2px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  width: 100px;
  top: 0;
}

.h-search-form button:hover {
  background: #000000;
}

.h-search-form input:focus {
  border: none;
  outline: noee;
}