.page-about {
  color: #333333; /* Dark text for light body background */
}

.page-about__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #FFFFFF;
  text-align: center;
  padding-bottom: 60px;
}

.page-about__hero-content {
  max-width: 900px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
}

.page-about__hero-title {
  font-size: 3.5em;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

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

.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, transform 0.3s ease;
}

.page-about__button--primary {
  background-color: #FCBC45; /* Login color for primary action */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

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

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

.page-about__hero-image-container {
  max-width: 100%;
  overflow: hidden;
}

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

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

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

.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__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

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

.page-about__sub-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-about__paragraph {
  font-size: 1.1em;
  line-height: 1.7;
  color: #444444;
  margin-bottom: 15px;
}

.page-about__image-block {
  text-align: center;
}

.page-about__image-block--center {
  grid-column: 1 / -1;
  max-width: 800px;
  margin: 40px auto;
}

.page-about__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

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

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

.page-about__value-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

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

.page-about__advantages-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-about__list-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

.page-about__action-buttons {
  text-align: center;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-about__join-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
}

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

.page-about__join-section .page-about__paragraph {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-about__join-section .page-about__button--primary {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-about__join-section .page-about__button--primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

.page-about__disclaimer {
  margin-top: 30px;
  font-size: 0.9em;
  color: #cccccc;
}

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

.page-about__disclaimer .page-about__link:hover {
  text-decoration: underline;
}

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

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

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

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

  .page-about__content-grid--reverse .page-about__image-block {
    order: -1;
  }
}

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

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

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

  .page-about__button {
    width: 100%;
    padding: 12px 20px;
  }

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }

  .page-about__sub-title {
    font-size: 1.4em;
  }

  .page-about__paragraph {
    font-size: 1em;
  }

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

  /* Ensure images do not overflow on mobile */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  
  .page-about__content-image {
    min-width: 200px;
    min-height: 200px;
  }

  .page-about__hero-image {
    min-width: 200px;
    min-height: 200px;
  }

  .page-about__image-block--center {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-about__hero-section {
    padding: 40px 15px;
  }

  .page-about__container {
    padding: 20px 15px;
  }

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

  .page-about__sub-title {
    font-size: 1.2em;
  }

  .page-about__card-title, .page-about__list-title {
    font-size: 1.3em;
  }
}