.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 below fixed header */
}

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

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

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

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

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

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

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

.page-about__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

.page-about__button--register {
  background-color: #FFFFFF; /* Register button color */
  color: #000000; /* Dark text for light button */
  border: 2px solid #FFFFFF;
}

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

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

.page-about__button--explore:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-about__button--primary {
  background-color: #FCBC45; /* Login button color for primary CTA */
  color: #000000; /* Dark text for light button */
  border: 2px solid #FCBC45;
}

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

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

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

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

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

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

.page-about__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.page-about__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 15px auto 0;
}

.page-about__mission-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-about__mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__mission-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #333333;
}

.page-about__mission-image-wrapper {
  text-align: center;
}

.page-about__mission-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-about__values-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-about__value-card {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-about__value-icon {
  width: 100%; /* Ensure image fills card */
  height: auto;
  max-width: 250px; /* Limit icon size within card */
  margin: 0 auto 20px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-about__value-card p {
  color: #555555;
}

.page-about__values-cta {
  text-align: center;
  font-size: 1.1em;
  color: #333333;
}

.page-about__values-cta a {
  color: #000000;
  font-weight: bold;
  text-decoration: underline;
}

.page-about__why-choose-us-section {
  padding: 60px 0;
  background-color: #000000;
  color: #FFFFFF;
}

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

.page-about__why-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.page-about__why-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-about__why-item p {
  color: #e0e0e0;
}

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

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

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

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

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

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

@media (max-width: 768px) {
  .page-about {
    padding-top: var(--header-offset, 120px); /* Mobile header offset */
  }

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

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

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

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

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

  .page-about__mission-image {
    max-width: 100%; /* Ensure images don't overflow */
    height: auto;
  }

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

  .page-about__value-icon {
    max-width: 100%;
    height: auto;
  }

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

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

  .page-about__cta-description {
    font-size: 1.1em;
  }

  /* Mobile content image constraint */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px;
    min-height: 200px;
  }

  /* Specific overrides to ensure min-width/height for content images */
  .page-about__mission-image,
  .page-about__value-icon {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}

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

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

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

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