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

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--header-offset, 120px) 20px 60px; /* Ensure space below header */
  background-color: #000000; /* Dark background for hero section */
  color: #ffffff; /* Light text for dark hero background */
  overflow: hidden; /* Hide overflowing image parts */
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.6;
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-about__hero-buttons {
  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, color 0.3s ease, transform 0.3s ease;
  min-width: 200px;
  text-align: center;
}

.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__section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.page-about__section--story {
  background-color: #f5f5f5;
}

.page-about__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__subtitle {
  font-size: 2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-about__section-text {
  font-size: 1.1em;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 20px;
  text-align: justify;
}

.page-about__vision-mission-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-about__vision-mission-text {
  flex: 1;
}

.page-about__vision-mission-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.page-about__section--values {
  background-color: #000000; /* Dark background for values section */
  color: #ffffff; /* Light text for dark background */
}

.page-about__section--values .page-about__section-title {
  color: #ffffff;
}

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

.page-about__section--values .page-about__section-text {
  color: #f0f0f0;
}

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

.page-about__value-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-about__value-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 25px;
  border-radius: 8px;
}

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

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

.page-about__cta-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #f5f5f5;
  position: relative;
  overflow: hidden;
}

.page-about__cta-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.1;
}

.page-about__cta-title {
  position: relative;
  z-index: 1;
  font-size: 3em;
  color: #000000;
  margin-bottom: 20px;
}

.page-about__cta-description {
  position: relative;
  z-index: 1;
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__button--join-now {
  position: relative;
  z-index: 1;
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__hero-description {
    font-size: 1.2em;
  }
  .page-about__section-title {
    font-size: 2.5em;
  }
  .page-about__subtitle {
    font-size: 1.8em;
  }
  .page-about__vision-mission-content {
    flex-direction: column;
  }
  .page-about__vision-mission-image {
    max-width: 80%;
  }
  .page-about__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: var(--header-offset, 120px) 15px 40px;
  }
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__button {
    width: 100%;
    min-width: unset;
  }
  .page-about__section {
    padding: 60px 15px;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__subtitle {
    font-size: 1.6em;
  }
  .page-about__section-text {
    font-size: 0.95em;
  }
  .page-about__vision-mission-image {
    max-width: 100%;
  }
  .page-about__values-grid {
    grid-template-columns: 1fr;
  }
  .page-about__cta-title {
    font-size: 2em;
  }
  .page-about__cta-description {
    font-size: 1em;
  }
  /* Mobile content area image constraint */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__subtitle {
    font-size: 1.4em;
  }
  .page-about__value-title {
    font-size: 1.5em;
  }
  .page-about__cta-title {
    font-size: 1.8em;
  }
}