/* style/faq.css */
.page-faq {
  font-family: 'Arial', sans-serif;
  color: #1A202C; /* Main text color */
  background-color: #f8f8f8; /* Light background for content */
  line-height: 1.6;
}

.page-faq-hero {
  background: linear-gradient(135deg, #1A202C 0%, #3a455a 100%); /* Dark gradient for hero */
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-faq-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract,geometric,dark_pattern]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-faq-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 1;
}

.page-faq-title {
  font-size: 3.2em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #ffffff;
}

.page-faq-title .highlight {
  color: #FFD700; /* Accent color for highlight */
}

.page-faq-subtitle {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-faq-hero-actions .page-faq-btn {
  margin: 0 10px;
}

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

.page-faq-btn.primary {
  background-color: #FFD700; /* Accent color for primary button */
  color: #1A202C; /* Dark text on accent background */
}

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

.page-faq-btn.secondary {
  background-color: transparent;
  color: #FFD700; /* Accent text on dark background */
  border: 2px solid #FFD700;
}

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

.page-faq-btn.small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-faq-content-section {
  padding: 60px 0;
}

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

@media (min-width: 768px) {
  .page-faq-grid {
    grid-template-columns: 250px 1fr;
  }
}

.page-faq-sidebar {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-faq-sidebar-title {
  font-size: 1.5em;
  color: #1A202C;
  margin-bottom: 25px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-faq-category-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-faq-category-list li {
  margin-bottom: 15px;
}

.page-faq-category-link {
  text-decoration: none;
  color: #1A202C;
  font-weight: 500;
  display: block;
  padding: 8px 10px;
  border-radius: 5px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.page-faq-category-link:hover,
.page-faq-category-link.active {
  background-color: #FFD700;
  color: #1A202C;
}

.page-faq-sidebar-cta {
  background-color: #1A202C;
  color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin-top: 30px;
}

.page-faq-sidebar-cta p {
  margin-bottom: 15px;
  font-size: 0.95em;
}

.page-faq-sidebar-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 25px;
  object-fit: cover;
}

.page-faq-main {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-faq-category {
  margin-bottom: 40px;
}

.page-faq-category-heading {
  font-size: 2em;
  color: #1A202C;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
}

.page-faq-accordion-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-faq-accordion-header {
  background-color: #f5f5f5;
  color: #1A202C;
  padding: 18px 25px;
  width: 100%;
  text-align: left;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

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

.page-faq-accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-faq-accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-faq-accordion-content {
  padding: 0 25px;
  background-color: #ffffff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-faq-accordion-content.open {
  max-height: 500px; /* Adjust based on expected content height */
  padding: 20px 25px;
}

.page-faq-accordion-content p {
  margin-bottom: 15px;
  color: #333;
}

.page-faq-accordion-content p:last-child {
  margin-bottom: 0;
}

.page-faq-accordion-content a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-faq-accordion-content a:hover {
  text-decoration: underline;
}

.page-faq-content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-faq-cta-bottom {
  background-color: #1A202C;
  color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.page-faq-cta-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract,geometric,dark_pattern]') no-repeat center center/cover;
  opacity: 0.15;
  z-index: 0;
}

.page-faq-cta-image {
  max-width: 150px;
  height: auto;
  border-radius: 50%;
  border: 5px solid #FFD700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  position: relative;
  z-index: 1;
}

.page-faq-cta-text {
  position: relative;
  z-index: 1;
}

.page-faq-cta-title {
  font-size: 2.2em;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-faq-cta-description {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: #e0e0e0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-faq-title {
    font-size: 2.5em;
  }
  .page-faq-category-heading {
    font-size: 1.8em;
  }
  .page-faq-cta-title {
    font-size: 1.8em;
  }
}

@media (max-width: 767px) {
  .page-faq-hero {
    padding: 60px 15px;
  }
  .page-faq-title {
    font-size: 2em;
  }
  .page-faq-subtitle {
    font-size: 1em;
  }
  .page-faq-hero-actions .page-faq-btn {
    display: block;
    margin: 10px auto;
    width: 80%;
  }
  .page-faq-sidebar {
    padding: 20px 15px;
  }
  .page-faq-main {
    padding: 20px;
  }
  .page-faq-category-heading {
    font-size: 1.5em;
  }
  .page-faq-accordion-header {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-faq-accordion-content.open {
    padding: 15px 20px;
  }
  .page-faq-cta-bottom {
    padding: 30px;
  }
  .page-faq-cta-title {
    font-size: 1.5em;
  }
  .page-faq-cta-description {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-faq-title {
    font-size: 1.8em;
  }
  .page-faq-category-heading {
    font-size: 1.3em;
  }
  .page-faq-cta-title {
    font-size: 1.3em;
  }
}