/* style/about.css */

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

.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: 700;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  border-radius: 2px;
}

.page-about__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about p {
  margin-bottom: 1em;
  color: #A7D9B8; /* Text Secondary */
}

.page-about strong {
  color: #F2FFF6; /* Text Main */
}

/* Hero Section */
.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 */
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

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

.page-about__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-about__main-title {
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  /* Use clamp for responsive H1 font size */
  font-size: clamp(2.2em, 4vw, 3.5em); 
  line-height: 1.2;
}

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

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

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button adapts to container */
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
}

.page-about__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* A lighter shade of primary green for contrast */
  border-color: #2AD16F;
}

.page-about__btn-secondary:hover {
  background-color: rgba(42, 209, 111, 0.1);
  color: #F2FFF6; /* Text Main */
}

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

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

.page-about__text-block {
  flex: 1;
  min-width: 0;
}

.page-about__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__content-image {
  width: 100%;
  height: auto;
  max-width: 800px; /* Recommended size for content images */
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-about__list-item {
  background-color: #11271B; /* Card BG */
  border-left: 4px solid #2AD16F; /* Button gradient start color */
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1.05em;
}

.page-about__list-item strong {
  color: #F2FFF6; /* Text Main */
}

/* Why Choose Us Section */
.page-about__why-choose-us {
  padding: 80px 0;
  background-color: #11271B; /* Card BG */
}

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

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

.page-about__feature-card {
  background-color: #08160F; /* Background */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 15px #57E38D; /* Glow */
}

.page-about__feature-icon {
  width: 100%;
  height: auto;
  max-width: 400px; /* Recommended for feature cards */
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

.page-about__feature-card p {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
}

.page-about__cta-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #1E3A2A; /* Divider */
}

.page-about__cta-bottom p {
    font-size: 1.2em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 25px;
}

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

/* Commitment Section */
.page-about__commitment-section {
  padding: 80px 0;
  text-align: center;
  background-color: #11271B; /* Card BG */
}

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

.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: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for details summary */
}

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

.page-about__faq-question:hover {
  background-color: #0A4B2C; /* Deep Green for hover */
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 20px;
  color: #2AD16F; /* Button gradient start color */
}

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

.page-about__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  border-top: 1px solid #1E3A2A; /* Divider */
}

.page-about__faq-item:not([open]) .page-about__faq-answer {
  display: none;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__content-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .page-about__image-block {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section,
  .page-about__mission-section,
  .page-about__why-choose-us,
  .page-about__responsibility-section,
  .page-about__commitment-section,
  .page-about__faq-section {
    padding: 40px 0; /* Adjust padding for mobile */
  }

  .page-about__container {
    padding: 0 15px; /* Add padding to containers */
  }

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

  .page-about__sub-title {
    font-size: 1.4em;
  }

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

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

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

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

  .page-about__feature-icon,
  .page-about__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Ensure all image containers are responsive */
  .page-about__hero-image-wrapper,
  .page-about__image-block,
  .page-about__feature-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

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

  /* General content sections with padding */
  .page-about__mission-section .page-about__container,
  .page-about__why-choose-us .page-about__container,
  .page-about__responsibility-section .page-about__container,
  .page-about__commitment-section .page-about__container,
  .page-about__faq-section .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
}