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

.page-about__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px; /* Minimum height for hero section */
  overflow: hidden;
  background-color: #007bff; /* Primary color for hero background */
  color: #ffffff;
  padding-bottom: 60px;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

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

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

.page-about__hero-description {
  font-size: 1.25rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-about__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.page-about__button--primary {
  background-color: #ffc107; /* Auxiliary color */
  color: #007bff; /* Primary color */
  border: 2px solid #ffc107;
}

.page-about__button--primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

.page-about__button--secondary {
  background-color: transparent;
  color: #ffc107; /* Auxiliary color */
  border: 2px solid #ffc107;
}

.page-about__button--secondary:hover {
  background-color: #ffc107;
  color: #007bff;
}

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

.page-about__heading {
  font-size: 2.5rem;
  color: #007bff; /* Primary color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-about__heading::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #ffc107; /* Auxiliary color */
  border-radius: 2px;
}

.page-about__sub-heading {
  font-size: 1.8rem;
  color: #007bff;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__paragraph {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #555555;
}

.page-about__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-about__story-section, .page-about__mission-section, .page-about__values-section, .page-about__why-choose-section, .page-about__team-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eeeeee;
}

.page-about__story-section:nth-of-type(odd), .page-about__values-section:nth-of-type(odd), .page-about__team-section:nth-of-type(odd) {
  background-color: #ffffff;
}

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

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

.page-about__value-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
  border-top: 5px solid #007bff;
}

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

.page-about__card-title {
  font-size: 1.5rem;
  color: #007bff;
  margin-bottom: 15px;
}

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

.page-about__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
  border-bottom: 5px solid #ffc107;
}

.page-about__feature-item:hover {
  transform: translateY(-10px);
}

.page-about__feature-icon {
  width: 200px; /* Minimum size */
  height: 200px; /* Minimum size */
  margin-bottom: 20px;
  object-fit: contain;
}

.page-about__feature-title {
  font-size: 1.6rem;
  color: #007bff;
  margin-bottom: 15px;
}

.page-about__text-link {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about__text-link:hover {
  color: #ffc107;
  text-decoration: underline;
}

.page-about__cta-section {
  background-color: #007bff; /* Primary color */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-about__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.2;
}

.page-about__cta-content {
  position: relative;
  z-index: 2;
}

.page-about__cta-heading {
  color: #ffc107; /* Auxiliary color */
  margin-bottom: 20px;
}

.page-about__cta-description {
  font-size: 1.3rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-actions {
  display: flex;
  gap: 25px;
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .page-about__container {
    padding: 30px 20px;
  }
}

@media (max-width: 992px) {
  .page-about__hero-title {
    font-size: 2.8rem;
  }

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

  .page-about__heading {
    font-size: 2rem;
  }

  .page-about__sub-heading {
    font-size: 1.6rem;
  }

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

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

@media (max-width: 768px) {
  .page-about__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px); /* Ensure mobile content is below header */
  }

  .page-about__hero-title {
    font-size: 2.2rem;
  }

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

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

  .page-about__button {
    width: 100%;
    max-width: 250px;
  }

  .page-about__heading {
    font-size: 1.8rem;
  }

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

  .page-about__value-card, .page-about__feature-item {
    padding: 20px;
  }

  .page-about__feature-icon {
    width: 200px; /* Enforce minimum size on mobile */
    height: 200px; /* Enforce minimum size on mobile */
  }

  .page-about__cta-heading {
    font-size: 1.8rem;
  }

  .page-about__cta-description {
    font-size: 1.1rem;
  }

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

  /* Mobile content area images must be responsive */
  .page-about img {
    max-width: 100%;
    height: auto;
  }

  .page-about__story-section img,
  .page-about__mission-section img,
  .page-about__values-section img,
  .page-about__why-choose-section img,
  .page-about__team-section img,
  .page-about__cta-section img {
    max-width: 100% !important;
    height: auto !important;
  }
}

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

  .page-about__heading {
    font-size: 1.5rem;
  }

  .page-about__sub-heading {
    font-size: 1.4rem;
  }

  .page-about__button {
    padding: 12px 20px;
    font-size: 1rem;
  }
}