.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensuring consistency with body background */
}

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

.page-about__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  color: #ffffff;
  overflow: hidden;
}

.page-about__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-about__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.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;
  margin: 10px;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-about__btn-primary:hover {
  background-color: #e6c200;
  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: #003366;
}

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

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-about__mission-section,
.page-about__values-section,
.page-about__cta-section {
  padding: 80px 0;
  color: #333333; /* Dark text for light background */
}

.page-about__light-bg {
  background-color: #f5f5f5;
  color: #333333;
}

.page-about__dark-section {
  background-color: #003366;
  padding: 80px 0;
  color: #ffffff;
}

.page-about__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.page-about__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
}

.page-about__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

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

.page-about__mission-section p,
.page-about__values-section p {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 15px;
}

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

.page-about__feature-card,
.page-about__value-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
}

.page-about__feature-title,
.page-about__value-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-about__video-section {
  padding: 80px 0;
  text-align: center;
  background-color: #000000;
  color: #ffffff;
}

.page-about__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

.page-about__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-about__faq-section {
  padding: 80px 0;
  background-color: #003366;
  color: #ffffff;
}

.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;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-about__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.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;
  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 value */
  padding: 15px 25px 20px;
}

.page-about__faq-answer p {
  margin: 0;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-about__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #f5f5f5;
  color: #333333;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 2.8em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__content-grid {
    flex-direction: column;
  }
  .page-about__content-grid--reverse {
    flex-direction: column-reverse;
  }
  .page-about__sub-title {
    text-align: center;
  }
  .page-about__text-block {
    text-align: center;
  }
  .page-about__mission-section p,
  .page-about__values-section p {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    min-height: 450px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-about__main-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__section-description {
    font-size: 0.95em;
  }
  .page-about__mission-section,
  .page-about__values-section,
  .page-about__cta-section,
  .page-about__dark-section,
  .page-about__video-section,
  .page-about__faq-section {
    padding: 60px 0;
  }
  .page-about__features-grid,
  .page-about__values-grid {
    grid-template-columns: 1fr;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: calc(100% - 30px) !important;
    margin: 10px 15px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__image-wrapper,
  .page-about__video-wrapper,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-about__faq-answer {
    padding: 0 20px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 10px 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.6em;
  }
  .page-about__hero-section {
    min-height: 350px;
  }
  .page-about__sub-title {
    font-size: 1.5em;
  }
  .page-about__feature-title,
  .page-about__value-title {
    font-size: 1.3em;
  }
}