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

.page-about__hero-section {
  background-color: #000000; /* Primary brand color for hero background */
  color: #FFFFFF; /* White text for dark background */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-about__hero-content {
  max-width: 800px;
  margin-bottom: 30px;
}

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

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

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

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

.page-about__btn--register {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-about__btn--register:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

.page-about__btn--explore {
  background-color: #000000; /* Primary color */
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-about__btn--explore:hover {
  background-color: #333333;
  border-color: #FFFFFF;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1000px; /* Limit hero image width */
  margin-top: 40px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-about__story-section,
.page-about__mission-values,
.page-about__why-choose,
.page-about__cta-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-about__story-title,
.page-about__mission-title,
.page-about__why-title,
.page-about__cta-title {
  font-size: 2.8em;
  margin-bottom: 40px;
  color: #000000;
}

.page-about__story-grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 60px;
  text-align: left;
  margin-top: 50px;
}

.page-about__story-text {
  flex: 1;
}

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

.page-about__story-image-wrapper {
  flex: 1;
}

.page-about__story-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-about__mission-values {
  background-color: #F8F8F8;
  color: #333333;
}

.page-about__mission-intro {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

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

.page-about__value-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-about__value-icon {
  width: 200px; /* Min size for content images */
  height: 200px; /* Min size for content images */
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-about__value-card p {
  font-size: 1em;
  color: #666666;
}

.page-about__why-choose {
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-about__why-item {
  background-color: #FDFDFD;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  text-align: left;
  transition: transform 0.3s ease;
}

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

.page-about__why-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  min-width: 200px;
  min-height: 200px;
}

.page-about__why-item-heading {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #000000;
}

.page-about__why-item p {
  font-size: 1em;
  color: #666666;
}

.page-about__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 100px 20px;
}

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

.page-about__cta-description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #F0F0F0;
}

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

.page-about__btn--signup {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-about__btn--signup:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

.page-about__btn--login {
  background-color: #000000; /* Primary color */
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-about__btn--login:hover {
  background-color: #333333;
  border-color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__story-grid {
    flex-direction: column;
    text-align: center;
  }
  .page-about__story-text,
  .page-about__story-image-wrapper {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section,
  .page-about__story-section,
  .page-about__mission-values,
  .page-about__why-choose,
  .page-about__cta-section {
    padding: 60px 0;
  }

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

  .page-about__hero-description,
  .page-about__mission-intro,
  .page-about__cta-description {
    font-size: 1em;
  }

  .page-about__story-title,
  .page-about__mission-title,
  .page-about__why-title,
  .page-about__cta-title {
    font-size: 2em;
  }

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

  .page-about__value-card,
  .page-about__why-item {
    padding: 25px;
  }

  .page-about__why-image {
    height: 200px; /* Adjust height for mobile */
  }

  .page-about__hero-actions,
  .page-about__cta-actions {
    flex-direction: column;
  }

  .page-about__btn {
    width: 100%;
    padding: 12px 25px;
  }

  /* Mobile content image constraint */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }

  .page-about__story-title,
  .page-about__mission-title,
  .page-about__why-title,
  .page-about__cta-title {
    font-size: 1.8em;
  }

  .page-about__value-heading {
    font-size: 1.4em;
  }

  .page-about__why-item-heading {
    font-size: 1.5em;
  }
}