.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Default text color for dark backgrounds */
  background-color: #08160F; /* Background color from custom palette */
}

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

.page-about__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-about__card-bg {
  background-color: #11271B;
  color: #F2FFF6;
}

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 60px 0;
  position: relative;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed for aspect ratio, or use padding-bottom trick */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-about__hero-content {
  padding: 40px 15px;
  z-index: 1;
  max-width: 900px;
}

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

.page-about__subtitle {
  font-size: clamp(1em, 2.5vw, 1.3em);
  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: 8px;
  font-size: 1.1em;
  font-weight: 700;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-about__cta-button--secondary {
  background: none;
  border: 2px solid #2AD16F;
  color: #2AD16F;
}

.page-about__cta-button--secondary:hover {
  background: #2AD16F;
  color: #F2FFF6;
}

.page-about__section {
  padding: 60px 0;
  border-bottom: 1px solid #1E3A2A;
}

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

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

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #A7D9B8;
  text-align: justify;
}

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

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

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

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

.page-about__feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__feature-item {
  background-color: #11271B;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__feature-title {
  font-size: 1.5em;
  color: #2AD16F;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__feature-description {
  color: #A7D9B8;
  font-size: 1em;
  margin-bottom: 20px;
}

.page-about__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 15px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

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

.page-about__faq-item {
  background-color: #08160F;
  border: 1px solid #1E3A2A;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  color: #F2FFF6;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-about__faq-question:hover {
  background-color: #11271B;
}

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

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

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

/* Responsive styles */
@media (max-width: 992px) {
  .page-about__hero-image-wrapper {
    height: 450px;
  }

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

  .page-about__subtitle {
    font-size: clamp(0.9em, 3vw, 1.2em);
  }

  .page-about__section-title {
    font-size: clamp(1.6em, 5vw, 2.5em);
  }

  .page-about__feature-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-about__content-grid {
    flex-direction: column;
  }

  .page-about__content-grid .page-about__text-content,
  .page-about__content-grid .page-about__image-wrapper {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-about__hero-image-wrapper {
    height: 300px;
  }

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

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

  .page-about__subtitle {
    font-size: 1em !important;
  }

  .page-about__section-title {
    font-size: 2em !important;
    margin-bottom: 30px;
  }

  .page-about__text-block,
  .page-about__feature-description,
  .page-about__faq-answer p {
    font-size: 0.95em;
  }

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

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

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

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

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

  /* Image responsive rules */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__hero-image-wrapper,
  .page-about__image-wrapper,
  .page-about__feature-item,
  .page-about__container,
  .page-about__section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-about__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-about__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
}