.smallHeroBlock {
  position: relative;
  width: 100%;
  height: 75vh;
  /* Full height of viewport */
  min-height: 500px;
  max-height: 845px;
  overflow: hidden;
  /* Ensure nothing overflows */
}

/* Background Div */
.small-hero-background {
  position: absolute;
  /* Only need absolute here, remove the redundant 'relative' */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  /* Ensure the background covers the entire block */
  background-position: center top;
  /* Center the background image */
  background-repeat: no-repeat;
  z-index: 1;
  /* Keep it behind the header */
}

.smallHeroBlock_Block {
  height: 100%;
  position: relative;
  /* Ensure the content stays in front */
  width: 95%;
  max-width: 1280px;
  margin: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.smallHeroBlock_Column {
  position: relative;
  display: flex;
  justify-content: left;
  align-items: end;
  min-width: 40%;
}

.smallHeroBlock_Column_h1::before {
  content: "";
  position: absolute;
  background-color: #fdfdfdb3;
  left: -1000%;
  z-index: 3;
  right: 100%;
  bottom: 0;
  backdrop-filter: blur(10px);
  height: 193px;
}
.smallHeroBlock_Column_h1{
  width: 100%;
}

.smallHeroBlock_Column h1 {
  margin: 0;
  position: relative;
  text-align: left ;
  color: var(--Protekta-black);
  font-family: "inter";
  font-size: 64px;
  font-style: normal;
  font-weight: 600;
  line-height: 77px;
  /* 120.313% */
  z-index: 5;
  background-color: #fdfdfdb3;
  padding: 58px;
  padding-left: 0px;
  border-top-right-radius: 8px;
  width: 100%;
  backdrop-filter: blur(10px);
}

.smallHeroBlock_Column h1.header_length {
  max-width: 1280px;
}

.scrollText {
  position: absolute;
  bottom: 15px;
  right: 0;
  display: inline-flex;
  align-items: center;
  z-index: 5;
}

.scrollText a {
  color: var(--Vit);
  font-family: "Inter";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.scrollText a svg {
  margin-left: 10px;
}

.smallHero_form {
  position: relative;
  left: -10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--Protekta-bgDark);
  border-radius: 20px;
  padding: 35px 30px 0px 30px !important;
  margin: auto 0;
  z-index: 3;
  color: var(--Vit);
  border: solid 3px var(--Vit);
  max-height: 465px;
}

.smallHero_form>.wpcf7 {
  max-width: 350px;
  min-width: 245px;
}

.smallHero_form h3 {
  color: var(--Vit);
  font-family: "Inter";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 28.8px;
  /* 120% */
  letter-spacing: -0.36px;
  margin: 0;
}

.smallHeroBlock_form {
  min-height: 900px;

}

.smallHeroBlock_form p {
  margin: 0;
  padding: 0;
}

.smallHeroBlock_form .wpcf7-not-valid-tip {
  position: relative;
  left: 20px;
}

.smallHero_form input.wpcf7-submit {
  background-color: var(--Protekta-gray);
}

@media (max-width: 1300px) {
  .smallHeroBlock {
    height: 500px;
  }

  .smallHeroBlock_form {
    height: 650px;
  }

  .smallHero_form {
    left: 0;
  }

  .smallHeroBlock_Column {
    max-width: fit-content;
  }

  .smallHeroBlock_Column h1 {
    font-family: "Inter";
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: 36px;
    padding: 63px 30px;
    min-width: 100%;
    text-align: center;
  }

  
.smallHeroBlock_Column_h1::before {
  height: 162px;
}
}

@media (max-width: 768px) {
  .smallHeroBlock_Column {
    min-width: 70%;
  }

  .smallHeroBlock_Column h1 {
    font-family: "Inter";
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 77px;
    padding: 10px;
    padding-left: 15px;
  }

  .smallHeroBlock_form {
    height: 620px;
  }

  .smallHeroBlock_Block {
    justify-content: flex-start;
    flex-direction: column-reverse;
    width: 100%;
  }

  .smallHero_form {
    align-self: center;
    margin: 10px;
  }
  .smallHeroBlock_Column_h1::before {
    height: 97px;
  }

}