.page-about {
  color: #333333; /* Dark text for light body background */
}

.page-about__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero section */
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
}

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

.page-about__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
}

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

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

.page-about__button {
  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, transform 0.2s ease;
}

.page-about__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-about__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.page-about__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-about__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-2px);
}

.page-about__story-section, .page-about__mission-section, .page-about__cta-section {
  padding: 80px 20px;
  background-color: #FFFFFF;
}

.page-about__story-section {
  background-color: #F8F8F8;
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-about__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 60px;
}

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

.page-about__story-content {
  font-size: 1.1em;
  line-height: 1.8;
  color: #333333;
}

.page-about__paragraph {
  margin-bottom: 20px;
}

.page-about__story-image-wrapper {
  text-align: center;
}

.page-about__story-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.page-about__mission-item {
  background-color: #FDFDFD;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-about__mission-item:hover {
  transform: translateY(-10px);
}

.page-about__mission-icon {
  width: 100%; /* Ensure images fill their container, min 200px already handled by imageRequirements */
  height: auto;
  max-width: 400px; /* Example max-width to ensure it's not too wide */
  margin-bottom: 30px;
  border-radius: 5px;
}

.page-about__mission-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 20px;
}

.page-about__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-about__cta-section .page-about__section-title {
  color: #FFFFFF;
}

.page-about__cta-section .page-about__paragraph {
  color: #F0F0F0;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__story-grid {
    grid-template-columns: 1fr;
  }
  .page-about__story-image-wrapper {
    order: -1; /* Image first on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    min-height: 500px;
    padding: 40px 15px;
  }
  .page-about__hero-title {
    font-size: 2.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;
  }
  .page-about__story-section, .page-about__mission-section, .page-about__cta-section {
    padding: 60px 15px;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-about__mission-item {
    padding: 30px;
  }
  .page-about__mission-title {
    font-size: 1.5em;
  }
  /* Content area images must not cause horizontal scrolling */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  .page-about__mission-icon {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px);
  }
  .page-about__hero-container {
    padding: 20px;
  }
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__hero-description {
    font-size: 0.9em;
  }
  .page-about__story-section, .page-about__mission-section, .page-about__cta-section {
    padding: 40px 15px;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
}