/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main color for overall page content */
  background-color: #08160F; /* Background color */
}

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

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

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

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

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

.page-about__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: bold;
  color: #F2FFF6;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-about__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__sub-title {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  color: #F2FFF6;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__text-block {
  font-size: 1em;
  color: #A7D9B8;
  margin-bottom: 20px;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
  margin: 0 10px 15px 10px;
}

.page-about__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background: transparent;
  color: #11A84E;
  border: 2px solid #11A84E; /* Border color */
  margin: 0 10px 15px 10px;
}

.page-about__btn-secondary:hover {
  background: #11A84E;
  color: #F2FFF6;
}

.page-about__btn-tertiary {
  background: #11271B; /* Card BG */
  color: #A7D9B8; /* Text Secondary */
  border: 1px solid #2E7A4E; /* Border color */
  margin: 0 10px 15px 10px;
}

.page-about__btn-tertiary:hover {
  background: #2E7A4E;
  color: #F2FFF6;
}

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

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

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

.page-about__product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-about__product-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-about__product-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-about__product-title a {
  color: #F2FFF6;
  text-decoration: none;
}

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

.page-about__product-description {
  font-size: 0.95em;
  color: #A7D9B8;
  padding: 0 15px;
}

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

.page-about__advantage-item {
  background-color: #11271B;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.page-about__advantage-item:hover {
  transform: translateY(-5px);
}

.page-about__advantage-icon {
  width: 100px; /* Ensure minimum 200px equivalent for display */
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* No CSS filter */
  min-width: 200px; /* Enforce minimum size for content images */
  min-height: 200px;
}

.page-about__advantage-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6;
  margin-bottom: 10px;
}

.page-about__advantage-description {
  font-size: 0.9em;
  color: #A7D9B8;
}

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

.page-about__faq-list {
  margin-top: 40px;
}

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

.page-about__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  list-style: none; /* Remove default marker */
  color: #F2FFF6;
}

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg);
}

.page-about__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #A7D9B8;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__hero-image-wrapper {
    max-height: 450px;
  }
}

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

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

  .page-about__hero-image-wrapper {
    max-height: 300px;
  }

  .page-about__main-title {
    font-size: 2em;
  }

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

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

  .page-about__sub-title {
    font-size: 1.5em;
    margin-top: 25px;
  }

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

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

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-tertiary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0;
    padding: 15px 20px;
  }

  .page-about__product-grid,
  .page-about__advantage-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

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

  .page-about__product-card,
  .page-about__advantage-item {
    padding: 20px;
  }

  .page-about__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }

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

  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__hero-image-wrapper,
  .page-about__product-card,
  .page-about__advantage-item,
  .page-about__section,
  .page-about__container,
  .page-about__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

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

  .page-about__advantage-icon {
    min-width: 150px; /* Adjust min size for smaller screens if needed, but keep >=200px effective */
    min-height: 150px;
    width: 150px; /* Example fixed size for mobile */
    height: 150px;
  }

  /* Ensure content area images are not too small */
  .page-about__product-image,
  .page-about__advantage-icon {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min size >= 200px */
    min-height: 200px;
  }
}

/* Color Contrast Adjustments (already integrated via custom color palette) */
/* If body background was light, .page-about would have color: #333333; */
/* Since custom background is dark #08160F, text colors are light #F2FFF6 and #A7D9B8 */