.page-about {
  color: #ffffff; /* Light text for dark body background #343a40 */
}

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  padding-bottom: 60px;
  background-color: #0d0d0d; /* Darker background for hero */
}

.page-about__hero-content {
  max-width: 900px;
  padding: 20px;
  z-index: 1;
}

.page-about__hero-title {
  font-size: 3.5rem;
  color: #ffc107; /* Accent color for title */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  margin-top: 40px;
}

.page-about__hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-about__cta-button {
  display: inline-block;
  background-color: #ffc107; /* Accent color for CTA button */
  color: #000000; /* Dark text for light button */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-about__cta-button:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}

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

.page-about__section-title {
  font-size: 2.5rem;
  color: #007bff; /* Primary color for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-about__grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.page-about__grid--reverse {
  flex-direction: row-reverse;
}

.page-about__text-content {
  flex: 1;
  padding: 20px;
}

.page-about__text-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-about__image-content {
  flex: 1;
  min-width: 200px; /* Ensure image content area is not too small */
}

.page-about__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-about__secondary-button {
  display: inline-block;
  background-color: #007bff; /* Primary color for secondary button */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
}

.page-about__secondary-button:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.page-about__values-section {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background */
  padding: 60px 0;
}

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

.page-about__value-card {
  background-color: rgba(0, 0, 0, 0.3); /* Dark card background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-5px);
  background-color: rgba(0, 0, 0, 0.5);
}

.page-about__card-title {
  font-size: 1.7rem;
  color: #ffc107; /* Accent color for card titles */
  margin-bottom: 15px;
}

.page-about__value-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #cccccc;
}

.page-about__benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-about__benefits-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%23ffc107"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat left center;
  background-size: 24px 24px;
  padding-left: 35px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-about__benefits-list li strong {
  color: #ffc107;
}

.page-about__cta-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(45deg, #007bff, #0056b3); /* Gradient background for CTA */
  margin-top: 60px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-about__cta-title {
  font-size: 3rem;
  color: #ffc107; /* Accent color for CTA title */
  margin-bottom: 20px;
}

.page-about__cta-description {
  font-size: 1.3rem;
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-about__hero-title {
    font-size: 2.8rem;
  }
  .page-about__section-title {
    font-size: 2rem;
  }
  .page-about__grid {
    flex-direction: column;
  }
  .page-about__grid--reverse {
    flex-direction: column;
  }
  .page-about__hero-image-wrapper {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure mobile content is below fixed header */
    padding-bottom: 40px;
  }
  .page-about__hero-title {
    font-size: 2.2rem;
  }
  .page-about__hero-description {
    font-size: 1rem;
  }
  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
  .page-about__container {
    padding: 30px 15px;
  }
  .page-about__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-about__text-content p {
    font-size: 1rem;
  }
  .page-about__image {
    min-width: 200px;
    max-width: 100%;
    height: auto;
  }
  .page-about__values-grid {
    grid-template-columns: 1fr;
  }
  .page-about__value-card {
    padding: 25px;
  }
  .page-about__card-title {
    font-size: 1.5rem;
  }
  .page-about__benefits-list li {
    font-size: 1rem;
  }
  .page-about__cta-section {
    padding: 60px 15px;
  }
  .page-about__cta-title {
    font-size: 2.5rem;
  }
  .page-about__cta-description {
    font-size: 1.1rem;
  }

  /* Ensure all images within .page-about are responsive and do not overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}