.carousel-item{
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.carousel-item img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    user-select: none;
  }

.carousel-caption{
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  text-align: center;
  background: #fff;
  max-width: 530px;
  padding: 1.6rem;
  border-radius: 5px;
  bottom: initial;
  box-shadow: rgb(0 0 0) 0px 20px 30px -10px;
}

.carousel-caption h5 {
  color: rgb(42 42 42);
  font-size: 25px;
  font-weight: bold;
}

.carousel-caption p {
  color: rgb(0 0 0);
  font-size: 16px;
  margin: 0;
}

.carousel-indicators [data-bs-target] {
  width: 0;
  height: 0px;
  border: 8px solid #1f4456;
  background-clip: border-box;
  border-radius: 100%;
}

.slider{
	position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    width: 100%;
    height: 800px;
}

@media (max-width: 767px){
	.slider{
		height: 600px;
	}
	.carousel-caption {
      max-width: 70%;
      text-align: left;
	}
	.carousel-caption h5 {
		font-size: 20px;
	}
	.carousel-caption p {
	  font-size: 14px;
    }
	.carousel-control-prev-icon {
      display: none;
    }
	.carousel-control-next-icon {
      display:none;
	}
}
@media (min-width: 768px) and (max-width: 1024px){
	.slider{
		height: 270px;
	}
	.carousel-caption {
      max-width: 400px;
	  text-align: left;
	}
	.carousel-caption h5 {
		font-size: 20px;
	}
	.carousel-caption p {
	  font-size: 14px;
    }
	.carousel-control-prev-icon {
      display: none;
    }
	.carousel-control-next-icon {
      display:none;
	}
}