.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default text color for the page, assuming dark body bg */
  background-color: var(--bg-color, #08160F); /* Consistent with custom background color */
}

/* Base container styling */
.page-about__container {
  width: 100%; /* Ensure full width for flex context */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section styling */
.page-about__section-title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main, #F2FFF6);
  line-height: 1.2;
}

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

.page-about__text-block p,
.page-about__security-features li,
.page-about__responsibility-list li,
.page-about__promise-list li,
.page-about__faq-answer p {
  margin-bottom: 15px;
  color: var(--text-main, #F2FFF6);
}

.page-about__text-block strong {
  color: var(--gold, #F2C14E); /* Highlight strong text with gold */
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  background-color: var(--bg-color, #08160F);
  padding-bottom: 60px; /* Space below content */
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 40px; /* Space between image and content */
}

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

.page-about__main-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--gold, #F2C14E);
}

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

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

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
  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(--primary-color, #11A84E);
  border: 2px solid var(--primary-color, #11A84E);
}

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

/* Dark Background Sections */
.page-about__dark-bg {
  background-color: var(--bg-color, #08160F);
  color: var(--text-main, #F2FFF6);
  padding: 60px 0;
}

.page-about__dark-bg .page-about__section-title,
.page-about__dark-bg .page-about__sub-title {
  color: var(--gold, #F2C14E);
}

.page-about__dark-bg p,
.page-about__dark-bg li,
.page-about__dark-bg .page-about__faq-answer p {
  color: var(--text-main, #F2FFF6);
}

/* Light Background Sections (using a slightly lighter dark green for contrast) */
.page-about__light-bg {
  background-color: var(--card-bg, #11271B); /* Using Card BG for light section */
  color: var(--text-main, #F2FFF6);
  padding: 60px 0;
}

.page-about__light-bg .page-about__section-title,
.page-about__light-bg .page-about__sub-title {
  color: var(--gold, #F2C14E);
}

.page-about__light-bg p,
.page-about__light-bg li,
.page-about__light-bg .page-about__faq-answer p {
  color: var(--text-main, #F2FFF6);
}

/* General Content Layout */
.page-about__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

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

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

.page-about__image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

/* Grid Layout for Vision/Mission & Values */
.page-about__grid-container,
.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-about__card {
  background-color: var(--card-bg, #11271B);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color, #2E7A4E);
  color: var(--text-main, #F2FFF6);
}

.page-about__card-title,
.page-about__value-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--gold, #F2C14E);
}

/* Timeline */
.page-about__timeline {
  position: relative;
  margin: 50px 0;
  padding-left: 30px;
}

.page-about__timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--divider-color, #1E3A2A);
}

.page-about__timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 30px;
}

.page-about__timeline-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color, #11A84E);
  border: 4px solid var(--bg-color, #08160F);
  z-index: 1;
}

.page-about__timeline-year {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--gold, #F2C14E);
}

.page-about__timeline-item p {
  color: var(--text-secondary, #A7D9B8);
}

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

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

.page-about__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--gold, #F2C14E);
  list-style: none; /* Hide default marker */
}

.page-about__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-about__faq-toggle {
  font-size: 1.5rem;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

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

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

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

/* CTA Section */
.page-about__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: var(--bg-color, #08160F);
}

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

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

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

  .page-about__content-wrapper--reverse {
    flex-direction: column; /* Revert to column for smaller screens */
  }

  .page-about__image-block {
    order: -1; /* Image appears above text in column layout */
    margin-bottom: 30px;
  }

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

  .page-about__hero-image {
    margin-bottom: 30px;
  }

  .page-about__grid-container,
  .page-about__values-grid {
    grid-template-columns: 1fr;
  }
}

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

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

  .page-about__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-about__hero-cta,
  .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;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-about__image-block img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
    box-sizing: border-box !important;
  }

  .page-about__introduction-section,
  .page-about__vision-mission-section,
  .page-about__values-section,
  .page-about__history-section,
  .page-about__security-tech-section,
  .page-about__responsibility-section,
  .page-about__team-promise-section,
  .page-about__faq-section,
  .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; /* Prevent horizontal scroll */
  }

  .page-about__dark-bg,
  .page-about__light-bg {
    padding: 40px 0;
  }

  .page-about__timeline {
    padding-left: 20px;
  }

  .page-about__timeline-item {
    padding-left: 20px;
  }

  .page-about__timeline-item::before {
    left: -10px;
  }

  /* Ensure content area images maintain min-size */
  .page-about__introduction-section .page-about__image-block img,
  .page-about__security-tech-section .page-about__image-block img,
  .page-about__team-promise-section .page-about__image-block img {
    min-width: 200px !important; /* Enforce min-size for content images */
    min-height: 200px !important;
  }

  /* Padding top for first section in main, if needed, but body takes care of header offset */
  .page-about__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset, this is for visual spacing */
  }
}