.page-about__hero-section {
  position: relative;
  background: linear-gradient(135deg, #017439, #005a2d);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  padding-top: var(--header-offset, 120px);
}

.page-about__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-about__description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-about__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Đăng ký màu */
  color: #FFFF00; /* Đăng ký và Đăng nhập font màu */
  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__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-about__section {
  padding: 60px 20px;
}

.page-about__light-bg {
  background-color: #f4f4f4; /* Body background color */
  color: #333333; /* Recommended text color for light background */
}

.page-about__dark-bg {
  background-color: #017439; /* Brand primary color */
  color: #ffffff; /* White text for dark background */
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-about__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
  color: inherit; /* Inherit color from parent section */
}

.page-about__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-about__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
  line-height: 1.8;
  font-size: 1.1em;
}

.page-about__text-block p {
  margin-bottom: 15px;
  color: inherit;
}

.page-about__image-wrapper {
  flex: 1;
  min-width: 300px; /* Ensure image wrapper has a minimum width */
  text-align: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

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

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

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

.page-about__team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid #017439;
}

.page-about__member-name {
  font-size: 1.5em;
  margin-bottom: 5px;
  color: #017439;
}

.page-about__member-role {
  font-size: 1em;
  color: #555555;
}

.page-about__faq-section {
  padding: 60px 20px;
}

.page-about__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f9f9f9;
  color: #333333;
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: #eaeaea;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #017439;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg);
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px;
}

.page-about__faq-answer p {
  margin-bottom: 10px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 3em;
  }

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

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

  .page-about__content-grid--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

  .page-about__description {
    font-size: 1em;
  }

  .page-about__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__section {
    padding: 40px 15px;
  }

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-about__text-block {
    font-size: 1em;
  }

  .page-about__image {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__image-wrapper,
  .page-about__team-members,
  .page-about__faq-list,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

  .page-about__team-card {
    padding: 20px;
  }

  .page-about__team-photo {
    width: 120px;
    height: 120px;
  }

  .page-about__member-name {
    font-size: 1.3em;
  }

  .page-about__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-about__faq-answer {
    padding: 10px 15px;
  }
}