/* style/about.css */
/* body background is #0a0a0a (dark), so default text color should be #ffffff */

.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Rely on body background from shared.css */
}

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

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  text-align: center;
  background-color: #0a0a0a; /* Ensure dark background for hero */
  color: #ffffff;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-about__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-about__main-title {
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(2em, 4vw, 3em); /* Responsive font size */
}

.page-about__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons are responsive */
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

.page-about__btn-link {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid transparent;
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-about__btn-link:hover {
  text-decoration: underline;
}

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

.page-about__dark-section {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-about__light-bg {
  background-color: #1a1a1a; /* A slightly lighter dark for contrast */
  color: #ffffff;
}

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

.page-about__sub-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-about__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-about__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  max-width: 1000px;
  object-fit: cover;
}

.page-about__vision-mission {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.page-about__vision-item,
.page-about__mission-item {
  flex: 1;
  background-color: rgba(38, 169, 224, 0.1);
  padding: 30px;
  border-radius: 8px;
}

.page-about__values-title {
  text-align: center;
  margin-top: 50px;
}

.page-about__values-list,
.page-about__why-choose-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-about__values-item,
.page-about__why-choose-item {
  background-color: rgba(38, 169, 224, 0.05);
  border-left: 5px solid #26A9E0;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 4px;
  color: #f0f0f0;
}

.page-about__values-item strong,
.page-about__why-choose-item strong {
  color: #26A9E0;
}

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

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.page-about__feature-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

.page-about__feature-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-about__feature-description {
  font-size: 0.95em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-about__cta-group--center {
  margin-top: 40px;
}

.page-about__faq-section {
  padding: 60px 0;
}

.page-about__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em;
  color: #26A9E0;
  background-color: rgba(38, 169, 224, 0.1);
}

.page-about__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-about__faq-qtext {
  flex-grow: 1;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #ffffff;
}

.page-about__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #f0f0f0;
}

.page-about__faq-answer p {
  margin-bottom: 0;
}

/* Links within content */
.page-about a {
  color: #26A9E0;
  text-decoration: none;
}

.page-about a:hover {
  text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-about__hero-main-title {
    font-size: clamp(2em, 5vw, 2.5em);
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__sub-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-bottom: 40px;
  }
  .page-about__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__cta-group {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 0 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
  }
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__sub-title {
    font-size: 1.2em;
  }
  .page-about__text-block {
    font-size: 0.95em;
  }
  .page-about__vision-mission {
    flex-direction: column;
    gap: 20px;
  }
  .page-about__values-item,
  .page-about__why-choose-item {
    padding: 12px 15px;
  }
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }
  .page-about__feature-card {
    padding: 20px;
  }
  .page-about__feature-title {
    font-size: 1.2em;
  }
  .page-about__feature-description {
    font-size: 0.9em;
  }
  .page-about__faq-item summary {
    font-size: 1em;
    padding: 15px;
  }
  .page-about__faq-answer {
    padding: 0 15px 15px;
  }
  
  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__vision-item,
  .page-about__mission-item,
  .page-about__feature-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-about__hero-section {
    padding-top: 10px !important;
  }
  .page-about__hero-image-wrapper {
    padding: 0;
  }
  .page-about__cta-group {
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure vertical stacking for buttons */
  }
}