.page-about {
  background-color: #F4F7FB;
  color: #1F2D3D;
  font-family: Arial, sans-serif;
}

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

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #2F6BFF;
  position: relative;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
}

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

.page-about__hero-content {
  position: relative; /* Ensure content is above any background but not overlapping image */
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  color: #FFFFFF;
  max-width: 900px;
}

.page-about__main-title {
  font-size: clamp(2em, 3.5vw, 3em); /* Responsive font size for H1 */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-about__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-about__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-about__cta-button--secondary {
  background: #FFFFFF;
  color: #2F6BFF;
  border: 1px solid #2F6BFF;
  box-shadow: none;
}

.page-about__cta-button--secondary:hover {
  background: #F4F7FB;
  color: #2F6BFF;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-about__section-title {
  font-size: 2em;
  font-weight: bold;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
  color: #1F2D3D;
}

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

.page-about__text-block {
  flex: 1;
  line-height: 1.7;
  font-size: 1.05em;
}

.page-about__text-block p {
  margin-bottom: 1em;
}

.page-about__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

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

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

.page-about__value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-about__value-title {
  font-size: 1.4em;
  color: #2F6BFF;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__value-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #1F2D3D;
}

/* Ensure color contrast */
p, li, h1, h2, h3, h4, h5, h6, a {
  color: var(--main-text-color);
}
.page-about__hero-content p, .page-about__hero-content h1 {
  color: #FFFFFF;
}
.page-about__cta-button {
  color: #FFFFFF;
}
.page-about__cta-button--secondary {
  color: #2F6BFF;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-about__container {
    padding: 15px;
  }

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

  .page-about__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

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

  .page-about__content-grid {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
  }

  .page-about__image-block {
    order: -1; /* Image first on mobile for mission/team sections */
  }

  .page-about__values-list {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  .page-about__value-item {
    padding: 25px;
  }

  /* Mobile image overflow prevention */
  .page-about img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .page-about__cta-button {
    width: 100%;
    text-align: center;
    padding: 10px 15px;
  }

  .page-about__main-title {
    font-size: clamp(1.6em, 8vw, 2.2em);
  }

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