
/* Product Sections */
.product {
  max-width: 75rem; /* 1200px */
  margin: 1rem auto;
  padding: 0.5rem;
  font-family: var(--font-main);
}

.product-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.product-content.left,
.product-content.right {
  flex-direction: row;
}

.product-text {
  flex: 1;
  min-width: 250px;
}

.product-text h2 {
  font-size: 2rem;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.product-text p {
  font-size: 1rem;
  color: var(--text-dark);
}

.product-image {
  flex: 1;
  min-width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  row-gap: 2rem;
}


/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .product-content {
    flex-direction: column !important;
    text-align: center;
  }

  /* Ensure left and right layouts also go vertical on mobile */
  .product-content.left {
    flex-direction: column !important;
  }

  .product-content.right {
    flex-direction: column-reverse !important;
  }

  /* Maintain full width for image and text */
  .product-text,
  .product-image {
    width: 100%;
  }
}

  .banner-overlay h1 {
    font-size: 2.2rem;
  }

  .product-text h2 {
    font-size: 1.6rem;
  }

