.page-about {
  color: #333333;
  background: #ffffff;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-about__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  margin-bottom: 40px;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  height: 500px;
  position: relative;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-about__hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-50%);
  position: relative;
  z-index: 1;
}

.page-about__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-about__intro-description {
  font-size: clamp(16px, 1.8vw, 18px);
  color: #555;
  margin-bottom: 25px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-about__btn-primary:hover {
  background: #005a2e;
  border-color: #005a2e;
}

.page-about__btn-secondary {
  background: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-about__btn-secondary:hover {
  background: #f0f0f0;
  color: #005a2e;
  border-color: #005a2e;
}

.page-about__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-about__section:nth-of-type(odd) {
  background-color: #f9f9f9;
}

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

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

.page-about__section-title {
  font-size: clamp(24px, 3vw, 36px);
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-about__section-title--light {
  color: #ffffff;
}

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

.page-about__text-block {
  flex: 1;
  font-size: 16px;
  line-height: 1.7;
}

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

.page-about__image-block {
  flex: 1;
  text-align: center;
}

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

.page-about__dark-section {
  background: #017439;
  color: #ffffff;
}

.page-about__dark-section .page-about__text-block {
  color: #ffffff;
}

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

.page-about__card {
  background: #ffffff;
  color: #333333;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-about__card:hover {
  transform: translateY(-5px);
}

.page-about__card--transparent {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.page-about__card--transparent .page-about__card-title {
  color: #ffffff;
}

.page-about__card-title {
  font-size: 22px;
  font-weight: 600;
  color: #017439;
  margin-bottom: 15px;
}

.page-about__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin-top: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-about__faq-section {
  background-color: #f9f9f9;
}

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

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}

details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-about__faq-item summary.page-about__faq-question:hover {
  background: #f5f5f5;
}

.page-about__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555;
}

.page-about__cta-bottom {
  padding-bottom: 80px;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__hero-image-wrapper {
    height: 450px;
  }

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

  .page-about__main-title {
    font-size: clamp(26px, 3.5vw, 42px);
  }

  .page-about__intro-description {
    font-size: clamp(15px, 1.6vw, 17px);
  }

  .page-about__content-flex {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__image-block {
    order: -1;
  }

  .page-about__section-title {
    font-size: clamp(22px, 2.8vw, 32px);
  }

  .page-about__card {
    padding: 25px;
  }

  .page-about__card-title {
    font-size: 20px;
  }
}

@media (max-width: 849px) {
  .page-about__hero-image {
    object-fit: contain !important; /* HERO: Mobile object-fit:contain */
    aspect-ratio: unset;
    height: auto; /* Allow height to adjust based on contain */
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    margin-bottom: 20px;
  }

  .page-about__hero-image-wrapper {
    height: auto !important;
  }

  .page-about__hero-content {
    transform: translateY(-20px); /* Adjust position for mobile */
    padding: 20px 15px;
  }

  .page-about__main-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 10px;
  }

  .page-about__intro-description {
    font-size: clamp(14px, 4vw, 16px);
    margin-bottom: 20px;
  }

  .page-about__cta-buttons {
    flex-direction: column; /* Buttons stack vertically on mobile */
    gap: 10px;
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    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__section {
    padding: 40px 0;
  }

  .page-about__container {
    padding: 0 15px;
    max-width: 100% !important; /* Ensure container is full width */
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__section-title {
    font-size: clamp(20px, 6vw, 28px);
    margin-bottom: 30px;
  }

  .page-about__content-flex {
    gap: 20px;
  }

  .page-about__text-block {
    font-size: 15px;
  }

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

  .page-about__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  .page-about__card {
    padding: 20px;
  }

  .page-about__card-title {
    font-size: 18px;
  }

  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px;
  }
  .page-about__faq-qtext {
    font-size: 15px;
  }

  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 15px 15px;
  }
  
  /* Generic image and container rules for mobile */
  .page-about__section,
  .page-about__card,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Article body for long text SEO area */
  .page-about__article-body {
    max-width: 100% !important;
    padding: 0 15px;
    box-sizing: border-box;
  }

  /* Ensure no horizontal overflow from any content */
  .page-about {
    overflow-x: hidden;
  }
}