/* style/faq.css */
.page-faq {
  font-family: 'Arial', sans-serif;
  color: #333;
  background-color: #f8f8f8;
}

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

.page-faq-hero {
  background: linear-gradient(135deg, #FFD700 0%, #000080 100%);
  padding: 80px 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-faq-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.page-faq-hero .page-faq-container {
  position: relative;
  z-index: 2;
}

.page-faq-main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #fff; /* Changed to white for better contrast on gradient */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.page-faq-subtitle {
  font-size: 1.4em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-faq-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: nowrap;
}

.page-faq-btn-hero {
  background-color: #DC143C; /* Scarlet for hero CTA */
  color: #fff;
  font-size: 1.2em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq-btn-hero:hover {
  background-color: #c01230;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-faq-hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-faq-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.page-faq-accordion-section {
  padding: 60px 0;
  background-color: #fff;
}

.page-faq-section-title {
  font-size: 2.5em;
  color: #000080; /* Dark blue for section titles */
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

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

.page-faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.page-faq-item {
  background-color: #f0f0f0;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-faq-question {
  font-size: 1.3em;
  color: #000080;
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #e6e6e6;
  transition: background-color 0.3s ease;
  position: relative;
}

.page-faq-question::after {
  content: '+';
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-faq-question.active {
  background-color: #FFD700; /* Gold for active question */
  color: #000080; /* Dark blue text on gold */
}

.page-faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-faq-answer {
  padding: 0 25px;
  background-color: #fff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-faq-answer.active {
  max-height: 500px; /* Adjust as needed, will be calculated by JS for exact height */
  padding: 20px 25px;
}

.page-faq-answer p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #444;
}

.page-faq-btn-inline {
  background-color: #000080;
  color: #FFD700;
  padding: 8px 18px;
  font-size: 0.95em;
  border-radius: 5px;
}

.page-faq-btn-inline:hover {
  background-color: #000066;
  color: #fff;
}

.page-faq-contact-cta {
  background-color: #000080;
  padding: 80px 0;
  color: #fff;
}

.page-faq-contact-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-faq-contact-text {
  flex: 1;
}

.page-faq-contact-text .page-faq-section-title {
  color: #FFD700; /* Gold for contact CTA title */
  text-align: left;
}

.page-faq-contact-text .page-faq-section-title::after {
  margin-left: 0;
  background-color: #DC143C;
}

.page-faq-contact-text p {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-faq-btn-secondary {
  background-color: #FFD700;
  color: #000080;
  font-size: 1.1em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq-btn-secondary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-faq-contact-image-wrapper {
  flex: 0 0 400px;
  text-align: right;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .page-faq-hero {
    padding: 60px 0;
  }
  .page-faq-main-title {
    font-size: 2.5em;
  }

  .page-faq-subtitle {
    font-size: 1.1em;
  }

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

  .page-faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-faq-answer p {
    font-size: 1em;
  }

  .page-faq-contact-flex {
    flex-direction: column;
    text-align: center;
  }

  .page-faq-contact-text .page-faq-section-title {
    text-align: center;
  }

  .page-faq-contact-text .page-faq-section-title::after {
    margin: 15px auto 0;
  }

  .page-faq-contact-image-wrapper {
    flex: none;
    width: 100%;
    margin-top: 30px;
  }
}

@media (max-width: 480px) {
  .page-faq-hero {
    padding: 40px 0;
  }

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

  .page-faq-btn-hero {
    font-size: 1em;
    padding: 10px 20px;
  }

  .page-faq-accordion-section {
    padding: 30px 0;
  }

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

  .page-faq-item {
    margin-bottom: 15px;
  }

  .page-faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }

  .page-faq-answer.active {
    padding: 15px 15px;
  }

  .page-faq-contact-cta {
    padding: 40px 0;
  }
}