/* style/about.css */

/* Base styles for the page content, assuming a dark body background from shared.css */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

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

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

.page-about__section--vision,
.page-about__section--commitment {
  padding: 80px 0;
  background-color: #11271B; /* Card BG */
}

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

.page-about__sub-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: #22C768; /* Auxiliary color */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__paragraph {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-about__paragraph--center {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 80px; /* Small top padding, more bottom padding */
  overflow: hidden;
  background-color: #08160F; /* Background */
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 40px; /* Space between image and content */
}

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

.page-about__hero-content {
  text-align: center;
  position: relative; /* Ensure content is above any potential background effect */
  z-index: 1;
  max-width: 900px;
}

.page-about__main-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__intro-text {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-about__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-about__cta-button--secondary {
  background: none;
  border: 2px solid #22C768;
  color: #22C768;
  margin-left: 20px;
}

.page-about__cta-button--secondary:hover {
  background: #22C768;
  color: #08160F;
}

/* Content Grid */
.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  text-align: left;
}

.page-about__content-grid--reverse {
  grid-template-areas: "image text"; /* Default order for desktop */
}

.page-about__content-grid--reverse .page-about__text-block {
  grid-area: text;
}

.page-about__content-grid--reverse .page-about__image-block {
  grid-area: image;
}

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

.page-about__content-image,
.page-about__community-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* List styles */
.page-about__list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.page-about__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #A7D9B8; /* Text Secondary */
}

.page-about__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #2AD16F; /* Bright green checkmark */
  font-weight: bold;
}

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

.page-about__product-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

.page-about__product-card:hover {
  transform: translateY(-5px);
}

.page-about__product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-about__product-title {
  font-size: 1.3rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-about__product-link {
  color: #F2FFF6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about__product-link:hover {
  color: #2AD16F;
}

.page-about__product-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
  padding: 0 15px;
}

/* CTA Group */
.page-about__cta-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 50px;
  margin-bottom: 60px;
}

/* FAQ Section */
.page-about__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-about__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

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

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

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

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

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  color: #2AD16F;
}

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

.page-about__faq-answer p {
  margin-bottom: 0;
}

.page-about__faq-answer a {
  color: #2AD16F;
  text-decoration: underline;
}

.page-about__faq-answer a:hover {
  color: #57E38D;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-about__content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .page-about__content-grid--reverse {
    grid-template-areas: "text" "image"; /* Reverse order for smaller screens */
  }

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

  .page-about__section-title {
    margin-bottom: 30px;
  }

  .page-about__sub-title {
    margin-top: 25px;
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .page-about__section {
    padding: 40px 0;
  }

  .page-about__section--vision,
  .page-about__section--commitment {
    padding: 50px 0;
  }

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

  .page-about__hero-section {
    padding: 10px 15px 60px;
  }

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

  .page-about__intro-text {
    font-size: clamp(1rem, 3.5vw, 1.1rem);
    margin-bottom: 25px;
  }

  .page-about__cta-button {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-about__cta-button--secondary {
    margin-left: 0;
    margin-top: 15px; /* Stack buttons */
  }

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

  .page-about__product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__product-image {
    height: 180px;
  }

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

  .page-about__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95rem;
  }

  /* Force responsive images on mobile */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__hero-image-wrapper,
  .page-about__image-block,
  .page-about__product-card,
  .page-about__cta-group,
  .page-about__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-about__hero-image-wrapper, .page-about__image-block, .page-about__product-card {
    padding-left: 15px;
    padding-right: 15px;
  }
}