.wrapper-hero {
  width: 100%;
  padding: 30px;
  overflow: hidden;
  position: relative;
}

.hero {
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  height: 40vh;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-2 {
  position: relative;
  width: 100%;color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  border-radius: 20px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Dark Transparent Overlay */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Content stays above overlay */
.hero .content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero .content-2 {
  position: absolute;   /* take it out of normal flow */
  bottom: 20px;         /* distance from bottom */
  left: 50%;            /* move to center horizontally */
  transform: translateX(-50%); /* adjust back to true center */
  z-index: 2;width: 100%;
  color: #000000e7;
  line-height: 0.75;  /* tighten line spacing */
  text-align: center;   /* keep text centered */
}
