/* style/faq.css */
.page-faq {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

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

/* Hero Section */
.page-faq-hero {
  background: linear-gradient(135deg, #FFD700, #8B0000);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

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

.page-faq-hero-subtitle {
  font-size: 1.5em;
  opacity: 0.9;
}

/* Content Section - Accordion */
.page-faq-content {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-faq-accordion {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-faq-accordion-item {
  border-bottom: 1px solid #eee;
}

.page-faq-accordion-item:last-child {
  border-bottom: none;
}

.page-faq-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 25px 30px;
  background-color: #fff;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 1.3em;
  font-weight: bold;
  color: #333;
  transition: background-color 0.3s ease;
}

.page-faq-accordion-header:hover {
  background-color: #f0f0f0;
}

.page-faq-accordion-header h3 {
  margin: 0;
  color: #333;
}

.page-faq-icon {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #8B0000;
}

.page-faq-accordion-header.active .page-faq-icon {
  transform: rotate(45deg);
}

.page-faq-accordion-body {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-faq-accordion-body.active {
  max-height: 500px; /* Adjust as needed for content */
  padding: 15px 30px 25px;
}

.page-faq-accordion-body p {
  margin: 0;
  color: #555;
}

.page-faq-highlight {
  color: #8B0000;
  font-weight: bold;
}

.page-faq-link {
  color: #8B0000;
  text-decoration: underline;
}

.page-faq-link:hover {
  color: #FFD700;
}

/* Call to Action Section */
.page-faq-cta {
  padding: 80px 0;
  background-color: #eee;
  text-align: center;
}

.page-faq-cta-card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
  gap: 30px;
}

.page-faq-cta-image-wrapper {
  flex-shrink: 0;
  width: 100%;
  max-width: 400px; /* Limit image size */
}

.page-faq-cta-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.page-faq-cta-content {
  text-align: center;
}

.page-faq-cta-title {
  font-size: 2.8em;
  color: #8B0000;
  margin-bottom: 20px;
}

.page-faq-cta-description {
  font-size: 1.3em;
  color: #555;
  margin-bottom: 30px;
}

.page-faq-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-faq-btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.page-faq-btn-primary {
  background-color: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
}

.page-faq-btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-faq-btn-secondary {
  background-color: #8B0000;
  color: #fff;
  border: 2px solid #8B0000;
}

.page-faq-btn-secondary:hover {
  background-color: #6a0000;
  border-color: #6a0000;
}

/* Responsive Design */
@media (min-width: 768px) {
  .page-faq-cta-card {
    flex-direction: row;
    text-align: left;
  }
  .page-faq-cta-image-wrapper {
    max-width: 300px;
  }
  .page-faq-cta-content {
    text-align: left;
    flex-grow: 1;
  }
  .page-faq-cta-buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .page-faq-hero-title {
    font-size: 2.5em;
  }
  .page-faq-hero-subtitle {
    font-size: 1.2em;
  }
  .page-faq-accordion-header {
    padding: 20px 20px;
    font-size: 1.1em;
  }
  .page-faq-accordion-body.active {
    padding: 10px 20px 20px;
  }
  .page-faq-cta-title {
    font-size: 2em;
  }
  .page-faq-cta-description {
    font-size: 1em;
  }
  .page-faq-cta-card {
    padding: 30px 20px;
  }
}