.hero-section-block {
  position: relative; /* Needed for absolute positioning */
  background-size: cover;
  background-position: top center;
  padding: 60px 25px;
  color: #fff;
  overflow: hidden; /* Ensures overlay doesn't break layout */
}

.hero-overlay {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 1;
  gap:50px;
}

.hero-content {
  flex: 1;
  max-width: 700px;
}

.hero-overlay-image {
  width:100%;
  height:400px;
  max-width: 500px; /* Adjust as needed */
  z-index: 0;
  pointer-events: none; /* So it doesn't block clicks on content */
  position: relative;
}

.hero-overlay-image img {
  position: absolute;
  width: 200%;
  max-width:800px;
  height: auto;
  bottom:-60px;
  left:0px;
}

.hero-ctas {
  margin-top: 20px;
}

.hero-text-link a {
  display: inline-block;
  position: relative;
  padding-right: 16px; /* space for the arrow */
  font-size: 0.85rem;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  color: inherit;
}
.hero-text-link a:hover{
  transform: translateY(-2px);
  text-decoration-style: solid;
}

.hero-text-link a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  border-radius: 2px;
}

@media screen and (max-width: 1400px) {
  .hero-overlay-image{height:500px}
  .hero-overlay-image img{
    max-width:850px;
    left:-50px;
  }
}

@media screen and (max-width: 1300px) {
  .hero-overlay-image img{
    max-width:850px;
    left:-100px;
  }
}


@media screen and (max-width: 990px) {
  .hero-overlay {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-content {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .hero-overlay-image {
    position: static;
    max-width: 100%;
    margin-top: 20px;
    height:300px;
  }
  
  .hero-overlay-image img{left:50%;transform:translateX(-50%);bottom:0px;max-width:800px}
  
  .hide-on-mobile {
    display: none !important;
  }
}
