/* style/about.css */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

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

.page-about__hero {
  position: relative;
  background-color: #007bff; /* Primary color */
  color: #fff;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

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

.page-about__hero .page-about__container {
  position: relative;
  z-index: 1;
}

.page-about__title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #fff;
}

.page-about__subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
  color: #e9ecef;
}

.page-about__button {
  display: inline-block;
  background-color: #ffc107; /* Secondary color */
  color: #000; /* Ensure high contrast */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-about__button--secondary {
  background-color: #0056b3; /* Darker variant of primary for contrast */
  color: #fff;
}

.page-about__button--secondary:hover {
  background-color: #004085;
}

.page-about__section {
  padding: 60px 0;
  text-align: center;
}

.page-about__section:nth-of-type(even) {
  background-color: #e9ecef;
}

.page-about__heading {
  font-size: 2.5em;
  color: #007bff; /* Primary color */
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-about__text {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #555;
}

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

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

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

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

.page-about__card-text {
  font-size: 1em;
  color: #666;
}

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

.page-about__value-item {
  background-color: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-about__value-title {
  font-size: 1.5em;
  color: #007bff; /* Primary color */
  margin-bottom: 10px;
}

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

.page-about__feature-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto 40px auto;
  text-align: left;
}

.page-about__feature-list li {
  background-color: #fff;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  font-size: 1.05em;
  color: #333;
}

.page-about__feature-icon {
  color: #28a745; /* Green for success/check */
  font-size: 1.5em;
  margin-right: 15px;
}

.page-about__feature-strong {
  color: #007bff;
}

.page-about__image-inline {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-about__title {
    font-size: 2.5em;
  }

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

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

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

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

  .page-about__section {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .page-about__title {
    font-size: 2em;
  }

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

  .page-about__button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-about__feature-list li {
    font-size: 0.95em;
    padding: 12px 15px;
  }
}