.page-about {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
  color: #FFFFFF;
  background-color: #000000; /* Fallback background if image fails */
}

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

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

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

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #F0F0F0;
}

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

.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;
  min-width: 200px;
  text-align: center;
}

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

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

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

.page-about__hero-button--login:hover {
  background-color: #E6A53C;
  color: #000000;
}

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

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

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-about__story-section, .page-about__mission-section {
  padding: 80px 0;
}

.page-about__story-content, .page-about__mission-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-about__story-section .page-about__story-content {
  flex-direction: row;
}

.page-about__mission-section .page-about__mission-content {
  flex-direction: row-reverse;
}

.page-about__story-image, .page-about__mission-image {
  flex: 1;
  max-width: 50%;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
  width: 600px; /* Display width */
  height: 450px; /* Display height, maintaining aspect ratio for 800x600 */
  object-fit: cover;
}

.page-about__story-text, .page-about__mission-text {
  flex: 1;
  max-width: 50%;
}

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

.page-about__button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-about__details-section {
  padding: 80px 0;
  background-color: #F8F8F8;
}

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

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

.page-about__detail-card:hover {
  transform: translateY(-10px);
}

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

.page-about__card-title a {
  color: #000000;
  text-decoration: none;
}

.page-about__card-title a:hover {
  color: #FCBC45;
}

.page-about__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
}

.page-about__button--card {
  background-color: #FCBC45;
  color: #000000;
}

.page-about__button--card:hover {
  background-color: #E6A53C;
}

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

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

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

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

/* 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: 2.2em;
  }
  .page-about__story-content, .page-about__mission-content {
    flex-direction: column;
    text-align: center;
  }
  .page-about__story-image, .page-about__mission-image {
    max-width: 80%;
    margin-bottom: 30px;
  }
  .page-about__story-text, .page-about__mission-text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-actions {
    flex-direction: column;
  }
  .page-about__hero-button {
    width: 100%;
    max-width: 280px;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__paragraph {
    font-size: 0.95em;
  }
  .page-about__cta-title {
    font-size: 2.2em;
  }
  .page-about__cta-description {
    font-size: 1em;
  }
  /* Mobile content image overflow prevention */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  .page-about__story-image, .page-about__mission-image {
    width: 100%;
    height: auto;
  }
  .page-about__hero-image {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-about__hero-section {
    padding: 60px 15px;
  }
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__cta-title {
    font-size: 1.8em;
  }
  .page-about__content-wrapper {
    padding: 20px 15px;
  }
  .page-about__detail-card {
    padding: 20px;
  }
}