.page-about {
  color: #ffffff; /* Body background is dark (#121212), so text is light */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-about__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70vh;
  padding: 60px 0;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background: linear-gradient(90deg, #017439 0%, #121212 100%);
  color: #ffffff;
  overflow: hidden;
}

.page-about__hero-content {
  flex: 1;
  max-width: 50%;
  padding-left: 20px;
  z-index: 1;
}

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

.page-about__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-about__hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
}

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

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

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

.page-about__btn-secondary:hover {
  background-color: #005a2d;
  border-color: #005a2d;
}

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

.page-about__btn-tertiary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-about__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding-right: 20px;
}

.page-about__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-about__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff; /* Default for dark body background */
}

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

.page-about__mission-vision-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-about__mission-card,
.page-about__vision-card {
  background-color: #222222;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-about__card-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  border-radius: 8px;
  object-fit: cover;
}

.page-about__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #017439;
}

.page-about__card-text {
  font-size: 1em;
  color: #cccccc;
}

.page-about__why-choose-us-section {
  padding: 80px 0;
  background-color: #017439; /* Brand color as background */
  color: #ffffff; /* White text for brand color background */
}

.page-about__features-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.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-about__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  object-fit: cover;
}

.page-about__commitment-section {
  padding: 80px 0;
  background-color: #121212;
}

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

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

.page-about__commitment-heading {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #017439;
}

.page-about__commitment-text {
  font-size: 0.95em;
  color: #cccccc;
}

.page-about__team-section {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
}

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

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

.page-about__member-photo {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 4px solid #ffffff;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-about__member-name {
  font-size: 1.6em;
  margin-bottom: 5px;
  font-weight: bold;
}

.page-about__member-position {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 15px;
}

.page-about__member-bio {
  font-size: 0.9em;
  color: #f0f0f0;
}

.page-about__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #2c2c2c;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

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

.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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
}

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

.page-about__faq-answer p {
  margin: 0;
  padding-bottom: 10px; /* Add some spacing for paragraphs within answer */
}

.page-about__cta-section {
  padding: 80px 0;
  background-color: #017439;
  text-align: center;
  color: #ffffff;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__hero-content {
    max-width: 60%;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 40px 0;
  }
  .page-about__hero-content {
    max-width: 100%;
    padding: 0 15px;
  }
  .page-about__hero-image-wrapper {
    padding: 20px 15px 0 15px;
    order: -1; /* Image above text on mobile */
  }
  .page-about__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__hero-buttons,
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-tertiary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
  }
  .page-about__mission-vision-grid,
  .page-about__features-grid,
  .page-about__commitment-grid,
  .page-about__team-members {
    grid-template-columns: 1fr;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__mission-card, .page-about__vision-card, .page-about__feature-card, .page-about__commitment-item, .page-about__team-member-card {
    padding: 20px;
  }
  .page-about__card-icon,
  .page-about__card-image,
  .page-about__member-photo {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
  }
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header */
  }
  .page-about__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Video section specific padding for mobile */
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__hero-description,
  .page-about__section-description {
    font-size: 1em;
  }
  .page-about__card-title {
    font-size: 1.5em;
  }
  .page-about__faq-question h3 {
    font-size: 1em;
  }
}