.page-about {
  color: #ffffff; /* Body background is dark, so text should be light */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

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

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

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: grayscale(50%); /* Allowed to enhance background, not change main image color */
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

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

.page-about__btn-primary--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-about__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  color: inherit;
}

.page-about__content-section {
  padding: 80px 0;
}

.page-about__content-section .page-about__section-title {
  color: #017439;
}

.page-about__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
}

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

.page-about__features-section {
  padding: 80px 0;
}

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

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

.page-about__grid-layout--two-cols {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.page-about__feature-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-about__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-about__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-about__card-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-about__values-section {
  padding: 80px 0;
}

.page-about__values-section .page-about__section-title {
  color: #017439;
}

.page-about__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #017439;
}

.page-about__image-full {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-about__team-tech-section {
  padding: 80px 0;
}

.page-about__team-tech-section .page-about__section-title {
  color: #ffffff;
}

.page-about__security-section {
  padding: 80px 0;
}

.page-about__security-section .page-about__section-title {
  color: #017439;
}

.page-about__vision-section {
  padding: 80px 0;
  display: flex;
  align-items: center;
}

.page-about__vision-section .page-about__section-title {
  color: #ffffff;
  text-align: left;
  margin-bottom: 30px;
}

.page-about__vision-section .page-about__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__vision-section .page-about__text-block p {
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-about__faq-section {
  padding: 80px 0;
}

.page-about__faq-section .page-about__section-title {
  color: #017439;
}

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

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

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

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

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

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__grid-layout--two-cols {
    grid-template-columns: 1fr;
  }
  .page-about__vision-section .page-about__container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    min-height: 450px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__sub-title {
    font-size: 1.5em;
  }
  .page-about__btn-primary, .page-about__btn-primary--large {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }
  .page-about__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-about__content-section,
  .page-about__features-section,
  .page-about__values-section,
  .page-about__team-tech-section,
  .page-about__security-section,
  .page-about__vision-section,
  .page-about__faq-section {
    padding: 40px 0 !important;
  }
  .page-about__feature-card,
  .page-about__text-block,
  .page-about__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__card-image {
    height: auto;
  }
  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-about__faq-answer {
    padding: 0 20px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 10px 20px;
  }
}