/* style/faq.css */

/* Variables for colors */
:root {
  --page-faq-primary-color: #007bff;
  --page-faq-secondary-color: #ffc107;
  --page-faq-dark-text: #212529;
  --page-faq-light-text: #ffffff;
  --page-faq-background-light: #f8f9fa;
  --page-faq-border-color: #dee2e6;
}

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

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

.page-faq__hero {
  background: linear-gradient(135deg, var(--page-faq-primary-color) 0%, #0056b3 100%); /* Darker blue for better contrast */
  color: var(--page-faq-light-text);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-faq__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: var(--page-faq-light-text);
}

.page-faq__hero-title .highlight {
  color: var(--page-faq-secondary-color);
}

.page-faq__hero-subtitle {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-faq__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-faq__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.page-faq__btn--primary {
  background-color: var(--page-faq-secondary-color);
  color: var(--page-faq-dark-text);
  border-color: var(--page-faq-secondary-color);
}

.page-faq__btn--primary:hover {
  background-color: #e6b000; /* Slightly darker gold */
  border-color: #e6b000;
  transform: translateY(-2px);
}

.page-faq__btn--secondary {
  background-color: transparent;
  color: var(--page-faq-light-text);
  border-color: var(--page-faq-light-text);
}

.page-faq__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--page-faq-secondary-color);
  color: var(--page-faq-secondary-color);
  transform: translateY(-2px);
}

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

.page-faq__section-title {
  font-size: 2.5em;
  color: var(--page-faq-primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-faq__accordion {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--page-faq-border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-faq__accordion-item {
  border-bottom: 1px solid var(--page-faq-border-color);
}

.page-faq__accordion-item:last-child {
  border-bottom: none;
}

.page-faq__accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 25px;
  background-color: #ffffff;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--page-faq-dark-text);
  transition: background-color 0.3s ease;
}

.page-faq__accordion-header:hover {
  background-color: #f1f1f1;
}

.page-faq__accordion-question {
  margin: 0;
  flex-grow: 1;
  font-size: 1.2em;
  color: var(--page-faq-primary-color);
}

.page-faq__accordion-icon {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--page-faq-primary-color);
}

.page-faq__accordion-header.active .page-faq__accordion-icon {
  transform: rotate(45deg);
}

.page-faq__accordion-content {
  padding: 0 25px;
  background-color: #fdfdfd;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-faq__accordion-content p {
  margin-top: 0;
  padding-bottom: 20px;
  color: var(--page-faq-dark-text);
  font-size: 1.1em;
}

.page-faq__accordion-content p a {
  color: var(--page-faq-primary-color);
  text-decoration: underline;
}

.page-faq__accordion-content p a:hover {
  color: #0056b3;
}

.page-faq__cta-bottom {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-faq__cta-bottom p {
  font-size: 1.2em;
  margin-bottom: 25px;
  color: var(--page-faq-dark-text);
}

.page-faq__cta-bottom .highlight {
  color: var(--page-faq-primary-color);
  font-weight: bold;
}

.page-faq__image-section {
  padding: 60px 0;
  background-color: #f1f1f1;
}

.page-faq__image-wrapper {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-faq__responsive-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-faq__image-caption {
  font-size: 1.1em;
  color: var(--page-faq-dark-text);
  margin-top: 10px;
}

.page-faq__image-caption .highlight {
  color: var(--page-faq-primary-color);
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-faq__hero-title {
    font-size: 2.5em;
  }

  .page-faq__hero-subtitle {
    font-size: 1em;
  }

  .page-faq__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-faq__btn {
    width: 80%;
    margin: 0 auto;
  }

  .page-faq__section-title {
    font-size: 2em;
  }

  .page-faq__accordion-header {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-faq__accordion-question {
    font-size: 1.1em;
  }

  .page-faq__accordion-content p {
    font-size: 1em;
  }

  .page-faq__cta-bottom p {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-faq__hero {
    padding: 60px 0;
  }

  .page-faq__hero-title {
    font-size: 2em;
  }

  .page-faq__hero-subtitle {
    font-size: 0.9em;
    margin-bottom: 30px;
  }

  .page-faq__btn {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-faq__section-title {
    font-size: 1.8em;
  }

  .page-faq__accordion-header {
    padding: 12px 15px;
    font-size: 1em;
  }

  .page-faq__accordion-question {
    font-size: 1em;
  }

  .page-faq__accordion-content {
    padding: 0 15px;
  }

  .page-faq__cta-bottom {
    padding: 20px;
  }
}