.page-about {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-about__hero-section {
  background-color: #000000; /* Main brand color for hero background */
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.page-about__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-about__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Highlight with login button color for emphasis */
}

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.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;
  border: 2px solid transparent;
}

.page-about__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border-color: #FCBC45;
}

.page-about__button--primary:hover {
  background-color: #e0a53b;
  color: #000000;
}

.page-about__button--secondary {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
  border-color: #FFFFFF;
}

.page-about__button--secondary:hover {
  background-color: #f0f0f0;
  color: #000000;
}

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

.page-about__story-section,
.page-about__mission-section,
.page-about__why-choose-section,
.page-about__cta-section {
  padding: 60px 20px;
  background-color: #FFFFFF;
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-about__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.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: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

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

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

.page-about__advantages-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-about__advantage-item {
  background-color: #f8f8f8;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #333333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-about__advantage-item strong {
  color: #000000;
}

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

.page-about__cta-section .page-about__section-title {
  color: #FCBC45;
}

.page-about__cta-section .page-about__section-paragraph {
  color: #e0e0e0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 2.2em;
  }

  .page-about__hero-description {
    font-size: 1em;
  }

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

  .page-about__button {
    width: 80%;
    margin: 0 auto;
  }

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

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

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

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

  .page-about__image-content {
    max-width: 100%;
    height: auto;
  }
  
  /* Critical: Ensure images don't overflow on mobile */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-about__hero-section,
  .page-about__story-section,
  .page-about__mission-section,
  .page-about__why-choose-section,
  .page-about__cta-section {
    padding: 40px 15px;
  }

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

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

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