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

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px 40px;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-about__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  z-index: 2;
}

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

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  opacity: 0.9;
}

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

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

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

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

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

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

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  border-radius: 10px;
  margin-top: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

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

.page-about__section-title {
  font-size: 2.8em;
  color: #000000;
  margin-bottom: 40px;
  text-align: center;
  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__subsection-title {
  font-size: 2em;
  color: #000000;
  margin-bottom: 20px;
  text-align: left;
}

.page-about__section-paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 25px;
  color: #333333;
}

.page-about__text-image-group {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.page-about__text-image-group--reverse {
  flex-direction: row-reverse;
}

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

.page-about__text-image-group .page-about__text-content {
  flex: 1;
  max-width: 50%;
}

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

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

.page-about__value-card:hover,
.page-about__advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

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

.page-about__values-image,
.page-about__why-choose-us-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
  min-width: 200px;
  min-height: 200px;
}

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

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

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

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

.page-about__cta-section .page-about__section-paragraph {
  color: #F0F0F0;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

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

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

  .page-about__text-image-group {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__text-image-group .page-about__section-image,
  .page-about__text-image-group .page-about__text-content {
    max-width: 100%;
  }
}

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

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

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

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

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

  .page-about__content-area {
    padding: 40px 15px;
  }

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

  .page-about__subsection-title {
    font-size: 1.6em;
  }

  .page-about__section-paragraph {
    font-size: 1em;
  }

  .page-about__values-grid,
  .page-about__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__value-card,
  .page-about__advantage-card {
    padding: 25px;
  }

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

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

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

  .page-about__hero-image,
  .page-about__text-image-group .page-about__section-image,
  .page-about__values-image,
  .page-about__why-choose-us-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure min display size */
    min-height: 200px; /* Ensure min display size */
  }

  .page-about__content-area img {
    max-width: 100%;
    height: auto;
  }
}

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

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

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

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