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

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

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

.page-faq .hero-faq-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #003366 100%);
  color: var(--text-light);
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-faq .hero-faq-content {
  max-width: 800px;
  margin-bottom: 40px;
}

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

.page-faq .hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq .hero-faq-image {
  width: 100%;
  max-width: 900px;
  margin-top: 20px;
}

.page-faq .hero-faq-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-faq .section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
  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;
}

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

.page-faq .faq-item {
  background: var(--text-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

.page-faq .faq-question:hover {
  background: var(--background-medium);
  color: var(--primary-color);
}

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

.page-faq .faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  line-height: 1;
  width: 30px;
  text-align: center;
}

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

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

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

.page-faq .faq-answer p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-faq .faq-answer img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin-top: 15px;
  margin-bottom: 15px;
  display: block;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.page-faq .cta-bottom-section .section-title {
  color: var(--secondary-color);
}

.page-faq .cta-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #e0e0e0;
}

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

.page-faq .cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-faq .cta-button-small:hover {
  background: #e6c200;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

/* 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 .faq-question h3 {
    font-size: 1.2em;
  }
  .page-faq .cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-faq .hero-faq-section {
    padding: 60px 15px;
  }
  .page-faq .hero-title {
    font-size: 2.2em;
  }
  .page-faq .hero-description {
    font-size: 1em;
  }
  .page-faq .faq-list-section {
    padding: 40px 0;
  }
  .page-faq .section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-faq .faq-question {
    padding: 15px 20px;
  }
  .page-faq .faq-question h3 {
    font-size: 1.1em;
  }
  .page-faq .faq-toggle {
    font-size: 1.8em;
  }
  .page-faq .faq-answer {
    padding: 0 20px;
  }
  .page-faq .faq-item.active .faq-answer {
    padding: 20px;
  }
  .page-faq .cta-bottom-section {
    padding: 60px 15px;
  }
  .page-faq .cta-text {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-faq .cta-button {
    padding: 10px 25px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-faq .hero-title {
    font-size: 1.8em;
  }
  .page-faq .hero-description {
    font-size: 0.95em;
  }
  .page-faq .section-title {
    font-size: 1.5em;
  }
  .page-faq .faq-question h3 {
    font-size: 1em;
  }
  .page-faq .faq-toggle {
    font-size: 1.5em;
  }
  .page-faq .cta-button {
    width: 100%;
    max-width: 280px;
  }
  .page-faq .cta-button-small {
    width: 100%;
    max-width: 200px;
  }
}