#hero-section {
  position: relative;
  width: 100%;
  height: auto;
}

#hero-section .container {
  position: relative;
}

#hero-section .hero-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
}

#hero-section .hero-box {
  width: 400px;
  max-width: 100%;
  height: 400px;
  padding: 30px;
  background: linear-gradient(to bottom, #36aff5, #054063);
  position: absolute;
  bottom: 0;
  left: 0;
  color: #fff;
  transform: translateY(100px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#hero-section h1 {
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  line-height: 1em;
  font-size: 4.5em;
  color: #fff;
  max-width: 400px;
  text-shadow: 5px 5px 10px rgb(0 0 0 / 50%);
}

#hero-section .btn {
  margin: 0;
  width: 100%;
}

@media (max-width: 1200px) {
  #hero-section .hero-box {
    transform: unset;
  }
}

@media (max-width: 992px) {
  #hero-section .hero-img {
    height: 450px;
  }
  #hero-section .hero-box {
    background: rgba(0, 160, 224, 0.9);
    height: auto;
    width: 100%;
    text-align: center;
    padding: 15px;
  }
  #hero-section h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    max-width: unset;
  }
  #hero-section .container {
    padding: 0;
    margin: 0;
    max-width: unset !important;
  }
  #hero-section .btn {
    max-width: 250px;
    margin: 0 auto;
    height: 50px;
    line-height: 40px;
  }
}

@media (max-width: 576px) {
  #hero-section h1 {
    font-size: 2em;
  }
}
