/* style/about.css */

/* BEM Naming Convention: .page-about__element-name */
/* Color Palette: */
/* Main: #11A84E */
/* Accent: #22C768 */
/* Button: linear-gradient(180deg, #2AD16F 0%, #13994A 100%) */
/* Card BG: #11271B */
/* Background: #08160F */
/* Text Main: #F2FFF6 */
/* Text Secondary: #A7D9B8 */
/* Border: #2E7A4E */
/* Glow: #57E38D */
/* Gold: #F2C14E */
/* Divider: #1E3A2A */
/* Deep Green: #0A4B2C */

.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default to light text for dark background */
  background-color: var(--background-color, #08160F); /* Ensure dark background */
}

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

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

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

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-about__hero-content {
  position: relative;
  text-align: center;
  padding: 60px 20px;
  max-width: 900px;
  z-index: 1;
  color: var(--text-main, #F2FFF6);
}

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main, #F2FFF6);
}

.page-about__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-secondary, #A7D9B8);
}

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

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

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

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

.page-about__btn-secondary {
  background: transparent;
  color: var(--main-color, #11A84E);
  border: 2px solid var(--main-color, #11A84E);
}

.page-about__btn-secondary:hover {
  background: var(--main-color, #11A84E);
  color: #ffffff;
}

/* General Section Styles */
.page-about__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main, #F2FFF6);
}

.page-about__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: -20px auto 60px auto;
  color: var(--text-secondary, #A7D9B8);
}

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

.page-about__dark-section {
  background-color: var(--card-bg, #11271B);
  padding: 80px 0;
}

.page-about__introduction-section {
  padding: 80px 0;
}

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

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

.page-about__text-block {
  flex: 1;
  color: var(--text-secondary, #A7D9B8);
}

.page-about__text-block p {
  margin-bottom: 15px;
}

.page-about__text-block a {
  color: var(--main-color, #11A84E);
  text-decoration: underline;
}

.page-about__text-block a:hover {
  color: var(--glow-color, #57E38D);
}

.page-about__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

.page-about__value-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: var(--text-main, #F2FFF6);
}

.page-about__value-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--main-color, #11A84E);
  font-weight: bold;
}

/* Why Choose Section */
.page-about__why-choose-section {
  padding: 80px 0;
  background-color: var(--background-color, #08160F);
}

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

.page-about__feature-card.page-about__card {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-secondary, #A7D9B8);
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-about__feature-card.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-about__card-image {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-about__card-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-main, #F2FFF6);
}

.page-about__card-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--main-color, #11A84E);
  text-decoration: none;
  font-weight: bold;
}

.page-about__card-link:hover {
  color: var(--glow-color, #57E38D);
  text-decoration: underline;
}

/* Contact Section */
.page-about__contact-section {
  padding: 80px 0;
  background-color: var(--background-color, #08160F);
}

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

.page-about__contact-info.page-about__card,
.page-about__help-center.page-about__card {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 10px;
  padding: 30px;
  color: var(--text-secondary, #A7D9B8);
}

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

.page-about__contact-list li {
  margin-bottom: 10px;
  color: var(--text-main, #F2FFF6);
}

.page-about__contact-link {
  color: var(--main-color, #11A84E);
  text-decoration: none;
}

.page-about__contact-link:hover {
  text-decoration: underline;
  color: var(--glow-color, #57E38D);
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
}

.page-about__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__faq-item.page-about__card {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  transition: background-color 0.3s ease;
  list-style: none; /* For details summary */
}

.page-about__faq-question::-webkit-details-marker {
  display: none; /* For details summary */
}

.page-about__faq-question:hover {
  background-color: rgba(var(--main-color-rgb, 17, 168, 78), 0.1);
}

.page-about__faq-qtext {
  flex-grow: 1;
  font-size: 1.1rem;
}

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  width: 20px;
  text-align: center;
  color: var(--main-color, #11A84E);
}

.page-about__faq-answer {
  padding: 0 25px 20px 25px;
  color: var(--text-secondary, #A7D9B8);
  font-size: 1rem;
}

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

.page-about__faq-link {
  color: var(--main-color, #11A84E);
  text-decoration: underline;
}

.page-about__faq-link:hover {
  color: var(--glow-color, #57E38D);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__content-grid {
    flex-direction: column;
  }

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

  .page-about__image-block {
    order: -1; /* Image above text for reversed grid on smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-content {
    padding: 40px 15px;
  }

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

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

  .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;
    font-size: 1rem;
  }

  .page-about__container {
    padding: 0 15px;
  }

  .page-about__dark-section,
  .page-about__introduction-section,
  .page-about__why-choose-section,
  .page-about__responsibility-section,
  .page-about__contact-section,
  .page-about__faq-section {
    padding: 40px 0;
  }

  .page-about__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-about__section-description {
    font-size: 0.95rem;
    margin-bottom: 40px;
  }

  .page-about__sub-title {
    font-size: clamp(1.3rem, 5vw, 1.6rem);
  }

  .page-about__text-block {
    padding: 0 15px;
  }

  .page-about__image,
  .page-about__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-about__image-block,
  .page-about__feature-card.page-about__card,
  .page-about__contact-info.page-about__card,
  .page-about__help-center.page-about__card,
  .page-about__faq-item.page-about__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-about__features-grid,
  .page-about__contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

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

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

/* Ensure min image sizes are respected for content area images */
.page-about__image, .page-about__card-image {
  min-width: 200px;
  min-height: 200px;
}

/* For contrast enforcement */
.page-about__dark-bg {
  color: #ffffff;
}
.page-about__light-bg {
  color: #333333;
}

/* Specific contrast fixes */
.page-about p,
.page-about li,
.page-about__text-block p {
  color: var(--text-secondary, #A7D9B8);
}

.page-about__card-title, .page-about__sub-title, .page-about__section-title, .page-about__main-title, .page-about__value-list li {
  color: var(--text-main, #F2FFF6);
}