.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is #000000 (dark), so text must be light */
  background-color: #000000; /* Ensure consistency with body */
}

.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 500px;
  background-color: #017439; /* Brand color as background */
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-privacy-policy__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.15;
  overflow: hidden;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

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

.page-privacy-policy__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #000000; /* Consistent with body */
  color: #ffffff;
}

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

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #017439; /* Brand color for titles */
  margin-top: 50px;
  margin-bottom: 25px;
  border-bottom: 2px solid rgba(1, 116, 57, 0.3);
  padding-bottom: 10px;
}

.page-privacy-policy h3 {
  font-size: 1.8em;
  color: #017439; /* Brand color for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-privacy-policy__list li {
  margin-bottom: 10px;
}

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

.page-privacy-policy__link {
  color: #c30808; /* Actionable link color */
  text-decoration: underline;
}

.page-privacy-policy__link:hover {
  color: #ff0000;
}

/* Buttons */
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-privacy-policy__btn-primary {
  background-color: #c30808; /* Register/Login color */
  color: #ffff00; /* Register/Login font color */
  border: 2px solid #c30808;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #ff0000;
  border-color: #ff0000;
  color: #ffffff;
}

.page-privacy-policy__btn-secondary {
  background-color: transparent;
  color: #017439; /* Brand color */
  border: 2px solid #017439;
  margin-top: 20px;
}

.page-privacy-policy__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

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

.page-privacy-policy__faq-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly visible on dark background */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(1, 116, 57, 0.2); /* Brand color highlight */
  color: #ffffff;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: rgba(1, 116, 57, 0.4);
}

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

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

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  transform: rotate(45deg);
}

.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; /* Light grey for answer text */
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

.page-privacy-policy__faq-answer p {
  margin-bottom: 0;
}

.page-privacy-policy__contact-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-privacy-policy__contact-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-privacy-policy__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-privacy-policy__hero-title {
    font-size: 2.2em;
  }

  .page-privacy-policy__hero-description {
    font-size: 1em;
  }

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

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

  .page-privacy-policy h3 {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-privacy-policy__text-block,
  .page-privacy-policy__list li,
  .page-privacy-policy__contact-list li {
    font-size: 1em;
  }

  /* Images responsive */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* Ensure content containers don't overflow */
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__container,
  .page-privacy-policy__faq-list,
  .page-privacy-policy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons responsive */
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy 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;
    margin-bottom: 10px;
  }
  .page-privacy-policy__hero-content .page-privacy-policy__btn-primary {
    margin-left: 0;
    margin-right: 0;
  }
}