.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-color);
}

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  position: relative;
  background-color: var(--deep-green);
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Adjust as needed for image max size */
  margin-bottom: 20px;
}

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

.page-about__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
  color: var(--text-main);
}

.page-about__hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--gold);
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-about__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-about__section {
  padding: 60px 20px;
  background-color: var(--bg-color);
  color: var(--text-main);
}

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

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

.page-about__heading {
  font-size: 2.5rem;
  color: var(--gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-about__sub-heading {
  font-size: 1.8rem;
  color: var(--main-color);
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-about__text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-about__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-about__list-item {
  background-color: var(--divider);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: var(--text-main);
  border-left: 5px solid var(--main-color);
}

.page-about__list-item strong {
  color: var(--gold);
  margin-right: 8px;
}

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

.page-about__feature-card,
.page-about__product-card,
.page-about__commitment-item,
.page-about__join-item {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main);
}

.page-about__dark-section .page-about__feature-card,
.page-about__dark-section .page-about__commitment-item {
  background-color: var(--deep-green);
}

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

.page-about__feature-icon,
.page-about__product-image,
.page-about__commitment-icon,
.page-about__join-icon {
  width: 100%; /* Ensure images fill card width */
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__feature-title,
.page-about__product-title,
.page-about__commitment-title,
.page-about__join-title {
  font-size: 1.5rem;
  color: var(--main-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__feature-description,
.page-about__product-description,
.page-about__commitment-description,
.page-about__join-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-about__btn-secondary {
  display: inline-block;
  background: var(--bg-color);
  color: var(--main-color);
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--main-color);
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-secondary:hover {
  background: var(--main-color);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

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

.page-about__dark-section .page-about__faq-item {
  background-color: var(--deep-green);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--main-color);
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  list-style: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.page-about__faq-question::-webkit-details-marker {
  display: none;
}

.page-about__faq-item[open] .page-about__faq-question {
  border-bottom: 1px solid var(--main-color);
}

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

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

.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg);
}

.page-about__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  background-color: var(--bg-color);
}

.page-about__dark-section .page-about__faq-answer {
  background-color: var(--deep-green);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-about__heading {
    font-size: 2rem;
  }
  .page-about__sub-heading {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 15px;
    padding-top: 10px !important;
  }
  .page-about__hero-content {
    padding: 0 15px;
  }
  .page-about__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 10px;
  }
  .page-about__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__section {
    padding: 40px 15px;
  }
  .page-about__heading {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-about__sub-heading {
    font-size: 1.4rem;
  }
  .page-about__text,
  .page-about__list-item,
  .page-about__feature-description,
  .page-about__product-description,
  .page-about__commitment-description,
  .page-about__join-description,
  .page-about__faq-answer p {
    font-size: 0.95rem;
  }

  .page-about__features-grid,
  .page-about__products-grid,
  .page-about__commitment-grid,
  .page-about__join-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__feature-card,
  .page-about__product-card,
  .page-about__commitment-item,
  .page-about__join-item {
    padding: 20px;
  }

  .page-about__feature-icon,
  .page-about__product-image,
  .page-about__commitment-icon,
  .page-about__join-icon {
    max-height: 150px;
    margin-bottom: 15px;
  }

  .page-about__feature-title,
  .page-about__product-title,
  .page-about__commitment-title,
  .page-about__join-title {
    font-size: 1.3rem;
  }

  .page-about__btn-secondary {
    padding: 10px 15px;
    font-size: 0.9rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__faq-question {
    padding: 15px;
    font-size: 1rem;
  }
  .page-about__faq-answer {
    padding: 15px;
  }

  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__section,
  .page-about__container,
  .page-about__feature-card,
  .page-about__product-card,
  .page-about__commitment-item,
  .page-about__join-item,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Specific override for section padding to avoid double padding */
  .page-about__section,
  .page-about__dark-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* Re-apply padding to container inside sections */
  .page-about__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Button group handling for mobile */
  .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;
  }

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

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }
  .page-about__heading {
    font-size: 1.5rem;
  }
  .page-about__sub-heading {
    font-size: 1.2rem;
  }
}

/* Color contrast safety checks */
/* Default text color for main content on light background */
.page-about p, .page-about li, .page-about__text, .page-about__feature-description, .page-about__product-description, .page-about__commitment-description, .page-about__join-description, .page-about__faq-answer p {
  color: var(--text-secondary); /* Ensure good contrast on most backgrounds */
}

/* Headings on light background */
.page-about__heading, .page-about__sub-heading, .page-about__feature-title, .page-about__product-title, .page-about__commitment-title, .page-about__join-title, .page-about__faq-question {
  color: var(--main-color); /* Brand color for headings */
}

/* Dark sections with light text */
.page-about__dark-section .page-about__heading,
.page-about__dark-section .page-about__text,
.page-about__dark-section .page-about__sub-heading,
.page-about__dark-section .page-about__list-item,
.page-about__dark-section .page-about__feature-title,
.page-about__dark-section .page-about__feature-description,
.page-about__dark-section .page-about__commitment-title,
.page-about__dark-section .page-about__commitment-description,
.page-about__dark-section .page-about__faq-item,
.page-about__dark-section .page-about__faq-question,
.page-about__dark-section .page-about__faq-answer {
  color: var(--text-main); /* Light text on dark background */
}

/* Gold text for specific elements */
.page-about__hero-title, .page-about__heading, .page-about__faq-toggle, .page-about__list-item strong {
  color: var(--gold);
}

/* Ensure button text is white on green gradient */
.page-about__cta-button {
  color: #ffffff;
}

/* Secondary button text is brand green on white background */
.page-about__btn-secondary {
  color: var(--main-color);
  background: var(--bg-color);
}
.page-about__btn-secondary:hover {
  color: #ffffff;
  background: var(--main-color);
}