.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
}

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  padding: 120px 0 80px; /* Adjusted padding-top for header offset */
  text-align: center;
  background: linear-gradient(135deg, #017439, #005a2d);
  color: #ffffff;
  overflow: hidden;
}

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

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.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: all 0.3s ease;
  box-sizing: border-box;
}

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

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

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

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

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

.page-about__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Mission & Vision Section */
.page-about__mission-vision {
  padding: 80px 0;
  background: #ffffff;
  color: #333333;
}

.page-about__mission-vision .page-about__section-title {
  color: #017439;
}

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

.page-about__vision-image-wrapper {
  text-align: center;
}

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

/* Why Choose Section */
.page-about__why-choose {
  padding: 80px 0;
  background: #017439;
  color: #ffffff;
}

.page-about__why-choose .page-about__section-title {
  color: #ffffff;
}

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

.page-about__feature-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__feature-card:hover {
  transform: translateY(-10px);
}

.page-about__feature-icon {
  width: 100%; /* Ensure image fills card width */
  max-width: 400px; /* Max width to prevent overly large images */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-about__feature-description {
  font-size: 1em;
  line-height: 1.7;
  flex-grow: 1;
}

/* Values Section */
.page-about__values-section {
  padding: 80px 0;
  background: #f8f8f8;
  color: #333333;
}

.page-about__values-section .page-about__section-title {
  color: #017439;
}

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

.page-about__value-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
  background: #005a2d;
  color: #ffffff;
}

.page-about__faq-section .page-about__section-title {
  color: #ffffff;
}

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

.page-about__faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

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

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Important for JS functionality */
  padding: 15px;
}

.page-about__faq-answer p {
  margin-bottom: 0;
  font-size: 1em;
  color: #f0f0f0;
}

/* Bottom CTA Section */
.page-about__cta-bottom {
  padding: 80px 0;
  text-align: center;
  background: #ffffff;
  color: #333333;
}

.page-about__cta-bottom .page-about__section-title {
  color: #017439;
}

.page-about__cta-bottom .page-about__paragraph {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__hero-section {
    padding: var(--header-offset, 120px) 20px 60px;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    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;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__content-grid {
    grid-template-columns: 1fr;
  }
  .page-about__feature-card {
    padding: 20px;
  }
  .page-about__feature-title {
    font-size: 1.3em;
  }
  .page-about__value-title {
    font-size: 1.5em;
  }
  .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,
  .page-about__feature-card,
  .page-about__value-item,
  .page-about__vision-image-wrapper,
  .page-about__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-about__faq-section {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__faq-answer {
    padding-left: 0;
    padding-right: 0;
  }
  .page-about__faq-list {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
}

/* Color Contrast Fixes (if needed, based on body background) */
/* Assuming body background is dark (var(--dark-bg-1)) from shared.css */
.page-about__dark-bg {
  color: #ffffff;
}

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

.page-about__dark-section {
  background: #017439;
  color: #ffffff;
}

.page-about__faq-section {
  background: #005a2d;
  color: #ffffff;
}

.page-about__paragraph strong {
  color: #FFFF00; /* Highlight keywords */
}

.page-about a {
  color: #FFFF00; /* Default link color */
}

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