.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default text color for dark background */
  background-color: var(--background, #08160F); /* Default background color */
}

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

.page-about__hero-image-container {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
}

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

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

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

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

.page-about__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-about__cta-button {
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  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);
  transform: translateY(-2px);
}

.page-about__section {
  padding: 80px 20px;
  text-align: center;
}

.page-about__dark-bg {
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
}

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

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-about__container:nth-child(even) {
  flex-direction: row-reverse;
}

.page-about__text-content {
  flex: 1;
  min-width: 300px;
}

.page-about__image-wrapper {
  flex: 1;
  min-width: 300px;
}

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

.page-about__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-about__subsection-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--glow, #57E38D);
}

.page-about__section-description {
  font-size: 1.1em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 40px;
}

.page-about__light-bg .page-about__section-description,
.page-about__light-bg .page-about__text-content p {
  color: #555555;
}

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

.page-about__feature-card {
  background-color: var(--card-bg, #11271B);
  color: var(--text-main, #F2FFF6);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease;
}

.page-about__light-bg .page-about__feature-card {
  background-color: #ffffff;
  color: #333333;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
}

.page-about__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--glow, #57E38D);
}

.page-about__light-bg .page-about__card-title {
  color: var(--deep-green, #0A4B2C);
}

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

.page-about__faq-item {
  background-color: var(--card-bg, #11271B);
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-about__light-bg .page-about__faq-item {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: var(--deep-green, #0A4B2C);
  color: var(--text-main, #F2FFF6);
  border-bottom: 1px solid var(--divider, #1E3A2A);
  list-style: none;
}

.page-about__light-bg .page-about__faq-question {
  background-color: #f5f5f5;
  color: #333333;
  border-bottom: 1px solid #e0e0e0;
}

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

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

.page-about__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
  padding: 20px;
  font-size: 1.05em;
  color: var(--text-secondary, #A7D9B8);
}

.page-about__light-bg .page-about__faq-answer {
  color: #555555;
}

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

  .page-about__container:nth-child(even) {
    flex-direction: column;
  }

  .page-about__text-content,
  .page-about__image-wrapper {
    flex: none;
    width: 100%;
  }

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

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

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 10px 15px 40px;
  }

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

  .page-about__hero-content {
    padding: 0 15px;
  }

  .page-about__main-title {
    font-size: 2em !important;
  }

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

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

  .page-about__cta-button {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

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

  .page-about__subsection-title {
    font-size: 1.3em;
  }

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

  .page-about__feature-card {
    padding: 20px;
  }

  .page-about__card-title {
    font-size: 1.2em;
  }

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

  .page-about__faq-answer {
    font-size: 0.95em;
    padding: 15px;
  }

  /* Image responsiveness */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__section,
  .page-about__container,
  .page-about__hero-image-container,
  .page-about__image-wrapper,
  .page-about__cta-buttons,
  .page-about__feature-grid,
  .page-about__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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