.heroBlock {
  position: relative;
  width: 100%;
  height: 100dvh;
  max-height: 900px;
  overflow: hidden;
  transition: all 0.3s ease;
}

@import url("https://use.typekit.net/wae4dpd.css");

.heroBlock_Block {
  background-size: cover; /* Ensure the background covers the entire block */
  background-position: center top; /* Center the background image */
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  margin: auto;
  position: relative; /* Ensure the content stays in front */
  transition: all 0.3s ease;
}

.heroBlock_Column {
  position: relative;
  width: 90%;
  height: 100%;
  margin: auto;
  max-width: 1280px;
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.heroBlock_Column h1 {
  position: relative;
  text-align: center;
  width: fit-content;
  margin: auto;
  color: var(--Gul, #f4b743);
  font-family: "Asap", sans-serif;
  font-size: 52.16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}

.heroBigText {
  color: var(--Gul, #f4b743);
  font-family: "Montserrat", sans-serif;
  font-size: 219.789px;
  font-style: normal;
  font-weight: 900;
  line-height: 160px;
  margin-right: 20px;
}

.heroSmallText {
  color: var(--Vit, #fff);
  font-family: "Asap", sans-serif;
  font-size: 41px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.41px;
}

.heroPopUp {
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 15px 15px 0px 0px;
  background: rgba(0, 118, 104, 0.8);
  padding: 50px 60px;
}

.heroPopUp p {
  color: var(--Vit, #fff);
  font-family: "Asap", sans-serif;
  font-size: 26px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  max-width: 500px;
  margin: 0;
}

a.hero_button {
  display: inline-flex;
  padding: 13.5px;
  width: 100%;
  justify-content: center;
  align-items: center;
  border-radius: 3px;
  color: #fff;
  font-family: "Asap", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  border: none;
  margin-top: 30px;
  cursor: pointer;
  background: var(--Gul, #f4b743);
  text-decoration: none;
  transition: all 0.3s ease;
  gap: 15px;
}

a.hero_button:hover {
  background: #eb5a37;
}

a.hero_button svg {
}

/* Tablet Styles */
@media (max-width: 1024px) {
  .heroBlock {
    height: 80vh;
    max-height: 700px;
  }

  .heroBlock_Column {
    width: 90%;
    align-items: center;
    text-align: center;
  }

  .heroBlock_Column h1 {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 20px;
  }

  .heroBigText {
    font-size: 160px;
    line-height: 120px;
    margin-right: 15px;
    display: block;
    margin-bottom: 10px;
  }

  .heroSmallText {
    font-size: 32px;
    display: block;
    margin-top: 10px;
  }

  .heroPopUp {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 40px;
    border-radius: 15px;
    padding: 40px 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .heroPopUp p {
    font-size: 20px;
    line-height: 1.4;
    max-width: none;
  }

  a.hero_button {
    padding: 12px 20px;
    font-size: 16px;
    margin-top: 25px;
    max-width: 300px;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .heroBlock {
    height: 60vh;
    max-height: none;
    min-height: 600px;
  }

  .heroBlock_Block {
    background-position: center center;
  }

  .heroBlock_Column {
    width: 95%;
    padding: 20px 0;
    align-items: center;
    text-align: center;
    height: 100%;
  }

  .heroBlock_Column h1 {
    font-size: 28px;
    line-height: 1.2;
    margin: 0;
    flex-shrink: 0;
  }

  .heroBigText {
    font-size: 80px;
    line-height: 70px;
    margin-right: 0;
    display: block;
    margin-bottom: 5px;
  }

  .heroSmallText {
    font-size: 22px;
    display: block;
    margin-top: 5px;
  }

  .heroPopUp {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 30px;
    border-radius: 15px;
    padding: 30px 25px;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    flex-shrink: 0;
  }

  .heroPopUp p {
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 20px 0;
  }

  a.hero_button {
    padding: 14px 20px;
    font-size: 16px;
    margin-top: 20px;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }

  a.hero_button svg {
    width: 24px;
    height: 24px;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .heroBlock {
    height: 60vh;
    min-height: 500px;
  }

  .heroBlock_Column {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
  }

  .heroBlock_Column h1 {
    font-size: 24px;
    line-height: 1.2;
  }

  .heroBigText {
    font-size: 60px;
    line-height: 55px;
    margin-bottom: 5px;
  }

  .heroSmallText {
    font-size: 18px;
    margin-top: 5px;
  }

  .heroPopUp {
    padding: 25px 20px;
    margin-top: 25px;
    border-radius: 12px;
  }

  .heroPopUp p {
    font-size: 16px;
    line-height: 1.4;
    margin: 0 0 15px 0;
  }

  a.hero_button {
    padding: 12px 18px;
    font-size: 14px;
    margin-top: 15px;
    gap: 10px;
  }

  a.hero_button svg {
    width: 20px;
    height: 20px;
  }
}

/* Extra Small Mobile Styles */
@media (max-width: 360px) {
  .heroBlock {
    min-height: 450px;
  }

  .heroBlock_Column {
    padding: 10px;
  }

  .heroBlock_Column h1 {
    font-size: 20px;
  }

  .heroBigText {
    font-size: 45px;
    line-height: 40px;
  }

  .heroSmallText {
    font-size: 16px;
  }

  .heroPopUp {
    padding: 20px 15px;
    margin-top: 20px;
    border-radius: 10px;
  }

  .heroPopUp p {
    font-size: 14px;
    line-height: 1.3;
    margin: 0 0 12px 0;
  }

  a.hero_button {
    padding: 10px 15px;
    font-size: 13px;
    margin-top: 12px;
    gap: 8px;
  }

  a.hero_button svg {
    width: 18px;
    height: 18px;
  }
}
