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

.page-about__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #FFFFFF;
  padding-bottom: 40px;
}

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

.page-about__hero-title {
  font-size: 2.8em;
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.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;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

.page-about__hero-button--register:hover {
  background-color: #333333;
  color: #FCBC45;
}

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

.page-about__hero-button--login:hover {
  background-color: #e0a53b;
  color: #FFFFFF;
}

.page-about__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.page-about__section-title {
  font-size: 2.2em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-about__section-paragraph {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 25px;
  text-align: justify;
}

.page-about__our-story-section, .page-about__mission-values-section, .page-about__why-choose-us-section, .page-about__join-us-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-about__mission-values-section {
  background-color: #FFFFFF;
}

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

.page-about__value-card {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  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;
  text-align: center;
}

.page-about__value-description {
  font-size: 1em;
  line-height: 1.6;
  text-align: justify;
}

.page-about__feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.page-about__feature-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-about__feature-text {
  font-size: 1em;
  line-height: 1.6;
  text-align: justify;
}

.page-about__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 40px auto;
  max-width: 800px; /* Ensure content images are not too small */
  object-fit: cover;
}

.page-about__image--left {
  float: left;
  margin-right: 30px;
  margin-bottom: 30px;
}

.page-about__image--right {
  float: right;
  margin-left: 30px;
  margin-bottom: 30px;
}

.page-about__join-us-section {
  text-align: center;
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
}

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

.page-about__join-us-section .page-about__section-title::after {
  background-color: #FCBC45;
}

.page-about__join-us-section .page-about__section-paragraph {
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-about__join-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #FCBC45;
}

.page-about__join-button:hover {
  background-color: #e0a53b;
  color: #FFFFFF;
  border-color: #e0a53b;
}

/* Media Queries for Responsiveness */
@media (min-width: 769px) {
  .page-about__our-story-section .page-about__image, .page-about__mission-values-section .page-about__image {
    width: 45%;
    max-width: 450px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px);
    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: 100%;
    max-width: 250px;
  }

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

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

  .page-about__image--left, .page-about__image--right, .page-about__image--center {
    float: none;
    margin: 30px auto;
    max-width: 100%;
    width: 100%;
    height: auto; /* Required for mobile image responsiveness */
    object-fit: cover;
  }

  /* CRITICAL: Mobile content images must not overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
  }

  .page-about__our-story-section, .page-about__mission-values-section, .page-about__why-choose-us-section, .page-about__join-us-section {
    padding: 40px 0;
  }
}