/* style/faq.css */

/* Base styles for the FAQ page */
.page-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background: var(--dark-bg-1);
}

/* Fixed navigation bar spacing */
.page-faq__hero-section {
  padding-top: 120px; /* Adjust for fixed header */
}

/* Hero Section */
.page-faq__hero-section {
  background: linear-gradient(135deg, #FFD700, #8B0000); /* Brand colors */
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-faq__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-faq__hero-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-faq__hero-description {
  font-size: 1.2em;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-faq__hero-description a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-faq__hero-description a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Content Section */
.page-faq__content-section {
  padding: 60px 20px;
  background: var(--dark-bg-2); /* Slightly different dark background */
  color: #f0f0f0;
}

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

.page-faq__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold color for main titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-faq__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.8;
  color: #cccccc;
}

.page-faq__highlight {
  color: #FFD700;
  font-weight: bold;
}

/* FAQ List */
.page-faq__faq-list {
  margin-top: 30px;
}

/* FAQ Item */
.page-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Question */
.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #333333; /* Dark background for questions */
  border: 1px solid #444444;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-faq__faq-question:hover {
  background: #444444;
  border-color: #555555;
}

.page-faq__faq-question:active {
  background: #555555;
}

.page-faq__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none; /* Prevent h3 from blocking click event */
}

/* FAQ Toggle Icon */
.page-faq__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Gold color for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.page-faq__faq-item.active .page-faq__faq-toggle {
  transform: rotate(45deg);
  color: #ffffff;
  background: #8B0000; /* Dark red when active */
}

/* FAQ Answer */
.page-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: #cccccc;
  background: #2a2a2a; /* Slightly lighter dark background for answer */
  border-radius: 0 0 8px 8px;
}

/* FAQ Answer - Active State */
.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-faq__faq-answer p {
  margin-bottom: 15px;
  color: #cccccc;
}

.page-faq__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-faq__faq-answer ol,
.page-faq__faq-answer ul {
  margin-left: 25px;
  margin-bottom: 15px;
}

.page-faq__faq-answer li {
  margin-bottom: 8px;
  color: #cccccc;
}

.page-faq__faq-answer a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-faq__faq-answer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Call to Action Section */
.page-faq__cta-section {
  text-align: center;
  padding: 60px 30px;
  background: #1a1a1a; /* Even darker background for CTA */
  border-radius: 10px;
  margin-top: 60px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-faq__cta-title {
  font-size: 2.2em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-faq__cta-description {
  font-size: 1.1em;
  color: #cccccc;
  margin-bottom: 30px;
  line-height: 1.7;
}

.page-faq__cta-button {
  display: inline-block;
  background: #8B0000; /* Dark red button */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #8B0000;
}

.page-faq__cta-button:hover {
  background: #a00000;
  transform: translateY(-3px);
  border-color: #a00000;
}

.page-faq__cta-note {
  margin-top: 25px;
  font-size: 0.95em;
  color: #999999;
}

.page-faq__cta-note a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-faq__cta-note a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq__hero-title {
    font-size: 2.8em;
  }
  .page-faq__section-title {
    font-size: 2.2em;
  }
  .page-faq__faq-question h3 {
    font-size: 1.05em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-top: 100px; /* Adjust for mobile fixed header */
    padding: 60px 15px;
  }
  .page-faq__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-faq__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-faq__content-section {
    padding: 40px 15px;
  }
  .page-faq__section-title {
    font-size: 2em;
    margin-bottom: 25px;
  }
  .page-faq__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-faq__faq-question {
    padding: 18px 20px;
  }
  .page-faq__faq-question h3 {
    font-size: 1em;
  }
  .page-faq__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
    margin-left: 15px;
  }
  .page-faq__faq-answer {
    padding: 0 20px;
  }
  .page-faq__faq-item.active .page-faq__faq-answer {
    padding: 15px 20px !important;
  }
  .page-faq__cta-section {
    padding: 40px 20px;
    margin-top: 40px;
  }
  .page-faq__cta-title {
    font-size: 1.8em;
  }
  .page-faq__cta-description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-faq__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-faq__cta-note {
    margin-top: 20px;
  }

  /* Mobile image responsive styles */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-faq__hero-container,
  .page-faq__container,
  .page-faq__faq-item,
  .page-faq__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: 1.8em;
  }
  .page-faq__section-title {
    font-size: 1.6em;
  }
  .page-faq__faq-question h3 {
    font-size: 0.95em;
  }
  .page-faq__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  .page-faq__cta-title {
    font-size: 1.5em;
  }
}