.page-about {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-about__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #000000; /* Main color as background for hero */
  color: #FFFFFF;
  padding-bottom: 60px;
}

.page-about__hero-content {
  max-width: 900px;
  padding: 40px 20px;
}

.page-about__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-about__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

.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.3s ease;
  font-size: 1.1em;
}

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

.page-about__button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
}

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

.page-about__button--login:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

.page-about__hero-image {
  width: 100%;
  overflow: hidden;
}

.page-about__hero-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 200px; /* Ensure images are not too small */
}

.page-about__story-section, .page-about__values-section, .page-about__commitment-section {
  padding: 60px 20px;
  background-color: #FFFFFF;
  border-bottom: 1px solid #eee;
}

.page-about__content-container {
  max-width: 1000px;
  margin: 0 auto;
}

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

.page-about__section-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-about__image-inline {
  display: block;
  width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.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: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

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

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

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

.page-about__button--learn-more {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 30px;
  text-align: center;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-about__button--learn-more:hover {
  background-color: #333333;
  transform: translateY(-3px);
}

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

.page-about__cta-content {
  max-width: 900px;
  margin: 0 auto;
  margin-bottom: 40px;
}

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

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

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

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

.page-about__button--join:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

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

.page-about__button--explore:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
}

.page-about__cta-image {
  width: 100%;
  overflow: hidden;
  margin-top: 40px;
}

.page-about__cta-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 200px; /* Ensure images are not too small */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 2.5em;
  }

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

  .page-about__hero-buttons,
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__button {
    width: 80%;
    margin: 0 auto;
  }

  .page-about__section-title,
  .page-about__cta-title {
    font-size: 2em;
  }

  .page-about__story-section, .page-about__values-section, .page-about__commitment-section,
  .page-about__cta-section {
    padding: 40px 15px;
  }

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

  .page-about__image-inline,
  .page-about__hero-image img,
  .page-about__cta-image img {
    max-width: 100%;
    height: auto;
  }
}

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

  .page-about__cta-title {
    font-size: 1.8em;
  }

  .page-about__button {
    width: 90%;
  }
}