.page-about {
  color: #333333; /* Dark text for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #FFFFFF; /* Page specific background as per instructions */
}

.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: 1;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-about__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  line-height: 1.2;
}

.page-about__intro-paragraph {
  font-size: 1.3em;
  margin-bottom: 30px;
  opacity: 0.9;
}

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

.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, color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

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

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

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

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

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

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

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability, not changing color */
}

.page-about__section {
  padding: 80px 20px;
  background-color: #FFFFFF;
  color: #333333;
}

.page-about__section:nth-of-type(even) {
  background-color: #f8f8f8;
}

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

.page-about__section-title {
  font-size: 2.8em;
  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-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: -20px auto 60px auto;
  color: #555555;
}

.page-about__content-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 40px;
}

.page-about__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-about__text-content {
  flex: 1;
  font-size: 1.05em;
}

.page-about__text-content h3 {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  border-left: 4px solid #FCBC45;
  padding-left: 15px;
}

.page-about__text-content p {
  margin-bottom: 15px;
  color: #333333;
}

.page-about__image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-about__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.page-about__value-card {
  background-color: #000000;
  color: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-about__value-card h3 {
  font-size: 1.6em;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-about__value-card p {
  font-size: 1em;
  opacity: 0.9;
}

.page-about__core-values-image {
  max-width: 800px;
  margin: 0 auto;
}

.page-about__advantage-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__advantage-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-about__advantage-item:hover {
  transform: translateY(-5px);
}

.page-about__advantage-item h3 {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
}

.page-about__advantage-item p {
  font-size: 1em;
  color: #555555;
}

.page-about__join-us {
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  text-align: center;
}

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

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

.page-about__join-us .page-about__section-description {
  color: #e0e0e0;
}

.page-about__join-us-image {
  max-width: 900px;
  margin: 60px auto 0 auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 2.8em;
  }

  .page-about__intro-paragraph {
    font-size: 1.1em;
  }

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

  .page-about__content-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .page-about__content-wrapper--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 40px 15px;
  }

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

  .page-about__intro-paragraph {
    font-size: 1em;
  }

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

  .page-about__button {
    width: 100%;
    max-width: 300px;
  }

  .page-about__section {
    padding: 50px 15px;
  }

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-about__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

  .page-about__text-content h3 {
    font-size: 1.5em;
  }

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

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

  /* Ensure images do not overflow on mobile */
  .page-about__image-wrapper img {
    max-width: 100%;
    height: auto;
  }
  .page-about__hero-image {
    max-width: 100%;
    height: auto;
  }
}

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

  .page-about__intro-paragraph {
    font-size: 0.9em;
  }

  .page-about__button {
    padding: 12px 20px;
    font-size: 1em;
  }

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

  .page-about__text-content h3 {
    font-size: 1.3em;
  }
  .page-about__value-card h3 {
    font-size: 1.3em;
  }
  .page-about__advantage-item h3 {
    font-size: 1.3em;
  }
}