.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 below fixed header */
}

.page-about__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF; /* Light text for hero content */
  text-align: center;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.7);
}

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

.page-about__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button 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;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #FFFFFF;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-about__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-about__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
}

.page-about__button--register, .page-about__button--signup {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for contrast */
  border: 2px solid #FCBC45;
}

.page-about__button--register:hover, .page-about__button--signup:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-about__button--explore, .page-about__button--download {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* Register button color for text */
  border: 2px solid #000000;
}

.page-about__button--explore:hover, .page-about__button--download:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-about__story-section, .page-about__values-section, .page-about__cta-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
  background-color: #FFFFFF; /* Ensure white background for sections */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-about__story-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.page-about__story-content {
  flex: 1;
  min-width: 300px;
}

.page-about__story-image {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-about__story-title, .page-about__values-title, .page-about__cta-title {
  font-size: 2.5em;
  color: #000000; /* Main text color */
  text-align: center;
  margin-bottom: 40px;
}

.page-about__story-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

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

.page-about__value-card {
  background-color: #F8F8F8;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  text-align: center;
  border-top: 5px solid #FCBC45;
}

.page-about__value-heading {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

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

.page-about__cta-section {
  text-align: center;
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF; /* Light text for CTA */
  padding: 60px 20px;
  margin-bottom: 0; /* Remove bottom margin for footer connection */
}

.page-about__cta-title {
  color: #FCBC45;
}

.page-about__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__story-container {
    flex-direction: column;
  }
  .page-about__story-title, .page-about__values-title, .page-about__cta-title {
    font-size: 2em;
  }
  .page-about__story-image {
    max-width: 100%;
  }
  /* Mobile content area images must be constrained */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-about__story-title, .page-about__values-title, .page-about__cta-title {
    font-size: 1.8em;
  }
  .page-about__value-card {
    padding: 20px;
  }
}