.page-about {
  color: #FFFFFF; /* Light text for dark background */
  background-color: #000000; /* Main dark 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__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-about__hero-section {
  position: relative;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
  background-color: #000000;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.4;
}

.page-about__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

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

.page-about__hero-description {
  font-size: 1.3em;
  color: #FFFFFF;
  margin-bottom: 40px;
}

.page-about__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin: 0 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-about__hero-button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-about__hero-button--register:hover {
  background-color: #f0f0f0;
}

.page-about__hero-button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-about__hero-button--login:hover {
  background-color: #e0a030;
}

.page-about__story-section,
.page-about__mission-section,
.page-about__values-section,
.page-about__why-choose-section,
.page-about__cta-section {
  padding: 80px 0;
  background-color: #000000;
}

.page-about__story-section h2,
.page-about__mission-section h2,
.page-about__values-section h2,
.page-about__why-choose-section h2,
.page-about__cta-section h2 {
  text-align: center;
  font-size: 2.8em;
  color: #FCBC45;
  margin-bottom: 60px;
}

.page-about__story-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-about__story-text {
  flex: 1;
  color: #FFFFFF;
  font-size: 1.1em;
}

.page-about__story-text p {
  margin-bottom: 20px;
}

.page-about__story-image {
  flex: 1;
  text-align: center;
}

.page-about__story-image img,
.page-about__mission-image img,
.page-about__values-image img,
.page-about__why-choose-image img,
.page-about__cta-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(252, 188, 69, 0.2);
  display: block;
  margin: 0 auto;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

.page-about__mission-item {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.page-about__mission-item h3 {
  color: #FCBC45;
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-about__mission-item p {
  color: #f0f0f0;
  font-size: 1.05em;
}

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

.page-about__value-card {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(252, 188, 69, 0.3);
}

.page-about__value-card h3 {
  color: #FCBC45;
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-about__value-card p {
  color: #f0f0f0;
  font-size: 1em;
}

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

.page-about__why-choose-item {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-about__why-choose-item h3 {
  color: #FCBC45;
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-about__why-choose-item p {
  color: #f0f0f0;
  font-size: 1.05em;
  margin-bottom: 20px;
}

.page-about__why-choose-link {
  display: inline-block;
  color: #FFFFFF;
  background-color: #FCBC45;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-about__why-choose-link:hover {
  background-color: #e0a030;
}

.page-about__cta-section {
  text-align: center;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

.page-about__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
}

.page-about__cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-about__cta-section h2,
.page-about__cta-section p,
.page-about__cta-section a {
  position: relative;
  z-index: 1;
}

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

.page-about__cta-description {
  font-size: 1.2em;
  color: #FFFFFF;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

.page-about__cta-button:hover {
  background-color: #e0a030;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__story-section h2,
  .page-about__mission-section h2,
  .page-about__values-section h2,
  .page-about__why-choose-section h2,
  .page-about__cta-section h2 {
    font-size: 2.2em;
  }
  .page-about__story-content {
    flex-direction: column;
  }
  .page-about__story-image img {
    width: 100%;
    height: auto;
  }
}

@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-button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 0 5px;
  }
  .page-about__story-section,
  .page-about__mission-section,
  .page-about__values-section,
  .page-about__why-choose-section,
  .page-about__cta-section {
    padding: 60px 0;
  }
  .page-about__story-section h2,
  .page-about__mission-section h2,
  .page-about__values-section h2,
  .page-about__why-choose-section h2,
  .page-about__cta-section h2 {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-about__story-text,
  .page-about__story-image {
    flex: none;
  }
  .page-about__mission-grid,
  .page-about__values-grid,
  .page-about__why-choose-grid {
    grid-template-columns: 1fr;
  }
  .page-about__cta-title {
    font-size: 2.2em;
  }
  .page-about__cta-description {
    font-size: 1em;
  }
  .page-about__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Ensure images in content sections are responsive and don't overflow */
  .page-about__container img,
  .page-about__story-image img,
  .page-about__mission-image img,
  .page-about__values-image img,
  .page-about__why-choose-image img,
  .page-about__cta-image img {
    max-width: 100%;
    height: auto;
  }
  /* CSS for images within .page-about that might be selected by any selector */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__hero-button {
    display: block;
    margin: 10px auto;
    width: 80%;
  }
  .page-about__story-section h2,
  .page-about__mission-section h2,
  .page-about__values-section h2,
  .page-about__why-choose-section h2,
  .page-about__cta-section h2 {
    font-size: 1.5em;
  }
  .page-about__cta-title {
    font-size: 1.8em;
  }
}