.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--bg-dark-1); /* Assuming shared.css sets a dark background */
}

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

.page-privacy-policy__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background-color: #017439; /* Brand primary color for hero */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

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

.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: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

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

.page-privacy-policy__content-area {
  background-color: #ffffff; /* Light background for main content for readability */
  color: #333333; /* Dark text for light background */
  padding: 50px 0;
}

.page-privacy-policy__text-block {
  margin-bottom: 40px;
}

.page-privacy-policy__heading {
  font-size: 2.2em;
  color: #017439; /* Brand primary color for headings */
  margin-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.page-privacy-policy__sub-heading {
  font-size: 1.6em;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.page-privacy-policy ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

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

.page-privacy-policy a {
  color: #017439;
  text-decoration: underline;
}

.page-privacy-policy a:hover {
  color: #00562e;
}

.page-privacy-policy__keyword {
  font-weight: bold;
}

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

/* FAQ Section */
.page-privacy-policy__faq-section {
  background-color: #017439; /* Dark background for FAQ */
  color: #ffffff;
  padding: 50px 0;
  margin-top: 40px;
}

.page-privacy-policy__faq-section .page-privacy-policy__heading {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

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

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

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-title {
  margin: 0;
  font-size: 1.2em;
  color: #ffffff;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: #FFFF00;
}

.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 it expands fully */
  padding: 15px 20px;
}

.page-privacy-policy__faq-answer p {
  margin-top: 0;
  margin-bottom: 15px;
}

/* Video Section */
.page-privacy-policy__video-section {
  background-color: var(--bg-dark-1); /* Assuming shared.css sets a dark background */
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

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

.page-privacy-policy__video-wrapper {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  width: 100%;
  box-sizing: border-box;
}

.page-privacy-policy__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-privacy-policy__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
}

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

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 60px 0;
  }
  .page-privacy-policy__main-title {
    font-size: 2.2em;
    padding: 0 15px;
  }
  .page-privacy-policy__intro-text {
    font-size: 1em;
    padding: 0 15px;
  }
  .page-privacy-policy__btn-primary {
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 auto;
    padding: 12px 20px;
    font-size: 0.9em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-privacy-policy__content-area, 
  .page-privacy-policy__faq-section, 
  .page-privacy-policy__video-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-privacy-policy__image,
  .page-privacy-policy__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-privacy-policy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-privacy-policy__heading {
    font-size: 1.6em;
  }
  .page-privacy-policy__sub-heading {
    font-size: 1.2em;
  }
  .page-privacy-policy__faq-question {
    padding: 15px;
  }
  .page-privacy-policy__faq-title {
    font-size: 1em;
  }
  .page-privacy-policy__faq-answer {
    padding: 0 15px;
  }
  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 15px !important;
  }
  /* Fixed header offset for hero section on mobile */
  .page-privacy-policy__hero-section {
    padding-top: var(--header-offset, 120px) !important; 
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__heading {
    font-size: 1.4em;
  }
  .page-privacy-policy__sub-heading {
    font-size: 1.1em;
  }
  .page-privacy-policy p, .page-privacy-policy li {
    font-size: 0.95em;
  }
}