.page-about {
  background-color: var(--background, #08160F); /* Fallback to custom bg color if shared var is not set, but body uses shared.css */
  color: var(--text-main, #F2FFF6); /* Default text color for the page */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-about__hero-content {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  z-index: 1;
}

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-about__hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  margin-top: 30px;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__faq-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main, #F2FFF6);
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px var(--glow, #57E38D);
}

.page-about__btn-primary.--large {
    padding: 18px 40px;
    font-size: 1.1rem;
    min-width: 220px;
}

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

.page-about__btn-secondary:hover {
  background-color: var(--gold, #F2C14E);
  color: var(--background, #08160F);
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.4);
}

/* General Section Styling */
.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-about__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-main, #F2FFF6);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

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

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

.page-about p {
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 15px;
}

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

/* Dark Sections */
.page-about__dark-section {
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
}

/* Content Grid */
.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.page-about__content-grid.--reverse {
  grid-template-columns: 1fr 1fr; /* Default order */
}
.page-about__content-grid.--reverse .page-about__image-block {
  order: 2; /* Image on right for desktop */
}
.page-about__content-grid.--reverse .page-about__text-block {
  order: 1; /* Text on left for desktop */
}

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

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

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

.page-about__values-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--text-secondary, #A7D9B8);
}

.page-about__values-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--gold, #F2C14E);
  font-weight: bold;
}

/* Advantages Section */
.page-about__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__advantage-card {
  background-color: var(--card-bg, #11271B);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%; /* Card should not overflow */
  box-sizing: border-box;
}

.page-about__advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-about__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
}

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

.page-about__advantage-card p {
  font-size: 0.95rem;
  color: var(--text-secondary, #A7D9B8);
  flex-grow: 1; /* Allow paragraph to take available space */
}

.page-about__card-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--gold, #F2C14E);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

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

.page-about__cta-section {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: var(--deep-green, #0A4B2C);
  border-radius: 10px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-about__cta-section p {
  font-size: 1.2rem;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 30px;
}

/* Final CTA Section */
.page-about__cta-final-section {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--deep-green, #0A4B2C);
  color: var(--text-main, #F2FFF6);
  border-top: 1px solid var(--divider, #1E3A2A);
}

/* FAQ Section */
.page-about__faq-section {
  padding: 60px 20px;
  background-color: var(--background, #08160F);
}

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

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

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

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

.page-about__faq-question:hover {
  background-color: var(--deep-green, #0A4B2C);
}

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

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

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

.page-about__faq-link {
    color: var(--glow, #57E38D);
    text-decoration: underline;
    font-weight: 600;
    margin-top: 10px;
    display: inline-block;
}

.page-about__faq-link:hover {
    color: var(--text-main, #F2FFF6);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__content-grid {
    grid-template-columns: 1fr;
  }
  .page-about__content-grid.--reverse .page-about__image-block {
    order: initial; /* Reset order for mobile */
  }
  .page-about__content-grid.--reverse .page-about__text-block {
    order: initial; /* Reset order for mobile */
  }
  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px; /* body handles header offset */
  }
}

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

  /* Images responsive */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Containers responsive */
  .page-about__container,
  .page-about__hero-section,
  .page-about__introduction-section,
  .page-about__vision-values-section,
  .page-about__advantages-section,
  .page-about__responsibility-section,
  .page-about__cta-final-section,
  .page-about__faq-section,
  .page-about__advantage-card,
  .page-about__cta-section,
  .page-about__content-grid,
  .page-about__advantages-grid,
  .page-about__faq-list,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Specific mobile adjustments for sections */
  .page-about__hero-section {
    padding-top: 10px !important; /* body handles header offset */
  }

  .page-about__main-title {
    font-size: 2.2rem;
  }

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

  .page-about__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  /* Buttons responsive */
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__faq-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important; /* Ensure padding doesn't get removed */
    padding-right: 15px !important;
  }

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

  .page-about__section-description {
    margin-bottom: 40px;
  }

  .page-about__sub-title {
    font-size: 1.3rem;
  }

  .page-about__advantage-card {
    padding: 20px;
  }
  .page-about__card-image {
    height: 180px;
  }
  .page-about__card-title {
    font-size: 1.2rem;
  }

  .page-about__cta-section {
    padding: 30px 15px;
  }

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