.page-about {
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
  background-color: var(--background-color, #FFFFFF);
}

.page-content.page-about {
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

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

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

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

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

.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: 40px;
  color: #F0F0F0;
}

.page-about__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color for CTA */
  color: #000000; /* Dark text on bright button */
  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: none;
  cursor: pointer;
}

.page-about__cta-button:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

.page-about__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 60px;
  color: #000000; /* Dark text for section titles */
}

.page-about__mission-vision {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-about__mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.page-about__grid-item {
  text-align: center;
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-about__grid-image {
  width: 100%;
  height: 300px; /* Enforce min 200px, setting to 300 for better visual */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-about__item-description {
  font-size: 1.1em;
  color: #555555;
}

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

.page-about__values-section .page-about__section-title {
  color: #FFFFFF;
}

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

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

.page-about__value-card:hover {
  transform: translateY(-5px);
}

.page-about__card-title {
  font-size: 1.5em;
  color: #FCBC45; /* Highlight with accent color */
  margin-bottom: 15px;
}

.page-about__card-description {
  font-size: 1em;
  color: #E0E0E0;
}

.page-about__cta-section {
  padding: 80px 0;
  background-color: #F8F8F8;
  text-align: center;
}

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

.page-about__cta-text {
  font-size: 1.2em;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-about__cta-button--register {
  background-color: #FCBC45;
  color: #000000;
}

.page-about__cta-button--explore {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #FCBC45;
}

.page-about__cta-button--explore:hover {
  background-color: #333333;
  border-color: #e0a53a;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__mission-vision-grid {
    grid-template-columns: 1fr;
  }
  .page-about__hero-section {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 40px 15px;
    min-height: 350px;
  }
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-about__grid-item {
    padding: 20px;
  }
  .page-about__item-title {
    font-size: 1.5em;
  }
  .page-about__grid-image {
    width: 100%;
    height: auto; /* Ensure images scale down */
    max-width: 100%;
  }
  .page-about__values-grid {
    grid-template-columns: 1fr;
  }
  .page-about__value-card {
    padding: 20px;
  }
  .page-about__card-title {
    font-size: 1.3em;
  }
  .page-about__cta-title {
    font-size: 2em;
  }
  .page-about__cta-text {
    font-size: 1em;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__cta-button {
    width: 100%;
  }

  /* Mobile specific image handling to prevent overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  .page-about__grid-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 0.9em;
  }
  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
}

/* Ensure all images within .page-about are not smaller than 200px display size */
.page-about img {
  min-width: 200px;
  min-height: 200px;
  /* max-width: 100%; height: auto; will be applied in media queries for responsiveness */
}

/* Animation for sections */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}