:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
  /* Header offset, usually defined in shared.css */
  --header-offset: 122px; /* Example value, should come from shared */
}

.page-about {
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--background); /* Default background color for the page */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Space before footer */
  min-height: 100vh; /* Ensure page takes full height */
}

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

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden; /* Ensure content doesn't spill */
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  position: relative;
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-about__hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative; /* Not absolute, for upper-image-lower-text */
  z-index: 2;
  color: var(--text-main); /* #F2FFF6 */
}

.page-about__hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* H1 font-size clamp */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--gold); /* #F2C14E */
}

.page-about__hero-content p {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%; /* Ensure container respects width for mobile */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  text-align: center;
  max-width: 100%; /* Ensure buttons adapt */
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background: transparent;
  color: var(--text-main); /* #F2FFF6 */
  border: 2px solid var(--border); /* #2E7A4E */
}

.page-about__btn-secondary:hover {
  background: rgba(46, 122, 78, 0.2); /* #2E7A4E with opacity */
  border-color: var(--glow); /* #57E38D */
  transform: translateY(-2px);
}

.page-about__section {
  padding: 80px 0;
  text-align: center;
  border-bottom: 1px solid var(--divider); /* #1E3A2A */
}

.page-about__section:last-of-type {
  border-bottom: none;
}

.page-about__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--gold); /* #F2C14E */
}

.page-about__section-description {
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.1rem;
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-about__text-block {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  color: var(--text-main); /* #F2FFF6 */
}

.page-about__text-block h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--glow); /* #57E38D */
}

.page-about__text-block p {
  margin-bottom: 15px;
  font-size: 1rem;
}

.page-about__text-block ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-about__text-block ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-about__text-block ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--glow); /* #57E38D */
  font-weight: bold;
}

.page-about__image-content {
  margin-top: 40px;
  margin-bottom: 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 800px; /* Example max-width for content images */
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__image-content img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--background); /* #08160F */
}

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

.page-about__faq-item {
  background-color: var(--card-bg); /* #11271B */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main); /* #F2FFF6 */
  list-style: none; /* Hide default marker */
}

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

.page-about__faq-question-text {
  flex-grow: 1;
  color: var(--gold); /* #F2C14E */
}

.page-about__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  color: var(--glow); /* #57E38D */
  transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}

.page-about__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: var(--text-secondary); /* #A7D9B8 */
  line-height: 1.5;
  border-top: 1px solid var(--divider); /* #1E3A2A */
  margin-top: 10px;
  padding-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__hero-content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
  }
}

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

  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset */
  }

  .page-about__hero-content h1 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-about__hero-content p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

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

  .page-about__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-about__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-about__text-block {
    padding: 0 15px;
  }

  .page-about__text-block h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }

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

  .page-about__image-content {
    margin-left: 0;
    margin-right: 0;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 15px; /* Add padding to image container on mobile */
    box-sizing: border-box;
  }

  .page-about__image-content img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

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

  .page-about__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }

  .page-about__faq-answer {
    font-size: 0.9rem;
    padding: 0 15px 15px 15px;
  }
}