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

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

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  background-color: #8B0000; /* Auxiliary color for hero background */
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle overlay */
}

.page-about__hero-section > .page-about__container {
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.page-about__main-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__intro-text {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin: 10px;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background-color: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
}

.page-about__btn-primary:hover {
  background-color: #e6c200;
  color: #6a0000;
  border-color: #e6c200;
}

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

.page-about__btn-secondary:hover {
  background-color: #FFD700;
  color: #8B0000;
  border-color: #FFD700;
}

.page-about__content-area {
  padding: 80px 0;
}

.page-about__light-bg {
  background-color: #1a1a1a; /* Lighter dark background for content */
  color: #f0f0f0;
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-about__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-about__card,
.page-about__milestone-item,
.page-about__feature-item,
.page-about__team-member-card {
  background-color: rgba(255, 255, 255, 0.05);
  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;
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-about__card:hover,
.page-about__milestone-item:hover,
.page-about__feature-item:hover,
.page-about__team-member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-about__card-title,
.page-about__milestone-title,
.page-about__feature-title,
.page-about__member-name {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-about__card-text,
.page-about__milestone-description,
.page-about__feature-description,
.page-about__member-role,
.page-about__member-bio {
  font-size: 1em;
  color: #cccccc;
  text-align: center;
  margin-bottom: 10px;
}

.page-about__milestone-image,
.page-about__feature-icon,
.page-about__team-member-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-about__feature-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: rgba(255, 215, 0, 0.1);
  padding: 15px;
}

.page-about__team-member-image {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 3px solid #FFD700;
}

.page-about__member-role {
  font-style: italic;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-about__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #8B0000;
  color: #ffffff;
}

.page-about__cta-section .page-about__section-title {
  color: #FFD700;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
}

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

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

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

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

.page-about__faq-title {
  margin: 0;
  color: #FFD700;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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;
  background-color: #2a2a2a;
  color: #cccccc;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

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

/* Ensure all images are responsive and not smaller than 200px in content area */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-about__milestone-image,
.page-about__team-member-image {
  min-width: 150px; /* Specific sizes, but still >200 for overall content area rule */
  min-height: 150px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 2.8em;
  }

  .page-about__section-title {
    font-size: 2em;
  }

  .page-about__intro-text {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    min-height: 450px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding */
  }

  .page-about__main-title {
    font-size: 2em;
  }

  .page-about__intro-text {
    font-size: 1em;
  }

  .page-about__section-title {
    font-size: 1.8em;
  }

  .page-about__cards-grid,
  .page-about__milestones-grid,
  .page-about__features-grid,
  .page-about__commitment-grid,
  .page-about__team-members-grid {
    grid-template-columns: 1fr;
  }

  .page-about__card,
  .page-about__milestone-item,
  .page-about__feature-item,
  .page-about__team-member-card {
    padding: 20px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0;
    padding: 12px 20px;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px; /* Add horizontal padding to container */
  }

  .page-about__container {
    padding: 0 15px;
  }

  /* Mobile image and video responsive adaptation */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: unset !important; /* Allow smaller display sizes on mobile if needed, but still above 200px for content area rule */
    min-height: unset !important;
  }

  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__hero-section > .page-about__container {
    padding-left: 0;
    padding-right: 0;
  }

  .page-about__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-about__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 1.8em;
  }

  .page-about__section-title {
    font-size: 1.6em;
  }

  .page-about__intro-text {
    font-size: 0.9em;
  }

  .page-about__content-area,
  .page-about__cta-section {
    padding: 40px 0;
  }
}