/* HOME PAGE */
.greenlife-section {
  padding: 60px 20px;
  background: #f4f8f2;
  display: flex;
  justify-content: center;
}

.greenlife-container {
  max-width: 1200px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* LEFT BOX */
.left-box {
  flex: 1;
  min-width: 280px;
  overflow: hidden; /* important for animation clipping */
}

.left-box img {
  width: 100%;
  border-radius: 18px;
}

/* RIGHT BOX */
.right-box {
  flex: 1;
  min-width: 300px;
}

.right-box h2 {
  font-size: 32px;
  font-weight: 700;
  color: #3a5f3a;
  margin-bottom: 15px;
}

.right-box p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

/* Small image on the right (text-light.webp) */
.hero-two-slide-text-img {
  width: 180px;  
  float: right;
  margin-bottom: 20px;
}

/* IMAGE ENTRY ANIMATION */
.animated-img {
  width: 100%;
  border-radius: 22px;
  transform: translateX(-120vw);
  opacity: 0;
  animation: enterFromLeft 1.8s ease-out forwards;
}

@keyframes enterFromLeft {
  0% {
    transform: translateX(-120vw);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .greenlife-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-two-slide-text-img {
    float: none;
    margin-left: auto;
    margin-right: auto;
  }

  .right-box h2 {
    font-size: 26px;
  }
}
