.page-about {
  color: #333333; /* Default dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding for content */
  background: linear-gradient(135deg, #26A9E0, #1a7bbd); /* Primary brand color gradient */
  color: #ffffff;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px; /* Space between image and text */
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
}

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

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

.page-about__cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

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

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

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

.page-about__btn-secondary:hover {
  background: #f0f8ff;
  color: #1a7bbd;
  border-color: #1a7bbd;
  transform: translateY(-2px);
}

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

.page-about__intro-section,
.page-about__commitment-section,
.page-about__achievements-partners,
.page-about__conclusion-section {
  padding: 60px 0;
  background: #ffffff;
  color: #333333;
}

.page-about__why-choose-us,
.page-about__access-guide,
.page-about__faq-section {
  padding: 60px 0;
  background: #26A9E0; /* Primary brand color for darker sections */
  color: #ffffff;
}

.page-about__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
  color: inherit;
}

.page-about__sub-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit;
}

.page-about__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: inherit;
}

.page-about__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: inherit;
}

.page-about__list-item {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-about__list--two-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  list-style: none;
  padding-left: 0;
}

.page-about__list--two-cols .page-about__list-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  color: inherit;
}

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

.page-about__grid-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-about__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 30px auto;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 30px;
}

.page-about__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: 600;
  font-size: 1.1em;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
  list-style: none; /* For <summary> */
}

.page-about__faq-question::-webkit-details-marker { /* For <summary> */
  display: none;
}

.page-about__faq-question:hover {
  background: rgba(255, 255, 255, 0.25);
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-about__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  line-height: 1.7;
  background: rgba(255, 255, 255, 0.05);
  color: #f0f8ff;
}

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

.page-about__faq-answer a {
  color: #EA7C07; /* Highlight links in FAQ */
  text-decoration: underline;
}

.page-about__faq-answer a:hover {
  color: #d66f06;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 10px 15px 40px;
  }

  .page-about__main-title {
    font-size: 2.2em;
  }

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

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-about__cta-button {
    width: 100% !important;
    padding: 12px 20px;
  }

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

  .page-about__sub-title {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-about__intro-section,
  .page-about__why-choose-us,
  .page-about__commitment-section,
  .page-about__access-guide,
  .page-about__achievements-partners,
  .page-about__faq-section,
  .page-about__conclusion-section {
    padding: 40px 0;
  }

  .page-about__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-about video,
  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

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

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

  .page-about__image-grid {
    grid-template-columns: 1fr;
  }
}

/* General text contrast for specific backgrounds */
.page-about__dark-section p,
.page-about__dark-section li,
.page-about__dark-section a {
  color: #f0f8ff;
}

.page-about__dark-section h2,
.page-about__dark-section h3 {
  color: #ffffff;
}

.page-about__light-bg p,
.page-about__light-bg li,
.page-about__light-bg a {
  color: #333333;
}

.page-about__light-bg h2,
.page-about__light-bg h3 {
  color: #000000;
}