.nls-hero {
  background-size: cover;
  position: relative; 
  overflow: hidden;
  background-position: center;
}
.nls-hero .nls-block-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nls-hero .nls-block-wrapper {
  position: relative;
  z-index: 1; 
}
.nls-hero .nls-desc {
  margin: 30px 0;
  font-size: 26px;
  
  line-height: 40px;
}
.wp-block-custom-hero-block .nls-block-item {
  padding-top: 20px;
}
.nls-hero .nls-title {
  font-size: 52px;
  
  margin: 0px;
  line-height: 70px;
}
.nls-hero img { 
  width: auto; 
  }
.nls-hero .nls-block-item.img-blob {
  padding: 32px;
  max-width: 550px;
}

.nls-hero .hero-bg-video {
  position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0; 
    transform: translate(-50%, -50%);
    object-fit: cover; 
}
.nls-hero.primary .nls-primary-button {
  background-color: var(--primary-color);
  color: var(--default-color)!important;
  display: inline-block;
    margin-top: 20px;
    padding: 8px 60px;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 35px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
     transition: all 0.3s ease;
}
.nls-hero .nls-hero-cta-wrapper a {
  margin: 0 20px 0 0;
}
.nls-hero .nls-block-wrapper {
  padding: 0cqmax 0;
}
.nls-hero video.hero-bg-video {
  width: 100%;
}

.about-hero .nls-block-container {
  padding: 200px 0;
}
.about-hero .nls-block-item {
  max-width: 550px;
}
.wp-block-custom-hero-block .nls-block-wrapper {
  max-width: 1220px;
}
@media (max-width: 980px) {

  .nls-hero .nls-block-wrapper {
    padding: 0px 0;
  }
  .nls-hero .nls-block-container {
    flex-direction: column;
    gap: 0;
  }
  .nls-hero .nls-block-item {
    order: 2;
  }
  .nls-hero .img-blob {
    order: 1;
  }
  .about-hero {
    background: var(--secondary-color) !important;
}
.nls-hero .nls-block-item.img-blob {
  padding: 0px;
}
  .about-hero .nls-block-container {
    padding: 20px 0;
}
.nls-hero img { 
  width: 100%; 
  }
}
@media (min-width: 980px) and (max-width: 1200px) {

  .nls-hero .nls-hero-cta-wrapper a {
    margin: 0px 10px 0 0;
  }
  .nls-primary-button{
    padding: 17px 15px;
  }
  .nls-secondary-button {
    padding: 15px 13px;
  }
}

/* wave-animation.css */

.wave-animation-wrapper {
    position: relative;
    width: 100%;
    height: auto;
}

/* If you have specific styling for <canvas> or the .wave-animation-wrapper */
.wave-animation-wrapper canvas {
    display: block;
    background: #0078D4; /* or any color you like */
    width: 100%;
    height: auto;
}


/* Make the hero container full viewport height */
.wp-block-custom-hero-block.nls-hero {
  position: relative;
  
  overflow: hidden; /* so absolutely positioned elements won't create scrollbars */
}

/* The main content in your hero can be spaced however you like:
   For example, a flex layout to center text vertically, etc. */
.wp-block-custom-hero-block .nls-block-wrapper {
  /* Example: center content vertically. Adjust to your layout. */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* The wave container is placed absolutely at the bottom, 
   occupying only the portion of height you set (e.g., 200px). */
.wp-block-custom-hero-block .wave-animation-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30vh; /* or 20vh, or any fixed px value you prefer */
}

/* Force the canvas to fill that wave container exactly, 
   rather than the entire screen. */
.wp-block-custom-hero-block .wave-animation-wrapper canvas {
  width: 100%;
  height: 100%;
  display: block;
   background: #0083d5; 
}



@media (max-width: 600px) {
  .nls-hero .nls-title {
    font-size: 32px;
}
  .nls-hero .nls-hero-cta-wrapper a {
    margin: 10px 0px 0 0;
}
.wp-block-custom-hero-block .nls-block-item {
  padding-top: 0px;
}
}


@media (min-width: 1600px) and (max-width: 2000px) {
  .wave-animation-wrapper {
    bottom: -25% !important;
  }
}

@media (min-width: 2001px) {
  .wave-animation-wrapper {
    bottom: -50% !important;
  }
}

@media (max-width: 1599px) and (min-width: 1366px) {
  .wave-animation-wrapper {
    bottom: -15% !important;
  }
}


.hero-space-margin .nls-block-wrapper {
  display: block !important;

}

.hero-space-margin {
  padding-bottom: 100px;
}

.our-approach-hero .nls-title {
  max-width: 980px !IMPORTANT;
}


/* .our-approach-hero .wave-animation-wrapper {
  bottom: 25px !important;
} */



.our-approach-hero {
  padding-bottom: 30px;
}


.page-id-9521 .nls-desc p {
    font-size: 26px;
    line-height: 40px;
    font-weight: 400;
    margin-bottom: 50px;
}

.page-id-9521 .nls-block-wrapper {
    max-width: 1130px;
    margin: 0 auto;
    margin-bottom: 125px !important;
}

.page-id-9521 .custom-last-block .content-container {
    max-width: 1130px;
}

.page-id-6626 .wp-block-custom-hero-block .nls-block-wrapper, .page-id-9545 .wp-block-custom-hero-block .nls-block-wrapper {
  max-width: 1200px;
}