.page-about {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  color: #333333; /* Dark text for default light body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #f8f9fa;
  overflow: hidden;
  min-height: 500px; /* Ensure hero section has a minimum height */
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability, not changing color */
  display: block;
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #ffffff; /* White text over dark background image */
  padding: 20px;
  border-radius: 8px;
}

.page-about__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFC107; /* Auxiliary color for highlight */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-about__hero-button {
  display: inline-block;
  background-color: #007BFF; /* Primary color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  min-width: 200px; /* Ensure button is not too small */
  text-align: center;
}

.page-about__hero-button:hover {
  background-color: #0056b3; /* Darker shade of primary color */
}

.page-about__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-about__section-padding {
  padding: 80px 0;
}

.page-about__section-title {
  font-size: 2.5em;
  color: #007BFF; /* Primary color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-about__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFC107; /* Auxiliary color */
  margin: 15px auto 0;
}

.page-about__section-title--light {
  color: #ffffff;
}

.page-about__section-title--light::after {
  background-color: #ffffff;
}

.page-about__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-about__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

.page-about__bg-primary {
  background-color: #007BFF;
  color: #ffffff;
}

.page-about__bg-secondary {
  background-color: #f0f0f0;
}

.page-about__grid-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .page-about__grid-two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.page-about__card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__card--light {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-about__card-title {
  font-size: 1.8em;
  color: #007BFF; /* Primary color */
  margin-bottom: 15px;
}

.page-about__card--light .page-about__card-title {
  color: #FFC107; /* Auxiliary color */
}

.page-about__card-text {
  font-size: 1em;
  text-align: justify;
}

.page-about__values {
  margin-top: 60px;
  text-align: center;
}

.page-about__values-heading {
  font-size: 2em;
  color: #007BFF; /* Primary color */
  margin-bottom: 20px;
}

.page-about__values-heading--light {
  color: #FFC107; /* Auxiliary color */
}

.page-about__values-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-about__values-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 25px;
  border-radius: 25px;
  font-size: 1.1em;
  color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

.page-about__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
}

.page-about__feature-title {
  font-size: 1.6em;
  color: #007BFF; /* Primary color */
  margin-bottom: 10px;
}

.page-about__feature-description {
  font-size: 0.95em;
  color: #555555;
  text-align: justify;
}

.page-about__cta-section {
  text-align: center;
}

.page-about__cta-content {
  padding: 50px 20px;
  background-color: #007BFF; /* Primary color */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-about__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFC107; /* Auxiliary color */
}

.page-about__cta-title--light {
  color: #FFC107;
}

.page-about__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #ffffff;
}

.page-about__cta-description--light {
  color: #ffffff;
}

.page-about__cta-button {
  display: inline-block;
  background-color: #FFC107; /* Auxiliary color */
  color: #007BFF; /* Primary color for text */
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 10px;
  min-width: 200px; /* Ensure button is not too small */
  text-align: center;
}

.page-about__cta-button:hover {
  background-color: #e0a800; /* Darker shade of auxiliary color */
  color: #0056b3; /* Darker shade of primary color */
}

.page-about__cta-button--secondary {
  background-color: #ffffff;
  color: #007BFF; /* Primary color */
}

.page-about__cta-button--secondary:hover {
  background-color: #f0f0f0;
  color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 40px 15px;
    min-height: 400px;
  }

  .page-about__hero-title {
    font-size: 2.2em;
  }

  .page-about__hero-description {
    font-size: 1em;
  }

  .page-about__section-padding {
    padding: 50px 0;
  }

  .page-about__section-title {
    font-size: 2em;
  }

  .page-about__text-content {
    font-size: 1em;
  }

  .page-about__values-item {
    font-size: 1em;
    padding: 10px 15px;
  }

  .page-about__cta-title {
    font-size: 2em;
  }

  .page-about__cta-description {
    font-size: 1em;
  }

  .page-about__cta-button {
    width: 100%;
    margin: 10px 0;
  }

  /* Mobile content area image overflow prevention */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  .page-about__hero-image {
    filter: brightness(0.4); /* Further darken for better contrast on small screens */
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__hero-section, .page-about__section-padding {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }

  .page-about__hero-description {
    font-size: 0.9em;
  }

  .page-about__section-title {
    font-size: 1.8em;
  }

  .page-about__cta-title {
    font-size: 1.8em;
  }
}

/* Ensure all content area images are at least 200px wide/high */
.page-about__hero-image, .page-about__image-full-width {
    min-width: 200px;
    min-height: 200px;
}

/* CSS for image elements within .page-about to prevent small sizes */
.page-about img:not(.shared-header img, .shared-footer img) {
  min-width: 200px;
  min-height: 200px;
}

/* Ensure no content area causes horizontal scroll on mobile */
@media (max-width: 768px) {
  .page-about {
    overflow-x: hidden;
  }
  .page-about__hero-section, .page-about__section-padding {
    padding-left: 0;
    padding-right: 0;
  }
}