/* style/about.css */

/* --- Base Styles & Body Background Contrast --- */
/* Body background is #f8f9fa (light), so text should be dark #333333 */
.page-about {
  color: #333333; /* Default text color for light background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Specific section backgrounds */
.page-about__dark-bg {
  background-color: #08160F; /* Custom dark background */
  color: #F2FFF6; /* Light text for dark background */
}

.page-about__light-bg {
  background-color: #f8f9fa; /* Inherited light background */
  color: #333333; /* Dark text for light background */
}

/* --- Layout & Container Styles --- */
.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* --- Hero Section --- */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  overflow: hidden; /* Ensure content doesn't spill out */
  background-color: #08160F; /* Dark background for hero */
  color: #F2FFF6; /* Light text for hero */
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  /* Ensure image is not filtered */
  filter: none;
  -webkit-filter: none;
}

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

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6; /* Light text */
}

.page-about__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #A7D9B8; /* Secondary light text */
}

/* --- CTA Buttons --- */
.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  max-width: 600px; /* Limit button group width */
  margin: 0 auto;
}

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__faq-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text wrapping */
  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: 2px solid transparent;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

.page-about__btn-secondary:hover {
  background-color: #2AD16F;
  color: #ffffff;
}

.page-about__faq-button {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
  margin-top: 15px;
}
.page-about__faq-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

/* --- Typography --- */
.page-about__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #11A84E; /* Main brand color for titles */
}

.page-about__dark-bg .page-about__section-title {
  color: #F2FFF6; /* Light text for titles on dark background */
}

.page-about__subsection-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #11A84E; /* Main brand color for subtitles */
}

.page-about__dark-bg .page-about__subsection-title {
  color: #F2FFF6; /* Light text for subtitles on dark background */
}

.page-about__text-block {
  font-size: 1rem;
  margin-bottom: 15px;
  color: inherit; /* Inherit from parent section */
}

.page-about__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: inherit;
}

.page-about__list-item {
  margin-bottom: 10px;
  color: inherit;
}

/* --- Image & Media Styles --- */
.page-about__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
  filter: none; /* Ensure no CSS filters are applied */
  -webkit-filter: none;
}

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

.page-about__feature-card {
  background-color: #11271B; /* Custom Card BG color */
  color: #F2FFF6; /* Text Main color */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #2E7A4E; /* Custom border color */
}

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

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

.page-about__feature-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Limit feature image width */
  border-radius: 8px;
  margin-top: 15px;
  object-fit: cover;
  filter: none;
  -webkit-filter: none;
}

/* --- Commitment List --- */
.page-about__commitment-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-about__commitment-item {
  background-color: #11271B; /* Custom Card BG color */
  color: #F2FFF6; /* Text Main color */
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid #2E7A4E; /* Custom border color */
}

.page-about__commitment-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2FFF6;
}

.page-about__commitment-description {
  font-size: 1rem;
  color: #A7D9B8;
}

/* --- Contact Section --- */
.page-about__contact-info {
  margin-top: 30px;
  margin-bottom: 30px;
  text-align: center;
}

.page-about__contact-item {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: inherit;
}

.page-about__social-media {
  margin-top: 40px;
  text-align: center;
}

.page-about__social-list {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.page-about__social-item a {
  color: #11A84E;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about__social-item a:hover {
  color: #22C768;
}

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main color */
  background-color: #0A4B2C; /* Deep Green for question background */
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-about__faq-item[open] .page-about__faq-question {
  border-bottom-color: #2E7A4E; /* Border on open */
}

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

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

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

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

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-about__section-title {
    font-size: 2rem;
  }
  .page-about__subsection-title {
    font-size: 1.5rem;
  }
}

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

  .page-about__container {
    padding: 20px 15px;
  }

  .page-about__hero-section {
    padding: 10px 0 40px 0; /* Adjust padding for mobile */
  }

  .page-about__hero-content {
    padding: 15px;
  }

  .page-about__main-title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 15px;
  }

  .page-about__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__faq-button {
    max-width: 100% !important;
    width: 100% !important;
    padding: 10px 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-about__subsection-title {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  /* Image responsiveness for mobile */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__image-content {
    margin: 20px auto;
  }
  .page-about__feature-image {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Ensure containers with images/buttons are responsive */
  .page-about__features-grid,
  .page-about__commitment-list,
  .page-about__faq-list,
  .page-about__contact-section,
  .page-about__intro-section,
  .page-about__why-choose,
  .page-about__commitment-section,
  .page-about__team-section,
  .page-about__achievements-section,
  .page-about__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-about__feature-card,
  .page-about__commitment-item,
  .page-about__faq-item {
    padding: 20px;
  }

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

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

  .page-about__social-list {
    flex-direction: column;
    gap: 10px;
  }
}