:root {
  --primary-color: #0A192F;
  --secondary-color: #FFD700;
  --text-light: #f0f0f0;
  --text-dark: #333333;
  --background-light: #ffffff;
  --background-dark: #1a2a44;
  --border-color: #e0e0e0;
  --hover-color: #ffe066;
}

.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 {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1c3c66 100%);
  padding: 80px 0 60px;
  text-align: center;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

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

.page-faq-intro-text {
  font-size: 1.15em;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.8;
  color: var(--text-light);
}

.page-faq-intro-text strong {
  color: var(--secondary-color);
}

.page-faq-intro-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  margin-top: 30px;
}

.page-faq-section {
  padding: 60px 0;
  background-color: var(--background-light);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.page-faq-section:last-of-type {
  border-bottom: none;
}

.page-faq-section-title {
  font-size: 2.2em;
  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;
}

.page-faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--background-light);
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

.faq-item.active .faq-question h3 {
  color: var(--primary-color);
}

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

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

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

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

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

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

.faq-answer strong {
  color: var(--primary-color);
}

.faq-answer ul {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
  margin-bottom: 15px;
}

.faq-answer li {
  margin-bottom: 8px;
}

.page-faq-button {
  display: inline-block;
  padding: 12px 25px;
  margin-top: 15px;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

.page-faq-button--primary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-faq-button--primary:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq-button--secondary {
  background: none;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  margin-left: 15px;
}

.page-faq-button--secondary:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq-section-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-faq-cta-content {
  max-width: 900px;
}

.page-faq-cta-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  margin-bottom: 25px;
}

.page-faq-cta-text {
  font-size: 1.1em;
  margin-bottom: 40px;
  line-height: 1.7;
  color: var(--text-light);
}

.page-faq-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-faq-cta .page-faq-button--primary:hover {
  background: var(--text-light);
  color: var(--primary-color);
  border-color: var(--text-light);
}

.page-faq-cta .page-faq-button--secondary {
  background: none;
  color: var(--secondary-color);
  border-color: var(--secondary-color);
  margin-left: 0; /* Override default margin */
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-faq-main-title {
    font-size: 2.2em;
  }
  .page-faq-intro-text {
    font-size: 1em;
  }
  .page-faq-section-title {
    font-size: 1.8em;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .page-faq-cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-faq-hero,
  .page-faq-section,
  .page-faq-cta {
    padding: 40px 0;
  }
  .page-faq-main-title {
    font-size: 1.8em;
  }
  .page-faq-intro-text {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-faq-section-title {
    font-size: 1.6em;
    margin-bottom: 30px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 15px 20px;
  }
  .page-faq-button {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-left: 0;
  }
  .page-faq-cta-title {
    font-size: 1.8em;
  }
  .page-faq-cta-text {
    font-size: 1em;
  }
  .page-faq-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq-cta .page-faq-button--secondary {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .page-faq-main-title {
    font-size: 1.5em;
  }
  .page-faq-intro-text {
    font-size: 0.9em;
  }
  .page-faq-section-title {
    font-size: 1.4em;
  }
  .faq-question h3 {
    font-size: 0.95em;
  }
  .page-faq-cta-title {
    font-size: 1.6em;
  }
}