body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  background-color: #fefbe9;
}
.hero-text {
  flex: 1;
  max-width: 500px;
}
.hero-text h1 {
  font-size: 2.5rem;
  color: #114b35;
}
.hero-text p {
  margin: 1rem 0;
  font-size: 1.1rem;
}
.btn {
  background-color: #f5b301;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}
.hero-img img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
}
.benefits {
  padding: 2rem;
  text-align: center;
}
.benefit-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}
.benefit {
  flex: 1 1 250px;
}
.products {
  padding: 2rem;
  text-align: center;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  justify-items: center;
}
.product {
  width: calc(50% - 20px); /* Two items per row with spacing */
  text-align: center;
}
.product img {
  max-width: 100%;
  height: auto;
  width: 200px;      /* Set max display width */
  object-fit: contain;
  margin: 0 auto;
  display: block;
}
.why {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  background: #fff4e6;
}
.why-text {
  flex: 1;
  max-width: 500px;
}
.why-img img {
  width: 100%;
  max-width: 350px;
}
footer {
  background: #114b35;
  color: white;
  text-align: center;
  padding: 1rem;
}
@media (max-width: 768px) {
  .hero-img img {
    max-height: 300px;
    object-fit: contain;
  }
  .product img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }
@media (min-width: 768px) {
  .product {
    width: calc(33.33% - 20px); /* Three per row on tablet/desktop */
  }
  /* Scrollable wrapper for mobile */
.product-scroll {
  overflow-x: auto;
  padding-bottom: 10px;
}

/* Mobile: horizontal scroll */
@media (max-width: 768px) {
  .product-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    min-width: max-content;
  }

  .product {
    flex: 0 0 auto;
    width: 220px;
  }
}

/* Desktop: normal grid layout */
@media (min-width: 769px) {
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    justify-items: center;
  }
}