body.no-scroll {
  overflow: hidden;
}
.hero-banner .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 2; /* keeps it behind content on live page */
}

.hero-banner {
  display: flex;
  align-items: center;        /* Center vertically */
  justify-content: center;   /* Center horizontally */
  flex-direction: column;    /* Column layout */
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 600px;          /* Or whatever value fits your design */
  z-index: 0;
  padding: 0;
}

.hero-banner.top{
  justify-content: flex-start;
}

.hero-banner.center{
  justify-content: center;
}

.hero-banner.bottom{
  justify-content: flex-end;
}

.hero-banner .caption {
  position: relative;
  z-index: 2; /* Must be higher than the overlay’s z-index */
  text-align: center;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

.hero-banner .pp-wrapper {
  display: none;
}

.hero-banner .pp-wrapper.active {
  display: block;
}

.hero-banner .close svg {
  width: 100%;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
}

/* .hero-banner .caption #hs_cos_wrapper_widget_1648026985871_ .publish-h1 {} */
.hero-banner .caption h1{
  font-size: 38px;
  color: #fff;
}

.hero-banner .banner-buttons{
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 35px;
}

.hero-banner .banner-buttons.left{
  justify-content: flex-start;
}

.hero-banner .banner-buttons.right{
  justify-content: flex-end;
}

.hero-banner .banner-buttons.center{
  justify-content: center;
}

.hero-banner .banner-buttons a{
  transition: 0.3s;
  font-size: 18px;
}

.hero-banner .banner-buttons a.solid{
  color: #FFFFFF;
  text-align: center;
  text-decoration: none;
  border: 1px solid #3c4cad;
  padding: 8px;
  width: 190px;
  border-radius: 20px;
  background: #3c4cad;
}
.hero-banner .banner-buttons a.solid:hover{
  border-color: #84f3ff;
  color: #2d4057;
  background: #84f3ff;
}
.hero-banner .banner-buttons a.outline{
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  border: 1px solid #84f3ff;
  padding: 8px;
  width: 190px;
  border-radius: 20px;
}
.hero-banner .banner-buttons a.outline:hover{

  color: #2d4057;
  text-decoration: none;
  border: 1px solid #84f3ff;
  padding: 8px;
  width: 190px;
  border-radius: 20px;
  background: #84f3ff;
  
  }
  
.hero-banner video{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  width: 100%;
}
.hero-banner::before{
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  position: absolute;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.hero-banner .icon-bottom{
  display: block;
  width: 40px;
  height: 40px;
  border: 2px solid #fff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 1;
  bottom: 50px;
  left: 50%;
  transform: translate(-50%, 0);
  cursor: pointer;
  transition: 0.3s;
}
.hero-banner .icon-bottom:hover{
  opacity: 0.5;
}
.hero-banner .icon-bottom svg{
  fill: #ffffff;
  height: 20px;
  display: block;
}

@media(max-width: 1200px){
  .hero-banner video{
    width: unset;
  }
}
@media(max-width: 767px){
  .hero-banner .banner-buttons{
    flex-direction: column;
    gap: 0;
    align-items: center !important;
  }
  .hero-banner .banner-buttons a{
    margin-bottom: 20px;
  }
  .hero-banner .caption{
    padding: 100px 30px;
  }
  .hero-banner .caption h1{
    font-size: 55px !important;
  }
  
  .hero-banner .banner-buttons a.solid {
    margin: auto;
  }
  .hero-banner{
    padding-bottom: 20px;
  }
}

@media (max-width: 600px) {
   .hero-banner .caption h1{
    font-size: 41px !important;
    line-height: 1.2 !important;
  }
  
  .text-button h2 {
    line-height: 1.1 !important;
  }
}

#hs-content-id-50022943168 .hero-banner .caption {
  padding: 100px 100px !important;
}
@media (max-width: 767px) {
    .hero-banner {
        min-height: 400px; /* shorter on mobile */
    }