.page-resources-security-faq {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
  background-color: #FFFFFF;
}

.page-resources-security-faq__content-wrapper {
  max-width: 800px; /* Content width for comfortable reading */
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-security-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF; /* Light text on dark background */
  overflow: hidden;
}

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

.page-resources-security-faq__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-resources-security-faq__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-resources-security-faq__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
}

.page-resources-security-faq__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-security-faq__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text on bright button */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-resources-security-faq__hero-button:hover {
  background-color: #E0A83A;
}

.page-resources-security-faq__introduction-section {
  padding: 40px 0;
  background-color: #F8F8F8;
  border-bottom: 1px solid #E0E0E0;
}

.page-resources-security-faq__introduction-text {
  font-size: 1.1em;
  text-align: center;
  color: #555555;
}

.page-resources-security-faq__faq-section {
  padding: 60px 0;
}

.page-resources-security-faq__faq-category-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-resources-security-faq__faq-category-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-resources-security-faq__faq-item {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #E0E0E0;
}

.page-resources-security-faq__faq-question {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-resources-security-faq__faq-question::after {
  content: '+';
  font-size: 1.2em;
  color: #FCBC45;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

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

.page-resources-security-faq__faq-answer {
  font-size: 1.05em;
  color: #333333;
  display: none; /* Hidden by default, toggled by JS */
  padding-top: 10px;
}

.page-resources-security-faq__faq-answer.open {
  display: block;
}

.page-resources-security-faq__image {
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-security-faq__link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-security-faq__link:hover {
  color: #E0A83A;
  text-decoration: underline;
}

.page-resources-security-faq__cta-section {
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.page-resources-security-faq__cta-section .page-resources-security-faq__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.2;
  object-fit: cover;
}

.page-resources-security-faq__cta-title {
  position: relative;
  z-index: 1;
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-resources-security-faq__cta-description {
  position: relative;
  z-index: 1;
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-security-faq__cta-button {
  position: relative;
  z-index: 1;
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-resources-security-faq__cta-button:hover {
  background-color: #E0A83A;
}

.page-resources-security-faq__navigation-links {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #E0E0E0;
}

.page-resources-security-faq__back-link {
  display: inline-block;
  margin: 0 15px;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-security-faq__back-link:hover {
  color: #FCBC45;
}

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

  .page-resources-security-faq__hero-description,
  .page-resources-security-faq__introduction-text,
  .page-resources-security-faq__cta-description {
    font-size: 1em;
  }

  .page-resources-security-faq__faq-category-title {
    font-size: 2em;
  }

  .page-resources-security-faq__faq-question {
    font-size: 1.5em;
  }

  .page-resources-security-faq__cta-title {
    font-size: 2em;
  }

  .page-resources-security-faq__hero-section,
  .page-resources-security-faq__cta-section {
    padding: 60px 15px;
  }

  .page-resources-security-faq__content-wrapper {
    padding: 0 15px;
  }

  /* Ensure images do not overflow on mobile */
  .page-resources-security-faq__image {
    max-width: 100%;
    height: auto;
  }

  .page-resources-security-faq__hero-image img {
    max-width: 100%;
    height: auto;
  }

  .page-resources-security-faq {
    padding-top: var(--header-offset, 120px);
  }
}