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

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #000000; /* Dark background for hero for high contrast */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

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

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

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.8;
}

.page-about__hero-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;
  margin: 0 10px;
}

.page-about__button--primary {
  background-color: #FCBC45; /* Register button background */
  color: #000000; /* Register button text */
  border: 2px solid #FCBC45;
}

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

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

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

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

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Soften the image as a background element */
}

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

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

.page-about__story-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

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

.page-about__story-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

.page-about__story-text p {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

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

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

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

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-about__feature-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

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

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

.page-about__cta-section {
  padding: 80px 20px;
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-about__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45; /* Highlight CTA title */
  font-weight: bold;
  z-index: 1;
}

.page-about__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  z-index: 1;
}

.page-about__cta-button {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  display: inline-block;
  padding: 18px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, color 0.3s ease;
  z-index: 1;
}

.page-about__cta-button:hover {
  background-color: #e0a53b;
  color: #FFFFFF;
}

.page-about__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1; /* Soften the image as a background element */
  z-index: 0;
}

/* Responsive Design */
@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;
  }

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

  .page-about__story-image {
    max-width: 80%;
    margin: 0 auto 30px auto;
  }

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

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

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

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

  .page-about__hero-button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 0 5px;
  }

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

  .page-about__content-container {
    padding: 30px 15px;
  }

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

  .page-about__feature-card {
    padding: 25px;
  }

  .page-about__feature-image {
    height: 200px;
  }

  .page-about__cta-section {
    padding: 60px 15px;
  }

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

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

  .page-about__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  .page-about__hero-image,
  .page-about__story-image,
  .page-about__feature-image,
  .page-about__cta-image {
    max-width: 100%;
    height: auto; /* Ensure images scale responsively */
  }

  .page-about {
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
  }
}

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

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

  .page-about__hero-button {
    display: block;
    margin: 10px auto;
    width: 80%;
  }

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

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