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

.page-about__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Darken image for text readability */
}

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

.page-about__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: bold;
}

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

.page-about__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #003366; /* Dark blue text */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-about__cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-about__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-about__section-title {
  font-size: 2.5em;
  color: #003366; /* Dark blue for titles */
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.page-about__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Gold underline */
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-about__story-grid,
.page-about__tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__story-image,
.page-about__tech-image,
.page-about__responsible-image,
.page-about__community-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.page-about__story-text p,
.page-about__responsible-text p,
.page-about__tech-text p,
.page-about__community-text p,
.page-about__mission-statement {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #555555;
}

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

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

.page-about__value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-about__value-icon {
  width: 150px; /* Enlarge icon size */
  height: auto;
  margin-bottom: 20px;
  max-width: 100%; /* Ensure it doesn't overflow */
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px;
}

.page-about__value-title {
  font-size: 1.6em;
  color: #003366;
  margin-bottom: 15px;
}

.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-about__feature-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.page-about__feature-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  max-width: 100%; /* Ensure it doesn't overflow */
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px;
}

.page-about__feature-card h3 {
  font-size: 1.4em;
  color: #003366;
  padding: 20px 20px 10px;
}

.page-about__feature-card p {
  padding: 0 20px 20px;
  color: #666666;
}

.page-about__responsible-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__responsible-link {
  display: inline-block;
  color: #003366;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: color 0.3s ease;
}

.page-about__responsible-link:hover {
  color: #FFD700;
}

.page-about__cta-section {
  background-color: #003366; /* Dark blue background */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  border-radius: 15px;
  margin-top: 60px;
}

.page-about__cta-section .page-about__section-title {
  color: #FFD700; /* Gold title */
}

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

.page-about__cta-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-about__cta-button--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }

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

  .page-about__story-grid,
  .page-about__responsible-content,
  .page-about__tech-grid {
    grid-template-columns: 1fr;
  }

  .page-about__story-image,
  .page-about__responsible-image,
  .page-about__tech-image,
  .page-about__community-image {
    order: -1; /* Image first on mobile */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-about {
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-about__content-area {
    padding: 40px 15px;
  }

  .page-about__values-grid,
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }

  .page-about__value-icon {
    width: 120px;
    height: auto;
  }

  /* Mobile content area images must not overflow */
  .page-about__story-image,
  .page-about__tech-image,
  .page-about__responsible-image,
  .page-about__community-image,
  .page-about__feature-image {
    max-width: 100%;
    height: auto;
    object-fit: contain; /* Adjust object-fit for smaller screens if needed */
  }

  .page-about__value-card img,
  .page-about__feature-card img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__hero-section {
    padding: 60px 15px;
  }
  .page-about__cta-section {
    padding: 60px 15px;
  }
  .page-about__cta-button--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
}