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

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

.page-about__section {
  padding: 60px 0;
  text-align: center;
  position: relative;
}

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

.page-about__main-title {
  font-size: 2.8em;
  color: #FFFF00;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__hero-section .page-about__container {
  z-index: 1;
  position: relative;
}

.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__section-title {
  font-size: 2.2em;
  color: #FFFF00;
  margin-bottom: 40px;
}

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

.page-about__text-content {
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__text-content p {
  margin-bottom: 15px;
  color: #ffffff;
}

.page-about__text-center {
  text-align: center;
  margin-bottom: 30px;
}

.page-about__image-left {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin: 40px auto;
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__image-right {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin: 40px auto;
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__image-center {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 8px;
  margin: 40px auto;
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

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

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

.page-about__card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

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

.page-about__card p {
  color: #ffffff;
}

.page-about__card a {
  color: #FFFF00;
  text-decoration: none;
}

.page-about__card a:hover {
  text-decoration: underline;
}

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

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

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

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

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

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

.page-about__faq-item.active .page-about__faq-question {
  background-color: #005a2e;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg); /* Change + to X-like or - */
}

.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.05);
  color: #ffffff;
}

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

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

.page-about a {
  color: #FFFF00;
  text-decoration: none;
}

.page-about a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 2.5em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__sub-title {
    font-size: 1.4em;
  }
  .page-about__feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-about__main-title {
    font-size: 2em;
  }
  .page-about__intro-text {
    font-size: 1em;
  }
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__sub-title {
    font-size: 1.2em;
    margin-top: 30px;
  }
  .page-about__container,
  .page-about__text-content {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-about__hero-image,
  .page-about__image-left,
  .page-about__image-right,
  .page-about__image-center {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto;
    margin-right: auto;
  }
  .page-about__card {
    padding: 20px;
  }
  .page-about__cta-button,
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 10px;
  }
  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }
  .page-about__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-about__faq-answer {
    padding: 0 15px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.6em;
  }
  .page-about__sub-title {
    font-size: 1.1em;
  }
  .page-about__hero-section {
    padding: 40px 10px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-about__btn-primary {
    padding: 10px 20px;
  }
}