.page-about {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background from shared.css */
  padding-top: var(--header-offset, 120px); /* Fixed header offset for PC and mobile */
}

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  gap: 40px;
  background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(255,255,255,0.1));
  position: relative;
  overflow: hidden;
}

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

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

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
  line-height: 1.6;
}

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

.page-about__hero-image-container {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
  z-index: 0;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-about__button {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
}

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

.page-about__button--primary:hover {
  background-color: #e0a538;
  transform: translateY(-3px);
}

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

.page-about__button--secondary:hover {
  background-color: #1a1a1a;
  transform: translateY(-3px);
}

.page-about__story-section, .page-about__values-section, .page-about__cta-section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-about__story-title, .page-about__values-title, .page-about__cta-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #FCBC45;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-about__story-text {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #E0E0E0;
}

.page-about__story-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin: 40px auto;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

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

.page-about__value-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(252, 188, 69, 0.2);
}

.page-about__value-card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-about__value-icon {
  width: 100%;
  max-width: 200px; /* Constrain icon image width within card */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

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

.page-about__value-description {
  font-size: 1em;
  line-height: 1.7;
  color: #D0D0D0;
}

.page-about__cta-section {
  background: linear-gradient(45deg, rgba(0,0,0,0.9), rgba(252,188,69,0.2));
  padding: 80px 20px;
}

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

.page-about__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #E0E0E0;
  line-height: 1.6;
}

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

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

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 60px 20px;
  }

  .page-about__hero-title {
    font-size: 2.2em;
  }

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

  .page-about__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__button {
    width: 100%;
    max-width: 300px;
  }

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

  .page-about__story-text {
    font-size: 0.95em;
  }

  .page-about__values-grid {
    grid-template-columns: 1fr;
  }

  .page-about__cta-section {
    padding: 60px 20px;
  }

  /* Ensure content images do not overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Maintain minimum size */
    min-height: 200px; /* Maintain minimum size */
  }
  
  /* Override for images within value cards to ensure they don't shrink too much */
  .page-about__value-card .page-about__value-icon {
    max-width: 100%; /* Ensure it fits within card */
    height: auto;
    min-width: 200px; /* Maintain minimum size */
    min-height: 200px; /* Maintain minimum size */
  }
}

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

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

  .page-about__button {
    padding: 12px 25px;
    font-size: 1em;
  }
}