/* style/faq.css */
:root {
  --primary-color: #0A1931;
  --secondary-color: #FFD700;
  --accent-color: #32CD32;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f8f8f8;
  --border-color: #e0e0e0;
}

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

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

.page-faq-hero {
  background-color: var(--primary-color);
  padding: 80px 0;
  text-align: center;
  color: var(--text-color-light);
}

.page-faq-hero-content h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  line-height: 1.2;
}

.page-faq-hero-content p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #e0e0e0;
}

.page-faq-hero-content a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-faq-cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-faq-cta-button:hover {
  background: var(--accent-color);
  color: var(--text-color-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-faq-section:nth-of-type(odd) {
  background-color: #ffffff;
}

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

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

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 2px 5px 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: #f5f5f5;
}

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

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
  max-height: 800px; /* Adjust as needed for content height */
  padding: 25px;
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  margin: 0;
  font-size: 1.05em;
}

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

.faq-answer a:hover {
  color: var(--secondary-color);
}

.page-faq-contact-cta {
  background-color: var(--primary-color);
  padding: 80px 0;
  text-align: center;
  color: var(--text-color-light);
}

.page-faq-contact-cta .page-faq-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-faq-contact-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-faq-contact-content h3 {
  font-size: 2.8em;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.page-faq-contact-content p {
  font-size: 1.15em;
  max-width: 700px;
  margin: 0 auto 30px auto;
  color: #e0e0e0;
}

.page-faq-contact-button {
  background-color: var(--accent-color);
  color: var(--text-color-light);
}

.page-faq-contact-button:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-faq-hero-content h1 {
    font-size: 2.8em;
  }
  .page-faq-hero-content p {
    font-size: 1.1em;
  }
  .page-faq-section-title {
    font-size: 2em;
  }
  .faq-question h3 {
    font-size: 1.15em;
  }
  .faq-answer p {
    font-size: 1em;
  }
  .page-faq-contact-content h3 {
    font-size: 2.2em;
  }
  .page-faq-contact-content p {
    font-size: 1.05em;
  }
}

@media (max-width: 768px) {
  .page-faq-hero {
    padding: 60px 0;
  }
  .page-faq-hero-content h1 {
    font-size: 2.2em;
  }
  .page-faq-hero-content p {
    font-size: 1em;
  }
  .page-faq-cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-faq-section {
    padding: 40px 0;
  }
  .page-faq-section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.05em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 20px;
  }
  .page-faq-contact-cta {
    padding: 60px 0;
  }
  .page-faq-contact-content h3 {
    font-size: 1.8em;
  }
  .page-faq-contact-content p {
    font-size: 0.95em;
  }
  .page-faq-contact-image {
    max-width: 100%;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .page-faq-hero {
    padding: 40px 0;
  }
  .page-faq-hero-content h1 {
    font-size: 1.8em;
  }
  .page-faq-hero-content p {
    font-size: 0.9em;
  }
  .page-faq-cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-faq-section {
    padding: 30px 0;
  }
  .page-faq-section-title {
    font-size: 1.5em;
    margin-bottom: 25px;
  }
  .faq-question {
    padding: 12px 15px;
  }
  .faq-question h3 {
    font-size: 0.95em;
  }
  .faq-toggle {
    font-size: 18px;
  }
  .faq-answer {
    padding: 0 15px;
  }
  .faq-item.active .faq-answer {
    padding: 15px;
  }
  .page-faq-contact-cta {
    padding: 40px 0;
  }
  .page-faq-contact-content h3 {
    font-size: 1.5em;
  }
  .page-faq-contact-content p {
    font-size: 0.9em;
  }
}