.page-about {
  background-color: #FFFFFF;
  color: #000000;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-about__hero-content {
  z-index: 2;
  position: relative;
  max-width: 800px;
}

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

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #E0E0E0;
}

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

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

.page-about__button--register {
  background-color: #FFFFFF; /* White background for register */
  color: #000000; /* Black text for register */
}

.page-about__button--register:hover {
  background-color: #F0F0F0;
}

.page-about__button--login {
  background-color: #FCBC45; /* Golden yellow background for login */
  color: #000000; /* Black text for login */
}

.page-about__button--login:hover {
  background-color: #E0A83A;
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle overlay for image */
}

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

.page-about__story-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-about__story-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-about__story-image {
  flex: 1;
  max-width: 50%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  width: 100%; /* Ensure image scales */
  height: auto;
  min-width: 200px; /* Min size constraint */
  min-height: 200px;
}

.page-about__story-text {
  flex: 1;
  max-width: 50%;
  font-size: 1.1em;
  line-height: 1.8;
  color: #333333;
}

.page-about__story-text p {
  margin-bottom: 20px;
}

.page-about__mission-values-section {
  padding: 80px 0;
  background-color: #F8F8F8;
}

.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: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
  color: #000000;
}

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

.page-about__value-icon {
  width: 100%; /* Ensure image scales within card */
  height: auto;
  max-width: 300px; /* Example max width */
  margin: 0 auto 25px auto;
  border-radius: 8px;
  min-width: 200px; /* Min size constraint */
  min-height: 200px;
}

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

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

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

.page-about__cta-content {
  max-width: 900px;
}

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

.page-about__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #E0E0E0;
  line-height: 1.6;
}

.page-about__button--cta {
  background-color: #FCBC45; /* Golden yellow for CTA button */
  color: #000000;
  padding: 18px 40px;
  font-size: 1.2em;
  border-radius: 10px;
}

.page-about__button--cta:hover {
  background-color: #E0A83A;
}

/* 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-content {
    flex-direction: column;
    text-align: center;
  }
  .page-about__story-image,
  .page-about__story-text {
    max-width: 100%;
  }
  .page-about__story-image {
    margin-bottom: 30px;
  }
  .page-about__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-about {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-about__hero-section {
    padding: 40px 15px;
  }
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__button {
    width: 100%;
    max-width: 300px; /* Constrain button width */
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-about__story-section,
  .page-about__mission-values-section,
  .page-about__cta-section {
    padding: 50px 0;
  }
  .page-about__story-image {
    max-width: 100%;
    width: 100%; /* Ensure image scales correctly */
    height: auto;
  }
  .page-about__story-text {
    font-size: 0.95em;
  }
  .page-about__value-card {
    padding: 25px;
  }
  .page-about__value-icon {
    max-width: 250px;
  }
  .page-about__value-title {
    font-size: 1.4em;
  }
  .page-about__cta-title {
    font-size: 2em;
  }
  .page-about__cta-description {
    font-size: 1em;
  }
  .page-about__button--cta {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Mobile content area image constraints */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  .page-about__container {
    padding: 0 15px;
  }
}

/* Ensure no image filters */
.page-about img {
  filter: none; /* Absolutely no filters */
}

/* Image min size check for content area images, regardless of class */
.page-about__story-image,
.page-about__value-icon {
    min-width: 200px;
    min-height: 200px;
}