/* style/about.css */

/* 基础样式 */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css var(--dark-bg-1) */
}

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

.page-about__main-heading {
  font-size: 38px;
  font-weight: 700;
  color: #FFD700; /* Gold for main heading */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-about__sub-heading {
  font-size: 30px;
  font-weight: 600;
  color: #FF4500; /* Orange-red for sub headings */
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.3;
}

.page-about__paragraph {
  font-size: 17px;
  margin-bottom: 15px;
  color: #f0f0f0;
  text-align: justify;
}

.page-about__highlight {
  color: #FFD700;
  font-weight: bold;
}

.page-about__btn-primary {
  display: inline-block;
  background: #FF4500;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
  margin-top: 20px;
  text-align: center;
}

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

.page-about__contact-link {
  color: #FFD700;
  text-decoration: underline;
  transition: color 0.3s ease;
}

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

/* Sections */
.page-about__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 10px; /* Fixed nav bar clearance */
  margin-top: 0;
}

.page-about__hero-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.page-about__hero-image {
  width: 100%;
  margin: 0;
}

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

.page-about__dark-section {
  background-color: #1A202C;
  padding: 60px 0;
}

.page-about__light-bg {
  background-color: #0d0d0d; /* Slightly lighter dark for contrast */
  color: #ffffff;
  padding: 60px 0;
}

.page-about__intro-section .page-about__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-about__intro-section .page-about__paragraph {
  max-width: 900px;
  margin-bottom: 20px;
}

.page-about__vision-mission-section .page-about__sub-heading,
.page-about__history-section .page-about__sub-heading,
.page-about__why-choose-section .page-about__sub-heading,
.page-about__faq-section .page-about__sub-heading {
  margin-bottom: 40px;
}

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

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

.page-about__image-block {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

/* Why Choose Section */
.page-about__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__advantage-card {
  background-color: rgba(255, 255, 255, 0.08); /* Dark background friendly */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__advantage-card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-about__advantage-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__card-title {
  font-size: 22px;
  font-weight: 600;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-about__advantage-card .page-about__paragraph {
  font-size: 15px;
  color: #e0e0e0;
  text-align: center;
}

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

.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05); /* Dark background friendly */
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-about__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #FF4500;
}

.page-about__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

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

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

.page-about__faq-answer .page-about__paragraph {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 0;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__main-heading {
    font-size: 32px;
  }
  .page-about__sub-heading {
    font-size: 26px;
  }
  .page-about__paragraph {
    font-size: 16px;
  }
  .page-about__grid-two-cols {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-about__grid-two-cols--reverse {
    grid-template-columns: 1fr;
  }
  .page-about__image-block {
    order: -1; /* Image first on mobile */
  }
  .page-about__advantage-card {
    padding: 25px;
  }
  .page-about__card-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: 10px;
  }
  .page-about__dark-section, .page-about__light-bg {
    padding: 40px 0;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__main-heading {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-about__sub-heading {
    font-size: 22px;
    margin-bottom: 30px;
  }
  .page-about__paragraph {
    font-size: 15px;
  }
  .page-about__btn-primary {
    padding: 10px 24px;
    font-size: 15px;
  }
  .page-about__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about__advantage-icon {
    width: 80px;
    height: 80px;
  }
  .page-about__card-title {
    font-size: 18px;
  }
  .page-about__faq-question {
    padding: 15px 20px;
  }
  .page-about__faq-question h3 {
    font-size: 16px;
  }
  .page-about__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-about__faq-answer {
    padding: 0 20px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px 20px !important;
  }

  /* Mobile image fallback */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__image-block,
  .page-about__advantage-card,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  /* Specific adjustments for elements that might have padding */
  .page-about__vision-mission-section .page-about__container,
  .page-about__history-section .page-about__container,
  .page-about__why-choose-section .page-about__container,
  .page-about__faq-section .page-about__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}