:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg-color: #11271B;
  --background-color: #08160F;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* Default to light text for dark body background */
  background-color: var(--background-color); /* Should be #08160F from shared.css */
}

.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;
}

.page-about__dark-section {
  background-color: var(--background-color);
  color: var(--text-main-color);
}

.page-about__light-bg {
  background-color: var(--card-bg-color);
  color: var(--text-main-color);
}

.page-about__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--gold-color);
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__main-title {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__lead-text {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--text-secondary-color);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__paragraph {
  font-size: 17px;
  margin-bottom: 20px;
  color: var(--text-main-color);
  text-align: justify;
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 0;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

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

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 20px;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button-gradient);
  color: var(--text-main-color);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 18px;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__cta-button--secondary {
  background: var(--card-bg-color);
  color: var(--gold-color);
  border: 1px solid var(--border-color);
}

.page-about__cta-button--secondary:hover {
  background: var(--divider-color);
}

.page-about__image-text-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
  text-align: left;
}

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

.page-about__image-left, .page-about__image-right {
  flex: 1;
  max-width: 50%;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-about__text-content {
  flex: 1;
  max-width: 50%;
}

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

.page-about__card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-about__card-title {
  font-size: 24px;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__card-description {
  font-size: 16px;
  color: var(--text-secondary-color);
  text-align: justify;
}

/* FAQ Section */
.page-about__faq-section {
  text-align: left;
}

.page-about__faq-list {
  margin-top: 30px;
}

.page-about__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main-color);
}

.page-about__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: var(--gold-color);
  list-style: none; /* Remove default marker */
}

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

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

.page-about__faq-toggle {
  font-size: 24px;
  line-height: 1;
  width: 24px;
  text-align: center;
  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 25px 20px;
  font-size: 16px;
  color: var(--text-secondary-color);
  text-align: justify;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .page-about__image-text-wrapper {
    flex-direction: column;
    text-align: center;
  }

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

  .page-about__image-left, .page-about__image-right {
    max-width: 100%;
  }

  .page-about__text-content {
    max-width: 100%;
  }

  .page-about__section-title {
    font-size: clamp(24px, 5vw, 36px);
  }

  .page-about__main-title {
    font-size: clamp(28px, 6vw, 48px);
  }

  .page-about__lead-text {
    font-size: clamp(16px, 3vw, 20px);
  }

  .page-about__paragraph {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-about__section {
    padding: 40px 0;
  }

  .page-about__hero-section {
    padding: 60px 0;
    padding-top: 10px !important;
  }

  /* Images */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__hero-image {
    height: 300px; /* Adjust hero image height for mobile */
  }

  .page-about__image-left, .page-about__image-right,
  .page-about__card-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }

  .page-about__container,
  .page-about__section,
  .page-about__grid-container,
  .page-about__image-text-wrapper,
  .page-about__text-content,
  .page-about__card,
  .page-about__faq-list,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  /* Buttons */
  .page-about__cta-button,
  .page-about__cta-button--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;
    margin-bottom: 15px; /* Stack buttons */
  }

  .page-about__hero-content .page-about__cta-button {
    margin-bottom: 0; /* Last button in hero doesn't need extra margin */
  }

  .page-about__grid-container {
    grid-template-columns: 1fr;
  }

  .page-about__faq-item summary {
    font-size: 16px;
    padding: 15px 20px;
  }

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