.hero {
  position: relative;
  background-color: #fff;
  border-radius: 40px;
  padding: 50px 40px;
  height: 660px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-title {
  font-size: 64px;
  color: #1b1b1b;
  font-weight: 700;
  width: 55%;
  z-index: 2;
}

.hero-desc {
  width: 40%;
  z-index: 2;
  padding: 20px 0;
}
.hero-btn {
  width: 290px;
  padding: 20px 0;
  z-index: 2;
}

.hero-img {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
  height: 600px;
  border-radius: 40px;
}

@media screen and (max-width: 1440px) {
  .hero {
    height: 580px;
  }
  .hero-img {
    height: 500px;
  }
  .hero-title {
    width: 65%;
  }
}

@media screen and (max-width: 1200px) {
  .hero-title {
    width: 80%;
    font-size: 54px;
  }
  .hero-img {
    height: 400px;
  }
  .hero-desc {
    width: 35%;
  }
}

@media screen and (max-width: 960px) {
  .hero {
    height: 780px;
    justify-content: flex-start;
  }
  .hero-title {
    width: 100%;
    font-size: 50px;
  }
  .hero-img {
    height: 400px;
    width: 100%;
  }
  .hero-desc {
    width: 70%;
  }
  .hero-btn {
    width: 240px;
  }
}

@media screen and (max-width: 640px) {
  .hero {
    padding: 30px;
  }
  .hero-title {
    font-size: 40px;
    width: 100%;
  }
  .hero-img {
    object-fit: cover;
  }
}

@media screen and (max-width: 480px) {
  .hero {
    height: 670px;
    padding: 20px;
  }
  .hero-title {
    font-size: 38px;
  }
  .hero-desc {
    width: 100%;
    padding: 10px 0;
  }
  .hero-img {
    height: 300px;
  }
}

@media screen and (max-width: 360px) {
  .hero-title {
    font-size: 36px;
  }
}
