.page-resources-security-fairness {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-resources-security-fairness__hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  box-sizing: border-box;
}

.page-resources-security-fairness__hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.page-resources-security-fairness__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: 1;
}

.page-resources-security-fairness__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-resources-security-fairness__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
}

.page-resources-security-fairness__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-security-fairness__btn-primary {
  display: inline-block;
  background-color: #FFD700;
  color: #1A2B4C;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

.page-resources-security-fairness__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources-security-fairness__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #FFD700;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #FFD700;
}

.page-resources-security-fairness__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A2B4C;
}

.page-resources-security-fairness__content-section {
  padding: 80px 20px;
  text-align: center;
}

.page-resources-security-fairness__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-resources-security-fairness__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

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

.page-resources-security-fairness__text-block {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.8;
}

.page-resources-security-fairness__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-resources-security-fairness__dark-bg {
  background-color: #1A2B4C;
  color: #ffffff;
}

.page-resources-security-fairness__dark-bg .page-resources-security-fairness__section-title {
  color: #FFD700;
}

.page-resources-security-fairness__light-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-resources-security-fairness__light-bg .page-resources-security-fairness__section-title {
  color: #FFD700;
}

/* FAQ Section */
.page-resources-security-fairness__faq-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #1A2B4C;
  color: #ffffff;
}

.page-resources-security-fairness__faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-resources-security-fairness__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.page-resources-security-fairness__faq-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-security-fairness__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #FFD700;
  transition: color 0.3s ease;
}

.page-resources-security-fairness__faq-question:hover {
  color: #ffffff;
}

.page-resources-security-fairness__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-security-fairness__faq-item.active .page-resources-security-fairness__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-security-fairness__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-resources-security-fairness__faq-item.active .page-resources-security-fairness__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px 25px 25px;
}

.page-resources-security-fairness__faq-answer p {
  margin-bottom: 0;
  font-size: 1.05em;
}

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

@media (max-width: 768px) {
  .page-resources-security-fairness__hero-section {
    height: 70vh;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-security-fairness__hero-title {
    font-size: 2.2em;
  }
  .page-resources-security-fairness__hero-description {
    font-size: 1em;
  }
  .page-resources-security-fairness__btn-primary, .page-resources-security-fairness__btn-secondary {
    padding: 12px 25px;
    font-size: 0.9em;
  }
  .page-resources-security-fairness__content-section, .page-resources-security-fairness__faq-section {
    padding: 60px 15px;
  }
  .page-resources-security-fairness__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources-security-fairness__text-block {
    font-size: 0.95em;
    margin-bottom: 20px;
  }
  .page-resources-security-fairness__image {
    margin-top: 30px;
  }
  .page-resources-security-fairness__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-resources-security-fairness__faq-answer {
    padding: 0 20px;
  }
  .page-resources-security-fairness__faq-item.active .page-resources-security-fairness__faq-answer {
    padding: 10px 20px 20px 20px;
  }

  /* Mobile specific image, video, and button adaptations */
  .page-resources-security-fairness img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-security-fairness video,
  .page-resources-security-fairness__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-security-fairness__hero-section,
  .page-resources-security-fairness__content-section,
  .page-resources-security-fairness__faq-section,
  .page-resources-security-fairness__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  .page-resources-security-fairness__btn-primary,
  .page-resources-security-fairness__btn-secondary,
  .page-resources-security-fairness a[class*="button"],
  .page-resources-security-fairness a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-security-fairness__hero-title {
    font-size: 1.8em;
  }
  .page-resources-security-fairness__section-title {
    font-size: 1.5em;
  }
  .page-resources-security-fairness__faq-question {
    font-size: 1em;
  }
  .page-resources-security-fairness__faq-toggle {
    font-size: 1.2em;
  }
}