/* style/about.css */

/* Base styles for the about page content */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for default light body background */
  background-color: #f8f9fa; /* Light background for sections, ensuring contrast */
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #007bff; /* Primary brand color background */
  color: #ffffff; /* White text for dark background */
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.2; /* Subtle background image */
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-about__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.8;
}

.page-about__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General button styles */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
}

.page-about__btn-primary {
  background-color: #ffc107; /* Auxiliary brand color */
  color: #333333; /* Dark text for light button */
  border: 2px solid #ffc107;
}

.page-about__btn-primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  color: #ffffff;
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-about__btn-secondary:hover {
  background-color: #ffffff;
  color: #007bff;
}

/* Container for content sections */
.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section titles */
.page-about__section-title {
  font-size: 2.5em;
  color: #007bff; /* Primary brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #ffc107; /* Auxiliary brand color underline */
  border-radius: 2px;
}

/* Text blocks */
.page-about__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

/* Introduction Section */
.page-about__introduction-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-about__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-about__feature-item {
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.page-about__feature-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-about__feature-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-about__feature-description {
  font-size: 1em;
  color: #555555;
}

/* Products and Services Section */
.page-about__products-services-section {
  padding: 80px 0;
  background-color: #007bff; /* Primary brand color background */
  color: #ffffff;
}

.page-about__products-services-section .page-about__section-title {
  color: #ffffff;
}

.page-about__products-services-section .page-about__section-title::after {
  background-color: #ffc107;
}

.page-about__products-services-section .page-about__text-block {
  color: #f0f0f0;
}

.page-about__product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__product-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-about__product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.page-about__product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-about__product-title {
  font-size: 1.4em;
  color: #007bff;
  margin: 20px 15px 10px;
}

.page-about__product-title a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about__product-title a:hover {
  color: #ffc107;
}

.page-about__product-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px 20px;
  flex-grow: 1; /* Make description take available space */
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.page-about__advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__advantage-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.page-about__advantage-image {
  width: 100%;
  height: 180px; /* Adjusted height for advantage cards */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-about__advantage-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-about__advantage-title a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about__advantage-title a:hover {
  color: #ffc107;
}

.page-about__advantage-description {
  font-size: 1em;
  color: #555555;
}

/* Commitment Section */
.page-about__commitment-section {
  padding: 80px 0;
  background-color: #e9ecef; /* Light gray background */
}

.page-about__commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-about__commitment-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-about__commitment-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-about__commitment-description {
  font-size: 1.1em;
  color: #555555;
}

/* Join Us CTA Section */
.page-about__join-us-section {
  padding: 80px 0;
  background-color: #007bff; /* Primary brand color background */
  color: #ffffff;
  text-align: center;
}

.page-about__join-us-section .page-about__section-title {
  color: #ffffff;
}

.page-about__join-us-section .page-about__section-title::after {
  background-color: #ffc107;
}

.page-about__join-us-section .page-about__text-block {
  color: #f0f0f0;
}

.page-about__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-about__cta-section .page-about__btn-primary {
  background-color: #ffc107;
  color: #333333;
  border-color: #ffc107;
}

.page-about__cta-section .page-about__btn-primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  color: #ffffff;
}

.page-about__cta-section .page-about__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-about__cta-section .page-about__btn-secondary:hover {
  background-color: #ffffff;
  color: #007bff;
}

.page-about__contact-info {
  margin-top: 30px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-about__contact-info a {
  color: #ffc107;
  text-decoration: underline;
}

.page-about__contact-info a:hover {
  color: #ffffff;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-about__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
}