/* style/about.css */

/* Body background color from shared.css is #08160F (Deep Green), so text should be light */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  line-height: 1.6;
  background-color: transparent; /* Body handles background from shared.css */
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  background-color: #0A4B2C; /* Deep Green for hero section background */
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width for larger screens */
  margin-bottom: 20px; /* Space between image and text */
}

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

.page-about__hero-content {
  width: 100%;
  max-width: 900px;
}

.page-about__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

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

.page-about__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-about__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-about__paragraph {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

.page-about__highlight {
  color: #57E38D; /* Glow */
  font-weight: bold;
}

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

.page-about__card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #F2FFF6; /* Text Main on dark card background */
}

.page-about__feature-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

.page-about__why-choose-us {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin-top: 30px;
}

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

.page-about__list-item {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #2E7A4E; /* Border */
}

.page-about__list-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-about__list-title {
  font-size: 1.35rem;
  color: #57E38D; /* Glow */
  margin-bottom: 10px;
  font-weight: 600;
}

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

.page-about__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-about__image-centered {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-about__faq-section {
  background-color: #0A4B2C; /* Deep Green */
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.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;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  background-color: #11271B; /* Card BG */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

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

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

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

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

.page-about__faq-answer a {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

.page-about__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-about__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #57E38D; /* Glow */
}

.page-about__btn-secondary:hover {
  background-color: #57E38D;
  color: #08160F; /* Background */
  transform: translateY(-3px);
}

.page-about__cta-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 8px;
  object-fit: cover;
}

.page-about a {
  color: #57E38D; /* Glow for general links */
  text-decoration: none;
}

.page-about a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__hero-section,
  .page-about__content-area,
  .page-about__faq-section,
  .page-about__cta-section {
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-about__features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__hero-image-wrapper,
  .page-about__content-area,
  .page-about__faq-list,
  .page-about__cta-section,
  .page-about__card,
  .page-about__why-choose-us,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-about__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

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

  .page-about__lead-text {
    font-size: 1rem;
  }

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

  .page-about__paragraph,
  .page-about__feature-description,
  .page-about__list-description,
  .page-about__faq-answer {
    font-size: 0.95rem;
  }

  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-about__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
  }

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

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

@media (max-width: 480px) {
  .page-about__hero-section {
    padding: 40px 10px;
    padding-top: 10px !important;
  }

  .page-about__content-area,
  .page-about__cta-section {
    padding: 30px 10px;
  }

  .page-about__card {
    padding: 20px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    font-size: 1rem;
    padding: 12px 25px;
  }
}