.page-about {
  color: #333333; /* Default text color for light body background */
  background-color: var(--secondary-color, #FFFFFF);
}

.page-about__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

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

.page-about__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

.page-about__hero-title {
  font-size: 3.5em;
  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: 30px;
  line-height: 1.6;
  color: #F0F0F0;
}

.page-about__hero-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  margin: 0 10px;
}

.page-about__hero-button--register {
  background-color: #FCBC45; /* Login color for Register as per custom colors */
  color: #000000; /* Dark text for light button */
}

.page-about__hero-button--register:hover {
  background-color: #e0a53d;
}

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

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

.page-about__story-section, .page-about__mission-section, .page-about__why-choose-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-about__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-about__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-about__text-content {
  flex: 1;
}

.page-about__image-container {
  flex: 1;
  text-align: center;
}

.page-about__story-image, .page-about__mission-image, .page-about__why-choose-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-about__story-title, .page-about__mission-title, .page-about__why-choose-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000;
}

.page-about__story-paragraph, .page-about__mission-paragraph, .page-about__why-choose-paragraph {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333333;
}

.page-about__story-button, .page-about__why-choose-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
  font-size: 1em;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.page-about__story-button:hover, .page-about__why-choose-button:hover {
  background-color: #333333;
}

.page-about__mission-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-about__mission-list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  color: #333333;
}

.page-about__mission-list-item::before {
  content: '✔';
  color: #FCBC45;
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

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

.page-about__cta-description {
  font-size: 1.3em;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #F0F0F0;
}

.page-about__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Dark text for light button */
  padding: 18px 40px;
  font-size: 1.3em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

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

.page-about__additional-links-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-about__additional-links-title {
  font-size: 2em;
  margin-bottom: 30px;
  color: #000000;
}

.page-about__links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-content: center;
}

.page-about__link-item {
  display: block;
  padding: 20px;
  background-color: #F8F8F8;
  color: #000000;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 1px solid #E0E0E0;
}

.page-about__link-item:hover {
  background-color: #EFEFEF;
  transform: translateY(-5px);
  color: #FCBC45;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__story-title, .page-about__mission-title, .page-about__why-choose-title {
    font-size: 2em;
  }
  .page-about__cta-title {
    font-size: 2.5em;
  }
  .page-about__content-wrapper {
    flex-direction: column;
  }
  .page-about__content-wrapper--reverse {
    flex-direction: column;
  }
  .page-about__image-container {
    order: -1; /* Image appears above text on mobile for reversed sections */
  }
  .page-about__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px);
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__story-section, .page-about__mission-section, .page-about__why-choose-section, .page-about__cta-section, .page-about__additional-links-section {
    padding: 40px 15px;
  }
  .page-about__story-title, .page-about__mission-title, .page-about__why-choose-title {
    font-size: 1.8em;
  }
  .page-about__cta-title {
    font-size: 2em;
  }
  .page-about__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-about__content-wrapper {
    gap: 20px;
  }
  .page-about__story-image, .page-about__mission-image, .page-about__why-choose-image {
    max-width: 100%;
    height: auto; /* Ensure images scale down */
    min-width: 200px; /* Enforce min image size for mobile as well */
    min-height: 200px; /* Enforce min image size for mobile as well */
  }
  .page-about__links-grid {
    grid-template-columns: 1fr;
  }
}

@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;
    width: calc(100% - 20px); /* Adjust for margin */
    margin: 10px auto;
  }
  .page-about__story-title, .page-about__mission-title, .page-about__why-choose-title {
    font-size: 1.6em;
  }
  .page-about__cta-title {
    font-size: 1.8em;
  }
  .page-about__story-paragraph, .page-about__mission-paragraph, .page-about__why-choose-paragraph, .page-about__cta-description, .page-about__mission-list-item {
    font-size: 0.95em;
  }
}