/* about.css - Adjusted for Wider 2-Column Layout */

/* Ensure stylesv2.css is loaded before this file */

/* Section Styling */
main section {
  margin-bottom: 3rem;
  background: rgba(255, 255, 255, 0.92);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Section Headings */
main section h3 {
  font-size: 2.25rem;
  color: #004a70;
  text-align: center;
  margin-bottom: 1.75rem;
  font-weight: 700;
}

/* Paragraph Text */
main section p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #333;
  max-width: 1000px;
  margin: 1rem auto;
  text-align: center;
}

/* 2-Column Layout for Services & Promise Lists */
.services-list,
.promise-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(350px, 1fr));
  gap: 3rem;
  margin: 0;
  padding: 0;
  justify-items: stretch;
}

/* Card-style Items */
.services-list li,
.promise-list li {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 2.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.services-list li:hover,
.promise-list li:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Icon/Emoji Styling */
.services-list li::before,
.promise-list li::before {
  content: attr(data-icon);
  font-size: 2.25rem;
  margin-bottom: 1rem;
  display: block;
}

/* Highlighted Titles */
.services-list li strong,
.promise-list li strong {
  display: block;
  margin-bottom: 0.75rem;
  color: #004a70;
  font-size: 1.25rem;
}

/* Body of Items */
.services-list li,
.promise-list li {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Link Styling within Services */
.services-list li a {
  color: #d9a441;
  text-decoration: underline;
  transition: color 0.2s ease;
}
.services-list li a:hover {
  color: #b58a36;
}

/* Responsive: Single Column on Mobile */
@media (max-width: 768px) {
  main section {
    padding: 2rem;
  }
  .services-list,
  .promise-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .services-list li,
  .promise-list li {
    padding: 1.5rem;
  }
}

/* Ensure mobile nav works under 1000px */
@media (max-width: 1000px) {
  .nav-menu nav {
    display: block !important;
  }
}