.page-about {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  line-height: 1.6;
  background-color: transparent; /* Inherit from body */
}

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

.page-about__dark-bg {
  background-color: #1a1a2e; /* Inherit from body for consistency */
  color: #ffffff;
}

.page-about__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-about__hero-section {
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure hero section has a decent height */
  padding-top: 0; /* Assumes shared.css handles body padding-top for header offset */
}

.page-about__hero-content {
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-about__hero-image-wrapper {
  margin-top: 40px;
}

.page-about__hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-about__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 60px;
  color: #017439; /* Brand color for titles in light sections */
  position: relative;
  padding-bottom: 15px;
}

.page-about__dark-bg .page-about__section-title {
  color: #ffffff; /* White for titles in dark sections */
}

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

.page-about__mission-vision-section,
.page-about__why-choose-us-section,
.page-about__values-section,
.page-about__faq-section,
.page-about__cta-section {
  padding: 80px 0;
}

.page-about__grid-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__content-block {
  text-align: left;
}

.page-about__content-subtitle {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 15px;
}

.page-about__text {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-about__image-block {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-about__dark-bg .page-about__content-subtitle {
  color: #ffffff;
}

.page-about__dark-bg .page-about__text {
  color: #f0f0f0;
}

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

.page-about__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #ffffff;
}

.page-about__light-bg .page-about__card {
  background: #ffffff;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-about__dark-bg .page-about__card-title {
  color: #FFFF00; /* Custom color for titles on dark cards */
}

.page-about__card-text {
  font-size: 1em;
  line-height: 1.6;
}

.page-about__value-item {
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  background: #f8f8f8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  color: #333333;
}

.page-about__dark-bg .page-about__value-item {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.page-about__dark-bg .page-about__value-title {
  color: #FFFF00;
}

.page-about__value-text {
  font-size: 1em;
  line-height: 1.6;
}

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

.page-about__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

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

.page-about__faq-title {
  margin: 0;
  flex-grow: 1;
  color: #ffffff;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.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;
  background-color: rgba(255, 255, 255, 0.02); /* Slightly lighter background for answer */
  color: #f0f0f0;
}

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

.page-about__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.7;
}

.page-about__cta-section {
  text-align: center;
  background-color: #ffffff;
  color: #333333;
}

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

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
}

.page-about__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
}

.page-about__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-3px);
}

.page-about__btn-secondary {
  background-color: #017439;
  color: #ffffff;
  border-color: #017439;
}

.page-about__btn-secondary:hover {
  background-color: #005a2d;
  border-color: #005a2d;
  transform: translateY(-3px);
}

/* General image styling */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsive styles */
@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: 2.2em;
    margin-bottom: 40px;
  }

  .page-about__content-subtitle {
    font-size: 1.6em;
  }

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

  .page-about__hero-content {
    margin-bottom: 20px;
  }

  .page-about__hero-image-wrapper {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__container {
    padding: 0 15px !important;
  }

  /* HERO 主图区域 */
  .page-about__hero-section {
    padding: 60px 0 !important;
    min-height: auto !important;
    padding-top: 0 !important; /* Ensure no double padding if shared.css adds to body */
  }

  .page-about__hero-title {
    font-size: 2.2em !important;
    margin-bottom: 15px !important;
  }

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

  .page-about__hero-image-wrapper {
    margin-top: 30px !important;
  }

  /* 其他内容模块 */
  .page-about__mission-vision-section,
  .page-about__why-choose-us-section,
  .page-about__values-section,
  .page-about__faq-section,
  .page-about__cta-section {
    padding: 40px 0 !important;
  }

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

  .page-about__section-title::after {
    width: 60px !important;
  }

  .page-about__content-subtitle {
    font-size: 1.4em !important;
  }

  .page-about__text {
    font-size: 0.95em !important;
  }

  /* 通用图片与容器 */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-about__image-block,
  .page-about__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* 卡片布局 */
  .page-about__features-grid,
  .page-about__values-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-about__card {
    padding: 25px !important;
  }

  .page-about__card-title {
    font-size: 1.3em !important;
  }

  /* FAQ */
  .page-about__faq-question {
    padding: 15px !important;
    font-size: 1.1em !important;
  }

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

  /* 按钮与按钮容器 */
  .page-about__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  .page-about__cta-description {
    font-size: 1em !important;
    padding: 0 15px !important;
  }
}