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

.page-privacy-policy__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 500px;
  background: linear-gradient(135deg, #017439, #005f2e);
}

.page-privacy-policy__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

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

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

.page-privacy-policy__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
}

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

.page-privacy-policy__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #017439;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #017439;
}

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

.page-privacy-policy__content-area, 
.page-privacy-policy__section {
  padding: 60px 20px;
}

.page-privacy-policy__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-privacy-policy__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

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

.page-privacy-policy__section-title {
  font-size: 2.2em;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
  color: inherit; /* Inherit color from parent section */
}

.page-privacy-policy__text-block {
  font-size: 1.1em;
  margin-bottom: 25px;
  text-align: justify;
  color: inherit;
}

.page-privacy-policy__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-privacy-policy__card {
  background-color: #f8f8f8;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-privacy-policy__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439;
  font-weight: bold;
}

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

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

.page-privacy-policy__link {
  color: #C30808; /* A contrasting color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

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

.page-privacy-policy__image-content {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-privacy-policy__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
}

.page-privacy-policy__feature-title {
  font-size: 1.3em;
  margin-bottom: 15px;
  color: #ffffff;
  font-weight: bold;
}

.page-privacy-policy__info-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-privacy-policy__info-list li {
  background-color: #f8f8f8;
  color: #333333;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__list-heading {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #017439;
  font-weight: bold;
}

.page-privacy-policy__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-privacy-policy__security-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
}

.page-privacy-policy__security-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #ffffff;
  font-weight: bold;
}

.page-privacy-policy__card-grid--three-cols {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-privacy-policy__image-content--contact {
  max-width: 600px;
}

.page-privacy-policy__faq-section {
  padding-bottom: 80px;
}

.page-privacy-policy__faq-list {
  margin-top: 40px;
}

.page-privacy-policy__faq-item {
  background-color: #f8f8f8;
  color: #333333;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #017439;
  background-color: #e0f2e7; /* Lighter shade of brand green for question background */
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: #d0e8d9;
}

.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); /* Or change to '-' in JS */
}

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #333333;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-title {
    font-size: 2.5em;
  }
  .page-privacy-policy__section-title {
    font-size: 2em;
  }
}

@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: 2em;
  }
  .page-privacy-policy__hero-description {
    font-size: 1em;
  }
  .page-privacy-policy__content-area, 
  .page-privacy-policy__section {
    padding: 40px 15px;
  }
  .page-privacy-policy__section-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__text-block {
    font-size: 1em;
  }
  .page-privacy-policy__card-grid,
  .page-privacy-policy__feature-grid,
  .page-privacy-policy__security-grid,
  .page-privacy-policy__card-grid--three-cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-privacy-policy__card,
  .page-privacy-policy__feature-card,
  .page-privacy-policy__security-card,
  .page-privacy-policy__info-list li {
    padding: 20px;
  }

  /* Image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__section,
  .page-privacy-policy__container,
  .page-privacy-policy__card,
  .page-privacy-policy__feature-card,
  .page-privacy-policy__security-card,
  .page-privacy-policy__info-list li,
  .page-privacy-policy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  .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;
  }
  .page-privacy-policy__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-privacy-policy__cta-buttons {
    display: flex;
    flex-direction: column;
  }
  .page-privacy-policy__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-privacy-policy__faq-answer {
    padding: 0 20px;
  }
  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__hero-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__section-title {
    font-size: 1.6em;
  }
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    font-size: 0.9em;
    padding: 10px 20px;
  }
}