/* ===============================
   General Styles for Products Page
   =============================== */

/* Body and General Layout */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f0f0f0;
  color: #333;
  margin: 0;
  padding: 0;
}

/* Header Styles */
header {
  background-color: #e0f7fa; /* Light cyan background */
  padding: 1.5em 0;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

header .logo a {
  font-size: 1.5em;
  color: #004d40;
  text-decoration: none;
  font-weight: bold;
}

/* ===============================
   Navigation Styles (Consistent)
   =============================== */

nav ul {
  list-style: none;
  padding: 0;
  margin: 1em 0 0 0;
  display: flex;
  justify-content: center;
  gap: 1.5em;
}

nav ul li a {
  text-decoration: none;
  color: #004d40;
  padding: 0.5em 1em;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  background-color: #00bfa5;
  color: #fff;
}

/* ===============================
   Page Header Section
   =============================== */

.page-header {
  background: linear-gradient(135deg, #00bfa5, #00796b);
  color: #fff;
  text-align: center;
  padding: 4em 2em;
}

/* ===============================
   Products Overview Section
   =============================== */

.products-overview {
  background-color: #ffffff;
  padding: 4em 2em;
  text-align: center;
  max-width: 1200px;
  margin: 2em auto;
}

.products-overview p {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 2em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-category {
  background-color: #f9f9f9;
  padding: 1.5em;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.product-category h3 {
  font-size: 1.8em;
  color: #004d40;
  margin-bottom: 1em;
  text-align: center;
}

.product-category p {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 1.5em;
}

.product-category .read-more {
  background-color: #00bfa5;
  color: white;
  padding: 0.75em 2em;
  border-radius: 8px;
  font-size: 1.1em;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.product-category .read-more:hover {
  background-color: #008e76;
  transform: scale(1.05);
}

/* ===============================
   Footer Section
   =============================== */

footer {
  background-color: #222;
  color: #ccc;
  padding: 1.5em 0;
  text-align: center;
  font-size: 0.9em;
}

footer .social-links {
  list-style: none;
  padding: 0;
  margin: 1em 0 0 0;
  display: flex;
  justify-content: center;
  gap: 1.5em;
}

footer .social-links li a {
  color: #ccc;
  font-size: 1.5em;
  transition: color 0.3s ease;
}

footer .social-links li a:hover {
  color: #fff;
}

/* ===============================
   Mobile Responsiveness
   =============================== */

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}