/* ================== GENERAL STYLING ================== */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f6f9;
    color: #333;
    margin: 0;
    padding: 0;
}

/* =========================================================
   PRODUCTS SECTION - Styled same as Services
========================================================= */

.products-section {
  padding: 90px 8%;
  background: #f8f9fc;
  text-align: center;
}

.products-section h2 {
  font-size: 3.2rem;       /* same as service h2 */
  font-weight: 800;
  margin-bottom: 55px;
  color: #1f2937;
  letter-spacing: 0.6px;
}

/* Product Grid Layout */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

/* Individual Product Card */

.product {
  background: #fff;
  padding: 35px 25px;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  transition: all 0.45s ease;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

/* Hover Gradient Overlay */

.product::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #28a745, #6fe7a7);
  opacity: 0;
  transition: 0.45s ease;
  z-index: 0;
}

.product:hover::before {
  opacity: 0.08;
}


.product img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
/* Product Title */

.product h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #1f2937;
  position: relative;
  z-index: 1;
}

/* Product Price */

.product .price {
  font-size: 1rem;
  font-weight: 700;
  color: #450667;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

/* Add to Cart Button */

.product button {
  background: #013426;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.95rem;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.product button:hover {
  background: #1e7e34;
  transform: translateY(-2px) scale(1.02);
}

/* Card Hover Lift */

.product:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* =========================================================
   RESPONSIVE DESIGN
========================================================= */

@media (max-width: 1024px) {
  .products-section {
    padding: 70px 6%;
  }
}

@media (max-width: 768px) {
  .products-section h2 {
    font-size: 2.8rem;
  }

  .product {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .products-section h2 {
    font-size: 2.3rem;
  }

  .product h3 {
    font-size: 1.2rem;
  }

  .product .price {
    font-size: 0.95rem;
  }

  .product button {
    font-size: 0.9rem;
    padding: 8px 14px;
  }
}
