/* style/faq.css */

/* Variables for color scheme */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A202C; /* Charcoal Black */
  --accent-color-red: #E53E3E; /* Bright Red for emphasis */
  --accent-color-blue: #3182CE; /* Bright Blue for emphasis */
  --text-light: #ffffff;
  --text-dark: #1A202C;
  --background-light: #f8f8f8;
  --background-dark: #2D3748;
  --border-color: #e0e0e0;
}

.page-faq {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--background-light);
}

.page-faq-hero {
  background: linear-gradient(135deg, var(--secondary-color), #2D3748);
  color: var(--text-light);
  padding: 80px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.page-faq-hero p {
  font-size: 1.15em;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #E2E8F0; /* Slightly lighter text for readability on dark background */
}

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

.page-faq-cta-button:hover {
  background: #FFC107; /* Slightly darker gold on hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-faq-section {
  padding: 60px 20px;
  background-color: var(--background-light);
}

.page-faq-container {
  max-width: 1000px;
  margin: 0 auto;
}

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

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

.page-faq-section p {
  font-size: 1.05em;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 40px;
}

/* FAQ Item Styling */
.page-faq-list {
  margin-top: 30px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  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: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

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

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  border-top: 1px solid var(--border-color);
}

.faq-item.active .faq-answer {
  max-height: 1000px; /* Sufficient height for content */
  padding: 25px;
  border-radius: 0 0 8px 8px;
}

.faq-answer p {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 15px;
  text-align: left;
}

.faq-answer ul,
.faq-answer ol {
  margin-left: 25px;
  margin-bottom: 15px;
  color: var(--text-dark);
  text-align: left;
}

.faq-answer li {
  margin-bottom: 8px;
  font-size: 1em;
}

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

.faq-answer a:hover {
  text-decoration: underline;
}

.page-faq-image-full {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Bottom CTA Section */
.page-faq-cta-bottom {
  background-color: var(--secondary-color);
  color: var(--text-light);
  padding: 60px 20px;
  text-align: center;
}

.page-faq-cta-content h2 {
  font-size: 2.8em;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.page-faq-cta-content p {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #E2E8F0;
}

.page-faq-cta-content a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-faq-cta-content a:hover {
  color: #FFC107;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq-hero h1 {
    font-size: 2.8em;
  }
  .page-faq-hero p {
    font-size: 1.05em;
  }
  .page-faq-section h2 {
    font-size: 2.2em;
  }
  .faq-question h3 {
    font-size: 1.15em;
  }
  .page-faq-cta-content h2 {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-faq-hero {
    padding: 60px 15px;
  }
  .page-faq-hero h1 {
    font-size: 2.4em;
  }
  .page-faq-hero p {
    font-size: 1em;
  }
  .page-faq-cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .page-faq-section {
    padding: 40px 15px;
  }
  .page-faq-section h2 {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 1.5em;
  }
  .faq-answer {
    padding: 15px 20px;
  }
  .faq-answer p, .faq-answer ul, .faq-answer ol, .faq-answer li {
    font-size: 0.95em;
  }
  .page-faq-cta-bottom {
    padding: 40px 15px;
  }
  .page-faq-cta-content h2 {
    font-size: 2em;
  }
  .page-faq-cta-content p {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-faq-hero h1 {
    font-size: 2em;
  }
  .page-faq-hero p {
    font-size: 0.95em;
  }
  .page-faq-cta-button {
    font-size: 1em;
    padding: 10px 25px;
  }
  .page-faq-section h2 {
    font-size: 1.8em;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 1.3em;
  }
  .page-faq-cta-content h2 {
    font-size: 1.8em;
  }
  .page-faq-cta-content p {
    font-size: 0.95em;
  }
}