/* style/about.css */
.page-about {
  color: var(--text-main-color, #F2FFF6); /* Default text color for dark background */
  background-color: var(--background-color, #08160F); /* Ensure body background color */
}

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

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

.page-about__light-bg {
  background-color: #f8f9fa; /* A very light background for contrast */
  color: #333333;
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit hero image height */
  overflow: hidden;
}

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

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

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

.page-about__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-secondary-color, #A7D9B8);
}

.page-about__description-secondary {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 30px;
  color: var(--text-secondary-color, #A7D9B8);
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  box-sizing: border-box;
  max-width: 100%;
}

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

.page-about__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background: transparent;
  color: var(--main-color, #11A84E);
  border: 2px solid var(--main-color, #11A84E);
}

.page-about__btn-secondary:hover {
  background: var(--main-color, #11A84E);
  color: #ffffff;
}

.page-about__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section */
}

.page-about__story-section {
  padding: 80px 0;
}

.page-about__story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__story-text-block p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: #333333;
}

.page-about__story-image-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.page-about__story-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-about__values-section {
  padding: 80px 0;
  background-color: var(--card-bg-color, #11271B); /* Use Card BG for this dark section */
}

.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-about__value-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter than section background */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border-color, #2E7A4E);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-about__value-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-main-color, #F2FFF6);
}

.page-about__value-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary-color, #A7D9B8);
}

.page-about__why-choose-us {
  padding: 80px 0;
}

.page-about__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-about__why-choose-item {
  text-align: center;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  color: #333333;
}

.page-about__why-choose-icon {
  width: 200px; /* Enforce minimum size */
  height: 200px; /* Enforce minimum size */
  margin-bottom: 20px;
  object-fit: contain;
}

.page-about__why-choose-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333333;
}

.page-about__why-choose-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555555;
}

.page-about__cta-bottom-section {
  padding: 80px 0;
  background-color: var(--main-color, #11A84E); /* Use main color for a distinct CTA */
  text-align: center;
  color: #ffffff;
}

.page-about__cta-bottom-content {
  max-width: 800px;
}

.page-about__cta-bottom-content .page-about__section-title {
  color: #ffffff;
}

.page-about__cta-bottom-content .page-about__description {
  color: rgba(255, 255, 255, 0.9);
}

.page-about__faq-section {
  padding: 80px 0;
}

.page-about__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-about__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-about__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1rem;
  color: #333333;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

.page-about__faq-item summary:hover {
  background-color: #f0f0f0;
}

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

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

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

/* Responsive styles */
@media (max-width: 992px) {
  .page-about__story-grid {
    grid-template-columns: 1fr;
  }
  .page-about__story-image-wrapper {
    order: -1; /* Image appears above text on smaller screens */
  }
}

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

  .page-about__hero-section,
  .page-about__story-section,
  .page-about__values-section,
  .page-about__why-choose-us,
  .page-about__cta-bottom-section,
  .page-about__faq-section {
    padding: 40px 0;
  }

  .page-about__main-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

  .page-about__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .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: 12px 20px;
  }

  .page-about__hero-image-wrapper,
  .page-about__story-image-wrapper,
  .page-about__why-choose-item,
  .page-about__value-card,
  .page-about__faq-item,
  .page-about__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

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

  .page-about__why-choose-icon {
    width: 150px !important;
    height: 150px !important;
  }
  
  .page-about__hero-section {
    padding-top: 10px !important; /* body has padding-top */
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: clamp(1.8rem, 8vw, 2.2rem);
  }

  .page-about__section-title {
    font-size: clamp(1.4rem, 7vw, 1.8rem);
  }

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

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