.page-faq {
  color: #f0f0f0;
  background-color: #0a0a0a; /* Dark background from shared.css */
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 120px; /* Adjusted for fixed header on desktop */
  background: linear-gradient(135deg, #1A2B4C, #3A507C);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-faq__hero-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700; /* Gold color for main title */
}

.page-faq__hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-faq__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, #FFD700, #FFA500); /* Gold gradient */
  color: #1A2B4C;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-faq__cta-button:hover {
  background: linear-gradient(135deg, #FFA500, #FFD700);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  color: #000000;
}

.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-faq__section-title {
  font-size: 32px;
  font-weight: bold;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
}

.page-faq__section-description {
  font-size: 17px;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

.page-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark background */
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.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;
}

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0 0 8px 8px;
}

.page-faq__faq-answer p {
  color: #ffffff;
  line-height: 1.7;
  font-size: 16px;
}

.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
  color: #ffffff;
  line-height: 1.7;
  font-size: 16px;
  margin-left: 20px;
  margin-bottom: 10px;
}

.page-faq__faq-answer li {
  margin-bottom: 8px;
}

.page-faq__faq-answer strong {
  color: #FFD700;
}

.page-faq__faq-answer a {
  color: #87CEEB; /* Light blue for links in answers */
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

.page-faq__faq-question:hover {
  background: #2A3E62;
  border-color: #4A608C;
}

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

.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;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  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;
  border: 2px solid #FFD700;
  border-radius: 50%;
}

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

.page-faq__contact-promo {
  background: linear-gradient(135deg, #1A2B4C, #3A507C);
  padding: 60px 20px;
  text-align: center;
  margin-top: 60px;
  color: #ffffff;
  border-top: 5px solid #FFD700;
}

.page-faq__contact-promo-container {
  max-width: 800px;
  margin: 0 auto;
}

.page-faq__contact-promo-title {
  font-size: 34px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-faq__contact-promo-text {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-faq__contact-promo-button {
  display: inline-block;
  padding: 15px 30px;
  background: #ffffff;
  color: #1A2B4C;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  margin: 0 10px 15px 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
}

.page-faq__contact-promo-button:hover {
  background: #e0e0e0;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-faq__contact-promo-button--primary {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1A2B4C;
  border-color: #FFD700;
}

.page-faq__contact-promo-button--primary:hover {
  background: linear-gradient(135deg, #FFA500, #FFD700);
  color: #000000;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-top: 100px !important; /* Adjusted for fixed header on mobile */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__hero-title {
    font-size: 30px;
  }

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

  .page-faq__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-faq__content-area {
    padding: 20px 15px;
  }

  .page-faq__section-title {
    font-size: 26px;
  }

  .page-faq__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .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__faq-answer p,
  .page-faq__faq-answer ul,
  .page-faq__faq-answer ol {
    font-size: 15px;
  }

  .page-faq__contact-promo {
    padding: 40px 15px;
    margin-top: 40px;
  }

  .page-faq__contact-promo-title {
    font-size: 28px;
  }

  .page-faq__contact-promo-text {
    font-size: 16px;
  }

  .page-faq__contact-promo-button {
    width: 100%;
    margin: 0 0 10px 0;
    font-size: 15px;
    padding: 12px 20px;
  }

  /* General image responsive styles */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-faq__section,
  .page-faq__card,
  .page-faq__container,
  .page-faq__hero-section,
  .page-faq__faq-list-section,
  .page-faq__contact-promo {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-faq__faq-list-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-faq__faq-list {
    padding-left: 15px;
    padding-right: 15px;
  }
}