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

.page-about__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  background-color: #000000; /* Main color as background for hero text overlay */
  overflow: hidden;
}

.page-about__hero-container {
  position: relative;
  max-width: 100%; /* Ensure it does not overflow */
  margin: 0 auto;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.6; /* Slightly dim image for text readability */
}

.page-about__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF; /* White text on dark hero background */
  max-width: 800px;
  padding: 20px;
  z-index: 10;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

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

.page-about__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px; /* Ensure button minimum width */
  text-align: center;
}

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

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

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

.page-about__button--login:hover {
  background-color: #E6A532;
  color: #000000;
}

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

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

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

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

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

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

.page-about__mission-card:hover, .page-about__vision-card:hover {
  transform: translateY(-10px);
}

.page-about__card-image {
  width: 100%;
  height: auto;
  max-height: 400px; /* Max height for card images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

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

.page-about__card-text {
  font-size: 1.1em;
  color: #555555;
}

.page-about__values-section {
  padding: 80px 0;
}

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

.page-about__value-item {
  background-color: #FFFFFF;
  border: 1px solid #EEEEEE;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.page-about__value-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-about__value-icon {
  width: 100%;
  height: auto;
  max-width: 300px; /* Max width for value icons */
  max-height: 200px; /* Max height for value icons */
  object-fit: cover;
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 5px;
}

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

.page-about__value-description {
  color: #666666;
}

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

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

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

.page-about__button--cta {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  font-size: 1.1em;
  padding: 15px 35px;
}

.page-about__button--cta:hover {
  background-color: #E6A532;
  color: #000000;
}

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

@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__button {
    width: 100%;
    max-width: 300px;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__card-title {
    font-size: 1.5em;
  }
  .page-about__card-text {
    font-size: 0.95em;
  }
  .page-about__value-title {
    font-size: 1.3em;
  }
  .page-about__cta-title {
    font-size: 2.2em;
  }
  /* Ensure images do not overflow on mobile */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  .page-about__card-image {
    max-width: 100%;
    height: auto;
  }
  .page-about__value-icon {
    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__section-title {
    font-size: 1.5em;
  }
  .page-about__cta-title {
    font-size: 1.8em;
  }
  .page-about__button--cta {
    font-size: 1em;
    padding: 12px 25px;
  }
}