.page-about {
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
}

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

.page-about__section-spacing {
  padding: 80px 0;
}

.page-about__section-title {
  font-size: 2.8em;
  color: #007bff;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__section-title--light {
  color: #ffffff;
}

.page-about__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  min-height: 600px; /* Minimum height for hero */
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Darken image for text readability */
}

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

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

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

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

.page-about__button--primary {
  background-color: #007bff;
  color: #ffffff;
}

.page-about__button--primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.page-about__button--secondary {
  background-color: #dc3545;
  color: #ffffff;
}

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

.page-about__button--light {
  background-color: #ffffff;
  color: #007bff;
}

.page-about__button--light:hover {
  background-color: #e2e6ea;
  color: #0056b3;
  transform: translateY(-2px);
}

/* Mission & Vision Section */
.page-about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-about__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-about__card-icon {
  width: 200px; /* Minimum size requirement */
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

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

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

/* Values Section */
.page-about__bg--dark {
  background-color: #1a1a1a; /* Dark background for contrast */
  color: #ffffff;
}

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

.page-about__value-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-about__value-title {
  font-size: 1.6em;
  color: #dc3545;
  margin-bottom: 10px;
}

.page-about__value-description {
  font-size: 0.95em;
  color: #cccccc;
}

/* Why Us Section */
.page-about__why-us-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-about__why-us-text {
  flex: 1;
  min-width: 300px;
}

.page-about__why-us-image {
  flex: 1;
  min-width: 300px;
  max-width: 600px; /* Constrain image size */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Call to Action Section */
.page-about__bg--gradient {
  background: linear-gradient(90deg, #007bff, #dc3545); /* Primary to secondary color gradient */
  color: #ffffff;
  text-align: center;
}

.page-about__cta-content {
  padding: 60px 20px;
}

.page-about__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-about__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

@media (max-width: 768px) {
  .page-about {
    padding-top: var(--header-offset, 120px);
  }
  .page-about__hero-section {
    min-height: 500px;
  }
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__section-spacing {
    padding: 60px 0;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__card-title {
    font-size: 1.5em;
  }
  .page-about__values-grid {
    grid-template-columns: 1fr;
  }
  .page-about__why-us-content {
    flex-direction: column;
  }
  .page-about__why-us-image {
    order: -1; /* Image above text on mobile */
    max-width: 100%;
  }
  .page-about__cta-title {
    font-size: 2em;
  }
  .page-about__cta-description {
    font-size: 1em;
  }
  
  /* Mobile content area images must not overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  /* Ensure content area does not cause horizontal scroll */
  .page-about__container {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 0.9em;
  }
  .page-about__button {
    width: 100%;
    padding: 12px 20px;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__card-icon {
    width: 150px;
  }
  .page-about__card-title {
    font-size: 1.3em;
  }
  .page-about__value-title {
    font-size: 1.4em;
  }
  .page-about__cta-title {
    font-size: 1.8em;
  }
}