.page-privacy-policy {
  color: #ffffff; /* Dark body background #121212, so light text */
  background-color: #121212; /* Ensure page content matches shared body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #017439; /* Brand color for hero background */
  color: #ffffff;
  overflow: hidden;
}

.page-privacy-policy__hero-content {
  z-index: 1;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-privacy-policy__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-privacy-policy__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

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

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

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #121212;
  color: #ffffff;
}

.page-privacy-policy__section-intro,
.page-privacy-policy__data-collection,
.page-privacy-policy__data-usage,
.page-privacy-policy__data-sharing,
.page-privacy-policy__data-security,
.page-privacy-policy__user-rights,
.page-privacy-policy__cookie-policy,
.page-privacy-policy__third-party-links,
.page-privacy-policy__policy-changes,
.page-privacy-policy__contact-us {
  margin-bottom: 40px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for sections */
  border-radius: 8px;
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-privacy-policy__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #017439;
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

.page-privacy-policy__sub-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 20px;
  border-left: 5px solid #017439;
  padding-left: 15px;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

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

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

.page-privacy-policy__list li strong {
  color: #ffffff;
}

.page-privacy-policy a {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
  color: #00a040;
  text-decoration: underline;
}

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

/* Buttons */
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin: 10px;
  text-align: center;
}

.page-privacy-policy__btn-primary {
  background-color: #C30808; /* Custom color for register/login buttons */
  color: #FFFF00; /* Custom font color for register/login buttons */
  border: 2px solid #C30808;
}

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

.page-privacy-policy__btn-secondary {
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
}

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

.page-privacy-policy__call-to-action {
  background-color: rgba(1, 116, 57, 0.2); /* Semi-transparent brand color */
  padding: 60px 20px;
  text-align: center;
  border-radius: 8px;
  margin: 40px auto;
  max-width: 1200px;
}

.page-privacy-policy__cta-title {
  font-size: 2.2em;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-privacy-policy__cta-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  margin-top: 60px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 8px;
}

.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  overflow: hidden;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

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

.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;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 1000px !important; /* Ensure content fits */
  padding: 15px 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-privacy-policy__hero-title {
    font-size: 2.2em;
  }
  .page-privacy-policy__section-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__sub-title {
    font-size: 1.5em;
  }
  .page-privacy-policy__cta-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }
  .page-privacy-policy__hero-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__hero-description {
    font-size: 1em;
  }
  .page-privacy-policy__content-area {
    padding: 30px 15px;
  }
  .page-privacy-policy__section-title {
    font-size: 1.6em;
  }
  .page-privacy-policy__sub-title {
    font-size: 1.3em;
  }
  .page-privacy-policy__list {
    margin-left: 20px;
  }
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0 !important;
  }
  .page-privacy-policy__call-to-action {
    padding: 40px 15px;
  }
  .page-privacy-policy__cta-title {
    font-size: 1.5em;
  }
  .page-privacy-policy__cta-description {
    font-size: 0.9em;
  }
  .page-privacy-policy__faq-question {
    font-size: 1em;
  }
  /* Mobile image responsiveness */
  .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;
  }
  .page-privacy-policy__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .page-privacy-policy__hero-section .page-privacy-policy__btn-primary {
    max-width: fit-content !important;
    margin: 10px auto !important;
  }
}