/* style/about.css */
/* Body background color is var(--bg-color) from shared.css, which is #08160F. */
/* Therefore, text colors should be light for contrast. */

.page-about {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  background-color: #08160F; /* Background */
  overflow: hidden;
}

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

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-about__hero-content {
  position: relative;
  z-index: 10;
  margin-top: 30px;
}

.page-about__main-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;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.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%); /* Button */
  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-color: transparent;
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2E7A4E; /* Border */
}

.page-about__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Border with slight opacity */
  transform: translateY(-2px);
}

/* General Section Styling */
.page-about__section {
  padding: 80px 0;
  text-align: center;
}

.page-about__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.3;
  color: #F2FFF6; /* Text Main */
}

.page-about__text-block {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__image-content--large {
  max-width: 1000px;
}

/* Intro Section */
.page-about__intro-section {
  background-color: #08160F; /* Background */
}

/* Values Section */
.page-about__values-section {
  background-color: #11271B; /* Card BG */
}

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

.page-about__card {
  background-color: #08160F; /* Background for cards within dark section */
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-about__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-about__card-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

/* Team Section */
.page-about__team-section {
  background-color: #08160F; /* Background */
}

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

.page-about__team-member {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-about__team-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #2AD16F; /* Button primary color for accent */
}

.page-about__member-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 5px;
}

.page-about__member-role {
  font-size: 1rem;
  color: #57E38D; /* Glow */
  margin-bottom: 15px;
}

.page-about__member-desc {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
}

/* Commitment Section */
.page-about__commitment-section {
  background-color: #11271B; /* Card BG */
}

.page-about__commitment-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-about__commitment-item {
  background-color: #08160F; /* Background */
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1.1rem;
  line-height: 1.5;
  border-left: 5px solid #2AD16F; /* Button primary color accent */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-about__commitment-item strong {
  color: #F2FFF6; /* Text Main */
  font-weight: 600;
}

.page-about__text-link {
  color: #57E38D; /* Glow */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about__text-link:hover {
  color: #F2FFF6; /* Text Main */
  text-decoration: underline;
}

/* FAQ Section */
.page-about__faq-section {
  background-color: #08160F; /* Background */
}

.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-about__faq-item summary:hover {
  background-color: rgba(46, 122, 78, 0.3); /* Border with opacity */
}

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

.page-about__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 20px;
  color: #57E38D; /* Glow */
}

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

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

/* Contact CTA Section */
.page-about__contact-cta-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 100px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-section {
    padding: 40px 0;
    padding-top: 10px;
  }

  .page-about__main-title {
    font-size: 2.8rem;
  }

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

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

  .page-about__section-title {
    font-size: 2.2rem;
  }

  .page-about__text-block,
  .page-about__card-text,
  .page-about__member-desc,
  .page-about__commitment-item p,
  .page-about__faq-answer {
    font-size: 1rem;
  }
}

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

  .page-about__hero-section {
    padding: 30px 0;
    padding-top: 10px !important;
  }

  .page-about__hero-content,
  .page-about__container,
  .page-about__section,
  .page-about__card,
  .page-about__team-member,
  .page-about__faq-item,
  .page-about__contact-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__main-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-about__subtitle {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

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

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

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

  .page-about__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

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

  /* Content area images minimum size check */
  .page-about__image-content,
  .page-about__team-avatar {
    min-width: 200px;
    min-height: 200px;
    width: auto; /* Allow auto width to respect min-width if needed */
    height: auto;
  }

  .page-about__card,
  .page-about__team-member {
    padding: 20px;
  }

  .page-about__card-title {
    font-size: 1.3rem;
  }

  .page-about__team-avatar {
    width: 120px;
    height: 120px;
  }

  .page-about__member-name {
    font-size: 1.2rem;
  }

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

  .page-about__faq-toggle {
    font-size: 1.5rem;
  }

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