.page-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #f8f8f8; /* Light background for the page */
}

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

/* Ensure content is not covered by fixed header */
.page-faq__hero-section {
  padding-top: 120px; /* Adjust based on shared header height */
  padding-bottom: 60px;
  background-color: #ffffff;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-faq__main-title {
  font-size: 42px;
  color: #1A2B4C;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-faq__hero-description {
  font-size: 18px;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-faq__keyword {
  color: #1A2B4C;
  font-weight: bold;
}

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

.page-faq__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #1A2B4C; /* Primary brand color */
  color: #ffffff;
  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.15);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Responsive button */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__cta-button:hover {
  background: #0d1a33;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-faq__cta-button--secondary {
  background: #FFD700; /* Secondary brand color */
  color: #1A2B4C;
  border: 2px solid #FFD700;
}

.page-faq__cta-button--secondary:hover {
  background: #e6c200;
  color: #1A2B4C;
  border-color: #e6c200;
}

.page-faq__content-area {
  padding: 60px 0;
}

.page-faq__section-title {
  font-size: 36px;
  color: #1A2B4C;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

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

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-faq__faq-item.active .page-faq__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

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

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

.page-faq__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #1A2B4C;
  pointer-events: none;
}

.page-faq__faq-toggle {
  font-size: 28px;
  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: 32px;
  height: 32px;
}

.page-faq__faq-item.active .page-faq__faq-toggle {
  color: #1A2B4C;
  transform: rotate(180deg);
}

.page-faq__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 25px;
  opacity: 0;
  background: #f9f9f9;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 0 0 8px 8px;
}

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain content */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-faq__faq-answer p {
  margin-top: 0;
  margin-bottom: 15px;
  color: #444444;
  font-size: 16px;
}

.page-faq__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-faq__inline-button {
  display: inline-block;
  padding: 10px 20px;
  background: #FFD700;
  color: #1A2B4C;
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  margin-top: 10px;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__inline-button:hover {
  background: #e6c200;
}

.page-faq__download-cta {
  background-color: #1A2B4C; /* Dark brand color */
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

.page-faq__section-title--white {
  color: #ffffff;
}

.page-faq__download-description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-faq__cta-button--primary-dark {
  background: #FFD700;
  color: #1A2B4C;
  border: 2px solid #FFD700;
}

.page-faq__cta-button--primary-dark:hover {
  background: #e6c200;
  color: #1A2B4C;
  border-color: #e6c200;
}

.page-faq__download-image {
  max-width: 600px;
  height: auto;
  margin-top: 50px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__main-title {
    font-size: 38px;
  }
  .page-faq__section-title {
    font-size: 32px;
  }
  .page-faq__faq-question h3 {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-top: 100px !important; /* Mobile padding for fixed header */
    padding-bottom: 40px;
  }
  .page-faq__main-title {
    font-size: 30px;
    line-height: 1.3;
  }
  .page-faq__hero-description,
  .page-faq__download-description {
    font-size: 16px;
    padding: 0 15px;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-faq__cta-button,
  .page-faq__cta-button--secondary,
  .page-faq__cta-button--primary-dark,
  .page-faq__inline-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-faq__content-area {
    padding: 40px 0;
  }
  .page-faq__section-title {
    font-size: 28px;
    margin-bottom: 30px;
    padding: 0 15px;
  }
  .page-faq__faq-list {
    padding: 0 15px;
  }
  .page-faq__faq-question {
    padding: 15px 20px;
  }
  .page-faq__faq-question h3 {
    font-size: 16px;
    line-height: 1.4;
  }
  .page-faq__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-faq__faq-answer {
    padding: 0 20px;
  }
  .page-faq__faq-item.active .page-faq__faq-answer {
    padding: 15px 20px !important;
  }
  .page-faq__faq-answer p {
    font-size: 15px;
  }
  .page-faq__download-cta {
    padding: 60px 15px;
  }
  .page-faq__download-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 30px;
    border-radius: 8px;
    box-sizing: border-box !important;
  }
  .page-faq img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: 26px;
  }
  .page-faq__section-title {
    font-size: 24px;
  }
  .page-faq__faq-question h3 {
    font-size: 15px;
  }
  .page-faq__cta-button {
    font-size: 15px;
  }
}