.ms-hero-sec {
    position: relative;
    min-height: 100vh;
    width: 100%;
    border-bottom: 20px solid #171833;
}
.ms-hero-sec::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #000;
    opacity: 0.4;
    z-index: 2;
}
.ms-hero-sec .hero-bg-image {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}

.ms-hero-sec .carousel {
    position: relative;
    z-index: 4;
}
 .ms-hero-sec .item {
    padding-top: 160px;
 }

.ms-hero-sec .item .caption-holder h1  {
  font-size: 32px;
  font-weight: 700 !important;
  margin-top: 0;
}
.ms-hero-sec .item .caption-holder p  {
  font-size: 16px;
}

/* .ms-hero-sec .item a.btn-primary {
  width: fit-content;
  padding-left: 22px;
  padding-right: 22px;
} */

.ms-hero-sec .item .caption-holder .landing-btn a.btn {
  width: fit-content;
  padding-left: 2rem;
  padding-right: 2rem;
  border: 2px solid #fff;
  box-shadow: 0px 0px 15px 0px #00000040;
  transition: all ease-in-out 0.8s;
}
.ms-hero-sec .item .caption-holder .landing-btn a.btn:hover {
  border: 2px solid #161835;
  transition: all ease-in-out 0.8s;
}

@media only screen and (min-width: 768px) {
  .ms-hero-sec .item .caption-holder h1  {
    font-size: 52px;
  }
  .ms-hero-sec .item .caption-holder p  {
    font-size: 18px;
  }

}
@media only screen and (min-width: 992px) {
  .ms-hero-sec .item .caption-holder h1  {
    font-size: 65px; /* originally 72px */
  }
  .ms-hero-sec .item .caption-holder p  {
    font-size: 20px;
  }
}

@media only screen and (min-width: 1200px) {
   .ms-hero-sec .item {
    padding-top: 220px;
 }
}


/* .ms-hero-sec .item, .ms-hero-sec .carousel-inner {
    height: 100%;
}
.ms-hero-sec .caption-holder {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
} */

/* .ms-hero-sec .item a.btn-primary {
  transform: scale(0);
}





.ms-hero-sec .item.active a.btn-primary {
  animation: animateFull 1.4s ease forwards;
  animation-delay: .9s;

}
@keyframes animateFull {
  to{
    transform: scale(1);
    opacity: 1;
  }

} */

.hero-content-block {
    margin-block: 2rem;
}

@media (min-width: 991px) {
    .hero-content-block {
        margin-block: 5rem 8rem;
    }
}