:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --bg-dark: #26A9E0; /* Using primary color for dark sections */
  --login-button-color: #EA7C07;
}

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light body background */
  background-color: var(--bg-light);
}

/* --- HERO Section --- */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: var(--bg-light);
  overflow: hidden; /* Ensure content doesn't spill */
}

.page-about__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-about__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-about__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-about__main-title {
  font-size: 2.8em;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__intro-description {
  font-size: 1.1em;
  color: var(--text-dark);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--login-button-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__cta-button:hover {
  background: #d46f06;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* --- General Section Styles --- */
.page-about__section {
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}

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

.page-about__section-title {
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--primary-color);
  line-height: 1.3;
}

.page-about__dark-bg {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-about__dark-bg .page-about__section-title {
  color: var(--text-light);
}

.page-about__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-about__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__feature-item {
  background: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  color: var(--text-dark);
}

.page-about__feature-item .page-about__feature-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__feature-item ul {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}

.page-about__feature-item ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
}

.page-about__feature-item ul li::before {
  content: '✓';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* --- Grid Features (Section 2) --- */
.page-about__grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-about__grid-item {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__grid-item img {
  width: 100%;
  max-width: 400px; /* Example max-width for image in grid item */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-about__grid-item .page-about__item-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

/* --- Commitment List (Section 3) --- */
.page-about__commitment-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__commitment-item {
  background: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  color: var(--text-dark);
}

.page-about__commitment-item .page-about__item-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

/* --- Team Section (Section 4) --- */
.page-about__section--team .page-about__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__team-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 40px;
  object-fit: cover;
}

.page-about__team-description {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: var(--text-light);
}

.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-about__achievement-card {
  background: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  color: var(--text-dark);
}

.page-about__achievement-card .page-about__card-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

/* --- FAQ Section (Section 6) --- */
.page-about__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  color: var(--text-dark);
}
details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-about__faq-item summary.page-about__faq-question::-webkit-details-marker {
  display: none;
}
details.page-about__faq-item summary.page-about__faq-question:hover {
  background: #f5f5f5;
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color);
}
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-dark);
}

.page-about__cta-bottom {
  margin-top: 50px;
  text-align: center;
}

.page-about__btn-primary {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  background: #1f8ec7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* --- Final CTA Section (Section 7) --- */
.page-about__section--cta-final {
  padding: 60px 20px;
}

.page-about__container--flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.page-about__cta-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-about__cta-content .page-about__section-title {
  color: var(--text-light);
  margin-bottom: 15px;
  text-align: left;
}

.page-about__cta-content .page-about__text-block {
  color: var(--text-light);
  text-align: left;
  margin-bottom: 0;
}

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

/* --- Responsive Design (Mobile) --- */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 2.2em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__hero-image img {
    border-radius: 4px;
  }
  
  .page-about__main-title {
    font-size: clamp(1.8em, 5vw, 2.5em);
    margin-bottom: 15px;
  }

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

  .page-about__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-about__text-block {
    font-size: 1em;
  }

  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
  }
  
  .page-about__container,
  .page-about__feature-item,
  .page-about__grid-item,
  .page-about__commitment-item,
  .page-about__achievement-card,
  .page-about__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__feature-grid,
  .page-about__grid-features,
  .page-about__commitment-list,
  .page-about__achievements-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__feature-item,
  .page-about__grid-item,
  .page-about__commitment-item,
  .page-about__achievement-card {
    padding: 20px;
    text-align: center;
  }

  .page-about__feature-item ul {
    text-align: left;
  }

  .page-about__feature-item ul li {
    padding-left: 20px;
  }

  .page-about__feature-item ul li::before {
    left: 0;
  }

  .page-about__btn-secondary,
  .page-about__btn-primary {
    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;
  }

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

  .page-about__section--cta-final .page-about__container--flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-about__cta-content {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .page-about__cta-content .page-about__section-title,
  .page-about__cta-content .page-about__text-block {
    text-align: center;
  }

  details.page-about__faq-item summary.page-about__faq-question { padding: 15px; }
  .page-about__faq-qtext { font-size: 1em; }
  details.page-about__faq-item .page-about__faq-answer { padding: 0 15px 15px; }

}