.page-about {
  color: #ffffff; /* Text color for the main page content, contrasting with dark background */
  padding-top: var(--header-offset, 120px); /* Space for fixed header */
  background-color: var(--background-color, #000000); /* Inherit from shared or use default dark */
}

.page-about__hero-section {
  position: relative;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-about__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
}

.page-about__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Highlight title with accent color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

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

.page-about__hero-button {
  display: inline-block;
  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;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Ensure button minimum width */
  text-align: center;
}

.page-about__hero-button--register {
  background-color: #FFFFFF; /* White for Register */
  color: #000000;
}

.page-about__hero-button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
}

.page-about__hero-button--login {
  background-color: #FCBC45; /* Yellow for Login */
  color: #000000;
}

.page-about__hero-button--login:hover {
  background-color: #e0a53a;
  transform: translateY(-3px);
}

.page-about__story-section,
.page-about__mission-section,
.page-about__offer-section,
.page-about__cta-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-about__story-heading,
.page-about__mission-heading,
.page-about__offer-heading,
.page-about__cta-heading {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #FCBC45; /* Highlight headings */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-about__story-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  color: #f0f0f0;
}

.page-about__story-content p {
  font-size: 1.1em;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.page-about__story-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-about__value-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-about__value-icon {
  width: 200px; /* Minimum size for content images */
  height: 150px; /* Adjusted height for aspect ratio */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

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

.page-about__offer-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-about__offer-list li {
  font-size: 1.1em;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-about__offer-list li::before {
  content: '✔';
  color: #FCBC45;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-about__offer-button {
  display: inline-block;
  margin-top: 40px;
  padding: 15px 30px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-about__cta-section {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for CTA */
  padding: 80px 20px;
  border-radius: 10px;
  margin-top: 60px;
}

.page-about__cta-text {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-about__cta-button {
  display: inline-block;
  padding: 18px 40px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__story-heading,
  .page-about__mission-heading,
  .page-about__offer-heading,
  .page-about__cta-heading {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 60px 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__hero-button {
    width: 100%;
    max-width: 300px;
  }
  .page-about__story-section,
  .page-about__mission-section,
  .page-about__offer-section,
  .page-about__cta-section {
    padding: 40px 15px;
  }
  .page-about__story-heading,
  .page-about__mission-heading,
  .page-about__offer-heading,
  .page-about__cta-heading {
    font-size: 1.8em;
  }
  .page-about__story-content {
    gap: 20px;
  }
  .page-about__story-image {
    max-width: 100%;
    height: auto;
  }
  .page-about__value-card {
    padding: 25px;
  }
  .page-about__value-icon {
    width: 200px; /* Ensure minimum width */
    height: 150px; /* Ensure minimum height */
    max-width: 100%;
    height: auto;
  }
  .page-about__offer-list li {
    font-size: 1em;
  }
  .page-about__cta-text {
    font-size: 1.1em;
  }
  .page-about__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Ensure all images within .page-about are responsive and do not overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__story-heading,
  .page-about__mission-heading,
  .page-about__offer-heading,
  .page-about__cta-heading {
    font-size: 1.5em;
  }
  .page-about__hero-button {
    min-width: unset;
  }
}