.page-about {
  color: #333333; /* Dark text for light body background */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  background-color: #FFFFFF;
}

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

.page-about__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Fallback for hero section background */
  color: #FFFFFF;
  padding: 0;
}

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

.page-about__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 500px; /* Minimum height for hero section */
}

.page-about__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

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

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #FFFFFF;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

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

.page-about__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-about__button--register:hover {
  background-color: #F0F0F0;
  transform: translateY(-2px);
}

.page-about__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-about__button--login:hover {
  background-color: #E0A83A;
  transform: translateY(-2px);
}

.page-about__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 40px;
  color: #000000;
  position: relative;
  padding-bottom: 10px;
  font-weight: 700;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-about__story-section,
.page-about__mission-section,
.page-about__team-section,
.page-about__cta-section {
  padding: 80px 0;
}

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

.page-about__story-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-about__paragraph {
  font-size: 1.1em;
  text-align: justify;
  max-width: 800px;
  margin: 0 auto;
  color: #333333;
}

.page-about__keyword {
  font-weight: bold;
  color: #FCBC45;
}

.page-about__mission-section {
  background-color: #000000;
  color: #FFFFFF;
}

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

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

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

.page-about__mission-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-about__mission-card:hover {
  transform: translateY(-10px);
}

.page-about__mission-icon {
  max-width: 200px; /* Ensure display size is at least 200px wide */
  height: auto;
  max-height: 150px; /* For 400x300 aspect ratio when max-width is 200px */
  margin: 0 auto 20px;
  object-fit: contain;
  display: block;
}

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

.page-about__card-description {
  font-size: 1em;
  color: #E0E0E0;
}

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

.page-about__team-member {
  text-align: center;
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-about__team-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 4px solid #FCBC45;
  display: block;
}

.page-about__member-name {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 5px;
  font-weight: 600;
}

.page-about__member-role {
  font-size: 1em;
  color: #666666;
}

.page-about__cta-section {
  background-color: #FCBC45;
  color: #000000;
  text-align: center;
  padding: 100px 0;
}

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

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

.page-about__button--cta {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 18px 40px;
  font-size: 1.2em;
}

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

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

@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__button {
    width: 80%;
    max-width: 300px;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__paragraph {
    font-size: 1em;
  }
  .page-about__story-content {
    flex-direction: column;
  }
  .page-about__story-image {
    max-width: 100%;
    height: auto;
  }
  .page-about__mission-grid,
  .page-about__team-grid {
    grid-template-columns: 1fr;
  }
  .page-about__cta-title {
    font-size: 2.2em;
  }
  .page-about__cta-description {
    font-size: 1.1em;
  }
  /* Mobile content image constraint */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  .page-about__hero-container {
    min-height: 400px;
  }
  .page-about__hero-content {
    padding: 15px;
  }
  .page-about__mission-icon {
    max-width: 100%; /* Allow to scale to card width */
    height: auto;
    max-height: none; /* Remove max-height for mobile scaling */
  }
  .page-about__team-image {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 0.95em;
  }
  .page-about__button {
    width: 90%;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__cta-title {
    font-size: 1.8em;
  }
  .page-about__cta-description {
    font-size: 1em;
  }
}