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

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

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

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

.page-about__subtitle {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #e0e0e0;
}

.page-about__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
}

/* General Section Styling */
.page-about__section {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.page-about__section:nth-of-type(even) {
  background-color: #f1f7fc; /* Light blue tint for alternating sections */
}

.page-about__section-title {
  font-size: 2.2em;
  color: #0056b3; /* Darker blue for headings */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

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

.page-about__content-flex--reverse {
  flex-direction: row-reverse;
}

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

.page-about__text-content p, .page-about__text-content ul {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #444;
}

.page-about__text-content ul {
  list-style-type: disc;
  padding-left: 25px;
}

.page-about__text-content ul li {
  margin-bottom: 10px;
}

.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 5px 15px rgba(0, 0, 0, 0.1);
}

.page-about__image--centered {
  display: block;
  margin: 40px auto 0 auto;
}

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

.page-about__value-item {
  background-color: #fefefe;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.page-about__value-item h3 {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 15px;
}

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

/* Call to Action */
.page-about__cta {
  background-color: #007bff;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  border-radius: 8px;
  margin: 40px auto;
  max-width: 1200px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.page-about__cta-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #e0e0e0;
}

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

.page-about__btn--primary {
  background-color: #ffc107;
  color: #000000; /* Ensure high contrast for text on gold */
  border: 2px solid #ffc107;
}

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

.page-about__btn--secondary {
  background-color: #ffffff;
  color: #007bff; /* Primary blue text on white */
  border: 2px solid #ffffff;
}

.page-about__btn--secondary:hover {
  background-color: #e2f0ff;
  color: #0056b3;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__content-flex {
    flex-direction: column;
  }
  .page-about__content-flex--reverse {
    flex-direction: column;
  }
  .page-about__text-content, .page-about__image-wrapper {
    min-width: unset;
    width: 100%;
  }
  .page-about__title {
    font-size: 2.2em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-about__hero, .page-about__section, .page-about__cta {
    padding: 40px 0;
  }
  .page-about__title {
    font-size: 1.8em;
  }
  .page-about__subtitle, .page-about__cta-text {
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 1.6em;
  }
  .page-about__values-grid {
    grid-template-columns: 1fr;
  }
  .page-about__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-about__title {
    font-size: 1.5em;
  }
  .page-about__section-title {
    font-size: 1.4em;
  }
  .page-about__cta-title {
    font-size: 1.6em;
  }
  .page-about__container {
    padding: 0 15px;
  }
}