.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__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.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-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
  z-index: 0;
}

.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;
  line-height: 1.2;
  color: #FCBC45; /* Highlight with accent color */
}

.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;
}

.page-about__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1em;
}

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

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

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

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

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

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

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

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

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

.page-about__story-section, .page-about__mission-section, .page-about__commitment-section, .page-about__cta-section {
  padding: 60px 0;
}

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

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

.page-about__story-text p, .page-about__mission-text p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-about__story-image, .page-about__mission-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-about__commitment-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.page-about__commitment-item:hover {
  transform: translateY(-10px);
}

.page-about__commitment-icon {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

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

.page-about__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

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

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

/* Mobile Fixed Buttons */
.page-about__mobile-fixed-buttons {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  background-color: #000000;
  padding: 10px 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: none; /* Hidden by default, shown on mobile */
}

.page-about__mobile-button {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  border-radius: 0;
}

.page-about__mobile-button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-about__mobile-button--login {
  background-color: #FCBC45;
  color: #000000;
}

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

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

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

  .page-about__mission-grid {
    grid-template-areas:
      "image"
      "text";
  }

  .page-about__mission-image {
    grid-area: image;
  }

  .page-about__mission-text {
    grid-area: text;
  }
}

@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 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: 1.8em;
  }

  .page-about__story-section, .page-about__mission-section, .page-about__commitment-section, .page-about__cta-section {
    padding: 40px 0;
  }

  .page-about__container {
    padding: 0 15px;
  }

  .page-about__story-grid, .page-about__mission-grid {
    gap: 30px;
  }

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

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

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

  .page-about__mobile-fixed-buttons {
    display: flex; /* Show on mobile */
  }

  /* Ensure content area images are responsive and don't cause overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
  }

  /* Override any potential smaller image sizes for content area */
  .page-about__commitment-icon {
    max-width: 100%;
    height: auto;
  }
}

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

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

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

  .page-about__button {
    width: 90%;
  }
}