/* style/faq.css */

:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --dark-background: #000080; /* Deep Navy */
  --text-light: #FFFFFF;
  --text-dark: #333333;
  --accent-color: #FF4500; /* OrangeRed for highlight */
  --border-color: #e0e0e0;
  --bg-light: #f9f9f9;
}

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

.page-faq__hero-section {
  background: linear-gradient(135deg, var(--dark-background) 0%, #000066 100%);
  padding: 80px 20px;
  text-align: center;
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__hero-container {
  max-width: 900px;
  margin: 0 auto;
}

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

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

.page-faq__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--primary-color);
  color: var(--dark-background);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

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

.page-faq__cta-button--secondary {
  background: var(--secondary-color);
  color: var(--text-light);
  margin-left: 15px;
}

.page-faq__cta-button--secondary:hover {
  background: #a30000;
}

.page-faq__cta-button--small {
  padding: 10px 25px;
  font-size: 1em;
  margin-top: 20px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-faq__section-title {
  font-size: 2.2em;
  color: var(--dark-background);
  margin-top: 50px;
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 15px;
  font-weight: bold;
}

.page-faq__faq-list {
  background-color: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  padding: 30px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--text-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
  color: var(--text-dark);
}

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

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

.faq-toggle {
  font-size: 24px;
  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(--secondary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fcfcfc;
  color: var(--text-dark);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #555;
}

.page-faq__image-content {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-faq__contact-cta {
  margin-top: 60px;
  padding: 40px;
  background-color: var(--dark-background);
  color: var(--text-light);
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-faq__contact-title {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-faq__contact-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-faq__hero-title {
    font-size: 2.8em;
  }
  .page-faq__hero-description {
    font-size: 1.1em;
  }
  .page-faq__section-title {
    font-size: 2em;
  }
  .page-faq__contact-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 60px 15px;
  }
  .page-faq__hero-title {
    font-size: 2.2em;
  }
  .page-faq__hero-description {
    font-size: 1em;
  }
  .page-faq__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    margin-bottom: 15px;
  }
  .page-faq__cta-button--secondary {
    margin-left: 0;
  }
  .page-faq__content-section {
    padding: 40px 15px;
  }
  .page-faq__faq-list {
    padding: 20px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-faq__contact-cta {
    padding: 30px 20px;
  }
  .page-faq__contact-title {
    font-size: 1.8em;
  }
  .page-faq__contact-description {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: 1.8em;
  }
  .page-faq__cta-button {
    width: 100%;
    margin-bottom: 10px;
  }
  .page-faq__cta-button--secondary {
    margin-left: 0;
  }
  .faq-question h3 {
    font-size: 0.95em;
  }
  .page-faq__section-title {
    font-size: 1.6em;
  }
  .page-faq__contact-title {
    font-size: 1.6em;
  }
}