/* style/about.css */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Default text color for dark background */
  background-color: #08160F; /* Main background color */
}

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

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 20px 60px;
  overflow: hidden;
  background-color: #08160F;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height to prevent excessive stretching */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-about__hero-content {
  max-width: 900px;
  position: relative; /* Ensure content is above the image if any z-index issue */
  z-index: 2;
  color: #F2FFF6;
}

.page-about__main-title {
  font-size: clamp(2em, 5vw, 3.5em);
  color: #F2C14E;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-about__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8;
}

.page-about__hero-cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__hero-cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-about__section-title {
  font-size: clamp(1.8em, 4vw, 2.8em);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-about__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-about__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
  min-width: 300px;
  color: #F2FFF6;
}

.page-about__text-block p {
    margin-bottom: 15px;
    color: #A7D9B8;
}

.page-about__text-block a {
    color: #2AD16F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-about__text-block a:hover {
    color: #57E38D;
}

.page-about__sub-title {
  font-size: 1.6em;
  color: #22C768;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-about__image-container {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Color Contrast Sections */
.page-about__light-bg {
  background-color: #11271B; /* Card B G */
  color: #F2FFF6;
}

.page-about__light-bg .page-about__section-title,
.page-about__light-bg .page-about__sub-title {
    color: #F2C14E;
}

.page-about__light-bg .page-about__text-block p {
    color: #A7D9B8;
}

.page-about__dark-bg {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
}

.page-about__dark-bg .page-about__section-title,
.page-about__dark-bg .page-about__sub-title {
    color: #F2C14E;
}

.page-about__dark-bg .page-about__text-block p {
    color: #A7D9B8;
}

/* CTA Section */
.page-about__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
}

.page-about__cta-text {
  font-size: 1.5em;
  margin-bottom: 30px;
  color: #A7D9B8;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-about__cta-button--primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
}

.page-about__cta-button--secondary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
}

/* FAQ Section */
.page-about__faq-section {
    background-color: #11271B; /* Card B G */
    color: #F2FFF6;
}

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

.page-about__faq-item {
    background-color: #0A4B2C; /* Deep Green */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #2E7A4E;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: #F2FFF6; /* Changed to F2FFF6 for better contrast */
    cursor: pointer;
    background-color: #0A4B2C;
    transition: background-color 0.3s ease;
}

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

.page-about__faq-item[open] .page-about__faq-question {
    background-color: #1E3A2A;
}

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

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #2AD16F;
}

.page-about__faq-item[open] .page-about__faq-toggle {
    content: '−'; /* Changed by JS */
}

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

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

/* Hide default details marker */
.page-about__faq-item > summary::-webkit-details-marker {
    display: none;
}

.page-about__faq-item > summary {
    list-style: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__section {
    padding: 40px 15px;
  }

  .page-about__hero-section {
    padding: 10px 15px 40px;
  }

  .page-about__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

  .page-about__intro-text {
    font-size: 1em;
  }

  .page-about__hero-cta-button {
    padding: 12px 25px;
    font-size: 0.9em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__section-title {
    font-size: clamp(1.6em, 7vw, 2.2em);
    margin-bottom: 30px;
  }

  .page-about__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-about__text-block {
    min-width: unset;
  }

  .page-about__image-container {
    min-width: unset;
  }

  .page-about__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-about__text-block p {
    font-size: 0.95em;
  }

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

  .page-about__cta-section {
    padding: 60px 15px;
  }

  .page-about__cta-text {
    font-size: 1.2em;
  }

  .page-about__cta-button {
    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__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

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

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

  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__cta-section,
  .page-about__faq-section,
  .page-about__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}