.page-about-us {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-about-us__section {
  padding: 60px 20px;
  text-align: center;
}

.page-about-us__section--dark-bg {
  background-color: #000000; /* Main color as background */
  color: #ffffff; /* White text for dark background */
}

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

.page-about-us__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 600px; /* Ensure hero section has a decent height */
  background-color: #000000; /* Dark background for hero content if image fails */
  color: #ffffff;
  padding: 80px 20px;
}

.page-about-us__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6; /* Slightly dim the image for text readability */
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-about-us__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
}

.page-about-us__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

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

.page-about-us__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-about-us__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
}

.page-about-us__button--register {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Dark text for bright button */
  border: 2px solid #FCBC45;
}

.page-about-us__button--register:hover {
  background-color: #e0a53a;
  border-color: #e0a53a;
}

.page-about-us__button--login {
  background-color: transparent;
  color: #FCBC45; /* Login color */
  border: 2px solid #FCBC45;
}

.page-about-us__button--login:hover {
  background-color: #FCBC45;
  color: #000000;
}

.page-about-us__button--download {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-about-us__button--download:hover {
  background-color: #e0a53a;
  border-color: #e0a53a;
}

.page-about-us__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #000000;
}

.page-about-us__section--dark-bg .page-about-us__section-title {
  color: #FCBC45; /* Accent color for titles on dark background */
}

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

.page-about-us__section--dark-bg .page-about-us__paragraph {
  color: #f0f0f0;
}

.page-about-us__image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-about-us__image--centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about-us__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-about-us__grid-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly visible background on dark */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about-us__section--dark-bg .page-about-us__grid-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.page-about-us__grid-item .page-about-us__grid-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FCBC45;
}

.page-about-us__values-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.page-about-us__list-item {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-about-us__list-item::before {
  content: '⚡'; /* Using an emoji for bullet, or a custom icon */
  position: absolute;
  left: 0;
  color: #FCBC45;
}

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

.page-about-us__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

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

.page-about-us__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #000000;
}

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

.page-about-us__link {
  color: #FCBC45; /* Accent color for links */
  text-decoration: none;
  font-weight: bold;
}

.page-about-us__link:hover {
  text-decoration: underline;
}

.page-about-us__cta-section {
  padding: 80px 20px;
  background-color: #000000; /* Dark background */
  color: #ffffff;
}

.page-about-us__cta-content {
  max-width: 900px;
}

.page-about-us__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-about-us__hero-title {
    font-size: 2.2em;
  }

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

  .page-about-us__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-about-us__button {
    width: 100%;
    padding: 12px 20px;
  }

  .page-about-us__section {
    padding: 40px 15px;
  }

  .page-about-us__section-title {
    font-size: 2em;
  }

  .page-about-us__paragraph {
    font-size: 1em;
  }

  .page-about-us__grid, .page-about-us__feature-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile anti-overflow for images */
  .page-about-us img {
    max-width: 100%;
    height: auto;
  }
}

/* Ensure content images are not too small */
.page-about-us__container .page-about-us__image, .page-about-us__feature-card .page-about-us__image, .page-about-us__team-section .page-about-us__image, .page-about-us__future-section .page-about-us__image {
  min-width: 200px;
  min-height: 200px;
  width: auto; /* Allow auto width while respecting max-width: 100% */
  height: auto;
}