/* Hero Section */
.hero {
  background: linear-gradient(rgba(76, 175, 80, 0.9), rgba(76, 175, 80, 0.7)), url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background-color: #fff;
  color: #4caf50;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.cta-button i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.cta-button:hover i {
  transform: translateX(5px);
}

/* Featured Products */
.featured-products {
  margin: 60px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    height: 200px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image.placeholder::after {
    content: 'Product Image';
    color: #4caf50;
    font-weight: 500;
}

.product-card h4 {
  padding: 20px 20px 10px;   /* Top padding added */
  font-size: 1.2rem;
  color: #333;
  margin: 0;
  border-top: 1px solid #eee; /* Optional: thin separator line */
}

.product-card p {
    padding: 0 20px;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.product-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

/* View All Button (Aligned to the right) */
.view-all-button-wrapper {
  text-align: center;
  margin-top: 10px;
  padding-right: 20px;
}

.view-all-button {
  background-color: #28a745;
  color: white;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.view-all-button:hover {
  background-color: #218838;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .view-all-button-wrapper {
    text-align: center;
    padding-right: 0;
    margin-top: 20px;
  }
}

