:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-button-bg: #C30808;
  --login-button-bg: #C30808;
  --register-login-font: #FFFF00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light background */
  background-color: var(--secondary-color); /* Body background is white */
}

.page-privacy-policy__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-privacy-policy__hero-banner {
  padding-top: var(--header-offset, 120px);
  padding-bottom: 40px;
  text-align: center;
  background-color: var(--secondary-color);
  position: relative;
  overflow: hidden;
}

.page-privacy-policy__main-title {
  font-size: 38px;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-privacy-policy__intro-text {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__banner-image-wrapper {
  margin-bottom: 30px;
}

.page-privacy-policy__banner-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__section {
  padding: 50px 0;
  border-bottom: 1px solid var(--border-color);
}

.page-privacy-policy__section:last-of-type {
  border-bottom: none;
}

.page-privacy-policy__section-title {
  font-size: 30px;
  color: var(--primary-color);
  margin-bottom: 25px;
  font-weight: bold;
  text-align: center;
}

.page-privacy-policy__sub-section-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy__text-block {
  margin-bottom: 15px;
  font-size: 16px;
}

.page-privacy-policy__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
}

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

.page-privacy-policy__link {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

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

.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 15px 40px;
  background: var(--register-button-bg);
  color: var(--register-login-font);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.page-privacy-policy__btn-primary:hover {
  background: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__image-container {
  margin: 40px auto;
  text-align: center;
  max-width: 800px;
}

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

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-privacy-policy__container {
    padding: 0 15px;
  }

  .page-privacy-policy__hero-banner {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 30px;
  }

  .page-privacy-policy__main-title {
    font-size: 28px;
    padding: 0 10px;
  }

  .page-privacy-policy__intro-text {
    font-size: 16px;
    padding: 0 10px;
  }

  .page-privacy-policy__section {
    padding: 30px 0;
  }

  .page-privacy-policy__section-title {
    font-size: 24px;
    text-align: left;
  }

  .page-privacy-policy__sub-section-title {
    font-size: 20px;
  }

  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item {
    font-size: 15px;
  }

  .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: 12px 20px;
    font-size: 16px;
  }

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

  .page-privacy-policy__image-container {
    margin: 20px auto;
  }
}

/* Color Contrast Fixes (as per requirements) */
.page-privacy-policy__light-bg {
  background-color: var(--secondary-color); /* White background */
  color: var(--text-dark); /* Dark text */
}

.page-privacy-policy__dark-bg {
  background-color: var(--primary-color); /* Primary color background */
  color: var(--text-light); /* Light text */
}