/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  color: #FFF3E6; /* Text Main */
  background: #0D0E12; /* Background */
  line-height: 1.6;
}

/* Hero Section */
.page-about__hero-section {
  padding-top: 10px; /* Small top padding as per instruction */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-about__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-about__hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* H1 clamp */
  font-weight: 700;
  color: #FF8C1A; /* Main color */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -1px;
}

.page-about__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF3E6; /* Text Main */
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
  max-width: 100%; /* For button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

/* General Section Styling */
.page-about__section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-about__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #FF8C1A; /* Main color */
  margin-bottom: 40px;
  font-weight: 700;
}

.page-about__section-description {
  font-size: 1.1rem;
  color: #FFF3E6; /* Text Main */
  max-width: 800px;
  margin: 0 auto 50px;
}

/* About Section */
.page-about__about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  text-align: left;
}

.page-about__about-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  color: #FFF3E6;
}

.page-about__about-text h3 {
  color: #FFA53A; /* Auxiliary color */
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.page-about__about-text p {
  margin-bottom: 15px;
}

.page-about__about-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

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

/* Why Choose Us Section */
.page-about__why-choose-us {
  background: #17191F; /* Card BG */
  padding: 80px 20px;
}

.page-about__section-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 40px auto;
  border-radius: 8px;
  overflow: hidden;
}

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

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

.page-about__feature-card {
  background: #0D0E12; /* Background */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C; /* Border color */
  transition: transform 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-10px);
}

.page-about__feature-card-header {
  margin-bottom: 20px;
}

.page-about__feature-card-image {
  width: 200px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-about__feature-card h3 {
  color: #FFA53A; /* Auxiliary color */
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.page-about__feature-card p {
  color: #FFF3E6; /* Text Main */
  font-size: 1rem;
}

/* Commitment Section */
.page-about__commitment-section {
  background: #0D0E12; /* Background */
}

.page-about__commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
  text-align: left;
}

.page-about__commitment-item {
  background: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C; /* Border color */
}

.page-about__commitment-item h3 {
  color: #FF8C1A; /* Main color */
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.page-about__commitment-item p {
  color: #FFF3E6; /* Text Main */
}

/* Team Section */
.page-about__team-section {
  background: #17191F; /* Card BG */
}

.page-about__team-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 40px auto;
  border-radius: 8px;
  overflow: hidden;
}

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

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

.page-about__team-member-card {
  background: #0D0E12; /* Background */
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C; /* Border color */
}

.page-about__team-member-name {
  color: #FF8C1A; /* Main color */
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.page-about__team-member-role {
  color: #FFF3E6; /* Text Main */
  font-size: 1rem;
  margin-bottom: 15px;
}

.page-about__team-member-description {
  color: #FFF3E6; /* Text Main */
  font-size: 0.9rem;
}

/* FAQ Section */
.page-about__faq-section {
  background: #0D0E12; /* Background */
}

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

.page-about__faq-item {
  background: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-item details {
  width: 100%;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  color: #FFA53A; /* Auxiliary color */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-about__faq-question:hover {
  background-color: rgba(255, 140, 26, 0.1);
}

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #FF8C1A; /* Main color */
  margin-left: 15px;
}

.page-about__faq-answer {
  padding: 0 25px 20px;
  color: #FFF3E6; /* Text Main */
  font-size: 1rem;
  line-height: 1.6;
}

.page-about__faq-item[open] .page-about__faq-question {
  background-color: rgba(255, 140, 26, 0.15);
}

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

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

  /* HERO 主图区域 */
  .page-about__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 40px;
  }
  
  .page-about__hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    padding: 0 15px;
  }

  .page-about__hero-description {
    font-size: 1rem;
    padding: 0 15px;
  }

  /* 按钮与按钮容器 */
  .page-about__cta-button {
    width: calc(100% - 30px) !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
    margin: 0 15px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* General Section Styling */
  .page-about__section {
    padding: 50px 15px;
  }

  .page-about__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-about__section-description {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  /* About Section */
  .page-about__about-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__about-text {
    max-width: 100%;
    padding: 0 15px;
  }

  .page-about__about-text h3 {
    font-size: 1.5rem;
  }

  .page-about__about-image-wrapper {
    max-width: 100%;
    padding: 0 15px;
  }

  /* Why Choose Us Section */
  .page-about__why-choose-us {
    padding: 50px 15px;
  }

  .page-about__section-image-wrapper {
    padding: 0 15px;
  }

  .page-about__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__feature-card {
    padding: 25px;
  }

  .page-about__feature-card h3 {
    font-size: 1.3rem;
  }

  /* Commitment Section */
  .page-about__commitment-section {
    padding: 50px 15px;
  }

  .page-about__commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__commitment-item {
    padding: 25px;
  }

  .page-about__commitment-item h3 {
    font-size: 1.4rem;
  }

  /* Team Section */
  .page-about__team-section {
    padding: 50px 15px;
  }

  .page-about__team-image-wrapper {
    padding: 0 15px;
  }

  .page-about__team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* FAQ 与其他模块 */
  .page-about__faq-section {
    padding: 50px 15px;
  }

  .page-about__faq-list {
    margin-top: 30px;
  }

  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-about__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }

  /* 通用图片与容器 */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-image-wrapper,
  .page-about__about-image-wrapper,
  .page-about__section-image-wrapper,
  .page-about__team-image-wrapper,
  .page-about__features-grid,
  .page-about__commitment-grid,
  .page-about__team-grid,
  .page-about__faq-list,
  .page-about__about-text {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 多个按钮横向排列时，允许换行 */
  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-about__cta-buttons {
    display: flex;
    flex-direction: column; /* 移动端垂直排列，或使用 flex-wrap: wrap */
  }
}

@media (max-width: 549px) {
  /* No specific rules for this breakpoint required by checklist */
}

/* Color contrast enforcement */
.page-about__dark-section {
  background: #FF8C1A; /* Main color */
  color: #ffffff; /* Forced white text */
}

.page-about__btn-primary {
  background: #FF8C1A;
  color: #ffffff; /* Button text always white */
  border: 2px solid transparent;
}

.page-about__btn-secondary {
  background: #ffffff;
  color: #FF8C1A; /* Use brand color for contrast */
  border: 2px solid #FF8C1A;
}