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

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

.page-about__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #C91F17 0%, #E53935 100%);
  padding-bottom: 40px;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height for hero image */
  overflow: hidden;
}

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

.page-about__hero-content {
  position: relative;
  z-index: 10;
  padding: 20px;
  max-width: 800px;
  margin-top: -100px; /* Overlap slightly for visual effect, but text is below image in DOM */
  color: #FFF5E1;
}

.page-about__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFF5E1;
  margin-bottom: 15px;
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
}

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

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
  color: #7A0E0E; /* Deep Red for text on gold */
  border: 2px solid #F2B544; /* Border color */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-about__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-about__btn-secondary {
  background: #B71C1C; /* Background */
  color: #FFF5E1; /* Text Main */
  border: 2px solid #F2B544; /* Border color */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-about__btn-secondary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-about__section-title {
  font-size: 2.5em;
  color: #FFF5E1; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
}

.page-about__section-text {
  font-size: 1.1em;
  color: #FFF5E1; /* Text Main */
  text-align: justify;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__introduction-section,
.page-about__mission-vision-section,
.page-about__values-section,
.page-about__why-choose-section,
.page-about__team-section,
.page-about__commitment-section,
.page-about__faq-section,
.page-about__cta-final-section {
  padding: 60px 0;
}

.page-about__dark-section {
  background-color: #7A0E0E; /* Deep Red */
  color: #FFF5E1;
}

.page-about__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  max-width: 100%; /* Ensure responsiveness */
}

.page-about__image-content--large {
  max-width: 1000px;
}

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

.page-about__card {
  background-color: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-about__card-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD86A; /* Gold color for titles */
  margin-bottom: 15px;
}

.page-about__card-text {
  font-size: 1em;
  text-align: justify;
}

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

.page-about__value-item .page-about__card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

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

.page-about__reason-item {
  background-color: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__reason-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-about__reason-title {
  font-size: 1.6em;
  font-weight: bold;
  color: #FFD86A; /* Gold color */
  margin-bottom: 15px;
}

.page-about__reason-text {
  font-size: 1em;
  text-align: justify;
}

.page-about__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-about__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #C91F17; /* Main color */
  color: #FFF5E1; /* Text Main */
  font-weight: bold;
  font-size: 1.2em;
  border-bottom: 1px solid #E53935;
  transition: background-color 0.3s ease;
}

.page-about__faq-item summary:hover {
  background-color: #E53935; /* Auxiliary color */
}

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

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

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

.page-about__faq-answer {
  padding: 20px 25px;
  background-color: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
  font-size: 1em;
  text-align: justify;
}

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

.page-about__cta-final-section {
  text-align: center;
  background: linear-gradient(180deg, #E53935 0%, #C91F17 100%);
  padding: 80px 20px;
}

.page-about__btn-large {
  padding: 15px 40px;
  font-size: 1.2em;
  margin-top: 30px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__container {
    padding: 20px 30px;
  }

  .page-about__hero-content {
    margin-top: -80px;
  }

  .page-about__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

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

  .page-about__grid-layout,
  .page-about__values-grid,
  .page-about__reason-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

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

  .page-about__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  /* 1. 顶区轮播 (Hero Section) - No carousel here, but general hero section adapts */
  .page-about__hero-section {
    padding-top: 10px !important;
    padding-bottom: 20px;
  }

  .page-about__hero-content {
    margin-top: -50px; /* Adjust overlap for smaller screens */
    padding: 15px;
  }

  .page-about__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em) !important;
  }

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

  .page-about__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    width: 100%;
  }

  .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-left: 15px;
    padding-right: 15px;
  }

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

  .page-about__section-text {
    font-size: 0.95em;
  }

  .page-about__image-content,
  .page-about__card-image,
  .page-about__reason-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-about__introduction-section,
  .page-about__mission-vision-section,
  .page-about__values-section,
  .page-about__why-choose-section,
  .page-about__team-section,
  .page-about__commitment-section,
  .page-about__faq-section,
  .page-about__cta-final-section {
    padding: 40px 0;
  }

  .page-about__grid-layout,
  .page-about__values-grid,
  .page-about__reason-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

  .page-about__card,
  .page-about__reason-item {
    padding: 20px;
  }

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

  .page-about__reason-title {
    font-size: 1.4em;
  }

  .page-about__faq-item summary {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

  .page-about__btn-large {
    padding: 12px 30px;
    font-size: 1.1em;
  }

  /* No specific guide box / team cards for about page, general grid adapts */
  /* No home_content box with fixed height, general sections adapt */
  /* No blog grid, general card layout adapts */
}