.page-faq {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f4f7f6;
}

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

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

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

.page-faq-intro {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq-hero-image-wrapper {
  margin-bottom: 30px;
}

.page-faq-hero-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-faq-cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.3em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
}

.page-faq-cta-button:hover {
  background: #FFEB3B;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Content Section */
.page-faq-content {
  padding: 60px 0;
}

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

.page-faq-section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.faq-item {
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.faq-question:hover {
  background: #f0f0f0;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--primary-color);
}

.faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
}

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

.faq-answer p {
  margin-bottom: 15px;
  color: #555;
}

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

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

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

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

.page-faq-inline-button:hover {
  background: #FFEB3B;
  transform: translateY(-1px);
}

.page-faq-image-wrapper {
  text-align: center;
  margin: 25px 0;
}

.page-faq-content-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Bottom CTA Section */
.page-faq-cta-bottom {
  background: var(--primary-color);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-faq-cta-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.page-faq-cta-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-faq-cta-button-bottom {
  display: inline-block;
  padding: 20px 50px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 10px;
  font-size: 1.5em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
}

.page-faq-cta-button-bottom:hover {
  background: #FFEB3B;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-faq-main-title {
    font-size: 2.5em;
  }
  .page-faq-section-title {
    font-size: 2em;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .page-faq-cta-button {
    padding: 15px 35px;
    font-size: 1.1em;
  }
  .page-faq-cta-title {
    font-size: 2em;
  }
  .page-faq-cta-button-bottom {
    padding: 15px 35px;
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-faq-hero {
    padding: 40px 0;
  }
  .page-faq-main-title {
    font-size: 2em;
  }
  .page-faq-intro {
    font-size: 1em;
  }
  .page-faq-section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .faq-question {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 20px;
  }
  .faq-question h3 {
    margin-bottom: 10px;
    font-size: 1em;
  }
  .faq-toggle {
    align-self: flex-end;
    margin-top: -30px;
    font-size: 1.5em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 20px;
  }
  .page-faq-cta-bottom {
    padding: 50px 0;
  }
  .page-faq-cta-title {
    font-size: 1.8em;
  }
  .page-faq-cta-description {
    font-size: 0.95em;
  }
  .page-faq-cta-button-bottom {
    padding: 12px 25px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-faq-main-title {
    font-size: 1.8em;
  }
  .page-faq-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-faq-section-title {
    font-size: 1.5em;
  }
  .faq-question h3 {
    font-size: 0.9em;
  }
  .page-faq-cta-title {
    font-size: 1.5em;
  }
}