/* style/about.css */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light grey for text on dark background */
  background-color: #1A0033; /* Darker variant of primary color for main background */
  line-height: 1.6;
}

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

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

.page-about__container--reverse .page-about__image-block {
  order: 2;
}

.page-about__container--reverse .page-about__content-block {
  order: 1;
}

.page-about__container--center {
  text-align: center;
}

.page-about__hero {
  background: linear-gradient(135deg, #4B0082, #6A00A8); /* Primary color gradient */
  padding: 80px 0;
  color: #FFD700; /* Gold for hero title/subtitle */
  text-align: center;
}

.page-about__title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  word-break: break-word; /* Ensure long titles wrap */
}

.page-about__subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #F0F0F0; /* Slightly lighter grey */
}

.page-about__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__section:last-of-type {
  border-bottom: none;
}

.page-about__section--intro {
  background-color: #2D005B; /* Slightly lighter purple */
}

.page-about__section--mission-vision {
  background-color: #1A0033;
}

.page-about__section--values {
  background-color: #2D005B;
}

.page-about__section--advantages {
  background-color: #1A0033;
}

.page-about__section--cta {
  background-color: #4B0082;
  padding: 80px 0;
}

.page-about__heading {
  font-size: 2.5em;
  color: #FFD700; /* Gold for section headings */
  margin-bottom: 30px;
  font-weight: bold;
  word-break: break-word;
}

.page-about__heading--center {
  text-align: center;
}

.page-about__content-block {
  flex: 1;
  min-width: 300px;
}

.page-about__image-block {
  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.3);
}

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

.page-about p {
  margin-bottom: 1em;
}

.page-about__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-about__list li {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 10px;
  padding: 15px;
  border-left: 5px solid #FFD700;
  border-radius: 5px;
  font-size: 1.1em;
  color: #F0F0F0;
}

.page-about__list li strong {
  color: #FFD700;
}

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

.page-about__value-item {
  background-color: #1A0033; /* Dark background for value items */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about__value-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD700); /* Gold glow for icons */
}

.page-about__value-title {
  font-size: 1.6em;
  color: #FFD700; /* Gold for value titles */
  margin-bottom: 15px;
  word-break: break-word;
}

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

.page-about__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  margin: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  white-space: nowrap; /* Prevent button text from wrapping */
}

.page-about__btn--primary {
  background-color: #FFD700; /* Gold button */
  color: #4B0082; /* Imperial Purple text */
}

.page-about__btn--primary:hover {
  background-color: #E6C200; /* Darker gold on hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-about__btn--secondary {
  background-color: #4B0082; /* Imperial Purple button */
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-about__btn--secondary:hover {
  background-color: #6A00A8; /* Lighter purple on hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

.page-about__btn--tertiary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

/* Ensure link text in paragraphs has enough contrast */
.page-about p a {
  color: #FFD700; /* Gold for inline links */
  text-decoration: underline;
}

.page-about p a:hover {
  color: #E6C200;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-about__title {
    font-size: 2.8em;
  }
  .page-about__heading {
    font-size: 2.2em;
  }
}

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

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

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

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

  .page-about__container--flex {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__container--reverse .page-about__image-block {
    order: initial;
  }

  .page-about__container--reverse .page-about__content-block {
    order: initial;
  }

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

  .page-about__btn {
    width: 100%;
    margin: 10px 0;
  }

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

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

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

  .page-about__value-title {
    font-size: 1.3em;
  }
  .page-about__btn {
    padding: 12px 20px;
    font-size: 1em;
  }
}