.page-about__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #017439, #005f2e); /* Brand colors */
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

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

.page-about__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Register and Login font color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-about__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Register button color */
  color: #FFFF00; /* Register and Login font color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-about__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-about__introduction-section,
.page-about__technology-section,
.page-about__services-section,
.page-about__customer-support-section,
.page-about__community-section,
.page-about__faq-section {
  padding: 80px 0;
}

.page-about__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-about__content-block--white-text {
  color: #ffffff;
}

.page-about__heading-2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #017439;
  text-align: center;
}

.page-about__dark-section .page-about__heading-2 {
  color: #FFFF00;
}

.page-about__heading-3 {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #017439;
}

.page-about__dark-section .page-about__heading-3 {
  color: #ffffff;
}

.page-about__paragraph {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-about__grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.page-about__grid-layout--reverse {
  grid-template-areas: "image content";
}

.page-about__grid-layout--reverse .page-about__image-wrapper {
  grid-area: image;
}

.page-about__grid-layout--reverse .page-about__content-block {
  grid-area: content;
}

.page-about__image-wrapper {
  text-align: center;
}

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

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

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

.page-about__service-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.page-about__card-link {
  color: #017439;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about__card-link:hover {
  color: #005f2e;
  text-decoration: underline;
}

.page-about__call-to-action {
  margin-top: 60px;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-about__call-to-action .page-about__paragraph {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #333333;
}

.page-about__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-about__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #C30808; /* Login button color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
  border: 2px solid #C30808;
  cursor: pointer;
}

.page-about__btn-secondary:hover {
  background-color: #C30808;
  color: #FFFF00;
  transform: translateY(-2px);
}

.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

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

.page-about__faq-question .page-about__heading-3 {
  margin: 0;
  font-size: 1.2em;
  color: #333333;
}

.page-about__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #017439;
  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 contain content */
  padding: 15px 25px 20px;
}

.page-about__faq-answer .page-about__paragraph {
  margin-bottom: 0;
  color: #555555;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    min-height: 300px;
  }

  .page-about__hero-title {
    font-size: 2em;
  }

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

  .page-about__introduction-section,
  .page-about__technology-section,
  .page-about__services-section,
  .page-about__customer-support-section,
  .page-about__community-section,
  .page-about__faq-section {
    padding: 40px 0;
  }

  .page-about__heading-2 {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-about__heading-3 {
    font-size: 1.4em;
    margin-top: 30px;
  }

  .page-about__paragraph {
    font-size: 0.95em;
  }

  .page-about__grid-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-about__grid-layout--reverse {
    grid-template-areas: unset; /* Reset grid area for mobile */
  }

  .page-about__services-grid {
    grid-template-columns: 1fr;
  }

  .page-about__button-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-about__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__container,
  .page-about__content-block,
  .page-about__image-wrapper,
  .page-about__service-card,
  .page-about__call-to-action,
  .page-about__faq-list,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-about__service-card .page-about__card-image {
    height: auto;
    max-height: 180px;
  }

  .page-about__faq-question {
    padding: 15px 20px;
  }

  .page-about__faq-question .page-about__heading-3 {
    font-size: 1.1em;
  }

  .page-about__faq-answer {
    padding: 0 20px;
  }

  .page-about__faq-item.active .page-about__faq-answer {
    padding: 10px 20px 15px;
  }
}