.page-about {
  color: #333333; /* Dark text for default 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 {
  background-color: #000000; /* Main 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;
  position: relative;
  overflow: hidden;
}

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

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

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

.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: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

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

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

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

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

.page-about__button--join-now {
  background-color: #FCBC45; /* Join Now button background color */
  color: #000000; /* Black text for join now button */
}

.page-about__button--join-now:hover {
  background-color: #E5A530;
  transform: translateY(-2px);
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.3;
}

.page-about__mission-section,
.page-about__values-section,
.page-about__team-section,
.page-about__cta-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-about__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #000000;
}

.page-about__section-text {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #333333;
}

.page-about__mission-image,
.page-about__team-image {
  width: 100%;
  height: auto;
  max-width: 800px; /* Constrain content images */
  margin: 40px auto 0 auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.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 5px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease;
}

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

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

.page-about__card-text {
  color: #555555;
  font-size: 0.95em;
}

.page-about__cta-section {
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF; /* White text for dark background */
  padding: 80px 20px;
}

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

.page-about__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #F0F0F0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-about {
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header on mobile too */
  }
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__button {
    width: 100%;
    max-width: 280px;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__section-text {
    font-size: 1em;
  }
  .page-about__values-grid {
    grid-template-columns: 1fr;
  }
  .page-about__value-card {
    padding: 25px;
  }
  .page-about__card-title {
    font-size: 1.3em;
  }
  .page-about__cta-title {
    font-size: 1.8em;
  }
  .page-about__cta-description {
    font-size: 1.1em;
  }

  /* Mobile image overflow prevention */
  .page-about__hero-image,
  .page-about__mission-image,
  .page-about__team-image {
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
  }
  .page-about__container {
    padding: 0 15px;
  }
}

/* Ensure content area images are not too small */
.page-about img:not(.page-about__hero-image) {
  min-width: 200px;
  min-height: 200px;
  width: auto; /* Allow natural width based on max-width */
  height: auto; /* Maintain aspect ratio */
}

/* Specific rule for images in content sections to prevent small sizes */
.page-about__mission-image, .page-about__team-image {
  max-width: 800px; /* Example, ensure it's not less than 200px */
  width: 100%; /* Use 100% to fill container, respecting max-width */
  height: auto;
}

/* Ensure no filter is used on images */
.page-about img {
  filter: none; /* Explicitly ensure no filter */
}