/* style/about.css */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* 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;
  padding-top: var(--header-offset, 120px);
  padding-bottom: 80px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1em;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background-color: #ffc107;
  color: #000000;
  border: 2px solid #ffc107;
}

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

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

.page-about__btn-secondary:hover {
  background-color: #ffffff;
  color: #007bff;
}

.page-about__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 60px;
  font-weight: bold;
  color: #007bff; /* Brand primary color for titles */
}

.page-about__intro-section,
.page-about__responsibility-section,
.page-about__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-about__why-choose-section,
.page-about__community-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Darker background for contrast */
  color: #ffffff;
}

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

.page-about__grid-item {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

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

.page-about__item-title {
  font-size: 1.8em;
  color: #007bff;
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto 20px auto;
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-about__feature-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #ffffff;
}

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

.page-about__card-title {
  font-size: 1.6em;
  color: #ffc107;
  margin-bottom: 15px;
}

.page-about__card-description {
  font-size: 1em;
  color: #e0e0e0;
}

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

.page-about__card {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  color: #333333;
}

.page-about__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-about__card-heading {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-about__card-text {
  font-size: 0.95em;
  color: #555555;
}

.page-about__community-intro {
  text-align: center;
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #e0e0e0;
}

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

.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-item {
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #007bff;
  background-color: #e9ecef;
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: #dee2e6;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

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

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 20px 25px;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__item-title {
    font-size: 1.6em;
  }
  .page-about__card-title {
    font-size: 1.4em;
  }
  .page-about__faq-question {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 60px;
    min-height: 400px;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-about__intro-section,
  .page-about__why-choose-section,
  .page-about__responsibility-section,
  .page-about__community-section,
  .page-about__faq-section {
    padding: 60px 0;
  }
  .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__grid,
  .page-about__features-grid,
  .page-about__responsibility-cards {
    gap: 20px;
  }
  .page-about__grid-item,
  .page-about__feature-card,
  .page-about__card {
    padding: 25px;
  }
  .page-about__item-title {
    font-size: 1.4em;
  }
  .page-about__card-title {
    font-size: 1.3em;
  }
  .page-about__card-heading {
    font-size: 1.2em;
  }
  .page-about__community-intro {
    font-size: 1em;
  }
  .page-about__community-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__image,
  .page-about__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__intro-section .page-about__container,
  .page-about__why-choose-section .page-about__container,
  .page-about__responsibility-section .page-about__container,
  .page-about__community-section .page-about__container,
  .page-about__faq-section .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-about__faq-answer {
    padding: 0 20px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px 20px 20px 20px;
  }
}