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

.page-about__hero {
  background: linear-gradient(135deg, #007bff, #4da3ff); /* Adjusted for contrast */
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-about__title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.page-about__subtitle {
  font-size: 1.5em;
  opacity: 0.9;
}

.page-about__section {
  padding: 60px 0;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
}

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

.page-about__heading {
  font-size: 2.5em;
  color: #0056b3; /* Darker variant of primary for contrast */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-about__heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #ffc107;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-about__story .page-about__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-about__story .page-about__text-content {
  flex: 1;
  min-width: 300px;
}

.page-about__story .page-about__image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

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

.page-about__story p {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #444;
}

.page-about__mission-vision .page-about__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-about__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  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.15);
}

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

.page-about__card p {
  color: #555;
  font-size: 1em;
}

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

.page-about__value-item {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.page-about__value-item:hover {
  border-color: #007bff;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
}

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

.page-about__value-item p {
  color: #666;
}

.page-about__cta {
  background-color: #007bff;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-about__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-about__cta-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-about__btn--primary {
  background-color: #ffc107;
  color: #0056b3; /* Darker blue for contrast */
  border: 2px solid #ffc107;
}

.page-about__btn--primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  transform: translateY(-3px);
}

.page-about__btn--secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-about__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* 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__story .page-about__content-wrapper {
    flex-direction: column;
  }

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

  .page-about__cta-title {
    font-size: 2em;
  }

  .page-about__cta-text {
    font-size: 1em;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-about__btn {
    width: 80%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .page-about__hero, .page-about__cta {
    padding: 60px 0;
  }

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

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

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

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