.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--secondary-color, #FFFFFF); /* Ensure body background is respected */
}

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

.page-about__section {
  padding: 60px 0;
  text-align: center;
}

.page-about__section-title {
  font-size: 36px;
  color: #26A9E0;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-about__paragraph {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: left;
  color: #333333;
}

.page-about__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Slightly dim the image for text readability */
}

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

.page-about__hero-title {
  font-size: 52px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 22px;
  margin-bottom: 40px;
  color: #f0f0f0;
  line-height: 1.5;
}

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

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

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

.page-about__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

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

.page-about__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-about__intro-section .page-about__paragraph {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__advantages-section {
  background-color: #f8f8f8;
}

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

.page-about__advantage-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 350px; /* Ensure consistent card height */
}

.page-about__advantage-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-about__advantage-title {
  font-size: 24px;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__advantage-description {
  font-size: 16px;
  color: #555555;
  line-height: 1.7;
}

.page-about__commitment-section .page-about__commitment-content {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

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

.page-about__commitment-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.page-about__future-section {
  background-color: #26A9E0;
  color: #ffffff;
  padding-bottom: 0; /* Image will extend to bottom */
}

.page-about__future-section .page-about__section-title,
.page-about__future-section .page-about__paragraph {
  color: #ffffff;
}

.page-about__future-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0 0 12px 12px;
  margin-top: 40px;
}

.page-about__cta-section {
  background-color: #f8f8f8;
  padding-bottom: 80px;
}

.page-about__cta-section .page-about__paragraph {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-about__cta-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 30px;
}

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

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 20px;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f5f5f5;
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: #e0e0e0;
}

.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-about__faq-answer p {
  font-size: 16px;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 44px;
  }
  .page-about__hero-description {
    font-size: 20px;
  }
  .page-about__section-title {
    font-size: 32px;
  }
  .page-about__paragraph {
    font-size: 17px;
  }
  .page-about__advantage-title {
    font-size: 22px;
  }
  .page-about__commitment-section .page-about__commitment-content {
    flex-direction: column;
  }
  .page-about__commitment-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }
  .page-about__hero-title {
    font-size: 36px;
  }
  .page-about__hero-description {
    font-size: 18px;
  }
  .page-about__hero-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: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__section-title {
    font-size: 28px;
  }
  .page-about__paragraph {
    font-size: 16px;
  }
  .page-about__advantages-grid {
    grid-template-columns: 1fr;
  }
  .page-about__advantage-item {
    min-height: auto;
  }
  .page-about__commitment-image {
    order: -1; /* Image first on mobile */
    margin-bottom: 30px;
  }
  .page-about__future-image {
    margin-top: 30px;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__faq-question {
    font-size: 18px;
    padding: 15px 20px;
  }
  .page-about__faq-answer {
    padding: 0 20px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px 20px;
  }

  /* Mobile image and container responsive rules */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__advantages-section,
  .page-about__commitment-section,
  .page-about__future-section,
  .page-about__cta-section,
  .page-about__faq-section,
  .page-about__hero-buttons,
  .page-about__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .page-about__hero-section .page-about__container,
  .page-about__cta-section .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}