/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #f8f9fa; /* Matches body background for consistency */
}

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

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

.page-about__section-title {
  font-size: clamp(2em, 5vw, 2.8em);
  color: #11A84E;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__sub-title {
  font-size: clamp(1.5em, 4vw, 2em);
  color: #22C768;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-about__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
}

.page-about__list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #333333;
}

.page-about__list-item::before {
  content: '✔';
  color: #11A84E;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

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

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px;
  opacity: 0.3;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  color: #F2FFF6; /* Text Main color */
}

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

.page-about__description {
  font-size: clamp(1.1em, 2.5vw, 1.3em);
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary color */
}

/* CTA Button */
.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main color for button */
  border: none;
}

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

/* Content Grid */
.page-about__content-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  text-align: left;
}

.page-about__content-grid.--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block,
.page-about__image-block {
  flex: 1;
  min-width: 300px;
  max-width: 550px;
}

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

/* Dark sections */
.page-about__dark-section {
  background-color: #08160F; /* Background color */
  color: #F2FFF6; /* Text Main color */
}

.page-about__dark-section .page-about__section-title {
  color: #22C768;
}

.page-about__dark-section .page-about__sub-title {
  color: #57E38D;
}

.page-about__dark-section .page-about__paragraph,
.page-about__dark-section .page-about__list-item {
  color: #A7D9B8; /* Text Secondary color */
}

.page-about__dark-section .page-about__list-item::before {
  color: #2AD16F;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-item {
  background-color: #11271B; /* Card BG color */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  text-align: left;
  color: #F2FFF6; /* Text Main color */
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  color: #F2FFF6; /* Text Main color */
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-about__faq-question:hover {
  background-color: #1E3A2A; /* Darker shade for hover */
}

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

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

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

.page-about__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary color */
}

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

/* CTA Section */
.page-about__cta-section {
  background-color: #11A84E;
  color: #F2FFF6; /* Text Main color */
  padding: 80px 0;
}

.page-about__cta-section .page-about__section-title {
  color: #F2FFF6;
}

.page-about__cta-section .page-about__paragraph {
  color: #F2FFF6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-about__content-grid {
    flex-direction: column;
    text-align: center;
  }

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

  .page-about__text-block,
  .page-about__image-block {
    max-width: 100%;
    width: 100%;
  }

  .page-about__list {
    text-align: center;
  }

  .page-about__list-item {
    padding-left: 0;
  }

  .page-about__list-item::before {
    position: static;
    margin-right: 5px;
  }
}

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

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

  .page-about__hero-section {
    padding-bottom: 40px;
  }

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

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

  .page-about__description {
    font-size: clamp(1em, 3vw, 1.1em);
  }

  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }

  /* Image responsive adjustments */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__hero-image {
    max-height: 300px;
  }

  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__content-grid,
  .page-about__text-block,
  .page-about__image-block,
  .page-about__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  /* Button responsive adjustments */
  .page-about__cta-button,
  .page-about__btn-primary {
    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;
  }

  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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