.page-privacy-policy {
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--black-color, #000000); /* Ensure dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed for visual impact */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-privacy-policy__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 900px;
  padding: 0 20px;
}

.page-privacy-policy__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__intro-description {
  font-size: 1.2em;
  line-height: 1.8;
  color: #f0f0f0;
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--black-color, #000000); /* Inherit from body or set explicitly dark */
  color: #ffffff; /* Light text for dark background */
}

.page-privacy-policy__container {
  max-width: 900px;
  margin: 0 auto;
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #26A9E0; /* Brand primary color for titles */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(38, 169, 224, 0.3);
  padding-bottom: 10px;
}

.page-privacy-policy__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light text */
}

.page-privacy-policy__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light text */
}

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-privacy-policy__content-image {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__contact-button-wrapper {
  text-align: center;
  margin: 40px 0;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: #26A9E0; /* Primary brand color */
  color: #ffffff;
  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: 2px solid #26A9E0;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #1a7fb0; /* Slightly darker on hover */
  transform: translateY(-2px);
}

/* FAQ Section */
.page-privacy-policy__faq-container {
  margin-top: 40px;
}

.page-privacy-policy__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for FAQ item */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15); /* Question background */
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.page-privacy-policy__faq-title {
  font-size: 1.2em;
  color: #ffffff;
  margin: 0;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.8em;
  color: #26A9E0;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content, !important for priority */
  padding: 20px !important; /* Apply padding when active */
  padding-top: 0 !important; /* Reset top padding to avoid double */
}

/* --- Responsive Design --- */

/* Tablet and smaller desktops */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-section {
    height: 500px;
  }

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

  .page-privacy-policy__intro-description {
    font-size: 1.1em;
  }

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

  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item,
  .page-privacy-policy__faq-title {
    font-size: 1em;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-privacy-policy__hero-content {
    padding: 0 15px;
  }

  .page-privacy-policy__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

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

  .page-privacy-policy__content-area {
    padding: 30px 15px;
  }

  .page-privacy-policy__section-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item {
    font-size: 0.95em;
  }

  .page-privacy-policy__list {
    margin-left: 20px;
  }

  .page-privacy-policy__content-image {
    margin: 20px auto;
  }

  .page-privacy-policy__btn-primary {
    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;
  }

  .page-privacy-policy__contact-button-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Images responsive adaptation */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* FAQ Mobile adjustments */
  .page-privacy-policy__faq-question {
    padding: 15px;
  }

  .page-privacy-policy__faq-title {
    font-size: 1.1em;
  }

  .page-privacy-policy__faq-answer {
    padding: 0 15px;
  }

  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 15px !important;
    padding-top: 0 !important;
  }
}

/* Color Contrast Enforcement - Based on body dark background */
/* All main content text should be light */
.page-privacy-policy__dark-bg {
  color: #ffffff; /* Deep dark background, light text */
  background: var(--black-color, #000000);
}

.page-privacy-policy__card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white card background */
  color: #ffffff;
}

.page-privacy-policy p,
.page-privacy-policy li {
  color: #f0f0f0; /* Slightly off-white for paragraphs */
}

/* Ensure headings have enough contrast */
.page-privacy-policy h1,
.page-privacy-policy h2,
.page-privacy-policy h3,
.page-privacy-policy h4,
.page-privacy-policy h5,
.page-privacy-policy h6 {
  color: #26A9E0; /* Brand color, which is light enough for dark background */
}

/* Button contrast already handled with white text on brand color background */