/* style/about.css */

/* Custom Colors */
:root {
  --f79-primary: #11A84E;
  --f79-secondary: #22C768;
  --f79-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --f79-card-bg: #11271B;
  --f79-background: #08160F;
  --f79-text-main: #F2FFF6;
  --f79-text-secondary: #A7D9B8;
  --f79-border: #2E7A4E;
  --f79-glow: #57E38D;
  --f79-gold: #F2C14E;
  --f79-divider: #1E3A2A;
  --f79-deep-green: #0A4B2C;
}

.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--f79-text-main); /* Default text color for dark background */
  background-color: var(--f79-background);
}

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

.page-about__section--no-padding-top {
  padding-top: 0;
}

.page-about__dark-bg {
  background-color: var(--f79-background);
  color: var(--f79-text-main);
}

.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: bold;
  margin-bottom: 20px;
  color: var(--f79-text-main);
  line-height: 1.2;
}

.page-about__section-title--light {
  color: var(--f79-text-main);
}

.page-about__section-description {
  font-size: 1.1em;
  color: var(--f79-text-secondary);
  margin-bottom: 40px;
  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: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  text-align: center;
}

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

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

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Slightly dark overlay for readability */
  border-radius: 10px;
}

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--f79-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-about__intro-text {
  font-size: 1.2em;
  color: var(--f79-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
}

.page-about__btn-primary {
  background: var(--f79-button-gradient);
  color: var(--f79-text-main);
  border: 2px solid transparent;
}

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

.page-about__btn-secondary {
  background: transparent;
  color: var(--f79-secondary);
  border: 2px solid var(--f79-secondary);
}

.page-about__btn-secondary:hover {
  background: var(--f79-secondary);
  color: var(--f79-background);
  transform: translateY(-2px);
}

/* History Section */
.page-about__history-section .page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-about__history-section .page-about__text-block p {
  margin-bottom: 15px;
  color: var(--f79-text-secondary);
}

.page-about__image-block {
  text-align: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
}

/* Mission & Vision Section */
.page-about__mission-vision-section {
  background-color: var(--f79-card-bg);
  padding: 80px 0;
}

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

.page-about__card {
  background-color: var(--f79-background);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: 1px solid var(--f79-border);
}

.page-about__card-title {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--f79-text-main);
  margin-bottom: 15px;
}

.page-about__card p {
  color: var(--f79-text-secondary);
}

.page-about__values {
  margin-top: 60px;
  text-align: left;
}

.page-about__values-title {
  font-size: 2em;
  font-weight: bold;
  color: var(--f79-gold);
  margin-bottom: 20px;
}

.page-about__value-list {
  list-style: none;
  padding: 0;
}

.page-about__value-item {
  font-size: 1.1em;
  color: var(--f79-text-secondary);
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-about__value-item::before {
  content: '✔';
  color: var(--f79-secondary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Products Section */
.page-about__products-section {
  background-color: var(--f79-background);
}

.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: var(--f79-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: 1px solid var(--f79-border);
  display: flex;
  flex-direction: column;
}

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

.page-about__product-card h3 {
  padding: 15px 20px 10px;
}

.page-about__product-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-about__product-title a {
  color: var(--f79-gold);
  text-decoration: none;
}

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

.page-about__product-card p {
  padding: 0 20px 15px;
  color: var(--f79-text-secondary);
  flex-grow: 1;
}

.page-about__product-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--f79-primary);
  color: var(--f79-text-main);
  text-decoration: none;
  border-radius: 5px;
  margin: 0 20px 20px;
  transition: background-color 0.3s ease;
}

.page-about__product-link:hover {
  background-color: var(--f79-secondary);
}

/* Commitment Section */
.page-about__commitment-section {
  background-color: var(--f79-deep-green);
  padding: 80px 0;
}

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

.page-about__commitment-item {
  background-color: var(--f79-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--f79-border);
}

.page-about__commitment-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px var(--f79-glow)); /* Only for glow, not color change */
}

.page-about__commitment-title {
  font-size: 1.6em;
  font-weight: bold;
  color: var(--f79-text-main);
  margin-bottom: 10px;
}

.page-about__commitment-item p {
  color: var(--f79-text-secondary);
}

/* Team & Support Section */
.page-about__team-support-section .page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-about__team-support-section .page-about__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-about__team-support-section .page-about__text-block p {
  margin-bottom: 15px;
  color: var(--f79-text-secondary);
}

.page-about__team-support-section .page-about__btn-primary {
  margin-top: 20px;
}

/* FAQ Section */
.page-about__faq-section {
  background-color: var(--f79-card-bg);
  padding: 80px 0;
}

.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-about__faq-item {
  background-color: var(--f79-background);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--f79-border);
}

.page-about__faq-item details {
  width: 100%;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--f79-text-main);
  cursor: pointer;
  background-color: var(--f79-deep-green);
  border-bottom: 1px solid var(--f79-divider);
  list-style: none;
}

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

.page-about__faq-item[open] > .page-about__faq-question {
  border-bottom: 1px solid var(--f79-divider);
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--f79-gold);
}

.page-about__faq-answer {
  padding: 20px;
  font-size: 1.1em;
  color: var(--f79-text-secondary);
  background-color: var(--f79-background);
}

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

.page-about__faq-answer a {
  color: var(--f79-secondary);
  text-decoration: underline;
}

/* CTA Bottom Section */
.page-about__cta-bottom-section {
  background-color: var(--f79-deep-green);
  padding: 80px 0;
}

/* Responsive Styles */

/* All images basic responsive */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile specific styles */
@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

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

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

  .page-about__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-about__intro-text {
    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__history-section .page-about__content-grid,
  .page-about__team-support-section .page-about__content-grid,
  .page-about__team-support-section .page-about__content-grid--reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-about__image-block {
    order: -1; /* Image appears before text on mobile for history section */
  }

  .page-about__team-support-section .page-about__image-block {
    order: -1; /* Image appears before text on mobile for team section */
  }

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

  .page-about__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-about__commitment-icon {
    width: 80px;
    height: 80px;
  }

  .page-about__card,
  .page-about__product-card,
  .page-about__commitment-item,
  .page-about__faq-item {
    padding: 20px;
  }

  .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Force responsive for all images and containers */
  .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-image-wrapper,
  .page-about__cta-buttons,
  .page-about__product-card,
  .page-about__commitment-item,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }
}