.banner-text-img-box {
  position: relative; 
  width: 100%;
  overflow: hidden;
}
.banner-box-img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-box-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.banner-box-text h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.banner-box-text p {
  font-size: 18px;
  max-width: 800px;
}