.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #017439; /* Brand primary color for hero */
  color: #ffffff;
  overflow: hidden;
}

.page-about__hero-content {
  z-index: 1;
  max-width: 900px;
  margin-bottom: 40px;
}

.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;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  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;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-about__btn-primary {
  background-color: #C30808; /* Custom color for Register */
  color: #FFFF00; /* Custom font color for Register */
  border: 2px solid #C30808;
}

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

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

.page-about__btn-secondary:hover {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

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

.page-about__section--mission {
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-about__section--why-choose {
  background-color: #2a2a3e;
  color: #ffffff;
}

.page-about__section--team {
  background-color: #1a1a2e;
  color: #ffffff;
}

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

.page-about__dark-section {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

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

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-about__subsection-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-about__list {
  list-style: disc;
  padding-left: 25px;
  margin-top: 20px;
}

.page-about__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

.page-about__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-about__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #ffffff;
  font-weight: bold;
}

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

.page-about__commitment-item {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-about__commitment-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #ffffff;
  font-weight: bold;
}

.page-about__cta-bottom,
.page-about__cta-final {
  text-align: center;
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.page-about__team-member-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

.page-about__team-member-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #017439;
}

.page-about__team-member-name {
  font-size: 1.4em;
  margin-bottom: 8px;
  color: #ffffff;
}

.page-about__team-member-role {
  font-size: 1em;
  color: #ccc;
}

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

.page-about__future-item {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-about__future-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #ffffff;
  font-weight: bold;
}

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  list-style: none;
}

.page-about__faq-question::-webkit-details-marker {
  display: none;
}

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

.page-about__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1.1em;
  color: #f0f0f0;
}

/* Media Queries for responsiveness */
@media (min-width: 769px) {
  .page-about__content-grid {
    grid-template-columns: 2fr 1fr;
  }
  .page-about__hero-section {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    padding: 100px 40px;
  }
  .page-about__hero-content {
    margin-bottom: 0;
    margin-right: 40px;
  }
  .page-about__hero-image-wrapper {
    position: relative;
    width: 50%;
    height: auto;
    flex-shrink: 0;
  }
  .page-about__hero-image {
    position: relative;
    filter: none; /* No darkening filter on larger screens if image is beside text */
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-about__main-title {
    font-size: 2.2em;
  }
  .page-about__intro-text {
    font-size: 1em;
  }
  .page-about__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__subsection-title {
    font-size: 1.5em;
  }
  .page-about__feature-grid,
  .page-about__commitment-grid,
  .page-about__team-grid,
  .page-about__future-grid {
    grid-template-columns: 1fr;
  }
  .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper,
  .page-about__section,
  .page-about__card,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .page-about__cta-bottom,
  .page-about__cta-final {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-about__faq-answer {
    padding: 10px 20px 15px;
    font-size: 1em;
  }
}

/* Ensure images in content areas are not too small */
.page-about__text-block img,
.page-about__feature-card img,
.page-about__team-member-card img {
  min-width: 200px;
  min-height: 200px;
}

/* Specific adjustment for team member photo to keep it smaller but still meeting min size */
.page-about__team-member-photo {
  width: 200px; /* Adjust to meet min size */
  height: 200px; /* Adjust to meet min size */
  min-width: 200px;
  min-height: 200px;
}

/* Override filter for hero image on mobile if needed for better contrast, or keep it */
@media (max-width: 768px) {
  .page-about__hero-image {
    filter: brightness(0.3); /* Slightly darker for mobile readability */
  }
}