/* -------------------------------------------------------------------------- */
/*                            Base & Typography                               */
/* -------------------------------------------------------------------------- */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text on light body background */
  background-color: #FFFFFF;
}

.page-about h1,
.page-about h2,
.page-about h3,
.page-about h4,
.page-about h5,
.page-about h6 {
  color: #017439;
  margin-top: 0;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-about__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #017439;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding-bottom: 15px;
}

.page-about__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #017439;
}

.page-about__section-title--white {
  color: #FFFFFF;
}

.page-about__description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-about__description--white {
  color: #f0f0f0;
}

.page-about__text-block {
  max-width: 900px;
  margin: 0 auto 20px auto;
  padding: 0 15px;
}

.page-about a {
  color: #017439;
  text-decoration: none;
}

.page-about a:hover {
  text-decoration: underline;
}

/* -------------------------------------------------------------------------- */
/*                                 Hero Section                               */
/* -------------------------------------------------------------------------- */
.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #FFFFFF;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-about__hero-content {
  max-width: 900px;
  padding: 0 15px;
}

/* -------------------------------------------------------------------------- */
/*                                CTA Buttons                                 */
/* -------------------------------------------------------------------------- */
.page-about__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.page-about__cta-buttons--center {
  margin-top: 40px;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  flex-grow: 1;
}

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

.page-about__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(195, 8, 8, 0.3);
}

.page-about__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-about__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2e;
  border-color: #005f2e;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* -------------------------------------------------------------------------- */
/*                                Intro Section                               */
/* -------------------------------------------------------------------------- */
.page-about__intro-section {
  padding: 50px 20px;
  background-color: #f9f9f9;
}

.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0 auto;
  padding: 0 15px;
}

.page-about__feature-item {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.page-about__feature-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__feature-description {
  font-size: 1em;
  color: #555;
}

.page-about__value-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
  text-align: left;
}

.page-about__value-list li {
  margin-bottom: 8px;
  padding-left: 25px;
  position: relative;
  color: #555;
}

.page-about__value-list li::before {
  content: '✓';
  color: #017439;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* -------------------------------------------------------------------------- */
/*                              Why Choose Us Section                         */
/* -------------------------------------------------------------------------- */
.page-about__dark-section {
  background-color: #017439;
  color: #FFFFFF;
  padding: 60px 20px;
}

.page-about__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0 auto;
  padding: 0 15px;
}

.page-about__advantage-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.page-about__advantage-image {
  width: 100%;
  height: auto;
  max-width: 300px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__advantage-text {
  font-size: 0.95em;
  color: #555;
}

/* -------------------------------------------------------------------------- */
/*                             Commitment Section                             */
/* -------------------------------------------------------------------------- */
.page-about__commitment-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

.page-about__commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0 auto;
  padding: 0 15px;
}

.page-about__commitment-item {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__commitment-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.page-about__commitment-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__commitment-text {
  font-size: 1em;
  color: #555;
}

/* -------------------------------------------------------------------------- */
/*                             Partnership Section                            */
/* -------------------------------------------------------------------------- */
.page-about__partnership-section {
  padding: 60px 20px;
  background-color: #f2fbf7; /* Light green tint */
}

.page-about__partnership-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1000px;
  margin: 40px auto 0 auto;
  padding: 0 15px;
}

.page-about__partnership-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 450px;
  flex: 1 1 45%; /* Allow cards to grow but maintain minimum width */
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__partnership-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-about__partnership-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-about__partnership-description {
  font-size: 1em;
  color: #555;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* -------------------------------------------------------------------------- */
/*                                Contact Section                             */
/* -------------------------------------------------------------------------- */
.page-about__contact-section {
  background-color: #017439;
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
}

.page-about__contact-info {
  margin-top: 30px;
  font-size: 1.1em;
}

.page-about__contact-info p {
  margin-bottom: 10px;
}

.page-about__contact-link {
  color: #FFFF00;
  text-decoration: underline;
}

.page-about__contact-link:hover {
  color: #ffffff;
}

/* -------------------------------------------------------------------------- */
/*                                   FAQ Section                              */
/* -------------------------------------------------------------------------- */
.page-about__faq-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

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

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

details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-about__faq-item summary.page-about__faq-question::-webkit-details-marker {
  display: none;
}

details.page-about__faq-item summary.page-about__faq-question:hover {
  background: #f5f5f5;
}

.page-about__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #017439;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-about__faq-item[open] .page-about__faq-toggle {
  content: '−';
}

details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #fdfdfd;
  border-top: 1px solid #eee;
  border-radius: 0 0 8px 8px;
  font-size: 1em;
  color: #555;
}

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

.page-about__faq-link {
  color: #C30808;
  font-weight: 600;
}

.page-about__faq-link:hover {
  text-decoration: underline;
}

/* -------------------------------------------------------------------------- */
/*                                Media Queries                               */
/* -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 2.8em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__hero-image-wrapper {
    max-width: 1000px;
  }
  .page-about__features-grid,
  .page-about__advantages-grid,
  .page-about__commitment-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-about__partnership-card {
    flex: 1 1 48%;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-about__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 30px;
  }

  .page-about__hero-image-wrapper {
    margin-bottom: 20px;
    border-radius: 0;
    box-shadow: none;
  }

  .page-about__hero-image {
    object-fit: contain !important; /* Ensure image is fully visible, not cropped */
    aspect-ratio: unset !important; /* Remove fixed aspect ratio for better fit */
    border-radius: 0;
  }

  .page-about__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Responsive font size */
    margin-bottom: 15px;
  }

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

  /* 按钮与按钮容器 */
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 90%;
    padding: 0 15px;
  }

  .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;
    font-size: 1em;
  }

  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
  }

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

  .page-about__intro-section,
  .page-about__dark-section,
  .page-about__commitment-section,
  .page-about__partnership-section,
  .page-about__contact-section,
  .page-about__faq-section {
    padding: 40px 15px;
  }

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

  /* 产品展示图区域 (Features, Advantages, Commitment grids) */
  .page-about__features-grid,
  .page-about__advantages-grid,
  .page-about__commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  .page-about__feature-item,
  .page-about__advantage-card,
  .page-about__commitment-item {
    padding: 20px;
  }

  .page-about__feature-image,
  .page-about__advantage-image,
  .page-about__commitment-image {
    max-width: 100%;
    margin-bottom: 15px;
  }

  .page-about__partnership-cards {
    flex-direction: column;
    gap: 20px;
    padding: 0;
    max-width: 100%;
  }

  .page-about__partnership-card {
    max-width: 100%;
    flex-basis: auto;
  }

  /* FAQ Section */
  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px;
  }

  .page-about__faq-qtext {
    font-size: 15px;
  }

  .page-about__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }

  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 15px 15px;
  }

  .page-about p,
  .page-about li {
    font-size: 15px;
  }

  .page-about__text-block {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: clamp(1.6em, 8vw, 2.2em);
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    font-size: 0.95em;
    padding: 10px 15px;
  }

  .page-about__contact-info {
    font-size: 1em;
  }
}