/* style/about.css */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light body background */
  background-color: #f8f9fa; /* Inherited from body, but good to define context */
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 20px 60px 20px; /* Small top padding, more bottom padding */
  background: #08160F; /* Background color for hero section */
  color: #F2FFF6; /* Light text for dark background */
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for hero image */
  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 {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 40px;
}

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

.page-about__subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #A7D9B8;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px rgba(42, 209, 111, 0.6);
}

.page-about__btn-secondary {
  background: #0A4B2C;
  color: #F2FFF6;
  border: 2px solid #2E7A4E;
}

.page-about__btn-secondary:hover {
  background: #11A84E;
  color: #ffffff;
  border-color: #57E38D;
}

.page-about__section {
  padding: 60px 20px;
  background-color: #f8f9fa; /* Light background for most sections */
  color: #333333;
}

.page-about__section--mission {
  background-color: #f8f9fa;
}

.page-about__section--journey {
  background-color: #f8f9fa;
}

.page-about__section--advantages {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-about__section--commitment {
  background-color: #f8f9fa;
}

.page-about__section--contact {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-about__section--faq {
  background-color: #f8f9fa;
}

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

.page-about__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #11A84E;
}

.page-about__section--advantages .page-about__section-title,
.page-about__section--contact .page-about__section-title {
  color: #57E38D;
}

.page-about__sub-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #11A84E;
}

.page-about__section--advantages .page-about__sub-title,
.page-about__section--contact .page-about__sub-title {
  color: #F2FFF6;
}

.page-about__text-block {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333333;
}

.page-about__text-block--light {
  color: #A7D9B8;
}

.page-about__image-wrapper {
  margin: 30px auto;
  max-width: 800px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

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

.page-about__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
}

.page-about__list-item::before {
  content: '✅';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.1rem;
}

.page-about__list--light .page-about__list-item {
  color: #A7D9B8;
}

.page-about__list--light .page-about__list-item::before {
  content: '⭐';
}

.page-about__link {
  color: #11A84E;
  text-decoration: none;
  font-weight: 600;
}

.page-about__link:hover {
  text-decoration: underline;
  color: #22C768;
}

.page-about__link--light {
  color: #57E38D;
}

.page-about__link--light:hover {
  color: #F2FFF6;
}

/* FAQ Section */
.page-about__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #11271B;
  color: #F2FFF6;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-about__faq-question:hover {
  background-color: #1E3A2A;
}

.page-about__faq-item[open] .page-about__faq-question {
  background-color: #0A4B2C;
}

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

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D;
}

.page-about__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: #A7D9B8;
}

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

/* Details/Summary specific styling */
.page-about__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-about__faq-item summary {
  list-style: none;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-about__hero-content {
    margin-top: 20px;
  }

  .page-about__main-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
  }

  .page-about__subtitle {
    font-size: 1rem;
  }

  .page-about__section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }

  .page-about__sub-title {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
  }

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

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

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

  .page-about__hero-section {
    padding: 10px 15px 40px 15px;
  }

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

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

  .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__image-wrapper {
    margin: 20px auto;
  }

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

  .page-about__section,
  .page-about__card,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }

  .page-about__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}