.page-about {
  padding-top: 10px; /* Small top padding to ensure content is not directly at the very top */
  background-color: var(--bg-background, #F4F7FB);
  color: var(--text-main, #1F2D3D);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  background-color: var(--main-color, #2F6BFF);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image wrapper to content width */
  margin-bottom: 20px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  min-width: 200px;
  min-height: 200px;
  border-radius: 10px;
  object-fit: cover;
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-about__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  max-width: 100%; /* Ensure H1 doesn't overflow */
  color: #FFFFFF;
}

.page-about__subtitle {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #E0E0E0;
}

.page-about__cta-button {
  display: inline-block;
  padding: 12px 28px;
  background: var(--button-color, linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%));
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Ensure button minimum size */
}

.page-about__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__section-title {
  font-size: 2.2em;
  font-weight: bold;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
  color: var(--text-main, #1F2D3D);
}

.page-about__mission-section, .page-about__values-section, .page-about__team-section {
  padding: 60px 0;
}

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

.page-about__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-about__image {
  flex: 1;
  min-width: 200px;
  min-height: 200px;
  max-width: 50%; /* Adjust for flex layout */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-about__text-content {
  flex: 1;
  max-width: 50%; /* Adjust for flex layout */
}

.page-about__text-content p {
  margin-bottom: 15px;
  color: var(--text-main, #1F2D3D);
}

.page-about__text-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-about__text-content ul li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: var(--text-main, #1F2D3D);
}

.page-about__text-content ul li::before {
  content: '✔';
  color: var(--main-color, #2F6BFF);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-about__learn-more-button, .page-about__contact-button, .page-about__promotions-button, .page-about__support-button, .page-about__join-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--button-color, linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%));
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease-in-out;
  min-width: 150px; /* Ensure button minimum size */
}

.page-about__learn-more-button:hover, .page-about__contact-button:hover, .page-about__promotions-button:hover, .page-about__support-button:hover, .page-about__join-button:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.page-about__commitment-section {
  padding: 60px 0 80px;
  text-align: center;
  background-color: var(--auxiliary-color, #6FA3FF);
  color: #FFFFFF;
}

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

.page-about__description {
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.1em;
  color: #E0E0E0;
}

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

.page-about__commitment-item {
  padding: 30px;
  border-radius: 10px;
  background-color: var(--card-bg, #FFFFFF);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--text-main, #1F2D3D);
  transition: transform 0.3s ease;
}

.page-about__commitment-item:hover {
  transform: translateY(-5px);
}

.page-about__commitment-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--main-color, #2F6BFF);
}

.page-about__commitment-item p {
  color: var(--text-main, #1F2D3D);
}

.page-about__cta-bottom {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-about__content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-about__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-about__image,
  .page-about__text-content {
    max-width: 100%;
    width: 100%;
  }

  .page-about__hero-image-wrapper {
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .page-about__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }

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

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

  .page-about__hero-section {
    padding: 30px 15px;
  }

  .page-about__mission-section, .page-about__values-section, .page-about__team-section {
    padding: 40px 0;
  }

  .page-about__image {
    max-width: 100%;
    min-width: 200px;
    height: auto;
  }

  .page-about__text-content {
    max-width: 100%;
  }

  .page-about__commitment-section {
    padding: 40px 0 60px;
  }

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

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

  .page-about__cta-bottom .page-about__support-button,
  .page-about__cta-bottom .page-about__join-button {
    width: 100%;
    max-width: 300px; /* Constrain button width on mobile */
    margin: 0 auto;
  }

  .page-about__hero-image,
  .page-about__image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }

  /* Mobile specific image handling to prevent overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

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

  .page-about__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-about__learn-more-button, .page-about__contact-button, .page-about__promotions-button, .page-about__support-button, .page-about__join-button {
    padding: 8px 18px;
    font-size: 0.9em;
  }
}