.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text on light background */
  background-color: var(--auxiliary-color, #FFFFFF); /* Body background from shared.css */
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, #26A9E0, #FFFFFF);
  color: #333333;
}

.page-about__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

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

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-about__hero-title {
  font-size: 2.8em;
  color: #000000;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-about__hero-description {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 30px;
  max-width: 800px;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #EA7C07; /* Custom color for login/CTA */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__cta-button:hover {
  background: #d46b00;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-about__section {
  padding: 60px 20px;
  text-align: center;
}

.page-about__section--mission {
  background-color: #f9f9f9;
}

.page-about__section--values {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff; /* White text on primary background */
}

.page-about__section--history {
  background-color: #ffffff;
}

.page-about__section--commitment {
  background-color: #f9f9f9;
}

.page-about__section--team {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff; /* White text on primary background */
}

.page-about__section--faq {
  background-color: #ffffff;
}

.page-about__section--cta {
  background-color: #f0f0f0;
  padding: 80px 20px;
}

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

.page-about__heading {
  font-size: 2.2em;
  margin-bottom: 20px;
  color: #000000;
  font-weight: bold;
}

.page-about__section--values .page-about__heading,
.page-about__section--team .page-about__heading {
  color: #ffffff;
}

.page-about__sub-heading {
  font-size: 1.5em;
  margin-top: 20px;
  margin-bottom: 15px;
  color: #26A9E0;
  font-weight: 600;
}

.page-about__section--values .page-about__sub-heading,
.page-about__section--team .page-about__sub-heading {
  color: #ffffff;
}

.page-about__text {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

.page-about__section--values .page-about__text,
.page-about__section--team .page-about__text {
  color: #f0f0f0;
}

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

.page-about__mission-item, .page-about__value-card, .page-about__commitment-item, .page-about__team-member {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-about__mission-item:hover, .page-about__value-card:hover, .page-about__commitment-item:hover, .page-about__team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-about__section--values .page-about__value-card {
  background: rgba(255, 255, 255, 0.15); /* Slightly transparent white on primary background */
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-about__section--values .page-about__value-card .page-about__value-title {
  color: #ffffff;
}

.page-about__section--team .page-about__team-member {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-about__section--team .page-about__team-member .page-about__member-name {
  color: #ffffff;
}

.page-about__mission-item img,
.page-about__commitment-item img,
.page-about__team-member img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  max-width: 100%;
  display: block;
}

.page-about__team-member img {
  border-radius: 50%;
  
  
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
}

.page-about__value-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-about__section--values .page-about__value-title {
  color: #ffffff;
}

.page-about__history-timeline {
  position: relative;
  max-width: 900px;
  margin: 60px auto;
  padding: 20px 0;
}

.page-about__history-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: #26A9E0;
  transform: translateX(-50%);
}

.page-about__timeline-item {
  position: relative;
  margin-bottom: 40px;
  width: 50%;
  padding: 10px 0;
}

.page-about__timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 40px;
  text-align: right;
}

.page-about__timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 40px;
  text-align: left;
}

.page-about__timeline-item::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: #26A9E0;
  border: 3px solid #ffffff;
  border-radius: 50%;
  top: 20px;
  z-index: 1;
}

.page-about__timeline-item:nth-child(odd)::after {
  right: -8px;
  transform: translateX(50%);
}

.page-about__timeline-item:nth-child(even)::after {
  left: -8px;
  transform: translateX(-50%);
}

.page-about__timeline-year {
  font-size: 1.8em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-about__timeline-content {
  background: #f0f0f0;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  color: #333333;
}

.page-about__timeline-content .page-about__sub-heading {
  color: #26A9E0;
  margin-top: 0;
}

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

/* FAQ容器样式 */
.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* FAQ default state - answer hidden */
.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 15px;
  opacity: 0;
  color: #555555;
}

/* FAQ expanded state - 🚨 Use !important and sufficiently large max-height */
.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important; /* 🚨 Use !important for priority, value large enough to contain any content */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

/* Question style */
.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #333333;
}

.page-about__faq-item.active .page-about__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: #26A9E0;
}

.page-about__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-about__faq-question:active {
  background: #eeeeee;
}

/* Question title style */
.page-about__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 from blocking click events */
  color: #333333;
}

/* Toggle icon */
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #26A9E0;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click events */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #26A9E0;
  border-radius: 50%;
}

.page-about__faq-item.active .page-about__faq-toggle {
  color: #ffffff;
  background-color: #26A9E0;
  transform: rotate(45deg);
}

.page-about__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-about__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  box-sizing: border-box;
}

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

.page-about__btn-primary {
  background: #EA7C07; /* Custom login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-about__btn-primary:hover {
  background: #d46b00;
  border-color: #d46b00;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-about__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-about__btn-secondary:hover {
  background: #e0f2f7;
  color: #1a7a9e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Image specific styles */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
  /* No filter properties allowed */
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__hero-title {
    font-size: 2.2em;
  }

  .page-about__heading {
    font-size: 1.8em;
  }

  .page-about__text {
    font-size: 1em;
  }
}

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

  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-about__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__section {
    padding: 40px 15px;
  }

  .page-about__heading {
    font-size: 1.5em;
    margin-bottom: 15px;
  }

  .page-about__sub-heading {
    font-size: 1.2em;
  }

  .page-about__text {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

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

  .page-about__mission-item, .page-about__value-card, .page-about__commitment-item, .page-about__team-member {
    padding: 20px;
  }

  .page-about__timeline-item {
    width: 100%;
    padding: 0;
    margin-bottom: 30px;
  }

  .page-about__history-timeline::before {
    left: 15px;
    transform: translateX(0);
  }

  .page-about__timeline-item:nth-child(odd),
  .page-about__timeline-item:nth-child(even) {
    left: 0;
    padding-left: 40px;
    text-align: left;
  }

  .page-about__timeline-item:nth-child(odd)::after,
  .page-about__timeline-item:nth-child(even)::after {
    left: 8px;
    transform: translateX(0);
  }

  .page-about__timeline-year {
    font-size: 1.5em;
    margin-bottom: 5px;
  }

  .page-about__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }

  .page-about__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }

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

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

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

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex-wrap: wrap !important;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile image responsiveness */
  .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,
  .page-about__hero-content,
  .page-about__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}