.hero-module {
  padding: 320px 0;
  position: relative;
  text-align: center;
  color: #fff;
}

.hero-module-content img {
  max-width: 100%;
}

.hero-module-content {
  width: 90%;
  margin: 0 auto;
}

.hero-module-video-button {
  font-size: 32px;
  background-color: unset;
  margin: 40px auto 0 auto;
  font-weight: 800;
  max-width: 100%;
}

.hero-module-video-button::before {
  content: '';
  margin-right: 0.5em;
  background-image: url('https://www.buddyhealthcare.com/hubfs/page-content/2020/play_icon.svg');
  background-size: 100%;
  background-repeat: no-repeat;
  display: inline-block;
  width: 1.62em;
  height: 1.62em;
  transform: translateY(0.45em);
}

.hero-module::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  background-repeat: no-repeat;
  background-size: 100% 64px;
  background-position: bottom;
  width: 100%;
  height: 100%;
  display: block;
  background-image: url('https://www.buddyhealthcare.com/hubfs/assets/graphical-elements/bhc_header_wave_white.png');
  z-index: 2;
}

.hero__cta-and-video-button {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  margin-top: 0.4em;
}

.hero-module .hero__cta-and-video-button .hero-module-video-button {
  margin: 0;
  display: inline-block;
  font-size: 1em;
  background-color: #1be5b5;
  padding: 0.3em 1em 1em 1em;
  border-radius: 0px 16px;
  transition: 0.2s;
  text-transform: none;
}

.hero-module .hero__cta-and-video-button .hero-module-video-button::hover {
  background: rgb(29,251,199);
  color: rgb(255,255,255);
}

.hero-module .hero__cta-and-video-button .hs-cta-wrapper span a {
  padding-top: 0.3em !important;
  padding-bottom: 0.2em !important;
}

.hero-module .hs-cta-wrapper span a {
  padding-top: 0.2em;
  padding-bottom: 0.1em;
}

.hero-module .hs-cta-wrapper {
  display: inline-block;
}

.hero-module > * {
  z-index: 2;
  position: relative;
}

.hero-module h1 {
  font-size: 36px;
  max-width: 990px;
  color: #fff;
  margin: 10px auto 0 auto;
  margin-bottom: 0.3em;
}

.hero-module h2, .hero-module p {
  font-size: 20px;
  color: #fff;
  max-width: 720px;
  margin: 0 auto;
}

.hero-module .hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  object-position: 50% top;
}

.hero-module::after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,#1be5b5 -0.03%,#2f99d6 100%);
  z-index: -1;
  opacity: 0.7;
}

@media only screen and (max-width: 600px) {
  .hero-module-video-button {
    font-size: 22px;
  }
  
  .hero-module h1 {
    font-size: 24px!important;
  }
  
  .hero-module p {
    font-size: 22px!important;
  }
}



{# Text Shadow #}
.hero-module-text-shadow {
  text-shadow: 0 0 10px #555;
}

{# Text Shadow Box #}
.hero-module-text-shadow-box {
  background-color: rgba(0,0,0,0.4);
  width: max-content;
  padding: 2em 3em;
  max-width: 50em;
  border-radius: 9px;
}
  

{# Video Popup #}

.video-popup {
  display: none;
  position: fixed;
  max-height: 90vh;
  max-width: 90vw;
  margin: 0 auto;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  height: 100%;
  opacity: 0;
  transition: opacity 0.2s;
}

.video-popup iframe {
  position:absolute;top:0;left:0;width:100%;height:100%;
}

.video-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #000;
  z-index: 99;
  margin: 0;
}

.video-popup-enabled {
  overflow: hidden;
}

.video-popup-enabled .video-popup {
  display: block;
  opacity: 1;
  transition: opacity 0.2s;
}

.video-popup > div {
  padding: 0!important;
  width: 100%;
  height: 100%;
}

.video-popup-enabled .video-popup-dark-background {
  display: block;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.video-popup-dark-background {
  background-color: #000;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  opacity: 0;
  display: none;
  transition: opacity 0.2s;
}


{# Background Video option #}

.hero-background-video {
  z-index: -1;
}

.hero-module-with-background-video.hero-module {
  padding: 0;
}

.hero-module-with-background-video .hero-module-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}