.hero-banner {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  text-align: left;
  padding: 100px 0px;
  color: black;
  min-height: 100vh;

  background-image: linear-gradient(
      to right,
      #6cafff 0%,
      /* strong blue start */ #6cafff 25%,
      /* solid till 25% */ rgba(108, 175, 255, 0.9) 35%,
      /* start fade */ rgba(240, 244, 250, 0.8) 50%,
      /* soft middle */ rgba(255, 255, 255, 0.3) 65%,
      /* near transparent */ rgba(255, 255, 255, 0) 80% /* fully transparent */
    ),
    url("../assets/index/index-hero-img.png");

  background-size: cover;
  background-position: 100% center;
  background-repeat: no-repeat;
}

.hero-content {
  max-width: 50%;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.hero-content h1 {
  font-size: clamp(1.5rem, 4vw, 3.5rem);
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 130%;
  color: black;
}

.hero-content p {
  font-size: clamp(0.875rem, 2.5vw, 1.5rem);
  font-weight: 500;
  line-height: 150%;
  margin-bottom: 20px;
  color: black;
}

.hero-content .hero-subtext {
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 150%;
  font-style: normal;
}

/* Hero button */
.hero-btn {
  margin-top: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 16px;
  border-radius: 40px;
  background-color: #5e8cc6;
  color: white;
  font-size: clamp(0.75rem, 2.5vw, 1.5rem);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.hero-btn:hover {
  background-color: #3590ff;
}

.hero-btn img {
  width: 50px;
  height: 50px;
  margin-left: 25px;
}

/* ============================ */
/* RESPONSIVE DESIGN */
/* ============================ */

/* ≤1199.98px (large screens) */
@media (max-width: 1199.98px) {
  .hero-banner {
    background-position: 60% center;
    padding: 90px 0px;
  }

  .hero-banner .hero-btn {
    padding: 18px 22px;
  }

  .hero-btn img {
    width: 44px;
    height: 44px;
  }
}

/* ≤991.98px (medium tablets) */
@media (max-width: 991.98px) {
  .hero-banner {
    background-image: linear-gradient(
        to right,
        #6cafff 0%,
        #6cafff 22%,
        rgba(108, 175, 255, 0.85) 35%,
        rgba(240, 244, 250, 0.75) 55%,
        rgba(255, 255, 255, 0) 75%
      ),
      url("../assets/index/index-hero-img.png");
    padding: 80px 0px;
  }

  .hero-content {
    max-width: 60%;
  }

  .hero-banner .hero-btn {
    padding: 14px 20px;
  }

  .hero-btn img {
    width: 40px;
    height: 40px;
  }
}

/* ≤767.98px (large mobiles) */
@media (max-width: 767.98px) {
  .hero-banner {
    padding: 60px 0px;
    background: linear-gradient(
        to right,
        #6cafff 0%,
        #6cafff 25%,
        rgba(108, 175, 255, 0.85) 40%,
        rgba(240, 244, 250, 0.7) 55%,
        rgba(255, 255, 255, 0) 75%
      ),
      url("../assets/index/index-hero-img.png");
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-banner .hero-btn {
    padding: 12px 18px;
  }

  .hero-btn img {
    width: 36px;
    height: 36px;
  }
}

/* ≤575.98px (small mobiles) */
@media (max-width: 575.98px) {
  .hero-banner {
    padding: 50px 22px;
    background-position: 40% center;
  }

  .hero-banner .hero-btn {
    padding: 10px 16px;
  }

  .hero-btn img {
    width: 32px;
    height: 32px;
  }
}
