.page-about {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
}

.page-about__hero-section {
  background-color: #000000; /* Main color for hero background */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-about__hero-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FCBC45; /* Highlight color for title */
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__button {
  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;
  min-width: 150px; /* Ensure button minimum width */
}

.page-about__button--register {
  background-color: #FFFFFF; /* Register button background */
  color: #000000; /* Register button text */
  border: 2px solid #FFFFFF;
}

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

.page-about__button--login {
  background-color: #FCBC45; /* Login button background */
  color: #000000; /* Login button text */
  border: 2px solid #FCBC45;
}

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

.page-about__story-section, 
.page-about__mission-values-section, 
.page-about__why-choose-us-section, 
.page-about__team-section, 
.page-about__contact-cta-section {
  padding: 60px 20px;
  background-color: #FFFFFF;
}

.page-about__content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-about__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #000000;
  text-align: center;
  width: 100%;
  margin-bottom: 40px;
}

.page-about__paragraph {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 20px;
}

.page-about__story-text-content, .page-about__why-choose-us-text {
  flex: 1;
  min-width: 300px;
}

.page-about__story-image-container, .page-about__why-choose-us-image-container {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-about__story-image, .page-about__why-choose-us-image, .page-about__team-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure it's a block element */
  margin: 0 auto; /* Center image */
}

.page-about__mission-values-section {
  background-color: #f8f8f8;
}

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

.page-about__card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-about__card-icon {
  width: 200px;
  height: 200px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-about__why-choose-us-section {
  background-color: #FFFFFF;
}

.page-about__why-choose-us-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-about__list-item {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-about__list-item::before {
  content: '✓';
  color: #FCBC45;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-about__button--learn-more {
  background-color: #FCBC45;
  color: #000000;
  margin-top: 30px;
  border: 2px solid #FCBC45;
}

.page-about__button--learn-more:hover {
  background-color: #e0a030;
}

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

.page-about__team-image-container {
  width: 100%;
  text-align: center;
  margin-top: 40px;
}

.page-about__contact-cta-section {
  text-align: center;
}

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

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

.page-about__button--contact:hover {
  background-color: #333333;
}

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

.page-about__button--faq:hover {
  background-color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }

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

  .page-about__content-wrapper {
    flex-direction: column;
  }

  .page-about__story-text-content, 
  .page-about__why-choose-us-text,
  .page-about__story-image-container,
  .page-about__why-choose-us-image-container {
    width: 100%;
    flex: none;
  }
}

@media (max-width: 768px) {
  .page-about {
    padding-top: var(--header-offset, 120px); /* Ensure mobile also respects header offset */
  }

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

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

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

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

  .page-about__button {
    padding: 12px 25px;
    min-width: unset;
  }

  .page-about__hero-buttons, .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__button, .page-about__button--contact, .page-about__button--faq, .page-about__button--learn-more {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  /* Ensure all content area images are responsive and don't overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
}

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

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

  .page-about__button {
    width: 90%;
  }
}