/* style/about.css */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Main text color for dark backgrounds */
  background-color: #08160F; /* Overall page background */
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  box-sizing: border-box;
  overflow: hidden;
  background-color: #0A4B2C;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 20px;
}

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

.page-about__hero-content {
  position: relative; /* Ensure content is above any background effects if any */
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-about__main-title {
  font-size: clamp(2em, 5vw, 3.5em);
  font-weight: 700;
  color: #F2C14E; /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-about__section {
  padding: 80px 20px;
  box-sizing: border-box;
}

.page-about__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-about__light-bg {
  background-color: #f5f5f5; /* Using a light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-about__contrast-fix {
  /* This class is applied to light-bg sections to ensure text contrast */
  color: #333333; /* Dark text for light background */
}

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

.page-about__section-title {
  font-size: clamp(1.8em, 4vw, 2.8em);
  font-weight: 700;
  color: #F2C14E; /* Gold for section titles */
  text-align: center;
  margin-bottom: 50px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-about__sub-title {
  font-size: clamp(1.4em, 3vw, 2em);
  font-weight: 600;
  color: #2AD16F; /* Green for sub titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-about__content-grid:nth-of-type(even) {
  flex-direction: row-reverse;
}

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

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

.page-about__image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-about__list li {
  background: rgba(46, 122, 78, 0.2); /* Divider color with transparency */
  margin-bottom: 10px;
  padding: 15px;
  border-radius: 5px;
  border-left: 5px solid #2AD16F;
}

.page-about__list li strong {
  color: #F2C14E;
}

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

.page-about__card {
  background-color: #11271B; /* Card background color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6; /* Text on card */
}

.page-about__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-about__card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
}

.page-about__card-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #2AD16F; /* Green for card titles */
  margin-bottom: 10px;
}

.page-about__card-title a {
  color: inherit;
  text-decoration: none;
}

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

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

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

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

.page-about__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-about__btn-secondary {
  display: inline-block;
  background-color: #2E7A4E; /* Border color as background */
  color: #F2FFF6;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 1px solid #2AD16F;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-about__cta-section {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #11271B; /* Card background color */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__cta-section p {
  font-size: 1.3em;
  margin-bottom: 25px;
  color: #F2FFF6;
}

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

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

.page-about__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  list-style: none; /* Hide default marker */
  background-color: #1E3A2A; /* Darker green for summary */
  color: #F2FFF6;
  font-weight: 600;
  font-size: 1.1em;
  border-bottom: 1px solid #2E7A4E;
}

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

.page-about__faq-item[open] summary {
  border-bottom: 1px solid #2AD16F;
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F;
  transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg); /* Change '+' to 'x' or similar for open state */
  color: #F2C14E;
}

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

.page-about__contact-info p {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #F2FFF6;
}

.page-about__contact-info strong {
  color: #2AD16F;
}

.page-about__contact-description {
  text-align: center;
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #A7D9B8;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__content-grid {
    flex-direction: column;
  }
  .page-about__content-grid:nth-of-type(even) {
    flex-direction: column;
  }
  .page-about__hero-section {
    padding: 40px 15px;
  }
  .page-about__section {
    padding: 60px 15px;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__hero-section {
    padding-top: 10px !important; /* body handles --header-offset */
    padding-bottom: 40px !important;
  }
  .page-about__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }
  .page-about__section-title {
    font-size: clamp(1.6em, 7vw, 2.2em);
  }
  .page-about__sub-title {
    font-size: clamp(1.2em, 5vw, 1.6em);
  }
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
  }
  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-about__cta-section .page-about__btn-primary {
    margin-top: 20px;
  }
  .page-about__feature-card,
  .page-about__product-card,
  .page-about__promo-card {
    padding: 20px;
  }
  .page-about__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-about__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: clamp(1.6em, 9vw, 2.2em);
  }
  .page-about__section-title {
    font-size: clamp(1.4em, 8vw, 2em);
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-about__btn-secondary {
    padding: 8px 20px;
    font-size: 0.9em;
  }
}