.page-about__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px);
  padding-bottom: 80px;
  text-align: center;
  color: #ffffff;
  background-color: #26A9E0; /* Using brand primary color for hero */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px; /* Ensure hero section has a decent height */
}

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

.page-about__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-about__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
  box-sizing: border-box;
  max-width: 100%;
}

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

.page-about__btn-primary:hover {
  background-color: #d46a00;
  border-color: #d46a00;
}

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

.page-about__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-about__mission-vision-section,
.page-about__why-choose-us-section,
.page-about__history-section,
.page-about__responsibility-section,
.page-about__team-section,
.page-about__faq-section,
.page-about__cta-section {
  padding: 60px 0;
}

.page-about__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-about__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-about__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
}

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.page-about__grid-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.page-about__card {
  background-color: rgba(255, 255, 255, 0.1); /* Light transparent background on dark sections */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-about__light-bg .page-about__card {
  background-color: #f8f8f8;
  color: #333333;
}

.page-about__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  font-weight: bold;
  color: inherit;
}

.page-about__card-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-about__card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-about__card-list .page-about__list-item {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 1em;
  line-height: 1.5;
}

.page-about__card-list .page-about__list-item::before {
  content: '✓';
  color: #EA7C07;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-about__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  color: #ffffff;
}

.page-about__feature-image {
  width: 100%;
  max-width: 400px; /* Example max-width for content images */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-about__feature-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  font-weight: bold;
  color: inherit;
}

.page-about__feature-text {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-about__feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  width: 100%;
  max-width: 300px;
}

.page-about__feature-list li {
  margin-bottom: 8px;
  font-size: 0.95em;
}

.page-about__feature-list li a {
  color: #ffffff;
  text-decoration: underline;
}

.page-about__feature-list li a:hover {
  color: #EA7C07;
}

.page-about__link-text {
  color: #EA7C07;
  text-decoration: underline;
  font-weight: bold;
  margin-top: 15px;
  display: inline-block;
}

.page-about__link-text:hover {
  color: #ffffff;
}

.page-about__content-flex {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-about__content-flex--reverse {
  flex-direction: row-reverse;
}

.page-about__text-content {
  flex: 1;
}

.page-about__text-content p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-about__light-bg .page-about__text-content p {
  color: #333333;
}

.page-about__dark-bg .page-about__text-content p {
  color: #ffffff;
}

.page-about__image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-about__image-full {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

.page-about__faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition: background-color 0.3s ease;
}

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

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

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

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #ffffff;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px 25px;
}

.page-about__faq-answer p {
  margin: 0;
  line-height: 1.6;
  font-size: 1em;
}

.page-about__faq-answer a {
  color: #EA7C07;
  text-decoration: underline;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-about__main-title {
    font-size: 2.5em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__grid-two-columns,
  .page-about__content-flex {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .page-about__content-flex--reverse {
    flex-direction: column;
  }
  .page-about__hero-description,
  .page-about__section-description {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 60px;
    min-height: unset;
  }
  .page-about__main-title {
    font-size: 2em;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__hero-buttons,
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce minimum size */
    min-height: 200px !important;
  }
  .page-about__image-wrapper,
  .page-about__feature-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-about__feature-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-about__card {
    padding: 20px;
  }
  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1.05em;
  }
  .page-about__faq-answer {
    padding: 0 20px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px 20px 20px;
  }

  /* Ensure content sections and cards don't overflow */
  .page-about__mission-vision-section,
  .page-about__why-choose-us-section,
  .page-about__history-section,
  .page-about__responsibility-section,
  .page-about__team-section,
  .page-about__faq-section,
  .page-about__cta-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden;
  }
}

/* Color contrast specific styles (re-applying for clarity on dark/light sections) */
.page-about__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-about__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Ensure text in cards on light background is dark */
.page-about__light-bg .page-about__card {
  background-color: #f8f8f8;
  color: #333333;
}

/* Ensure text in cards on dark background is white */
.page-about__dark-bg .page-about__card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Ensure text in feature cards on dark background is white */
.page-about__dark-bg .page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* Ensure general paragraphs and list items maintain contrast */
.page-about p,
.page-about li {
  color: inherit;
}