.page-about {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #F4F7FB;
  color: #1F2D3D;
}

.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 60px;
  background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 40px;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%; /* Ensure it doesn't overflow */
  margin-bottom: 20px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  max-width: 1200px; /* Max width for the image */
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-about__hero-content {
  position: relative; /* Ensure content is above any background elements */
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-about__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Ensure H1 doesn't cause overflow */
}

.page-about__description {
  font-size: 1.15em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #E0EFFF;
}

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

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

.page-about__mission-vision-section,
.page-about__commitment-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-about__mission-vision-section .page-about__container,
.page-about__commitment-section .page-about__container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-about__mission-vision-section .page-about__text-content,
.page-about__commitment-section .page-about__text-content {
  flex: 1;
}

.page-about__mission-vision-section .page-about__image-wrapper,
.page-about__commitment-section .page-about__image-wrapper {
  flex: 1;
  min-width: 200px; /* Ensure images are not too small */
}

.page-about__section-title {
  font-size: 2.2em;
  color: #2F6BFF;
  margin-bottom: 25px;
  font-weight: bold;
  text-align: left;
}

.page-about__mission-vision-section p,
.page-about__commitment-section p {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #1F2D3D;
}

.page-about__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-about__why-choose-us-section {
  padding: 60px 0;
  background-color: #F4F7FB;
  text-align: center;
  margin-bottom: 40px;
}

.page-about__why-choose-us-section .page-about__section-title {
  text-align: center;
  color: #1F2D3D;
}

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

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

.page-about__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-about__feature-item p {
  font-size: 1em;
  line-height: 1.6;
  color: #1F2D3D;
}

.page-about__cta-button--bottom {
  margin-top: 50px;
}

.page-about__commitment-section .page-about__container {
  flex-direction: row-reverse; /* Image on right, text on left */
}

.page-about__link {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about__link:hover {
  color: #6FA3FF;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-about__hero-section {
    padding: 30px 20px 40px;
  }
  .page-about__main-title {
    font-size: 2.5em;
  }
  .page-about__description {
    font-size: 1em;
  }
  .page-about__mission-vision-section .page-about__container,
  .page-about__commitment-section .page-about__container {
    flex-direction: column;
    text-align: center;
  }
  .page-about__mission-vision-section .page-about__text-content,
  .page-about__commitment-section .page-about__text-content {
    order: 2;
  }
  .page-about__mission-vision-section .page-about__image-wrapper,
  .page-about__commitment-section .page-about__image-wrapper {
    order: 1;
    margin-bottom: 30px;
  }
  .page-about__section-title {
    text-align: center;
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-about__main-title {
    font-size: 2em;
  }
  .page-about__description {
    font-size: 0.95em;
  }
  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-about__feature-list {
    grid-template-columns: 1fr;
  }
  .page-about__feature-item {
    padding: 25px;
  }
  .page-about__feature-title {
    font-size: 1.3em;
  }
  /* Mobile overflow prevention */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  .page-about__mission-vision-section .page-about__image-wrapper,
  .page-about__commitment-section .page-about__image-wrapper {
    min-width: unset;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__mission-vision-section p, .page-about__commitment-section p {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-about__hero-section {
    padding: 20px 15px 30px;
  }
  .page-about__main-title {
    font-size: 1.7em;
  }
  .page-about__description {
    font-size: 0.9em;
  }
  .page-about__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__mission-vision-section,
  .page-about__commitment-section,
  .page-about__why-choose-us-section {
    padding: 40px 0;
  }
  .page-about__container {
    padding: 15px;
  }
}