/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Deep text color for light background #f4f4f4 */
}

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

.page-about__heading {
  font-size: 2.5em;
  color: #11A84E;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__sub-heading {
  font-size: 1.8em;
  color: #11A84E;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about p {
  margin-bottom: 15px;
  color: #333333;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #08160F;
  color: #F2FFF6;
}

.page-about__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: auto;
}

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

.page-about__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  z-index: 1;
}

.page-about__main-title {
  font-size: clamp(2em, 5vw, 3.5em);
  font-weight: bold;
  color: #F2FFF6;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 600px; /* To prevent extremely long single lines */
  margin-left: auto;
  margin-right: auto;
}

.page-about__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #A7D9B8;
}

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

.page-about__cta-buttons--centered {
  margin-top: 40px;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-about__btn-secondary:hover {
  transform: translateY(-2px);
  background-color: #2AD16F;
  color: #ffffff;
}

.page-about__btn-text-link {
  color: #22C768;
  text-decoration: underline;
  font-weight: bold;
}

.page-about__btn-text-link:hover {
  color: #13994A;
}

/* Sections */
.page-about__introduction-section,
.page-about__products-section,
.page-about__vision-section {
  padding: 60px 0;
}

.page-about__values-section,
.page-about__benefits-section,
.page-about__faq-section {
  padding: 60px 0;
  background-color: #08160F;
  color: #F2FFF6;
}

.page-about__dark-bg p,
.page-about__dark-bg h3,
.page-about__dark-bg .page-about__card-title,
.page-about__dark-bg .page-about__item-title {
  color: #F2FFF6;
}

.page-about__light-bg p,
.page-about__light-bg h3,
.page-about__light-bg .page-about__card-title,
.page-about__light-bg .page-about__item-title {
  color: #333333;
}

/* Content Flex Layout */
.page-about__content-flex {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-about__text-block {
  flex: 1;
}

.page-about__image-block {
  flex: 1;
  min-width: 300px;
}

.page-about__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* Value Cards */
.page-about__values-grid,
.page-about__benefits-grid,
.page-about__vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__value-card,
.page-about__benefit-item,
.page-about__vision-item {
  background-color: #11271B;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E;
}

.page-about__value-icon,
.page-about__benefit-icon,
.page-about__vision-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px auto;
  display: block;
  object-fit: contain;
}

.page-about__card-title,
.page-about__item-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #F2C14E;
}

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

.page-about__product-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

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

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

.page-about__product-card .page-about__card-title {
  font-size: 1.3em;
  padding: 15px;
  color: #11A84E;
  text-align: left;
}

.page-about__product-card .page-about__card-title a {
  color: #11A84E;
  text-decoration: none;
}

.page-about__product-card .page-about__card-title a:hover {
  text-decoration: underline;
}

.page-about__product-card p {
  padding: 0 15px 15px 15px;
  color: #333333;
  text-align: left;
}

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

.page-about__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6;
  cursor: pointer;
  list-style: none;
}

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

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  color: #F2C14E;
}

.page-about__faq-answer {
  padding: 0 20px 20px 20px;
  color: #A7D9B8;
}

.page-about__faq-answer p {
  margin-bottom: 10px;
  color: #A7D9B8;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__heading {
    font-size: 2em;
  }

  .page-about__sub-heading {
    font-size: 1.5em;
  }

  .page-about__main-title {
    font-size: clamp(1.8em, 4vw, 3em);
  }

  .page-about__content-flex {
    flex-direction: column;
  }
}

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

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

  .page-about__sub-heading {
    font-size: 1.3em;
  }

  .page-about p {
    font-size: 0.95em;
  }

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

  .page-about__description {
    font-size: 1em;
  }

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

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

  .page-about__hero-section,
  .page-about__introduction-section,
  .page-about__values-section,
  .page-about__products-section,
  .page-about__benefits-section,
  .page-about__vision-section,
  .page-about__faq-section {
    padding: 40px 0;
  }

  .page-about__values-grid,
  .page-about__benefits-grid,
  .page-about__vision-grid,
  .page-about__products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .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__value-card,
  .page-about__benefit-item,
  .page-about__vision-item,
  .page-about__product-card,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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