.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text color for light body background */
  background-color: var(--secondary-color); /* #FFFFFF */
}

.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 content is below fixed header */
  background: linear-gradient(135deg, #017439, #005f2f); /* Darker gradient for hero background */
  color: #ffffff; /* White text for dark background */
}

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

.page-privacy-policy__main-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
}

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

.page-privacy-policy__hero-image {
  width: 100%;
  max-width: 900px;
  margin-top: 30px;
}

.page-privacy-policy__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-privacy-policy__content-area {
  padding: 60px 0;
  background-color: #ffffff; /* Explicitly white background for content */
  color: #333333;
}

.page-privacy-policy__section-title {
  font-size: 28px;
  font-weight: bold;
  color: #017439; /* Primary color for section titles */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.page-privacy-policy h3 {
  font-size: 22px;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  font-size: 16px;
}

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

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

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

.page-privacy-policy__image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__cta-wrapper {
  text-align: center;
  margin-top: 60px;
  padding: 40px 20px;
  background-color: #f5f5f5;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__cta-wrapper p {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #333333;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin: 0 10px 20px 10px; /* Add margin-bottom for mobile stacking */
  transition: all 0.3s ease;
  max-width: 100%; /* Ensure button adapts to width */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

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

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

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

/* Responsive Design */
@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;
    padding-bottom: 40px;
  }

  .page-privacy-policy__main-title {
    font-size: 32px;
  }

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

  .page-privacy-policy__section-title {
    font-size: 24px;
    margin-top: 30px;
  }

  .page-privacy-policy h3 {
    font-size: 20px;
  }

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

  .page-privacy-policy__container {
    padding: 0 10px; /* Adjust padding for smaller screens */
  }

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

  .page-privacy-policy__image-wrapper {
    padding: 0;
  }

  .page-privacy-policy__cta-button {
    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; /* Stack buttons vertically */
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-privacy-policy__cta-wrapper {
    padding: 30px 15px;
  }
}