.page-about {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-about__hero-container {
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

.page-about__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

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

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

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

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

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

.page-about__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-about__section-title {
  font-size: 2.5em;
  color: #FCBC45;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.page-about__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 15px auto 0;
}

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

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

.page-about__story-text {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: justify;
}

.page-about__mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .page-about__mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.page-about__mission-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-about__mission-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-about__mission-heading {
  font-size: 1.8em;
  color: #FFFFFF;
  margin-bottom: 15px;
}

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

.page-about__values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .page-about__values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-about__values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.page-about__value-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-about__value-icon {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-about__value-heading {
  font-size: 1.5em;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-about__value-text {
  color: #e0e0e0;
  font-size: 0.95em;
}

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

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

.page-about__responsible-text {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: justify;
}

.page-about__responsible-text a {
  color: #FCBC45;
  text-decoration: none;
}

.page-about__responsible-text a:hover {
  text-decoration: underline;
}

.page-about__cta-section {
  background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(20,20,20,0.8));
  padding: 80px 20px;
  text-align: center;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-about__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-about__button--cta-register {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 8px;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .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: 280px;
  }

  .page-about__content-area {
    padding: 40px 15px;
  }

  .page-about__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-about__story-content {
    gap: 30px;
  }

  .page-about__story-image {
    max-width: 100%;
  }

  .page-about__story-text,
  .page-about__mission-text,
  .page-about__value-text,
  .page-about__responsible-text {
    font-size: 0.95em;
  }

  .page-about__mission-item,
  .page-about__value-card {
    padding: 25px;
  }

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

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

  .page-about__button--cta-register {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  /* Ensure images in content area do not overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }

  .page-about__hero-description {
    font-size: 0.9em;
  }

  .page-about__section-title {
    font-size: 1.8em;
  }

  .page-about__cta-title {
    font-size: 1.8em;
  }
}