.page-faq {
  --primary-color: #1A2E47;
  --secondary-color: #FFD700;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --bg-light: #f4f7f6;
  --bg-dark: #0f1c2e;
  --border-color: #e0e0e0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
}

.page-faq .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-faq .highlight {
  color: var(--secondary-color);
}

.page-faq .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq .cta-button:hover {
  background: #e6c200; /* Slightly darker secondary color */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-faq .cta-button.primary {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-faq .cta-button.secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  margin-left: 20px;
}

.page-faq .cta-button.secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

/* Hero Section */
.page-faq .hero-faq-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0f1c2e 100%);
  color: var(--text-color-light);
  padding: 80px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px; /* Ensure sufficient height */
}

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

.page-faq .hero-faq-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-faq .hero-faq-subtitle {
  font-size: 1.3em;
  opacity: 0.9;
  margin-bottom: 40px;
}

/* FAQ Section */
.page-faq .faq-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.page-faq .section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: 700;
}

.page-faq .section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-color-dark);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq .faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-faq .faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-faq .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-faq .faq-question:hover {
  background: #f5f5f5;
  color: var(--primary-color);
}

.page-faq .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--primary-color);
  font-weight: 600;
  flex-grow: 1;
}

.page-faq .faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-left: 15px;
  transition: transform 0.3s ease;
  line-height: 1;
}

.page-faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  border-top: 1px solid var(--border-color);
}

.page-faq .faq-item.active .faq-answer {
  max-height: 1000px; /* Sufficient height to accommodate content */
  padding: 25px;
  border-radius: 0 0 8px 8px;
}

.page-faq .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.page-faq .faq-answer p {
  margin-bottom: 15px;
  color: var(--text-color-dark);
}

.page-faq .faq-answer ul,
.page-faq .faq-answer ol {
  margin-bottom: 15px;
  padding-left: 25px;
  color: var(--text-color-dark);
}

.page-faq .faq-answer ul li,
.page-faq .faq-answer ol li {
  margin-bottom: 8px;
}

.page-faq .faq-answer h4 {
  color: var(--primary-color);
  font-size: 1.1em;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-faq .faq-cta-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.page-faq .faq-cta-button:hover {
  background: #2b4a6e; /* Slightly lighter primary color */
}

/* Call to Action Section */
.page-faq .call-to-action-section {
  background: var(--primary-color);
  color: var(--text-color-light);
  padding: 80px 20px;
  text-align: center;
}

.page-faq .cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-faq .cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-faq .cta-description {
  font-size: 1.2em;
  opacity: 0.9;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-faq .hero-faq-title {
    font-size: 2.5em;
  }
  .page-faq .hero-faq-subtitle {
    font-size: 1.1em;
  }
  .page-faq .section-title {
    font-size: 2em;
  }
  .page-faq .cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-faq .hero-faq-section {
    padding: 60px 15px;
  }
  .page-faq .hero-faq-title {
    font-size: 2em;
  }
  .page-faq .hero-faq-subtitle {
    font-size: 1em;
  }
  .page-faq .cta-button {
    padding: 12px 30px;
    font-size: 16px;
    margin-top: 20px;
  }
  .page-faq .cta-button.secondary {
    margin-left: 10px;
  }
  .page-faq .faq-section {
    padding: 40px 0;
  }
  .page-faq .section-title {
    font-size: 1.8em;
  }
  .page-faq .section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-faq .faq-question {
    padding: 15px 20px;
  }
  .page-faq .faq-question h3 {
    font-size: 1.1em;
  }
  .page-faq .faq-toggle {
    font-size: 24px;
  }
  .page-faq .faq-answer {
    padding: 0 20px;
  }
  .page-faq .faq-item.active .faq-answer {
    padding: 20px;
  }
  .page-faq .cta-title {
    font-size: 1.8em;
  }
  .page-faq .cta-description {
    font-size: 1em;
  }
  .page-faq .call-to-action-section {
    padding: 60px 15px;
  }
}

@media (max-width: 480px) {
  .page-faq .hero-faq-title {
    font-size: 1.6em;
  }
  .page-faq .hero-faq-subtitle {
    font-size: 0.9em;
  }
  .page-faq .cta-button {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .page-faq .cta-button.secondary {
    margin-top: 15px;
  }
  .page-faq .section-title {
    font-size: 1.6em;
  }
  .page-faq .faq-question h3 {
    font-size: 1em;
  }
  .page-faq .faq-answer ul,
  .page-faq .faq-answer ol {
    padding-left: 15px;
  }
  .page-faq .cta-title {
    font-size: 1.6em;
  }
  .page-faq .cta-description {
    font-size: 0.9em;
  }
}