:root {
  --primary-font: 'Montserrat', sans-serif;
  --secondary-font: 'Montserrat', serif;
  --text-dark: #0D2F3F;
  --text-light: #f0f8ff;
  --text-muted: #5A8A9E;
  --brand-color: #0097A7;
  --brand-color-darker: #00796B;
  --bg-dark: #00425A;
  --bg-light: #FFFFFF;
  --bg-alt: #E0F7FA;
  --bg-hero-overlay: rgba(0, 30, 40, 0.6);
  --border-color: #B2EBF2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--primary-font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--secondary-font);
  font-weight: 700;
  color: var(--text-dark);
}

h1 { font-size: 3.2em; line-height: 1.2; margin-bottom: 0.5em; }
h2 { font-size: 2.3em; line-height: 1.3; margin-bottom: 0.75em; text-align: center;}
h3 { font-size: 1.4em; line-height: 1.4; margin-bottom: 0.5em; }

p {
  margin-bottom: 1em;
}

a {
  text-decoration: none;
  color: var(--brand-color);
  transition: color 0.3s ease;
}
a:hover {
  color: var(--brand-color-darker);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  font-family: var(--primary-font);
  font-weight: 500;
  font-size: 1em;
  text-align: center;
  border-radius: 25px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-transform: uppercase;
}

.btn-primary {
  background-color: var(--brand-color);
  color: var(--text-light);
  border-color: var(--brand-color);
}
.btn-primary:hover {
  background-color: var(--brand-color-darker);
  border-color: var(--brand-color-darker);
  color: var(--text-light);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}
.btn-outline:hover {
  background-color: var(--text-light);
  color: var(--bg-dark);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--brand-color);
  border: 2px solid var(--brand-color);
}
.btn-outline-dark:hover {
  background-color: var(--brand-color);
  color: var(--text-light);
}

.main-header {
  padding: 20px 0;
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}
.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: inline-block;
  text-decoration: none;
}
.logo img {
  display: block;
  max-height: 100px;
  width: auto;
  border-radius: 0;
}
.main-nav ul {
  list-style: none;
  display: flex;
}
.main-nav li {
  margin-left: 25px;
}
.main-nav a {
  font-family: var(--primary-font);
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95em;
}
.main-nav a.active, /* Added active class style for nav */
.main-nav a:hover {
  color: var(--brand-color);
}

/* Page specific title */
.page-title-section {
  padding: 40px 0 20px;
  background-color: var(--bg-alt); /* Light cyan background for title area */
  text-align: center;
}
.page-title-section h1 {
  font-size: 2.8em;
  color: var(--text-dark);
  margin-bottom: 0;
}

.product-display-section {
  padding: 50px 0 70px; /* Adjusted padding */
  background-color: var(--bg-light); /* White background for product list */
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}
.product-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 90, 120, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; /* Added for consistent card structure */
  flex-direction: column; /* Added */
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 90, 120, 0.12);
}
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.product-card-content {
  padding: 20px;
  flex-grow: 1; /* Added to make content area fill space */
  display: flex; /* Added */
  flex-direction: column; /* Added */
}
.product-card h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
  font-family: var(--secondary-font);
  color: var(--text-dark);
}
.product-card p {
  font-size: 0.9em;
  color: var(--text-muted);
  margin-bottom: 15px;
  line-height: 1.6;
  flex-grow: 1; /* Added to push link to bottom */
}
.product-card .more-link {
  font-weight: 700;
  font-size: 0.9em;
  text-transform: uppercase;
  color: var(--brand-color);
  align-self: flex-start; /* Align link to start of its flex container */
}

/* Pagination Styles (Placeholder) */
.pagination {
  text-align: center;
  margin-top: 50px;
}
.pagination a, .pagination span {
  display: inline-block;
  padding: 8px 15px;
  margin: 0 4px;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.pagination a:hover, .pagination span.current {
  background-color: var(--brand-color);
  color: var(--text-light);
  border-color: var(--brand-color);
}
.pagination span.current {
  cursor: default;
}


.main-footer {
  background-color: var(--bg-dark);
  color: #b3cde0;
  padding: 50px 0 30px;
  text-align: center;
  font-size: 0.95em;
}
.main-footer p {
  margin-bottom: 0.7em;
  line-height: 1.8;
}
.main-footer .contact-info strong {
  color: var(--text-light);
}
.main-footer .logo-footer {
  font-family: var(--secondary-font);
  font-size: 1.5em;
  color: var(--text-light);
  margin-bottom: 15px;
  display: block;
}

@media (max-width: 992px) {
  .product-grid {
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
  .logo { font-size: 1.4em;}
}

@media (max-width: 768px) {
  h1 { font-size: 2.5em; }
  .page-title-section h1 { font-size: 2.2em; }
  h2 { font-size: 1.8em; }

  .main-header .container {position: relative;}

  .product-grid {
      grid-template-columns: 1fr;
  }
  .container { width: 95%; }
}