.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); /* Ensures content is not hidden by fixed header */
}

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #FFFFFF; /* White background for hero */
  gap: 30px;
}

.page-about__hero-content {
  max-width: 800px;
}

.page-about__hero-title {
  font-size: 3.2em;
  color: #000000;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.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__hero-button--primary {
  background-color: #FCBC45; /* Login color for primary action */
  color: #000000;
}

.page-about__hero-button--primary:hover {
  background-color: #e0a53b;
}

.page-about__hero-button--secondary {
  background-color: #000000; /* Main color for secondary action */
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-about__hero-button--secondary:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-about__hero-image-wrapper {
  max-width: 1000px;
  width: 100%;
  margin-top: 30px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-about__story-section, .page-about__vision-section, .page-about__features-section, .page-about__cta-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.page-about__story-section {
  background-color: #FFFFFF;
}

.page-about__vision-section {
  background-color: #f0f0f0;
}

.page-about__story-container, .page-about__vision-container, .page-about__features-container, .page-about__cta-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-about__story-title, .page-about__vision-title, .page-about__features-title, .page-about__cta-title {
  font-size: 2.8em;
  color: #000000;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__story-content, .page-about__vision-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-about__story-image-wrapper, .page-about__vision-image-wrapper {
  flex: 1;
  min-width: 300px; /* Ensure images are not too small */
  max-width: 50%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-about__story-image, .page-about__vision-image {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-about__story-text, .page-about__vision-text {
  flex: 1;
  min-width: 300px; /* Ensure text blocks are not too small */
  max-width: 50%;
}

.page-about__story-paragraph, .page-about__vision-paragraph {
  font-size: 1.1em;
  color: #444444;
  margin-bottom: 20px;
}

.page-about__vision-subtitle {
  font-size: 1.8em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__vision-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-about__vision-list-item {
  font-size: 1.1em;
  color: #444444;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-about__vision-list-item::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: #FCBC45;
}

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

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

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

.page-about__feature-icon {
  width: 100%; /* Make sure it takes full width of its container */
  max-width: 400px; /* Max width for feature images */
  height: auto;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  border-radius: 8px;
}

.page-about__feature-heading {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

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

.page-about__cta-section {
  background-color: #000000; /* Main color for CTA background */
  color: #FFFFFF;
  padding: 80px 20px;
}

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

.page-about__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #e0e0e0;
}

.page-about__cta-button {
  display: inline-block;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 0 15px;
}

.page-about__cta-button--register {
  background-color: #FCBC45;
  color: #000000;
}

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

.page-about__cta-button--explore {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-about__cta-button--explore:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }

  .page-about__story-title, .page-about__vision-title, .page-about__features-title, .page-about__cta-title {
    font-size: 2.4em;
  }

  .page-about__story-content, .page-about__vision-content {
    flex-direction: column;
  }

  .page-about__story-image-wrapper, .page-about__vision-image-wrapper,
  .page-about__story-text, .page-about__vision-text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 40px 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 15px;
  }
  
  .page-about__hero-button--secondary {
    margin-top: 10px; /* Add margin for stacking */
  }

  .page-about__story-title, .page-about__vision-title, .page-about__features-title, .page-about__cta-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-about__story-section, .page-about__vision-section, .page-about__features-section, .page-about__cta-section {
    padding: 50px 15px;
  }

  .page-about__feature-heading {
    font-size: 1.5em;
  }

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

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

  /* Mobile content area image overflow prevention */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__hero-button {
    display: block;
    width: calc(100% - 20px);
    margin: 10px auto;
  }
  .page-about__story-title, .page-about__vision-title, .page-about__features-title, .page-about__cta-title {
    font-size: 1.8em;
  }
  .page-about__cta-button {
    display: block;
    width: calc(100% - 30px);
    margin: 10px auto;
  }
  .page-about__hero-button--primary, .page-about__hero-button--secondary {
    margin-left: auto; /* Center buttons when stacked */
    margin-right: auto;
  }
}