.hero {
  position: relative;
  height: 80vh;
  width: 100%;
  display: flex;
  box-sizing: border-box;
  background-color: #fff;
  padding-top: 120px;
  padding-bottom: 20px;
}
.hero:before {
  z-index: 5;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%; /* Adjust the width of the overlay */
  height: 100%;
  background: linear-gradient(to right, rgb(255, 255, 255) 120px, rgba(255, 255, 255, 0) 120px), radial-gradient(ellipse farthest-corner at 120px center, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 20%, rgba(255, 255, 255, 0) 55%); /* Radial gradient to create an oval fade effect */
  background-position: left center; /* Center the gradient on the left */
  background-size: 100% 350%; /* Extend the gradient beyond the height */
  pointer-events: none; /* Ensures the overlay doesn't block clicks */
}
.hero:after {
  z-index: 5;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 20%; /* Adjust the width of the overlay */
  height: 100%;
  background: linear-gradient(104.19deg, rgba(255, 208, 1, 0) 51.91%, #FFD001 183.42%);
  pointer-events: none; /* Ensures the overlay doesn't block clicks */
}
.hero.hero-large {
  height: 722px;
}
@media (min-width: 1920px) {
  .hero .hero-large {
    height: 800px;
  }
}
.hero.hero-medium {
  height: 550px;
}
.hero.hero-small {
  height: 400px;
}
.hero .hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-position: calc(50% + 120px) 30%; /* Adjust this value */
  background-size: cover;
}
.hero.smaller-heading .hero-content h1 {
  font-size: 3.75rem;
}
@media (max-width: 575.98px) {
  .hero.smaller-heading .hero-content h1 {
    font-size: 2.5rem;
  }
}
.hero .hero-content {
  position: relative;
  width: 85%;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  z-index: 10;
}
.hero .hero-content h1 {
  font-size: 88px;
}
.hero .hero-content p {
  font-family: "MagistralWebBook", serif;
  font-weight: 600;
  font-size: 32px;
}
.hero .hero-content .buttons-container .btn:first-of-type {
  margin-left: 0;
}
@media (max-width: 767.98px) {
  .hero {
    position: relative;
    height: 70vh;
    width: 100%;
    display: flex;
    padding-top: 120px;
    padding-bottom: 20px;
    box-sizing: border-box;
  }
  .hero:before {
    z-index: 5;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Adjust the width of the overlay */
    height: 100%;
    background: linear-gradient(to top right, white 0%, white 15%, transparent 70%);
    background-position: left bottom; /* Center the gradient on the left */
    background-size: 100% 100%; /* Extend the gradient beyond the height */
    pointer-events: none; /* Ensures the overlay doesn't block clicks */
  }
  .hero:after {
    z-index: 5;
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%; /* Adjust the width of the overlay */
    height: 100%;
    background: linear-gradient(104.19deg, rgba(255, 208, 1, 0) 40.91%, #FFD001 157.42%);
    pointer-events: none; /* Ensures the overlay doesn't block clicks */
  }
  .hero.hero-large {
    height: 60vh;
  }
  .hero.hero-medium {
    height: 50vh;
  }
  .hero.hero-small {
    height: 40vh;
  }
  .hero .hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background-position: 50% 50%; /* Adjust this value */
    background-size: cover;
  }
  .hero .hero-content {
    position: relative;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    justify-content: center;
    z-index: 10;
    padding-left: 10px;
  }
  .hero .hero-content h1 {
    font-size: 72px;
  }
  .hero .hero-content p {
    font-family: "MagistralWebBook", serif;
    font-weight: 600;
    font-size: 24px;
  }
  .hero .hero-content .buttons-container .btn:first-of-type {
    margin-left: 0;
  }
}
@media (max-width: 575.98px) {
  .hero {
    position: relative;
    height: 70vh;
    width: 100%;
    display: flex;
    box-sizing: border-box;
    padding-top: 85px;
    padding-bottom: 20px;
  }
  .hero:before {
    z-index: 5;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Adjust the width of the overlay */
    height: 100%;
    background: linear-gradient(to top right, white 0%, white 15%, transparent 70%);
    background-position: left bottom; /* Center the gradient on the left */
    background-size: 100% 100%; /* Extend the gradient beyond the height */
    pointer-events: none; /* Ensures the overlay doesn't block clicks */
  }
  .hero:after {
    z-index: 5;
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%; /* Adjust the width of the overlay */
    height: 100%;
    background: linear-gradient(104.19deg, rgba(255, 208, 1, 0) 40.91%, #FFD001 157.42%);
    pointer-events: none; /* Ensures the overlay doesn't block clicks */
  }
  .hero.hero-large {
    height: 60vh;
  }
  .hero.hero-medium {
    height: 50vh;
  }
  .hero.hero-small {
    height: 40vh;
  }
  .hero .hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background-position: 50% 50%; /* Adjust this value */
    background-size: cover;
  }
  .hero .hero-content {
    position: relative;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    justify-content: center;
    z-index: 10;
    padding-left: 0px;
  }
  .hero .hero-content h1 {
    font-size: 72px;
  }
  .hero .hero-content p {
    font-family: "MagistralWebBook", serif;
    font-weight: 600;
    font-size: 24px;
  }
  .hero .hero-content .buttons-container .btn:first-of-type {
    margin-left: 0;
  }
}