/* style/resources-jun88-faq.css */

/* Base styles for the page content, ensuring contrast with body background */
.page-resources-jun88-faq {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Main content area will use body background */
  line-height: 1.6;
  padding-top: 120px; /* Space for fixed header - Desktop */
}

/* Mobile specific padding-top */
@media (max-width: 768px) {
  .page-resources-jun88-faq {
    padding-top: 100px; /* Space for fixed header - Mobile */
  }
}

/* Hero Banner Section */
.page-resources-jun88-faq__hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-resources-jun88-faq__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.page-resources-jun88-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.page-resources-jun88-faq__hero-overlay {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6);
  padding: 60px 20px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-resources-jun88-faq__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold for highlight */
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-jun88-faq__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  max-width: 800px;
  margin-bottom: 30px;
}

.page-resources-jun88-faq__link-text {
  color: #FFD700; /* Gold for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-resources-jun88-faq__link-text:hover {
  color: #fff;
}

/* Content Section */
.page-resources-jun88-faq__content-section {
  padding: 60px 20px;
  background-color: #0a0a0a; /* Ensure dark background for the section */
}

.page-resources-jun88-faq__container {
  max-width: 1000px;
  margin: 0 auto;
}

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

.page-resources-jun88-faq__intro-text {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 50px;
}

/* FAQ List */
.page-resources-jun88-faq__faq-list {
  margin-top: 30px;
}

/* FAQ container style */
.page-resources-jun88-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background-color: #1A2B4C; /* Dark blue background for FAQ item */
}

/* FAQ default state - answer hidden */
.page-resources-jun88-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: #f0f0f0;
  background-color: #1A2B4C; /* Match question background */
}

/* FAQ expanded state - IMPORTANT: use !important and sufficiently large max-height */
.page-resources-jun88-faq__faq-item.active .page-resources-jun88-faq__faq-answer {
  max-height: 2000px !important; /* Ensure it expands fully */
  padding: 20px !important;
  opacity: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Question style */
.page-resources-jun88-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #1A2B4C; /* Dark blue background for question */
  border: 1px solid #FFD700; /* Gold border */
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  color: #ffffff; /* White text for contrast */
}

.page-resources-jun88-faq__faq-item.active .page-resources-jun88-faq__faq-question {
  border-radius: 8px 8px 0 0;
  background-color: #2a3b5c; /* Slightly lighter dark blue when active */
}

.page-resources-jun88-faq__faq-question:hover {
  background: #2a3b5c; /* Slightly lighter dark blue on hover */
  border-color: #ffd700;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.2);
}

/* Question title style */
.page-resources-jun88-faq__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 from blocking click event */
  color: #ffffff; /* White text for contrast */
}

/* Toggle icon */
.page-resources-jun88-faq__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Gold color for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 215, 0, 0.1);
}

.page-resources-jun88-faq__faq-item.active .page-resources-jun88-faq__faq-toggle {
  color: #ffffff;
  background-color: #FFD700;
  transform: rotate(180deg); /* Rotate for minus sign */
}

/* FAQ image style */
.page-resources-jun88-faq__faq-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Call to Action Section */
.page-resources-jun88-faq__cta-section {
  padding: 80px 20px;
  background-color: #0a0a0a; /* Match body background */
  text-align: center;
}

.page-resources-jun88-faq__cta-section .page-resources-jun88-faq__container {
  background-color: #1A2B4C; /* Dark blue background for CTA card */
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  max-width: 900px;
}

.page-resources-jun88-faq__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 25px;
  font-weight: 700;
}

.page-resources-jun88-faq__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-jun88-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.page-resources-jun88-faq__btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.page-resources-jun88-faq__btn--primary {
  background-color: #FFD700; /* Gold button */
  color: #1A2B4C; /* Dark blue text for contrast */
  border-color: #FFD700;
}

.page-resources-jun88-faq__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 215, 0, 0.4);
}

.page-resources-jun88-faq__btn--secondary {
  background-color: #1A2B4C; /* Dark blue button */
  color: #FFD700; /* Gold text for contrast */
  border-color: #FFD700;
}

.page-resources-jun88-faq__btn--secondary:hover {
  background-color: #2a3b5c;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(26, 43, 76, 0.4);
}

.highlight-text {
  color: #FFD700; /* Gold for highlighting keywords */
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .page-resources-jun88-faq__hero-title {
    font-size: 3em;
  }
  .page-resources-jun88-faq__hero-description {
    font-size: 1.1em;
  }
  .page-resources-jun88-faq__section-title {
    font-size: 2.2em;
  }
  .page-resources-jun88-faq__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 992px) {
  .page-resources-jun88-faq__hero-title {
    font-size: 2.5em;
  }
  .page-resources-jun88-faq__hero-description {
    font-size: 1em;
  }
  .page-resources-jun88-faq__section-title {
    font-size: 2em;
  }
  .page-resources-jun88-faq__cta-title {
    font-size: 2.2em;
  }
  .page-resources-jun88-faq__cta-section .page-resources-jun88-faq__container {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  /* Mobile specific padding-top for main content */
  .page-resources-jun88-faq {
    padding-top: 100px; /* Adjust for mobile fixed header */
  }

  .page-resources-jun88-faq__hero-banner {
    min-height: 350px;
  }
  .page-resources-jun88-faq__hero-overlay {
    padding: 40px 15px;
  }
  .page-resources-jun88-faq__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-resources-jun88-faq__hero-description {
    font-size: 0.95em;
    margin-bottom: 25px;
  }

  .page-resources-jun88-faq__content-section {
    padding: 40px 15px;
  }
  .page-resources-jun88-faq__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources-jun88-faq__intro-text {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-resources-jun88-faq__faq-question {
    padding: 18px 20px;
  }
  .page-resources-jun88-faq__faq-question h3 {
    font-size: 1em;
  }
  .page-resources-jun88-faq__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-resources-jun88-faq__faq-answer {
    padding: 15px !important;
  }

  .page-resources-jun88-faq__cta-section {
    padding: 50px 15px;
  }
  .page-resources-jun88-faq__cta-section .page-resources-jun88-faq__container {
    padding: 30px;
  }
  .page-resources-jun88-faq__cta-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-resources-jun88-faq__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-resources-jun88-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-jun88-faq__btn {
    width: 100%;
    padding: 12px 25px;
    font-size: 1em;
  }

  /* All images responsive for mobile */
  .page-resources-jun88-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources-jun88-faq__section,
  .page-resources-jun88-faq__card,
  .page-resources-jun88-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure no filter on images */
.page-resources-jun88-faq img {
  filter: none !important;
}