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

.page-about__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

.page-about__hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  color: #FFFFFF;
  padding: 20px;
  box-sizing: border-box;
}

.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);
  max-width: 900px;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
}

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

.page-about__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, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-about__button--register {
  background-color: #FFFFFF; /* Register color */
  color: #000000; /* Main color for text */
}

.page-about__button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-about__button--login {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Main color for text */
}

.page-about__button--login:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

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

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

.page-about__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45; /* Login color for accent */
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-about__mission-vision, .page-about__values-section, .page-about__our-story, .page-about__team-section, .page-about__cta-section {
  padding: 60px 0;
}

.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.page-about__card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

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

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

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

.page-about__value-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

.page-about__value-icon {
  width: 200px; /* Minimum size for content images */
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-about__value-description {
  font-size: 0.95em;
  color: #666666;
}

.page-about__story-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
  font-size: 1.05em;
  color: #444444;
}

.page-about__story-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
  object-fit: cover;
}

.page-about__team-section {
  background-color: #f9f9f9;
}

.page-about__section-intro {
  text-align: center;
  font-size: 1.1em;
  color: #555555;
  max-width: 800px;
  margin: -20px auto 50px;
}

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

.page-about__team-member {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  border: 1px solid #eee;
}

.page-about__team-photo {
  width: 200px; /* Minimum size for content images */
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 4px solid #FCBC45;
}

.page-about__member-name {
  font-size: 1.6em;
  color: #000000; /* Main color */
  margin-bottom: 5px;
}

.page-about__member-role {
  font-size: 1em;
  color: #FCBC45; /* Login color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__member-bio {
  font-size: 0.9em;
  color: #666666;
}

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

.page-about__cta-title {
  font-size: 3em;
  color: #FCBC45; /* Login color for emphasis */
  margin-bottom: 20px;
}

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

.page-about__button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000;
  margin-right: 15px;
}

.page-about__button--primary:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-about__button--secondary {
  background-color: #FFFFFF; /* Register color */
  color: #000000;
}

.page-about__button--secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

/* 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: 2em;
  }

  .page-about__content-grid {
    grid-template-columns: 1fr;
  }

  .page-about__values-grid, .page-about__team-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .page-about__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-content {
    padding: 15px;
  }

  .page-about__hero-title {
    font-size: 2.2em;
  }

  .page-about__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-about__hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .page-about__button {
    width: 80%;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-about__section-title {
    font-size: 1.8em;
  }

  .page-about__mission-vision, .page-about__values-section, .page-about__our-story, .page-about__team-section, .page-about__cta-section {
    padding: 40px 0;
  }

  .page-about__card, .page-about__value-item, .page-about__team-member {
    padding: 20px;
  }

  .page-about__value-icon, .page-about__team-photo {
    width: 200px; /* Enforce min-width for mobile as well */
    height: 200px;
  }

  .page-about__cta-title {
    font-size: 2em;
  }

  .page-about__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-about__button--primary, .page-about__button--secondary {
    margin-right: 0;
    margin-bottom: 10px; /* Add space between buttons in column layout */
  }
  
  .page-about__container img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }

  .page-about__hero-description {
    font-size: 0.9em;
  }

  .page-about__button {
    width: 90%;
  }

  .page-about__section-title {
    font-size: 1.5em;
  }

  .page-about__cta-title {
    font-size: 1.8em;
  }
}