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

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

.page-faq-hero {
  background: linear-gradient(135deg, #0A2463, #E3B23C);
  padding: 100px 0;
  color: #fff;
  text-align: center;
}

.page-faq-hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #fff;
}

.page-faq-highlight {
  color: #E3B23C;
}

.page-faq-hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-faq-section-title {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 60px;
  font-weight: bold;
}

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

.page-faq-btn-primary {
  background-color: #E3B23C;
  color: #0A2463;
}

.page-faq-btn-primary:hover {
  background-color: #d6a135;
  transform: translateY(-2px);
}

.page-faq-btn-secondary {
  background-color: #0A2463;
  color: #fff;
  padding: 10px 20px;
  font-size: 1em;
  border: 1px solid #0A2463;
}

.page-faq-btn-secondary:hover {
  background-color: #1a3a7c;
  border-color: #1a3a7c;
  transform: translateY(-2px);
}

.page-faq-btn-text {
  background: none;
  color: #0A2463;
  padding: 0;
  font-size: 1em;
  text-decoration: underline;
}

.page-faq-btn-text:hover {
  color: #E3B23C;
}

.page-faq-btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
  border-radius: 5px;
}

/* Categories Section */
.page-faq-categories {
  padding: 80px 0;
  background-color: #fff;
}

.page-faq-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-faq-category-item {
  background-color: #f0f4f7;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-faq-category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-faq-category-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2)); /* Add shadow for better visibility */
}

.page-faq-category-item h3 {
  font-size: 1.5em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-faq-category-item p {
  color: #555;
  font-size: 1em;
  margin-bottom: 20px;
}

/* Accordion Section */
.page-faq-accordion-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

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

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

.page-faq-accordion-header h3 {
  color: #fff;
  margin: 0;
  font-size: 1.25em;
}

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

.page-faq-accordion-icon {
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

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

.page-faq-accordion-content {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  background-color: #fff;
  color: #333;
}

.page-faq-accordion-item.active .page-faq-accordion-content {
  max-height: 500px; /* Adjust based on expected content length */
  padding: 20px 30px 30px;
}

.page-faq-accordion-content p {
  margin-bottom: 15px;
  font-size: 1em;
  color: #444;
}

.page-faq-accordion-content a {
  color: #0A2463;
  text-decoration: underline;
}

.page-faq-accordion-content a:hover {
  color: #E3B23C;
}

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

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

.page-faq-cta-subtitle {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

/* Floating Promo Menu */
.page-faq-floating-promo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.page-faq-floating-promo-toggle {
  background-color: #E3B23C;
  color: #0A2463;
  border: none;
  border-radius: 50px;
  padding: 12px 25px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-bottom: 10px;
}

.page-faq-floating-promo-toggle:hover {
  background-color: #d6a135;
  transform: translateY(-2px);
}

.page-faq-floating-promo-content {
  background-color: #0A2463;
  color: #fff;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  width: 250px;
  display: none; /* Hidden by default */
  flex-direction: column;
  align-items: center;
}

.page-faq-floating-promo-content.active {
  display: flex;
}

.page-faq-floating-promo-content p {
  margin-bottom: 15px;
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-faq-hero {
    padding: 80px 0;
  }

  .page-faq-hero-title {
    font-size: 2.5em;
  }

  .page-faq-hero-subtitle {
    font-size: 1em;
  }

  .page-faq-section-title {
    font-size: 2em;
  }

  .page-faq-category-grid {
    grid-template-columns: 1fr;
  }

  .page-faq-accordion-header {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-faq-accordion-header h3 {
    font-size: 1.1em;
  }

  .page-faq-accordion-content {
    padding: 15px 20px;
  }

  .page-faq-cta-title {
    font-size: 2em;
  }

  .page-faq-cta-subtitle {
    font-size: 1em;
  }

  .page-faq-floating-promo {
    bottom: 15px;
    right: 15px;
  }

  .page-faq-floating-promo-content {
    width: 200px;
  }
}

@media (max-width: 480px) {
  .page-faq-hero-title {
    font-size: 2em;
  }

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

  .page-faq-btn {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-faq-floating-promo-toggle {
    padding: 10px 20px;
    font-size: 1em;
  }
}