.page-about {
  color: #333333; /* Dark text for light background */
  background-color: #FFFFFF; /* Ensures consistency with body background */
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
}

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

/* Hero Section */
.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

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

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for highlight */
}

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

.page-about__hero-cta {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #FCBC45;
}

.page-about__hero-cta:hover {
  background-color: #FFFFFF;
  color: #000000;
  transform: translateY(-3px);
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.2;
  filter: grayscale(100%); /* Maintain original color, but for background visual, grayscale is fine */
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Story Section */
.page-about__story-section {
  padding: 80px 0;
  background-color: #F8F8F8;
}

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

.page-about__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 15px auto 0;
}

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

.page-about__story-text p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333333;
}

.page-about__story-cta {
  display: inline-block;
  background-color: transparent;
  color: #FCBC45;
  padding: 10px 20px;
  border: 2px solid #FCBC45;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-about__story-cta:hover {
  background-color: #FCBC45;
  color: #000000;
}

.page-about__story-image-wrapper {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-about__story-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Values Section */
.page-about__values-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

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

.page-about__value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.page-about__card-icon {
  width: 200px; /* Minimum size requirement */
  height: 150px;
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
}

.page-about__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FCBC45;
}

.page-about__card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #F0F0F0;
}

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

.page-about__cta-section .page-about__section-title {
  color: #000000;
}

.page-about__cta-section .page-about__section-title::after {
  background-color: #000000;
}

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

.page-about__cta-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #000000;
}

.page-about__cta-button:hover {
  background-color: #FFFFFF;
  color: #000000;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__story-grid {
    grid-template-columns: 1fr;
  }
  .page-about__story-image-wrapper {
    order: -1;
  }
}

@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__story-section, .page-about__values-section, .page-about__cta-section {
    padding: 60px 0;
  }
  .page-about__story-text p {
    font-size: 0.95em;
  }
  .page-about__value-card {
    padding: 25px;
  }
  .page-about__card-title {
    font-size: 1.5em;
  }
  .page-about__card-icon {
    width: 200px; /* Ensure minimum size */
    height: auto;
  }
  .page-about__cta-description {
    font-size: 1.1em;
  }
  /* Mobile content area image constraints */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-cta, .page-about__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__value-card {
    padding: 20px;
  }
  .page-about__card-title {
    font-size: 1.3em;
  }
}

/* Ensure no filter on any image within the content area */
.page-about img:not(.page-about__hero-image) {
  filter: none; /* Explicitly remove any potential filter */
}

/* Specific rule for the hero image filter */
.page-about__hero-image-wrapper .page-about__hero-image {
  filter: grayscale(100%);
}