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

.page-about__hero-section {
  position: relative;
  padding: 120px 0 60px; /* Adjusted padding-top for header offset */
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

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

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Register and Login font color for emphasis */
}

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

.page-about__hero-actions {
  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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.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: #e02020;
  border-color: #e02020;
}

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

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

.page-about__mission-vision-section,
.page-about__history-section,
.page-about__values-section,
.page-about__why-choose-us-section,
.page-about__contact-cta-section,
.page-about__faq-section {
  padding: 80px 0;
}

.page-about__light-bg {
  background-color: #ffffff; /* White background */
  color: #333333; /* Dark text for light background */
}

.page-about__dark-bg {
  background-color: #121212; /* Body background color */
  color: #ffffff; /* Light text for dark background */
}

.page-about__section-title {
  font-size: 2.8em;
  margin-bottom: 60px;
  text-align: center;
  font-weight: bold;
  color: #017439; /* Brand primary color */
}

.page-about__dark-bg .page-about__section-title {
  color: #FFFF00; /* Yellow for titles on dark background */
}

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

.page-about__dark-bg .page-about__sub-title {
  color: #ffffff;
}

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

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

.page-about__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 60px auto 0;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.page-about__card {
  background-color: #f8f8f8;
  color: #333333;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__dark-bg .page-about__card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-about__dark-bg .page-about__card-title {
  color: #FFFF00;
}

.page-about__card p {
  font-size: 1em;
  line-height: 1.7;
}

.page-about__why-choose-us-section .page-about__section-title {
  margin-bottom: 80px;
}

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

.page-about__feature-card {
  text-align: center;
}

.page-about__feature-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-about__contact-description {
  font-size: 1.2em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-about__contact-cta-section .page-about__btn-primary {
  margin: 0 auto;
  display: block;
  width: fit-content;
}

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

.page-about__faq-item {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

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

.page-about__faq-heading {
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  margin: 0;
}

.page-about__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFFF00;
  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;
  background-color: rgba(255, 255, 255, 0.02);
}

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

.page-about__faq-answer p {
  font-size: 1em;
  line-height: 1.7;
  margin: 0;
}

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

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

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

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: var(--header-offset, 120px) 0 40px; /* Adjust for mobile header */
  }

  .page-about__hero-title {
    font-size: 2.5em;
  }

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

  .page-about__hero-actions {
    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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-about__grid-two-columns,
  .page-about__values-grid,
  .page-about__grid-three-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-about__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !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__faq-question {
    padding: 15px;
  }

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

  .page-about__faq-toggle {
    font-size: 1.5em;
  }

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

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

  .page-about__feature-image {
    height: 200px;
  }
}