.carousel-caption {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: #fff;
    text-shadow: 2px 2px rgba(0, 0, 0, 0.4);
  }



 