.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: 15px 0;
  font-size: 22px !important;
 
  line-height: 40px;
  font-weight: 500;
}
.wp-block-custom-hero-block .nls-block-item {
  padding-top: 0px;
}
.nls-hero .nls-title {
  font-size: 38px;
  margin: 0px;
  line-height: 50px;
}
.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: 10px;
    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;
}
@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;
  padding-bottom: 5px;
  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: block;
  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: 768px) {
  .wave-animation-wrapper-mobile {
    display: block !important;
  }
  .wave-animation-wrapper {
    display: none !important;
  }
  .nls-hero .nls-desc{
    font-size: 17px;
    line-height: 22px;
  }
}
@media (max-width: 600px) {
  .nls-hero .nls-title {
    font-size: 32px;
    line-height: 40px;
}
  .nls-hero .nls-hero-cta-wrapper a {
    margin: 10px 0px 0 0;
}
.wp-block-custom-hero-block .nls-block-item {
  padding-top: 0px;
}
}
@media (max-width: 768px) and (min-width: 620px) {
  .page-id-6662 .wave-animation-wrapper-mobile {
    bottom: -5% !important;
  }
  .wave-animation-wrapper-mobile {
    bottom: -25% !important;
  }

  .our-approach-hero .wave-animation-wrapper-mobile {
    bottom: 0% !important;
  }
}

@media (max-width: 619px) and (min-width: 500px) {
  .page-id-6662 .wave-animation-wrapper-mobile {
    bottom: -5% !important;
  }
  .nls-hero .nls-title {
    font-size: 32px !important;
    margin: 0px;
    line-height: 40px !important;
  }
  .wave-animation-wrapper-mobile {
    bottom: -13% !important;
  }
  .our-approach-hero .wave-animation-wrapper-mobile {
    bottom: 0% !important;
  }

  .page-id-6662 .our-team-hero .nls-block-wrapper {
    margin-bottom: 100px !important;
  }
}

@media (max-width: 499px) and (min-width: 440px) {
  .page-id-6662 .wave-animation-wrapper-mobile {
    bottom: -5% !important;
  }
  .wave-animation-wrapper-mobile {
    bottom: -18% !important;
  }
 
   .our-approach-hero .wave-animation-wrapper-mobile {
    bottom: 0% !important;
  }

  .page-id-6662 .our-team-hero .nls-block-wrapper {
    margin-bottom: 100px !important;
  }
}


@media (max-width: 439px) and (min-width: 381px) {
  .page-id-6662 .wave-animation-wrapper-mobile {
    bottom: -5% !important;
  }
  
  .wave-animation-wrapper-mobile {
    bottom: -18% !important;
  }

    .our-approach-hero .wave-animation-wrapper-mobile {
    bottom: 0% !important;
  }

  .page-id-6662 .our-team-hero .nls-block-wrapper {
    margin-bottom: 50px !important;
  }
}

@media (max-width: 380px) {
  .page-id-6662 .wave-animation-wrapper-mobile {
    bottom: -10% !important;
  }
  .wave-animation-wrapper-mobile {
    bottom: -10% !important;
  }

    .our-approach-hero .wave-animation-wrapper-mobile {
    bottom: 0% !important;
  }

}

@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;

}

.our-approach-hero .nls-title {
  max-width: 100% !important;
}


/* .our-approach-hero .wave-animation-wrapper {
  bottom: 25px !important;
} */
.our-approach-hero .nls-block-wrapper {
  max-width: 1220px;
}


.page-id-131 .accordion-section {
  padding-top: 40px;
}
.page-id-131 .accordion-header {
  margin-bottom: 25px;
}
.our-approach-hero {
  padding-bottom: 0px;
}
@media (max-width: 768px) {
  .wave-animation-wrapper-mobile object{
    height: 280px !important;
  }

}

@media (max-width: 1366px) and (min-width: 1000px) {
  .page-id-6662 .wave-animation-wrapper {
    bottom: 40% !important;
  }
}


.wave-animation-wrapper {
  position: relative !important;
  bottom: 35% !important;
}

/* @media (min-width: 768px) and (max-width: 1179px) {
  .page-id-131 .wave-animation-wrapper {
    bottom: 30% !important;
  }
} */

/* @media (min-width: 1180px) and (max-width: 1365px) {
  .page-id-131 .wave-animation-wrapper {
    bottom: 40% !important;
  }
} */

/* @media (max-width: 1580px) and (min-width: 1366px) {
  .page-id-131 .wave-animation-wrapper {
    bottom: 50% !important;
  }
} */

/* @media (max-width: 1730px) and (min-width: 1581px) {
  .page-id-131 .wave-animation-wrapper {
    bottom: 60% !important;
  }
} */

/* @media (min-width: 1731px) {
  .page-id-131 .wave-animation-wrapper {
    bottom: 70% !important;
  }
} */
