.page-about {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
  background-color: #FFFFFF;
}

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

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

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

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

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
}

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

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

.page-about__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

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

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

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

.page-about__button--explore:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-about__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 50px;
  color: #000000;
  font-weight: bold;
}

.page-about__story-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-about__content-flex:nth-child(even) {
  flex-direction: row-reverse;
}

.page-about__text-content {
  flex: 1;
}

.page-about__paragraph {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-about__image {
  flex: 1;
  border-radius: 12px;
  object-fit: cover;
  width: 100%;
  height: auto;
  min-width: 200px; /* Enforce minimum size for content images */
  min-height: 200px; /* Enforce minimum size for content images */
}

.page-about__image--story {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-about__mission-values-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-about__description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
}

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

.page-about__value-card {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.page-about__value-text {
  font-size: 1em;
  color: #555555;
}

.page-about__text-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-about__text-link:hover {
  text-decoration: underline;
}

.page-about__why-choose-us-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
}

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

.page-about__choose-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-about__choose-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  margin: 0 auto 20px;
  border-radius: 8px;
  min-width: 200px; /* Enforce minimum size for content images */
  min-height: 200px; /* Enforce minimum size for content images */
}

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

.page-about__choose-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-about__cta-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  text-align: center;
}

.page-about__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-about__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
}

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__section-title,
  .page-about__cta-title {
    font-size: 2em;
  }
  .page-about__content-flex {
    flex-direction: column;
  }
  .page-about__content-flex:nth-child(even) {
    flex-direction: column;
  }
  .page-about__image {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-about {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-about__hero-section {
    padding: 60px 20px 30px;
  }
  .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: 300px;
    margin: 0 auto;
  }
  .page-about__section-title,
  .page-about__cta-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__story-section,
  .page-about__mission-values-section,
  .page-about__why-choose-us-section,
  .page-about__cta-section {
    padding: 50px 0;
  }
  .page-about__values-grid,
  .page-about__choose-grid {
    grid-template-columns: 1fr;
  }
  .page-about__paragraph {
    font-size: 1em;
  }
  .page-about__description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-about__cta-actions {
    flex-direction: column;
  }
  .page-about__hero-image,
  .page-about__image,
  .page-about__choose-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-about__container {
    padding: 0 15px;
  }
}

/* Ensure all content area images are responsive and not too small */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block; /* Prevent extra space below images */
}

/* Specific rule to prevent content images from being too small in CSS */
.page-about__story-section .page-about__image,
.page-about__why-choose-us-section .page-about__choose-image {
  min-width: 200px; 
  min-height: 200px; 
}