.page-faq {
  --primary-color: #003366;
  --secondary-color: #FFD700;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #002244;
  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;
}

/* Hero Section */
.page-faq .faq-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #004488 100%);
  color: var(--text-color-light);
  padding: 80px 0;
  text-align: center;
  border-bottom: 5px solid var(--secondary-color);
}

.page-faq .hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-faq .hero-subtitle {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  opacity: 0.9;
}

.page-faq .hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-faq .cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid var(--secondary-color);
}

.page-faq .cta-button:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

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

.page-faq .section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

.page-faq .faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-faq .faq-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

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

.page-faq .faq-question:hover {
  background: #f5f5f5;
}

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

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

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

.page-faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding: 0 20px;
  background: #f9f9f9;
  color: var(--text-color-dark);
}

.page-faq .faq-item.active .faq-answer {
  max-height: 1000px; /* Sufficient height for content */
  padding: 20px;
  border-top: 1px solid #e0e0e0;
}

.page-faq .faq-answer p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-faq .faq-answer ol, .page-faq .faq-answer ul {
  margin-left: 25px;
  margin-bottom: 15px;
}

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

.page-faq .faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-faq .faq-answer a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

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

.page-faq .faq-img {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Call to Action Section */
.page-faq .call-to-action {
  background: var(--primary-color);
  color: var(--text-color-light);
  padding: 60px 0;
  text-align: center;
  margin-top: 40px;
  border-top: 5px solid var(--secondary-color);
}

.page-faq .cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-faq .cta-description {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 40px auto;
  opacity: 0.9;
}

.page-faq .call-to-action .cta-button {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

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

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

@media (max-width: 768px) {
  .page-faq .hero-title {
    font-size: 2.2em;
  }
  .page-faq .hero-subtitle {
    font-size: 1.1em;
  }
  .page-faq .hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq .cta-button {
    width: 80%;
    max-width: 300px;
  }
  .page-faq .section-title {
    font-size: 1.8em;
  }
  .page-faq .faq-question h3 {
    font-size: 1.1em;
  }
  .page-faq .faq-toggle {
    font-size: 24px;
  }
  .page-faq .faq-answer p, .page-faq .faq-answer li {
    font-size: 0.95em;
  }
  .page-faq .cta-title {
    font-size: 1.8em;
  }
}

@media (max-width: 480px) {
  .page-faq .hero-title {
    font-size: 1.8em;
  }
  .page-faq .hero-subtitle {
    font-size: 1em;
  }
  .page-faq .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-faq .section-title {
    font-size: 1.6em;
  }
  .page-faq .faq-question h3 {
    font-size: 1em;
  }
  .page-faq .faq-toggle {
    font-size: 20px;
  }
  .page-faq .faq-answer {
    padding: 15px;
  }
  .page-faq .faq-answer ol, .page-faq .faq-answer ul {
    margin-left: 20px;
  }
  .page-faq .cta-title {
    font-size: 1.6em;
  }
}