.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Assuming body background is light */
}

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

.page-about__hero-section {
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding */
  padding-bottom: 60px;
  background-color: #f5f8fa;
  text-align: center;
}

.page-about__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__main-title {
  font-size: 2.8em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-about__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 300px; /* Limit individual button width */
  text-align: center;
}

.page-about__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-about__btn-primary:hover {
  background-color: #1a8cc4;
  border-color: #1a8cc4;
}

.page-about__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-about__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #26A9E0;
}

.page-about__section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-about__section-title {
  font-size: 2.2em;
  font-weight: bold;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.3;
}

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

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

.page-about__text-block {
  flex: 1;
}

.page-about__sub-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-about__text-block p {
  margin-bottom: 15px;
  color: #444444;
}

.page-about__image-figure {
  flex: 1;
  min-width: 400px;
  text-align: center;
}

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

.page-about__image-caption {
  margin-top: 15px;
  font-size: 0.9em;
  color: #666666;
}

.page-about__milestone-list {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-about__milestone-list li {
  margin-bottom: 8px;
  color: #444444;
}

.page-about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 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;
  border: 1px solid #e0e0e0; /* Added for contrast */
  color: #333333;
}

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

.page-about__card-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-about__card .page-about__image-figure {
  min-width: unset;
  margin-bottom: 20px;
}

.page-about__card .page-about__image {
  border-radius: 5px;
  box-shadow: none;
}

.page-about__cta-section {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
}

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

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

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 1. Top section: .page-about__hero-section, __top-cta, __btn */
  .page-about__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-about__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-about__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  /* 2. Single-column long article containers */
  .page-about__section {
    padding: 40px 0;
  }

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-about__content-flex {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
  }

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

  .page-about__text-block {
    order: 2; /* Ensure text block is below image on mobile for reverse flex */
  }

  .page-about__content-flex--reverse .page-about__text-block {
    order: 2;
  }

  .page-about__image-figure {
    order: 1;
    min-width: unset;
    width: 100%;
  }

  .page-about__sub-title {
    font-size: 1.4em;
    margin-bottom: 15px;
  }

  .page-about__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__card {
    padding: 20px;
  }

  .page-about__card-title {
    font-size: 1.2em;
    margin-bottom: 15px;
  }

  /* 3. General images */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-about__image-figure {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 4. Buttons (already covered in top section and general btn styles) */
  /* Added explicit overrides for general buttons for robustness */
  .page-about a[class*="btn"],
  .page-about a[class*="button"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 5. Readability for general text (no specific FAQ/tutorial section on about page) */
  .page-about p,
  .page-about li {
    font-size: 1em;
  }

  .page-about__cta-section {
    padding: 50px 0;
  }

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

  .page-about__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
}