.page-about {
  color: #333333; /* Dark text for light body background */
}

.page-about__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

.page-about__hero-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  z-index: 1;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
  filter: grayscale(50%); /* Allowed for visual effect, not color change */
}

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

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

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
  line-height: 1.6;
}

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

.page-about__btn {
  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;
  white-space: nowrap;
}

.page-about__btn--register {
  background-color: #FCBC45; /* Login color for primary action */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-about__btn--register:hover {
  background-color: #e0a53a;
  border-color: #e0a53a;
}

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

.page-about__btn--login:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-about__container {
  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: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 15px auto 0;
  border-radius: 2px;
}

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

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

.page-about__story-text {
  flex: 1;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-about__story-text p {
  margin-bottom: 20px;
}

.page-about__story-image-wrapper {
  flex: 1;
  min-width: 200px; /* Ensure minimum size */
}

.page-about__story-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

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

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

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

.page-about__value-icon {
  width: 200px; /* Minimum width for content images */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block; /* Ensure it respects width/height */
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__value-card p {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-about__cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  color: #FFFFFF;
}

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

.page-about__btn--primary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-right: 15px;
}

.page-about__btn--primary:hover {
  background-color: #e0a53a;
  border-color: #e0a53a;
}

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

.page-about__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

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

@media (max-width: 768px) {
  .page-about__hero-section {
    min-height: 60vh;
    padding: 30px 15px;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-about__story-content {
    flex-direction: column;
  }
  .page-about__story-image-wrapper {
    order: -1; /* Image appears before text on mobile */
    margin-bottom: 30px;
  }
  .page-about__value-icon {
    width: 200px; /* Enforce minimum size for mobile */
    height: auto;
  }
  .page-about__story-image, .page-about__value-card img {
    max-width: 100%;
    height: auto;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-about__cta-description {
    font-size: 1.1em;
  }
  .page-about__btn--primary, .page-about__btn--secondary {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__hero-section {
    padding: 20px 10px;
  }
  .page-about__hero-description {
    font-size: 0.95em;
  }
  .page-about__container {
    padding: 20px 15px;
  }
}