/* style/about.css */
.page-about {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color, #F2FFF6); /* Default to main text color */
  background-color: var(--background-color, #08160F); /* Default to background color */
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: var(--background-color, #08160F);
  color: var(--text-main-color, #F2FFF6);
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

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

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

.page-about__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-about__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--gold-color, #F2C14E); /* Use gold for prominence */
  margin-bottom: 15px;
}

.page-about__intro-text {
  font-size: 1.15em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-secondary-color, #A7D9B8);
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-about__cta-buttons--center {
  justify-content: center;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 30px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
  min-width: 150px;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

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

.page-about__section {
  padding: 50px 20px;
  background-color: var(--background-color, #08160F);
  color: var(--text-main-color, #F2FFF6);
}

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

.page-about__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--gold-color, #F2C14E);
  margin-bottom: 30px;
  text-align: center;
}

.page-about__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: var(--main-color, #11A84E);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about p {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-secondary-color, #A7D9B8);
}

.page-about strong {
  color: var(--text-main-color, #F2FFF6);
}

.page-about ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-about ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 1.05em;
  line-height: 1.6;
  color: var(--text-secondary-color, #A7D9B8);
}

.page-about ul li::before {
  content: '✔️'; /* Custom bullet point */
  position: absolute;
  left: 0;
  color: var(--main-color, #11A84E);
}

.page-about__history-list li::before,
.page-about__product-list li::before,
.page-about__security-list li::before,
.page-about__support-list li::before,
.page-about__responsible-list li::before,
.page-about__awards-list li::before,
.page-about__future-list li::before {
  content: '•'; /* Use a simpler bullet for lists */
  font-size: 1.5em;
  top: -3px;
  line-height: 1;
}

.page-about__content-two-col {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 40px;
}

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

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

.page-about__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: var(--card-bg-color, #11271B);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-about__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.15em;
  color: var(--gold-color, #F2C14E);
  background-color: var(--deep-green-color, #0A4B2C);
  user-select: none;
  list-style: none; /* For details/summary */
}

.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;
}

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

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

.page-about__faq-answer p {
  margin-bottom: 0;
  color: var(--text-secondary-color, #A7D9B8);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__main-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-about__main-title {
    font-size: 2em; /* Adjusted for mobile to prevent taking too much space */
  }
  .page-about__intro-text {
    font-size: 1em;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    min-width: unset;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__section {
    padding: 30px 0;
  }
  .page-about__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-about__content-two-col {
    flex-direction: column;
    gap: 30px;
  }
  .page-about__image-block {
    padding: 10px;
  }
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-about__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-about__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__sub-title {
    font-size: 1.4em;
  }
  .page-about p,
  .page-about ul li {
    font-size: 0.95em;
  }
}

/* Color Contrast Adjustments (if needed, based on background brightness) */
/* Example: If a section has a very light background, text should be dark */
.page-about__dark-section {
  background-color: var(--deep-green-color, #0A4B2C);
  color: #ffffff;
}
.page-about__light-section {
  background-color: #ffffff;
  color: #333333;
}

/* Ensure min-size for content images, overriding smaller defaults if any */
.page-about img:not(.shared-logo):not(.shared-social-icon):not(.shared-payment-icon) {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Ensures aspect ratio is maintained while filling space */
}

/* Specific contrast for text on card-like backgrounds */
.page-about__image-block,
.page-about__faq-item {
  color: var(--text-main-color, #F2FFF6); /* Ensure light text on dark card background */
}

.page-about__faq-question {
    color: var(--gold-color, #F2C14E);
}
.page-about__faq-answer {
    color: var(--text-secondary-color, #A7D9B8);
}