/* style/about.css */

/* Body background color is handled by shared.css var(--bg-color), which is #08160F (dark). */
/* Therefore, text colors must be light to ensure contrast. */

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: transparent; /* Handled by body in shared.css */
}

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

.page-about__section-title {
  font-size: 2.8em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #F2FFF6; /* Text Main */
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

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

.page-about__main-title {
  font-size: clamp(2.5em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 800;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-about__intro-text {
  font-size: 1.2em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-about__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Gold */
  border: 2px solid #F2C14E; /* Gold */
}

.page-about__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Mission Section */
.page-about__mission-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

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

.page-about__card-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

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

/* Values Section */
.page-about__values-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

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

.page-about__value-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-about__value-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-about__value-title {
  font-size: 1.6em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-about__value-item p {
  color: #A7D9B8; /* Text Secondary */
}

/* Why Choose Us Section */
.page-about__why-choose-us {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-about__advantage-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 50px auto;
  max-width: 900px;
}

.page-about__advantage-list li {
  background-color: #11271B; /* Card BG */
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  border: 1px solid #2E7A4E; /* Border */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-about__list-icon {
  color: #57E38D; /* Glow */
  font-size: 1.4em;
  margin-right: 15px;
}

.page-about__list-strong {
  color: #F2C14E; /* Gold */
}

.page-about__cta-buttons--centered {
  margin-top: 40px;
}

/* Commitment Section */
.page-about__commitment-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
  text-align: center;
}

.page-about__image-full-width {
  width: 100%;
  max-width: 1000px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin: 30px auto 50px auto;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

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

.page-about__subtitle {
  font-size: 2em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.page-about__btn-secondary--margin-top {
  margin-top: 40px;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-about__faq-question::-webkit-details-marker, /* Hide default marker for Chrome */
.page-about__faq-question::marker { /* Hide default marker for Firefox */
  display: none;
}

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

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

.page-about__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  background-color: #0E1F18; /* Slightly darker than Card BG */
}

/* Ensure details summary doesn't get pointer-events: none */
details.page-about__faq-item summary {
  pointer-events: auto;
}

details.page-about__faq-item summary * {
  pointer-events: none; /* Allow clicking the summary, but not individual elements inside it */
}

details.page-about__faq-item summary .page-about__faq-qtext,
details.page-about__faq-item summary .page-about__faq-toggle {
  pointer-events: auto; /* Re-enable pointer events for these specific spans */
}

/* CTA Bottom Section */
.page-about__cta-bottom {
  padding: 80px 20px;
  text-align: center;
  background-color: #08160F; /* Background */
}

/* Dark/Light Section Styling */
.page-about__dark-section {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-about__light-section {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__section-title {
    font-size: 2.2em;
  }

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

  .page-about__intro-text {
    font-size: 1.1em;
  }

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

  .page-about__value-icon {
    width: 180px;
    height: 180px;
  }
}

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

  .page-about__container,
  .page-about__hero-section,
  .page-about__mission-section,
  .page-about__values-section,
  .page-about__why-choose-us,
  .page-about__commitment-section,
  .page-about__faq-section,
  .page-about__cta-bottom {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  .page-about__hero-section {
    padding-top: 10px !important; /* Body handles --header-offset, this is for visual spacing */
    padding-bottom: 40px;
  }

  .page-about__hero-image,
  .page-about__image-full-width,
  .page-about__value-icon,
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover;
  }

  .page-about__hero-image {
    margin-bottom: 20px;
  }

  .page-about__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-about__intro-text {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-about__section-description {
    font-size: 1em;
    margin-bottom: 40px;
  }

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

  .page-about__card,
  .page-about__value-item {
    padding: 25px;
  }

  .page-about__card-title,
  .page-about__value-title {
    font-size: 1.5em;
  }

  .page-about__advantage-list li {
    font-size: 0.95em;
    padding: 15px;
  }

  .page-about__subtitle {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-about__text-block {
    font-size: 0.95em;
  }

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

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

@media (max-width: 480px) {
  .page-about__section-title {
    font-size: 1.6em;
  }

  .page-about__main-title {
    font-size: clamp(1.5em, 8vw, 2.2em);
  }

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

  .page-about__value-icon {
    width: 150px;
    height: 150px;
  }
}

/* Dark/Light Section Styling for contrast */
.page-about__dark-section {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main - light text on dark background */
}

.page-about__light-section {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main - light text on dark background */
}

/* Ensure all text elements within page-about inherit light color */
.page-about h1, .page-about h2, .page-about h3, .page-about h4, .page-about h5, .page-about h6,
.page-about p, .page-about li, .page-about a:not([class*="btn"]) {
  color: inherit; /* Inherit from section, then adjust specific elements */
}

.page-about__card p, .page-about__value-item p, .page-about__text-block, .page-about__faq-answer {
  color: #A7D9B8; /* Text Secondary */
}

.page-about__card-title, .page-about__value-title, .page-about__subtitle {
  color: #F2C14E; /* Gold for titles */
}

.page-about__list-strong {
  color: #F2C14E; /* Gold */
}

.page-about a:not([class*="btn"]) {
  color: #57E38D; /* Glow for generic links */
  text-decoration: underline;
}

.page-about a:not([class*="btn"]):hover {
  color: #F2C14E; /* Gold on hover for generic links */
}