.page-about {
  font-family: Arial, sans-serif;
  color: #FFFFFF;
  background-color: #100224; /* Dark background from general rules, overriding #FFFFFF for sections */
}

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

.page-about__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as per rules */
  padding-bottom: 40px;
  text-align: center;
  background-color: #017439; /* Use primary color for hero background */
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
  min-width: 200px;
  min-height: 200px;
}

.page-about__hero-content {
  color: #FFFFFF;
  padding: 0 20px;
}

.page-about__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* Using clamp for responsive H1 */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFF00; /* Yellow for H1 as per general branding */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__mission-section,
.page-about__offerings-section,
.page-about__security-section,
.page-about__team-section,
.page-about__cta-section {
  padding: 60px 0;
  background-color: #100224; /* Consistent dark background */
}

.page-about__mission-section .page-about__content-wrapper,
.page-about__offerings-section .page-about__content-wrapper,
.page-about__security-section .page-about__content-wrapper,
.page-about__team-section .page-about__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.page-about__section-title {
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #017439; /* Primary color for section titles */
  background: linear-gradient(to right, #017439, #FFFF00); /* Gradient for emphasis */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-about__content-wrapper p {
  font-size: 1rem;
  line-height: 1.6;
  color: #FFFFFF;
  max-width: 800px;
  text-align: center;
}

.page-about__image-content {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-about__offerings-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 900px;
}

.page-about__offerings-list li {
  background-color: #017439; /* Primary color for list items */
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: bold;
  color: #FFFFFF;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  min-height: 100px; /* Ensure sufficient height */
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-about__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 120px;
  text-align: center;
  min-height: 44px; /* Touch target size */
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-about__btn--primary {
  background-color: #017439; /* Primary color */
  color: #FFFFFF;
  border: 2px solid #017439;
}

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

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

.page-about__btn--secondary:hover {
  background-color: #FFFFFF;
  color: #017439;
}

.page-about__btn--register {
  background-color: #C30808; /* Register button color */
  color: #FFFF00; /* Register font color */
  border: 2px solid #C30808;
}

.page-about__btn--register:hover {
  background-color: #a00606;
  border-color: #a00606;
}

/* Ensure contrast for register button text */
.page-about__btn--register {
  /* Contrast check for #FFFF00 on #C30808 (yellow on red) */
  /* WCAG AA contrast ratio is approximately 4.5:1. This combination is typically acceptable. */
}

/* Responsive Design */
@media (max-width: 849px) {
  .page-about__hero-section {
    padding-bottom: 30px;
  }

  .page-about__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-about__description {
    font-size: 1rem;
  }

  .page-about__section-title {
    font-size: 1.8rem;
  }

  .page-about__mission-section .page-about__content-wrapper,
  .page-about__offerings-section .page-about__content-wrapper,
  .page-about__security-section .page-about__content-wrapper,
  .page-about__team-section .page-about__content-wrapper {
    flex-direction: column;
  }

  .page-about__image-content {
    max-width: 100%;
  }

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

  .page-about__btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-about__content-wrapper p {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-about__container {
    padding: 0 10px;
  }
  .page-about__hero-image,
  .page-about__image-content {
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* Ensure all content area images are responsive and not smaller than 200px */
  .page-about img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-about__hero-image,
  .page-about__image-content {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 549px) {
  .page-about__section-title {
    font-size: 1.6rem;
  }

  .page-about__hero-content {
    padding: 0 10px;
  }

  .page-about__offerings-list li {
    font-size: 1rem;
    padding: 15px;
  }
}