.page-about {
  color: #333333; /* Default text color for light body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  padding-bottom: 60px;
  background-color: #0A2463; /* Primary brand color */
  color: #ffffff;
  overflow: hidden;
}

.page-about__hero-container {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 20px;
}

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

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-button {
  display: inline-block;
  background-color: #E3B23C; /* Accent color for CTA */
  color: #0A2463; /* Dark text for contrast */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-about__cta-button:hover {
  background-color: #f5db9c; /* Lighter shade on hover */
  transform: translateY(-2px);
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.3; /* Subtle background image */
}

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

.page-about__section--padded {
  padding: 80px 20px;
}

.page-about__section--dark-bg {
  background-color: #0A2463;
  color: #ffffff;
}

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

.page-about__section-title {
  font-size: 2.8em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #E3B23C;
  border-radius: 2px;
}

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

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

.page-about__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__text-content--light {
  color: #f0f0f0;
}

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

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

.page-about__grid-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 40px;
}

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

.page-about__sub-title {
  font-size: 2em;
  color: #0A2463;
  margin-bottom: 20px;
  text-align: center;
}

.page-about__sub-title--light {
  color: #E3B23C;
}

.page-about__value-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-about__value-title {
  font-size: 1.5em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-about__value-description {
  font-size: 1em;
  color: #555555;
}

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

.page-about__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: left;
}

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

.page-about__feature-title--light {
  color: #E3B23C;
}

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

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

.page-about__cta-button--large {
  padding: 18px 40px;
  font-size: 1.4em;
  margin-top: 30px;
}

.page-about__cta-image-wrapper {
  margin-top: 40px;
  text-align: center;
}

.page-about__cta-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }

  .page-about__section-title {
    font-size: 2.2em;
  }

  .page-about__sub-title {
    font-size: 1.8em;
  }

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

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: var(--header-offset, 80px);
    padding-bottom: 40px;
  }

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

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

  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }

  .page-about__section--padded {
    padding: 60px 15px;
  }

  .page-about__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-about__sub-title {
    font-size: 1.6em;
  }

  .page-about__grid-three-columns,
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }

  .page-about__value-card,
  .page-about__feature-item {
    padding: 25px;
  }

  /* Mobile content area image overflow prevention */
  .page-about img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
  }

  .page-about {
    overflow-x: hidden;
  }

  .page-about__cta-button--large {
    font-size: 1.2em;
    padding: 15px 30px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }

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

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

  .page-about__sub-title {
    font-size: 1.4em;
  }

  .page-about__text-content {
    font-size: 1em;
  }

  .page-about__value-card,
  .page-about__feature-item {
    padding: 20px;
  }
}