.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a1a; /* Inherited from shared.css, explicitly setting for context */
}

.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: center;
  text-align: center;
  padding: 120px 0 60px 0; /* Adjusted for header offset */
  min-height: 600px;
  overflow: hidden;
  background: linear-gradient(135deg, #017439, #005a2e);
}

.page-about__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
  z-index: 1;
}

.page-about__hero-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-about__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__hero-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.2em;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-about__section {
  padding: 80px 0;
}

.page-about__section-title {
  font-size: 2.8em;
  color: #017439;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

.page-about__sub-title {
  font-size: 1.8em;
  color: #017439;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-about__text-block p {
  margin-bottom: 15px;
  color: #f0f0f0; /* Light text for dark background */
}

.page-about__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-about__list li {
  margin-bottom: 10px;
}

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

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

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

.page-about__image-left {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  order: -1; /* For alternating image/text layout */
}

.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.08); /* Slightly transparent white for cards */
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

.page-about__feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-about__feature-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 25px;
}

.page-about__feature-title {
  font-size: 1.5em;
  color: #017439; /* Brand color for titles */
  margin-bottom: 15px;
}

.page-about__feature-card p {
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-about__feature-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #017439;
  color: #ffffff;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-about__feature-link:hover {
  background-color: #005a2e;
}

/* Alternating section backgrounds */
.page-about__mission-vision, .page-about__responsibility, .page-about__future {
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff;
}

.page-about__features, .page-about__team-support, .page-about__faq-section {
  background-color: #0d0d0d; /* Slightly darker background */
  color: #ffffff;
}

.page-about__mission-vision .page-about__section-title, .page-about__mission-vision .page-about__sub-title,
.page-about__responsibility .page-about__section-title, .page-about__responsibility .page-about__sub-title,
.page-about__future .page-about__section-title, .page-about__future .page-about__sub-title {
  color: #017439;
}

.page-about__features .page-about__section-title, .page-about__features .page-about__sub-title,
.page-about__team-support .page-about__section-title, .page-about__team-support .page-about__sub-title,
.page-about__faq-section .page-about__section-title, .page-about__faq-section .page-about__sub-title {
  color: #017439;
}

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

.page-about__btn-primary:hover {
  background: #a10707;
  transform: scale(1.05);
}

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

.page-about__btn-secondary:hover {
  background: #005a2e;
  color: #ffffff;
}

.page-about__button {
  display: inline-block;
  padding: 12px 25px;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

/* FAQ Section */
.page-about__faq-section {
  padding-bottom: 80px;
}

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

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  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;
  color: #017439;
  cursor: pointer;
  list-style: none; /* For details/summary */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

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

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

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

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

.page-about__faq-button {
  display: inline-block;
  padding: 8px 15px;
  background-color: #017439;
  color: #ffffff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.9em;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.page-about__faq-button:hover {
  background-color: #005a2e;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__sub-title {
    font-size: 1.5em;
  }
  .page-about__content-grid, .page-about__content-flex {
    grid-template-columns: 1fr;
    flex-direction: column;
    gap: 40px;
  }
  .page-about__image-left {
    order: 0;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile specific header offset */
  }
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-about__section {
    padding: 60px 0;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-about__sub-title {
    font-size: 1.3em;
  }
  .page-about__text-block p, .page-about__list li {
    font-size: 0.95em;
  }
  .page-about__feature-card {
    padding: 20px;
  }
  .page-about__feature-title {
    font-size: 1.3em;
  }
  .page-about__feature-image {
    height: 200px;
  }
  .page-about__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-about__faq-answer {
    padding: 0 20px 15px 20px;
  }
  
  /* Mandatory responsive image/video/button styles */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__section,
  .page-about__container,
  .page-about__hero-container,
  .page-about__text-block,
  .page-about__feature-card,
  .page-about__faq-item,
  .page-about__faq-list,
  .page-about__content-grid,
  .page-about__content-flex,
  .page-about__features-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-about__button, .page-about__hero-button, .page-about__feature-link, .page-about__faq-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    /* padding-left and padding-right might be inherited from container, if needed add here */
  }
  
  .page-about__content-flex {
    flex-direction: column;
  }
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }
}