.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #f5f5f5; /* Body background from shared.css */
}

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 600px;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
  color: #ffffff;
  padding-bottom: 60px;
}

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

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

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

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

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-about__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-about__btn-register,
.page-about__btn-login,
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-about__btn-register {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-about__btn-register:hover {
  background-color: #a30606;
  transform: translateY(-2px);
}

.page-about__btn-login {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-about__btn-login:hover {
  background-color: #a30606;
  transform: translateY(-2px);
}

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

.page-about__btn-primary:hover {
  background-color: #005a2e;
  transform: translateY(-2px);
}

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

.page-about__btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-about__video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-about__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  cursor: pointer;
}

/* General Section Styling */
.page-about__intro-section,
.page-about__highlights-section,
.page-about__commitment-section,
.page-about__why-choose-section,
.page-about__future-section,
.page-about__faq-section {
  padding: 60px 0;
}

.page-about__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
}

.page-about__intro-section .page-about__section-title,
.page-about__highlights-section .page-about__section-title,
.page-about__why-choose-section .page-about__section-title,
.page-about__faq-section .page-about__section-title {
  color: #017439;
}

.page-about__commitment-section .page-about__section-title,
.page-about__future-section .page-about__section-title {
  color: #ffffff;
}

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

.page-about__commitment-section .page-about__sub-title,
.page-about__future-section .page-about__sub-title {
  color: #ffffff;
}

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

.page-about__list {
  list-style: disc inside;
  padding-left: 20px;
  margin-bottom: 20px;
}

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

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

.page-about__feature-card,
.page-about__commitment-item,
.page-about__reason-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-card:hover,
.page-about__commitment-item:hover,
.page-about__reason-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-about__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__commitment-item .page-about__item-title {
  color: #ffffff;
}

.page-about__card-description,
.page-about__item-description {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-about__card-list {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 20px;
}

.page-about__card-list .page-about__list-item {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.page-about__card-list .page-about__list-item::before {
  content: '✔';
  color: #017439;
  position: absolute;
  left: 0;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 30px;
}

.page-about__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #eaf7ed;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-about__faq-qtext {
  flex-grow: 1;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  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;
  transition: max-height 0.3s ease-out;
  padding: 0 20px;
  color: #333333;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 20px;
}

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

.page-about__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

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

@media (max-width: 768px) {
  .page-about__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }

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

  .page-about__hero-description {
    font-size: 1em;
  }

  .page-about__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__btn-register,
  .page-about__btn-login,
  .page-about__btn-primary,
  .page-about__btn-secondary {
    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;
  }

  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

  .page-about__paragraph {
    font-size: 1em;
  }

  .page-about__feature-grid,
  .page-about__commitment-grid,
  .page-about__reason-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .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__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-about__faq-answer {
    padding: 15px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px;
  }
}