.page-about__hero-section {
  background-color: #26A9E0; /* Brand primary color */
  color: #FFFFFF; /* White text for contrast */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding-top: 0; /* Assumes shared.css handles body padding for header offset */
}

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

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

.page-about__intro-text {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFFFFF;
}

.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;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.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__content-section,
.page-about__features-section,
.page-about__commitment-section,
.page-about__team-section,
.page-about__future-section,
.page-about__cta-section,
.page-about__faq-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: 40px;
  font-weight: bold;
  line-height: 1.3;
}

.page-about__light-bg .page-about__section-title {
  color: #26A9E0; /* Brand primary color for titles on light background */
}

.page-about__dark-bg .page-about__section-title {
  color: #FFFFFF;
}

.page-about__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-about__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-about__image-text-block img {
  flex: 1;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-about__text-block {
  flex: 1;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-about__text-block p {
  margin-bottom: 20px;
  color: #333333;
}

.page-about__text-block h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

.page-about__feature-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #333333;
}

.page-about__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  max-width: 100%;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-about__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

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

.page-about__feature-list li::before {
  content: '✓';
  color: #EA7C07; /* Login color for checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-about__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-about__image-block {
  text-align: center;
}

.page-about__image-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

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

.page-about__dark-bg .page-about__section-description {
  color: #FFFFFF;
}

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

.page-about__team-member {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  color: #333333;
}

.page-about__member-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid #26A9E0;
  display: block; /* Ensure it respects max-width */
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Overriding to meet min-size requirement */
  min-height: 200px; /* Overriding to meet min-size requirement */
  width: 200px; /* Setting explicit width for the avatar */
  height: 200px; /* Setting explicit height for the avatar */
}

.page-about__member-name {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-about__member-role {
  font-size: 1.1em;
  color: #EA7C07;
  margin-bottom: 15px;
}

.page-about__member-bio {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
}

.page-about__team-motto {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 40px auto 0 auto;
  color: #FFFFFF;
}

.page-about__cta-section {
  text-align: center;
}

.page-about__faq-list {
  margin-top: 40px;
}

.page-about__faq-item {
  background-color: #F8F8F8;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid #E0E0E0;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #FFFFFF;
  border-bottom: 1px solid #E0E0E0;
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: #F0F0F0;
}

.page-about__faq-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  margin: 0;
}

.page-about__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #EA7C07;
  transition: transform 0.3s ease;
}

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

.page-about__faq-answer p {
  margin: 0;
  padding-bottom: 20px;
  line-height: 1.6;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 20px 25px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 2.8em;
  }

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

  .page-about__image-text-block {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__image-text-block--reverse {
    flex-direction: column;
  }

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

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

  .page-about__team-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

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

  .page-about__intro-text {
    font-size: 1em;
  }

  .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;
  }

  .page-about__content-section,
  .page-about__features-section,
  .page-about__commitment-section,
  .page-about__team-section,
  .page-about__future-section,
  .page-about__cta-section,
  .page-about__faq-section {
    padding: 40px 0;
  }

  .page-about__container {
    padding: 0 15px;
  }

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

  .page-about__image-text-block,
  .page-about__image-text-block--reverse {
    flex-direction: column;
    gap: 20px;
  }

  .page-about__text-block {
    font-size: 0.95em;
  }

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

  .page-about__feature-card {
    padding: 20px;
  }

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

  .page-about__member-avatar {
    width: 120px;
    height: 120px;
    min-width: 120px; /* Ensure min size for mobile */
    min-height: 120px; /* Ensure min size for mobile */
  }

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

  .page-about__faq-title {
    font-size: 1.1em;
  }

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

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

  /* Ensure all images are responsive and do not overflow */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__section, /* General section wrapper */
  .page-about__card, /* Card containers */
  .page-about__container, /* Main content container */
  .page-about__image-text-block, /* Image-text layout container */
  .page-about__grid-layout, /* Grid containers */
  .page-about__grid-two-cols, /* Two-column grid */
  .page-about__team-grid, /* Team grid */
  .page-about__cta-buttons, /* CTA buttons container */
  .page-about__faq-list, /* FAQ list container */
  .page-about__faq-item /* Individual FAQ item */
  {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Padding handled by .page-about__container for global content sections */
  }
}