/* style/faq.css */

/* General page styling */
.page-faq {
  font-family: 'Arial', sans-serif;
  color: #F0F0F0; /* Light gray for general text on dark background */
  background-color: #0A192F; /* Main dark background */
  line-height: 1.6;
}

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

.page-faq__section {
  padding: 60px 0;
}

.page-faq__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
}

.page-faq__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Hero Section */
.page-faq__hero {
  background: linear-gradient(135deg, #0A192F, #1A2F4A);
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap-reverse;
  text-align: center;
}

.page-faq__hero-content {
  max-width: 600px;
  text-align: left;
}

.page-faq__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

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

.page-faq__hero-image-wrapper {
  flex-shrink: 0;
  width: 400px;
  height: 300px;
}

.page-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.page-faq__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #0A192F; /* Dark text on gold */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-faq__cta-button:hover {
  background-color: #e6c200; /* Darker gold on hover */
  transform: translateY(-2px);
}

/* Accordion Section */
.page-faq__accordion {
  margin-top: 30px;
}

.page-faq__accordion-item {
  background-color: #1A2F4A; /* Slightly lighter dark background for items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1A2F4A;
  color: #FFD700; /* Gold for question headers */
  font-size: 1.3em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-faq__accordion-header h3 {
  margin: 0;
  color: inherit;
  font-size: 1em;
}

.page-faq__accordion-icon {
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
}

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

.page-faq__accordion-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  background-color: #0A192F;
  color: #C0C0C0; /* Light gray for answer text */
}

.page-faq__accordion-item.active .page-faq__accordion-content {
  max-height: 500px; /* Adjust based on expected content length */
  padding: 20px 25px;
}

.page-faq__accordion-content p {
  margin-bottom: 15px;
}

.page-faq__inline-link {
  color: #FFD700; /* Gold for inline links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-faq__inline-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

/* CTA Banner Section */
.page-faq__cta-banner {
  background-color: #FFD700; /* Gold background for CTA */
  padding: 60px 0;
  text-align: center;
}

.page-faq__cta-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  color: #0A192F; /* Dark text on gold background */
}

.page-faq__cta-text {
  max-width: 600px;
  text-align: left;
}

.page-faq__cta-title {
  font-size: 2.8em;
  color: #0A192F;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-faq__cta-button--large {
  padding: 18px 35px;
  font-size: 1.2em;
  background-color: #0A192F; /* Dark button on gold background */
  color: #FFD700; /* Gold text on dark button */
}

.page-faq__cta-button--large:hover {
  background-color: #1A2F4A;
  color: #FFD700;
}

.page-faq__cta-image-wrapper {
  flex-shrink: 0;
  width: 400px;
  height: 300px;
}

.page-faq__cta-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-faq__hero,
  .page-faq__cta-content {
    flex-direction: column;
    text-align: center;
  }

  .page-faq__hero-content,
  .page-faq__cta-text {
    text-align: center;
    max-width: 100%;
  }

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

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

  .page-faq__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero,
  .page-faq__cta-content {
    gap: 30px;
    padding: 60px 0;
  }

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

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

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

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

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

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

  .page-faq__cta-description {
    font-size: 0.95em;
  }

  .page-faq__cta-button,
  .page-faq__cta-button--large {
    padding: 12px 25px;
    font-size: 1em;
  }
}

@media (max-width: 576px) {
  .page-faq__hero-image-wrapper,
  .page-faq__cta-image-wrapper {
    width: 100%;
    height: auto;
  }

  .page-faq__hero-image,
  .page-faq__cta-image {
    max-width: 80%;
    margin: 0 auto;
  }

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

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

  .page-faq__cta-title {
    font-size: 1.6em;
  }
}