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

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #017439, #005c2d); /* Brand color gradient */
  color: #FFFFFF;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-privacy-policy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.page-privacy-policy__main-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFFF00; /* Use custom color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__subtitle {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  margin-top: 30px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__content-area {
  background: #FFFFFF; /* Light background for main content */
  color: #333333; /* Dark text for light background */
  padding: 60px 20px;
}

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

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #017439; /* Brand color for main titles */
  margin-top: 50px;
  margin-bottom: 25px;
  border-bottom: 3px solid #017439;
  padding-bottom: 10px;
}

.page-privacy-policy__sub-section-title {
  font-size: 1.6em;
  color: #005c2d; /* Slightly darker brand color */
  margin-top: 35px;
  margin-bottom: 20px;
}

.page-privacy-policy__paragraph {
  margin-bottom: 20px;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  padding-left: 0;
}

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

.page-privacy-policy__paragraph a,
.page-privacy-policy__list-item a {
  color: #017439; /* Brand color for links */
  text-decoration: underline;
}

.page-privacy-policy__paragraph a:hover,
.page-privacy-policy__list-item a:hover {
  color: #005c2d;
  text-decoration: none;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: 2.8em;
  }

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

  .page-privacy-policy__sub-section-title {
    font-size: 1.4em;
  }
}

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

  .page-privacy-policy__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    padding-bottom: 40px;
  }

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

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

  .page-privacy-policy__subtitle {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .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__sub-section-title {
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 15px;
  }

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

  .page-privacy-policy__hero-image,
  .page-privacy-policy__content-image {
    border-radius: 10px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  /* Ensure content containers do not overflow */
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: 1.8em;
  }

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

  .page-privacy-policy__subtitle {
    font-size: 0.9em;
  }
}