/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-about__dark-section {
  background-color: #0A2463; /* Main brand color for dark sections */
  color: #ffffff;
}

.page-about__hero-section {
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Ensure hero section has a decent height */
}

.page-about__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #E3B505; /* Accent color for main title */
  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;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  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%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background-color: #E3B505;
  color: #0A2463;
  border: 2px solid #E3B505;
}

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

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

.page-about__btn-secondary:hover {
  background-color: #E3B505;
  color: #0A2463;
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: #E3B505;
  text-align: center;
  margin-bottom: 40px;
}

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-about__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.page-about__text-content {
  flex: 1;
  min-width: 300px;
}

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

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

.page-about__paragraph {
  margin-bottom: 1em;
  color: #f0f0f0;
}

.page-about__paragraph a {
  color: #E3B505;
  text-decoration: underline;
}

.page-about__paragraph a:hover {
  color: #ffc81a;
}

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

.page-about__card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-about__card--dark {
  background-color: rgba(0, 0, 0, 0.2);
}

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

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

.page-about__value-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__value-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(227, 181, 5, 0.5));
}

.page-about__value-title {
  font-size: 1.5em;
  color: #E3B505;
  margin-bottom: 10px;
}

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

.page-about__team-member {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__team-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #E3B505;
}

.page-about__team-name {
  font-size: 1.6em;
  color: #E3B505;
  margin-bottom: 10px;
}

.page-about__team-role {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 15px;
}

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

.page-about__commitment-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-about__commitment-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__faq-section {
  background-color: #0d0d0d;
}

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

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: rgba(227, 181, 5, 0.1);
  border-bottom: 1px solid rgba(227, 181, 5, 0.2);
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: rgba(227, 181, 5, 0.2);
}

.page-about__faq-heading {
  font-size: 1.2em;
  color: #ffffff;
  margin: 0;
}

.page-about__faq-toggle {
  font-size: 1.8em;
  color: #E3B505;
  font-weight: bold;
  transition: transform 0.3s ease;
}

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

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

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

.page-about__contact-section {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__hero-description {
    font-size: 1.2em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    min-height: 400px;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
  }
  .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;
    max-width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .page-about__image-container {
    order: -1; /* Image appears above text on mobile */
  }
  .page-about__values-grid,
  .page-about__team-grid,
  .page-about__commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about__value-icon {
    width: 80px;
    height: 80px;
  }
  .page-about__team-image {
    width: 120px;
    height: 120px;
  }
  .page-about__faq-question {
    padding: 15px 20px;
  }
  .page-about__faq-heading {
    font-size: 1.1em;
  }
  .page-about__faq-answer {
    padding: 0 20px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 10px 20px;
  }
  /* Content area images must be responsive */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__content-wrapper,
  .page-about__values-grid,
  .page-about__team-grid,
  .page-about__commitment-grid,
  .page-about__faq-list,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}