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

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background-color: #f8f8f8;
  text-align: center;
  gap: 40px;
}

.page-about__hero-content {
  max-width: 800px;
}

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

.page-about__hero-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 30px;
}

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

.page-about__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;
  min-width: 150px; /* Ensure buttons are not too small */
  text-align: center;
  font-size: 1.1em;
}

.page-about__button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000;
}

.page-about__button--primary:hover {
  background-color: #e0a53b;
}

.page-about__button--secondary {
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-about__button--secondary:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 900px;
}

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

.page-about__mission-section,
.page-about__why-choose-us-section,
.page-about__cta-section {
  padding: 80px 20px;
  background-color: #FFFFFF;
  text-align: center;
}

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

.page-about__section-title {
  font-size: 2.8em;
  color: #000000;
  margin-bottom: 20px;
}

.page-about__section-text {
  font-size: 1.1em;
  color: #555555;
  max-width: 900px;
  margin: 0 auto 60px auto;
}

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

.page-about__mission-card {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-about__mission-card:hover {
  transform: translateY(-10px);
}

.page-about__card-image {
  width: 100%;
  max-width: 400px; /* Min size 200px, but cards should have larger images */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__card-description {
  font-size: 1em;
  color: #666666;
}

.page-about__why-choose-us-section {
  background-color: #f8f8f8;
}

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

.page-about__feature-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-about__feature-item:hover {
  transform: translateY(-10px);
}

.page-about__feature-image {
  width: 100%;
  max-width: 500px; /* Min size 200px */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-about__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-about__cta-content {
  max-width: 800px;
}

.page-about__cta-title {
  font-size: 3em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.page-about__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-about__cta-image-wrapper {
  width: 100%;
  max-width: 600px;
}

.page-about__cta-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__section-title {
    font-size: 2.4em;
  }
  .page-about__cta-title {
    font-size: 2.6em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    flex-direction: column;
    padding: 40px 15px;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__button {
    width: 100%;
    max-width: 300px;
  }
  .page-about__hero-image-wrapper, .page-about__cta-image-wrapper {
    max-width: 100%;
  }
  .page-about__mission-section, .page-about__why-choose-us-section, .page-about__cta-section {
    padding: 60px 15px;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__section-text {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-about__mission-grid, .page-about__features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-about__card-title, .page-about__feature-title {
    font-size: 1.5em;
  }
  .page-about__cta-title {
    font-size: 2em;
  }
  .page-about__cta-description {
    font-size: 1em;
  }
  /* Ensure content area images are responsive and do not overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  .page-about {
    max-width: 100%;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.6em;
  }
  .page-about__cta-title {
    font-size: 1.8em;
  }
  .page-about__button {
    padding: 12px 20px;
    font-size: 1em;
  }
}