/* ================= HERO ================= */
.hero-wrap {
  padding: 20px 0px;
}

.hero-main {
  background:
    linear-gradient(rgba(234, 247, 239, 0.95), rgba(234, 247, 239, 0.95)),
    url("https://nest-frontend-v6.vercel.app/assets/imgs/banner/banner-bg.png");
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
  position: relative;
 
}

.hero-content h1 {
  font-size: 44px;
  line-height: 1.25;
  margin-bottom: 16px;
  color: #253d4e;
}

.hero-content p {
  font-size: 16px;
  color: #7e7e7e;
  margin-bottom: 30px;
}

.hero-content span {
  color: #3bb77e;
}

/* SUBSCRIBE */
.subscribe-box {
  background: #fff;
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 50px;
  max-width: 420px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.subscribe-box i {
  font-size: 20px;
  margin: 0 12px;
  color: #7e7e7e;
}

.subscribe-box input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 14px;
}

.subscribe-box button {
  background: #3bb77e;
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 40px;
  font-size: 14px;
  cursor: pointer;
}

/* IMAGE */
.hero-image {
  position: relative;
  text-align: right;
}

.delivery {
  width: 80%;
  z-index: 2;
  position: relative;
}

/* FLOATING VEGETABLES */
.float {
  position: absolute;
  animation: float 4s ease-in-out infinite;
}

.veg1 {
  top: 10%;
  left: 10%;
  width: 70px;
}

.veg2 {
  top: 20%;
  right: 20%;
  width: 60px;
}

.veg3 {
  bottom: 15%;
  left: 20%;
  width: 80px;
}

.veg4 {
  bottom: 25%;
  right: 35%;
  width: 50px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* FEATURES */
.hero-features {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature {
  background: #f4f6f8;
  padding: 18px;
  border-radius: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.feature i {
  font-size: 30px;
  color: #3bb77e;
}

.feature h4 {
  font-size: 16px;
}

.feature p {
  font-size: 13px;
  color: #7e7e7e;
}

/* MOBILE */
/* ================= HERO RESPONSIVE FIX ================= */

/* Tablets */
@media (max-width: 992px) {
  .hero-main {
    grid-template-columns: 1fr;
    padding: 40px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 36px;
    line-height: 1.3;
  }

  .hero-image {
    margin-top: 30px;
    text-align: center;
  }

  .delivery {
    width: 65%;
  }

  .subscribe-box {
    margin: 0 auto;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .hero-wrap {
    padding: 15px 0px;
  }

  .hero-main {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .hero-content h1 {
    font-size: 28px;
    line-height: 1.35;
  }

  .hero-content p {
    font-size: 14px;
    margin-bottom: 22px;
  }

  /* STACK INPUT + BUTTON */
  .subscribe-box {
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
  }

  .subscribe-box i {
    display: none;
  }

  .subscribe-box input {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
  }

  .subscribe-box button {
    width: 100%;
    padding: 12px;
    border-radius: 14px;
    font-size: 15px;
  }

  /* IMAGE ADJUST */
  .hero-image {
    margin-top: 25px;
  }

  .delivery {
    width: 80%;
  }

  /* HIDE FLOATING ITEMS ON MOBILE */
  .float {
    display: none;
  }

  /* FEATURES STACK */
  .hero-features {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
  .banner {
    margin: 15px;
    padding: 25px;
  }

  .wrapper {
    padding: 15px;
  }
}