.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__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-about__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero section */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.6; /* Slightly dim the image to make text stand out */
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

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

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

.page-about__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for primary action */
  color: #000000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-about__story-section, .page-about__mission-section, .page-about__why-us-section, .page-about__cta-section {
  padding: 60px 0;
}

.page-about__story-title, .page-about__mission-title, .page-about__why-us-title, .page-about__cta-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 50px;
  color: #000000;
}

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

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

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

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

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

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

.page-about__value-icon {
  width: 100%; /* Image will fill card, max-width 100% will prevent overflow */
  max-width: 150px; /* Constrain icon size */
  height: auto;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure images meet minimum size requirement */
  min-height: 200px;
  object-fit: contain;
}

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

.page-about__value-card p {
  color: #555555;
}

.page-about__value-card a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-about__value-card a:hover {
  text-decoration: underline;
}

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

.page-about__why-us-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
}

.page-about__why-us-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-about__why-us-item h3 {
  font-size: 1.4em;
  margin: 20px 0 10px;
  color: #000000;
  padding: 0 20px;
}

.page-about__why-us-item p {
  padding: 0 20px 20px;
  color: #555555;
}

.page-about__cta-section {
  background-color: #000000; /* Main color for CTA background */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

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

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

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

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

.page-about__cta-button--register {
  background-color: #FCBC45; /* Login color for register */
  color: #000000;
}

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

.page-about__cta-button--explore {
  background-color: #ffffff; /* Auxiliary color for explore */
  color: #000000;
  border: 2px solid #ffffff;
}

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

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

@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__story-title, .page-about__mission-title, .page-about__why-us-title, .page-about__cta-title {
    font-size: 2em;
  }
  .page-about__values-grid, .page-about__why-us-grid {
    grid-template-columns: 1fr;
  }
  .page-about__why-us-image {
    height: 200px;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__cta-button {
    width: 80%;
    margin: 0 auto;
  }

  /* Mobile content area image overflow prevention */
  .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-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-about__story-title, .page-about__mission-title, .page-about__why-us-title, .page-about__cta-title {
    font-size: 1.8em;
  }
  .page-about__story-text p {
    font-size: 1em;
  }
  .page-about__value-heading {
    font-size: 1.3em;
  }
  .page-about__cta-title {
    font-size: 2em;
  }
}