.page-about {
  background-color: var(--background-color, #FFFFFF); /* Default to white if shared variable is not set */
  color: #333333; /* Dark text for light background */
}

.page-about__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  color: #FFFFFF; /* Light text for hero content over dark image */
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-about__hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

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

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for emphasis */
}

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-about__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for button */
  padding: 15px 40px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-about__hero-button:hover {
  background-color: #FFD700; /* Lighter gold on hover */
  transform: translateY(-2px);
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: #000000; /* Main color for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

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

.page-about__story-section {
  padding: 60px 0;
  background-color: #F8F8F8;
}

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

.page-about__story-text {
  flex: 1;
  font-size: 1.1em;
  line-height: 1.7;
}

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

.page-about__story-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-about__mission-values-section {
  padding: 60px 0;
}

.page-about__mission-vision {
  margin-bottom: 60px;
}

.page-about__mv-content {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  flex-wrap: wrap;
}

.page-about__mv-card {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  flex: 1 1 calc(50% - 30px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-about__mv-icon {
  width: 100%; /* Ensure images are not tiny icons */
  height: auto;
  max-width: 200px;
  margin: 0 auto 20px;
  display: block;
}

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

.page-about__core-values {
  margin-top: 60px;
}

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

.page-about__value-item {
  background-color: #FDFDFD;
  border: 1px solid #EAEAEA;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

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

.page-about__why-choose-section {
  padding: 60px 0;
  background-color: #F8F8F8;
}

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

.page-about__choose-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-about__choose-item:hover {
  transform: translateY(-5px);
}

.page-about__choose-icon {
  width: 100%; /* Ensure images are not tiny icons */
  height: auto;
  max-width: 150px;
  margin: 0 auto 20px;
  display: block;
}

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

.page-about__cta-section {
  padding: 80px 0;
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  text-align: center;
}

.page-about__cta-section .page-about__section-title {
  color: #FFFFFF;
}

.page-about__cta-section .page-about__section-title::after {
  background-color: #FFFFFF;
}

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

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-about__cta-button--register {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text */
}

.page-about__cta-button--register:hover {
  background-color: #FFD700;
  transform: translateY(-2px);
}

.page-about__cta-button--download {
  background-color: #FFFFFF; /* Register button color */
  color: #000000; /* Dark text */
  border: 2px solid #FFFFFF;
}

.page-about__cta-button--download:hover {
  background-color: #E0E0E0;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    min-height: 500px;
  }
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-about__story-content {
    flex-direction: column;
  }
  .page-about__story-image {
    max-width: 100%;
  }
  .page-about__mv-card {
    flex: 1 1 100%;
  }
  .page-about__values-grid,
  .page-about__choose-grid {
    grid-template-columns: 1fr;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__container {
    padding: 20px;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-about__cta-button {
    width: 80%;
  }

  /* Mobile image overflow prevention */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 0.9em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__hero-container {
    padding: 20px 15px;
  }
}