.page-faq {
  color: #ffffff; /* Dark body background #0a0a0a, so use light text */
  background-color: transparent; /* Main content background will be transparent to show body background */
}

.page-faq__hero-faq-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 180px; /* Desktop: Adjust for fixed header */
  background: linear-gradient(135deg, #0A2463, #1a3a7a);
  color: #ffffff;
  box-sizing: border-box;
}

.page-faq__hero-faq-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-faq__hero-faq-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-faq__hero-faq-title .highlight {
  color: #E3B505;
}

.page-faq__hero-faq-description {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.9;
}

.page-faq__faq-list-section {
  padding: 60px 20px;
  background-color: #0a0a0a; /* Ensure section background for contrast */
  box-sizing: border-box;
}

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

.page-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.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 20px;
  opacity: 0;
  background: #1c1c1c;
  color: #f0f0f0;
}

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: #1c1c1c;
  border-radius: 0 0 5px 5px;
}

.page-faq__faq-answer p {
  margin-bottom: 10px;
  line-height: 1.7;
}

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

.page-faq__faq-answer a {
  color: #E3B505; /* Gold color for links in answers */
  text-decoration: none;
  font-weight: bold;
}

.page-faq__faq-answer a:hover {
  text-decoration: underline;
  color: #f0c23a;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #0A2463; /* Dark blue background for questions */
  border: 1px solid #1a3a7a;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

.page-faq__faq-question:hover {
  background: #1a3a7a;
  border-color: #2a509a;
}

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

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

.page-faq__faq-toggle {
  font-size: 28px; /* Slightly larger for better visibility */
  font-weight: bold;
  line-height: 1;
  color: #E3B505; /* Gold color for toggle icon */
  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; /* Adjusted size */
  height: 32px; /* Adjusted size */
}

.page-faq__faq-item.active .page-faq__faq-toggle {
  color: #f0c23a;
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-faq__cta-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0A2463, #1a3a7a); /* Consistent with hero */
  text-align: center;
  color: #ffffff;
  box-sizing: border-box;
}

.page-faq__cta-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-faq__cta-image {
  max-width: 400px; /* Adjust size for content image */
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-faq__cta-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-faq__cta-title .highlight {
  color: #E3B505;
}

.page-faq__cta-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 700px;
  opacity: 0.9;
}

.page-faq__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: linear-gradient(45deg, #E3B505, #f0c23a); /* Gold gradient */
  color: #0A2463; /* Dark blue text for contrast */
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(227, 181, 5, 0.4);
  border: none;
}

.page-faq__cta-button:hover {
  background: linear-gradient(45deg, #f0c23a, #e3b505);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 20px rgba(227, 181, 5, 0.6);
  color: #071a47;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq__hero-faq-title {
    font-size: 42px;
  }
  .page-faq__cta-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-faq img {
    max-width: 100% !important;
    height: auto !important;
  }
  
  .page-faq__hero-faq-section,
  .page-faq__faq-list-section,
  .page-faq__cta-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }

  .page-faq__hero-faq-section {
    padding-top: 160px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
  }

  .page-faq__hero-faq-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-faq__hero-faq-description {
    font-size: 16px;
  }

  .page-faq__faq-list-section {
    padding: 40px 15px;
  }

  .page-faq__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-faq__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-faq__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  
  .page-faq__faq-answer {
    padding: 0 15px;
  }
  
  .page-faq__faq-item.active .page-faq__faq-answer {
    padding: 15px !important;
  }

  .page-faq__cta-section {
    padding: 50px 15px;
  }

  .page-faq__cta-image {
    max-width: 300px;
    margin-bottom: 20px;
  }

  .page-faq__cta-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-faq__cta-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-faq__cta-button {
    padding: 15px 35px;
    font-size: 18px;
  }

  .page-faq__section,
  .page-faq__card,
  .page-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}