.page-about {
  color: #333333; /* Dark text for default light body background */
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  min-height: 400px; /* Minimum height for hero image */
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 60px 20px;
  background: rgba(0, 51, 102, 0.85); /* Semi-transparent primary color background */
  border-radius: 10px;
  color: #ffffff; /* Light text for dark background */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  margin: 20px;
}

.page-about__hero-title {
  font-size: 3.2em;
  color: #FFCC00; /* Accent color for title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-about__hero-button,
.page-about__cta-button {
  display: inline-block;
  background-color: #FFCC00; /* Accent color for buttons */
  color: #003366; /* Primary color for button text */
  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__hero-button:hover,
.page-about__cta-button:hover {
  background-color: #e6b800; /* Darker accent on hover */
  transform: translateY(-3px);
}

.page-about__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.7;
  font-size: 1.05em;
}

.page-about__section-title {
  font-size: 2.5em;
  color: #003366; /* Primary color for section titles */
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.page-about__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFCC00; /* Accent color underline */
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-about__section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.1em;
  color: #555555;
}

.page-about__cards-grid,
.page-about__values-grid,
.page-about__team-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.page-about__cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

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

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

.page-about__card-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too wide */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  min-height: 200px; /* Minimum size for content images */
}

.page-about__card-title {
  font-size: 1.8em;
  color: #003366; /* Primary color for card titles */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-about__card-text {
  font-size: 1em;
  color: #666666;
  line-height: 1.7;
}

.page-about__values-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-about__value-item {
  background-color: #f8f8f8;
  border-left: 5px solid #003366; /* Primary color accent */
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-about__value-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 10px;
}

.page-about__value-text {
  font-size: 0.95em;
  color: #555555;
}

.page-about__inline-link {
  color: #003366; /* Primary color for inline links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-about__inline-link:hover {
  color: #FFCC00; /* Accent color on hover */
}

.page-about__closing-statement {
  text-align: center;
  font-size: 1.15em;
  margin-top: 60px;
  margin-bottom: 40px;
  color: #333333;
  font-weight: 500;
}

.page-about__call-to-action {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-about__history-section {
  background-color: #f2f7fc; /* Light background for contrast */
  padding: 60px 20px;
  margin-top: 60px;
  text-align: center;
}

.page-about__history-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin: 30px auto 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-height: 200px; /* Minimum size for content images */
}

.page-about__history-text {
  max-width: 900px;
  margin: 0 auto 25px;
  text-align: left;
  font-size: 1.05em;
  color: #444444;
}

.page-about__team-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 50px;
  text-align: center;
}

.page-about__team-member {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__member-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid #FFCC00; /* Accent border for photos */
  box-shadow: 0 0 0 6px rgba(0, 51, 102, 0.1);
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px; /* Ensure images are not too small */
}

.page-about__member-name {
  font-size: 1.6em;
  color: #003366;
  margin-bottom: 8px;
}

.page-about__member-role {
  font-size: 1.1em;
  color: #FFCC00; /* Accent color for role */
  font-weight: bold;
  margin-bottom: 15px;
}

.page-about__member-bio {
  font-size: 0.95em;
  color: #666666;
  line-height: 1.6;
}

.page-about__cta-bottom-section {
  background-color: #003366; /* Primary color background */
  padding: 60px 20px;
  text-align: center;
  color: #ffffff;
  margin-top: 60px;
}

.page-about__cta-bottom-section .page-about__section-title {
  color: #FFCC00; /* Accent color for title */
}

.page-about__cta-bottom-section .page-about__section-title::after {
  background-color: #FFCC00;
}

.page-about__cta-bottom-section .page-about__section-description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-about__hero-content {
    padding: 40px 15px;
    margin: 15px;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-image {
    min-height: 300px;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__section-description {
    font-size: 1em;
  }
  .page-about__content-area {
    padding: 20px 15px;
  }
  .page-about__card-title {
    font-size: 1.5em;
  }
  .page-about__value-title {
    font-size: 1.3em;
  }
  .page-about__hero-button,
  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  /* Mobile content image constraint */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  .page-about__member-photo {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__hero-description {
    font-size: 0.9em;
  }
  .page-about__section-title {
    font-size: 1.6em;
  }
  .page-about__section-description {
    font-size: 0.9em;
  }
  .page-about__cards-grid,
  .page-about__values-grid,
  .page-about__team-grid {
    grid-template-columns: 1fr;
  }
  .page-about__card-image {
    max-width: 100%;
  }
}