/* style/about.css */
:root {
  --primary-color: #007BFF;
  --secondary-color: #28A745;
  --dark-bg-1: #0d0d0d; /* Assuming this from shared.css for dark background */
  --text-light: #ffffff;
  --text-dark: #333333;
  --border-color: #e0e0e0;
  --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

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

/* --- General Section Styling --- */
.page-about__section-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--text-light); /* Default for dark sections */
  margin-bottom: 30px;
  text-align: center;
}

.page-about__main-title {
  font-size: 42px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 15px;
  text-align: center;
}

.page-about__subtitle {
  font-size: 20px;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 30px;
}

.page-about__intro-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 30px auto;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
}

.page-about__intro-cta-button,
.page-about__cta-button {
  display: block;
  width: fit-content;
  margin: 30px auto 0 auto;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button--inline {
    margin-top: 40px;
}

.page-about__intro-cta-button:hover,
.page-about__cta-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* --- Section Backgrounds and Text Colors --- */
.page-about__light-bg {
  background-color: var(--text-light);
  color: var(--text-dark);
  padding: 60px 0;
}

.page-about__light-bg .page-about__section-title,
.page-about__light-bg .page-about__main-title,
.page-about__light-bg .page-about__subtitle {
  color: var(--text-dark);
}

.page-about__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 60px 0;
}

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

/* --- Specific Section Styles --- */
.page-about__introduction-section {
  padding-top: 120px; /* Desktop padding for fixed header */
  padding-bottom: 60px;
  background-color: var(--text-light);
  color: var(--text-dark);
}

.page-about__general-info-section p,
.page-about__team-section p,
.page-about__why-choose-us-section p,
.page-about__future-vision-section p {
  margin-bottom: 15px;
  font-size: 16px;
}

.page-about__general-info-section strong,
.page-about__team-section strong,
.page-about__why-choose-us-section strong,
.page-about__future-vision-section strong {
  color: var(--primary-color);
}

.page-about__mission-values-section {
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
}

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

.page-about__value-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-about__value-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  filter: none; /* Keep original color */
}

.page-about__value-card h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-about__value-card p {
  font-size: 15px;
  color: var(--text-light);
}

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

.page-about__team-member-card {
  background: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__team-member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-about__team-member-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid var(--primary-color);
  filter: none; /* Keep original color */
}

.page-about__team-member-card h3 {
  font-size: 22px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.page-about__team-role {
  font-size: 16px;
  color: #666;
  margin-bottom: 15px;
}

.page-about__process-section {
  background: linear-gradient(135deg, #0056b3, var(--primary-color));
}

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

.page-about__process-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-light);
}

.page-about__process-icon {
  width: 80px;
  height: auto;
  margin-bottom: 20px;
  filter: none; /* Keep original color */
}

.page-about__process-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-about__process-item p {
  font-size: 15px;
  color: var(--text-light);
}

.page-about__why-choose-us-section {
  background-color: var(--text-light);
}

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

.page-about__benefit-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-about__benefit-icon {
  width: 90px;
  height: auto;
  margin-bottom: 20px;
  filter: none; /* Keep original color */
}

.page-about__benefit-card h3 {
  font-size: 22px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.page-about__benefit-card p {
  font-size: 15px;
  color: var(--text-dark);
}

.page-about__future-vision-section {
  background: linear-gradient(135deg, #28A745, #218838);
}

.page-about__future-vision-section p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 15px;
}

/* --- FAQ Section Styles --- */
.page-about__faq-section {
  padding-bottom: 60px;
}

.page-about__faq-list {
  margin-top: 40px;
}

.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important; /* Sufficiently large value */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-dark);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-about__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-about__faq-question:active {
  background: #eeeeee;
}

.page-about__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-about__faq-item.active .page-about__faq-toggle {
  color: #333;
  transform: rotate(45deg); /* To change '+' to 'x' or similar visual cue */
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .page-about__section-title {
    font-size: 28px;
  }
  .page-about__main-title {
    font-size: 36px;
  }
  .page-about__subtitle {
    font-size: 18px;
  }
  .page-about__values-grid,
  .page-about__team-members-grid,
  .page-about__process-steps,
  .page-about__benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
  .page-about__value-card,
  .page-about__team-member-card,
  .page-about__process-item,
  .page-about__benefit-card {
    padding: 25px;
  }
  .page-about__value-card h3,
  .page-about__team-member-card h3,
  .page-about__process-item h3,
  .page-about__benefit-card h3 {
    font-size: 20px;
  }
  .page-about__value-card p,
  .page-about__team-role,
  .page-about__process-item p,
  .page-about__benefit-card p {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .page-about__introduction-section {
    padding-top: 100px !important; /* Mobile padding for fixed header */
    padding-bottom: 40px;
  }
  .page-about__light-bg,
  .page-about__dark-bg {
    padding: 40px 0;
  }
  .page-about__section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .page-about__main-title {
    font-size: 30px;
  }
  .page-about__subtitle {
    font-size: 16px;
  }
  .page-about__intro-cta-button,
  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__values-grid,
  .page-about__team-members-grid,
  .page-about__process-steps,
  .page-about__benefits-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .page-about__team-member-photo {
    width: 120px;
    height: 120px;
  }
  .page-about__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-about__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-about__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-about__faq-answer {
    padding: 0 15px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px !important;
  }
  
  /* Mobile image adaptation */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Contrast Fixes */
.page-about__dark-bg p, .page-about__dark-bg h1, .page-about__dark-bg h2, .page-about__dark-bg h3, .page-about__dark-bg .page-about__subtitle {
    color: var(--text-light);
}
.page-about__light-bg p, .page-about__light-bg h1, .page-about__light-bg h2, .page-about__light-bg h3, .page-about__light-bg .page-about__subtitle {
    color: var(--text-dark);
}