/* style/about.css */
/* Base styles for page-about, overriding shared.css for specific elements if needed */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main on dark background */
  background-color: transparent; /* Body background is handled by shared.css var(--background-color) */
}

/* Section specific styling */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image first, then content */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px 80px; /* Adjust padding for content */
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px; /* Space between image and text */
}

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

.page-about__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.2rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-about__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-about__btn-primary,
.page-about__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Crucial for button responsiveness */
  max-width: 100%; /* Ensure button doesn't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  text-align: center;
}

.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: #F2FFF6; /* Text Main */
  border: 2px solid #2E7A4E; /* Border color */
}

.page-about__btn-secondary:hover {
  background: #2E7A4E; /* Border color as background on hover */
  color: #F2FFF6;
  transform: translateY(-2px);
}

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

.page-about__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 50px;
  font-weight: 600;
}

.page-about__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-about__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block,
.page-about__image-block {
  flex: 1;
}

.page-about__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-about__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #F2FFF6; /* Text Main on card background */
  border: 1px solid #2E7A4E; /* Border color */
}

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

.page-about__values-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green for a darker section */
}

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

.page-about__value-title,
.page-about__commitment-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__value-description,
.page-about__commitment-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
}

.page-about__why-choose-section,
.page-about__faq-section {
  padding: 80px 0;
  background-color: #22C768; /* Auxiliary color for light background */
  color: #000000; /* Dark text on light background */
}

.page-about__why-choose-section .page-about__section-title,
.page-about__faq-section .page-about__section-title {
  color: #000000; /* Dark text for title on light background */
}

.page-about__why-choose-section p,
.page-about__why-choose-section li,
.page-about__faq-section p,
.page-about__faq-section a {
  color: #333333; /* Dark text for paragraphs/lists/links on light background */
}

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

.page-about__advantage-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #333333;
}

.page-about__advantage-list li strong {
  color: #11A84E; /* Main color for emphasis */
}

.page-about__advantage-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #11A84E; /* Main color for checkmark */
  font-weight: bold;
}

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

.page-about__commitment-section {
  padding: 80px 0;
  background-color: #11A84E; /* Main color for a distinct section */
}

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

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

/* FAQ styles */
.page-about__faq-list {
  margin-top: 30px;
  margin-bottom: 40px;
}

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

.page-about__faq-item[open] {
  background-color: #0A4B2C; /* Deep Green for open FAQ item */
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none; /* Remove default marker for details/summary */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #F2FFF6; /* Text Main */
}

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

.page-about__faq-qtext {
  flex-grow: 1;
  color: #F2FFF6; /* Text Main */
}

.page-about__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  color: #F2C14E; /* Gold */
}

.page-about__faq-item[open] .page-about__faq-toggle {
  content: '−';
}

.page-about__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-about__faq-answer p {
  margin-bottom: 10px;
  color: #A7D9B8; /* Text Secondary */
}

.page-about__faq-answer a {
  color: #F2C14E; /* Gold for links */
  text-decoration: underline;
}

.page-about__faq-answer a:hover {
  text-decoration: none;
}

.page-about__faq-image-wrapper {
  text-align: center;
  margin-top: 40px;
}

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

  .page-about__content-wrapper--reverse {
    flex-direction: column; /* Keep column for reverse on smaller screens */
  }

  .page-about__image-block {
    margin-bottom: 30px;
  }

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

  .page-about__hero-description {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-bottom: 60px;
  }

  .page-about__section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 40px;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100%; /* Full width buttons */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-about__container {
    padding: 0 15px; /* Smaller padding on mobile */
  }

  .page-about__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-about__mission-vision-section,
  .page-about__values-section,
  .page-about__why-choose-section,
  .page-about__team-section,
  .page-about__commitment-section,
  .page-about__faq-section {
    padding: 50px 0;
  }

  .page-about__values-grid,
  .page-about__commitment-grid {
    grid-template-columns: 1fr;
  }

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

  .page-about__faq-answer {
    padding: 0 15px 15px;
  }
  
  /* All content sections and cards must not overflow */
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__content-wrapper,
  .page-about__cta-buttons,
  .page-about__commitment-grid,
  .page-about__values-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; /* Ensure no overflow */
  }

  /* Specific padding for sections if they need it after container padding */
  .page-about__mission-vision-section > .page-about__container,
  .page-about__values-section > .page-about__container,
  .page-about__why-choose-section > .page-about__container,
  .page-about__team-section > .page-about__container,
  .page-about__commitment-section > .page-about__container,
  .page-about__faq-section > .page-about__container {
    padding-left: 0;
    padding-right: 0;
  }
}