/* ===============================
   Global Styles for About/Home
   Consistent with Contact Page
   =============================== */

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
  color: #333;
}

/* Header */
header {
  background-color: #ffffff;
  padding: 1.5em 0;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2.2em;
  color: #004d40;
}

/* Navigation */
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;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #00bfa5, #00796b);
  color: #fff;
  text-align: center;
  padding: 4em 2em;
}

.hero h2 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
}

.hero p {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 1.5em;
}

.button {
  background-color: #ffffff;
  color: #00796b;
  border: none;
  padding: 0.75em 2em;
  font-size: 1em;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
  background-color: #e0f7fa;
  transform: scale(1.05);
}

/* Product Categories Section */
.product-categories {
  background-color: #ffffff;
  padding: 4em 2em;
  text-align: center;
}

.product-categories h2 {
  font-size: 2em;
  color: #004d40;
  margin-bottom: 2em;
}

.category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
}

.category-item {
  background-color: #ffffff;
  padding: 2em 1.5em;
  width: 260px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.category-item img {
  width: 64px;
  height: 64px;
  margin-bottom: 1em;
}

.category-item h3 {
  font-size: 1.2em;
  color: #00796b;
  margin-bottom: 0.5em;
}

.category-item p {
  font-size: 0.95em;
  color: #555;
}

/* ===============================
   About Section - Improved Design
   =============================== */

.company-intro {
  background-color: #ffffff;
  padding: 4em 2em;
  text-align: center;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  margin-top: 2em;
}

.company-intro h2 {
  font-size: 2.5em;
  color: #004d40;
  margin-bottom: 1em;
  font-weight: 600;
  line-height: 1.4;
}

.company-intro p {
  font-size: 1.1em;
  color: #555;
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.8;
  padding: 0 1.5em;
}

.company-intro a.button {
  background-color: #00bfa5;
  color: white;
  padding: 0.75em 2em;
  font-size: 1.1em;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 1.5em;
  display: inline-block;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.company-intro a.button:hover {
  background-color: #008e76;
  transform: scale(1.05);
}

/* ===============================
   Contact Quick Section - Improved Design
   =============================== */

.contact-quick {
  background-color: #ffffff;
  padding: 4em 2em;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  margin-top: 2em;
}

.contact-quick h2 {
  font-size: 2.5em;
  color: #004d40;
  margin-bottom: 1em;
  font-weight: 600;
  line-height: 1.4;
}

.contact-quick p {
  font-size: 1.1em;
  color: #555;
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.8;
  padding: 0 1.5em;
}

.contact-quick a.button {
  background-color: #00bfa5;
  color: white;
  padding: 0.75em 2em;
  font-size: 1.1em;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 1.5em;
  display: inline-block;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-quick a.button:hover {
  background-color: #008e76;
  transform: scale(1.05);
}

/* Adjustments for Mobile Devices */
@media (max-width: 768px) {
  .contact-quick {
    padding: 3em 1.5em;
  }

  .contact-quick h2 {
    font-size: 2em;
  }

  .contact-quick p {
    font-size: 1em;
    padding: 0;
  }

  .contact-quick a.button {
    font-size: 1em;
    padding: 0.75em 1.5em;
  }
}
