.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 */
  background-color: #FFFFFF; /* Explicitly set background to match body for consistency */
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero section */
}

.page-about__hero-container {
  position: relative;
  width: 100%;
  max-width: 1400px; /* Max width for content within hero */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

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

.page-about__hero-content {
  position: relative;
  z-index: 1;
  color: #FFFFFF; /* Light text for dark hero image overlay */
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for readability */
  padding: 30px;
  border-radius: 8px;
  max-width: 800px;
}

.page-about__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-about__hero-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
}

.page-about__hero-button--register {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
}

.page-about__hero-button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-about__hero-button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

.page-about__hero-button--login:hover {
  background-color: #e0a030;
  transform: translateY(-2px);
}

.page-about__story-section, .page-about__mission-vision-section, .page-about__values-section, .page-about__cta-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.page-about__story-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-about__story-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-about__story-title, .page-about__mission-vision-title, .page-about__values-title, .page-about__cta-title {
  font-size: 2.2em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
}

.page-about__story-paragraph {
  margin-bottom: 20px;
  color: #333333;
}

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

.page-about__mission-card, .page-about__vision-card {
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-about__mission-card-title, .page-about__vision-card-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-about__mission-card-description, .page-about__vision-card-description {
  color: #555555;
}

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

.page-about__value-item {
  text-align: center;
  padding: 20px;
  background-color: #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-about__value-icon {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 15px;
  border-radius: 4px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

.page-about__value-description {
  color: #555555;
}

.page-about__cta-section {
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
  border-radius: 8px;
  margin-bottom: 40px;
}

.page-about__cta-title {
  color: #FFFFFF;
  margin-bottom: 20px;
  font-size: 2.5em;
}

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

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

.page-about__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-about__cta-button--explore {
  background-color: #FCBC45; /* Explore button color */
  color: #000000;
}

.page-about__cta-button--explore:hover {
  background-color: #e0a030;
  transform: translateY(-2px);
}

.page-about__cta-button--download {
  background-color: #FFFFFF; /* Download button color */
  color: #000000;
}

.page-about__cta-button--download:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__story-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    min-height: 400px;
    padding: 30px 15px;
  }
  .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__hero-button {
    width: 80%;
    max-width: 300px;
  }
  .page-about__story-title, .page-about__mission-vision-title, .page-about__values-title, .page-about__cta-title {
    font-size: 1.8em;
  }
  .page-about__story-section, .page-about__mission-vision-section, .page-about__values-section, .page-about__cta-section {
    padding: 40px 15px;
  }
  .page-about__mission-vision-grid, .page-about__values-grid {
    grid-template-columns: 1fr;
  }
  .page-about__cta-title {
    font-size: 2em;
  }
  .page-about__cta-description {
    font-size: 1em;
  }
  .page-about__cta-actions {
    flex-direction: column;
  }
  /* Ensure images in content areas are responsive and don't overflow */
  .page-about__story-image, .page-about__value-icon {
    max-width: 100%;
    height: auto;
  }
  .page-about {
    max-width: 100%;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__hero-description {
    font-size: 0.9em;
  }
  .page-about__story-title, .page-about__mission-vision-title, .page-about__values-title, .page-about__cta-title {
    font-size: 1.6em;
  }
}