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

.page-privacy-policy__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
  background: linear-gradient(135deg, #26A9E0 0%, #1a1a2e 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  min-height: 500px;
  text-align: center;
}

.page-privacy-policy__hero-content {
  max-width: 800px;
  z-index: 1;
}

.page-privacy-policy__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

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

.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-privacy-policy__hero-image-container {
  flex-shrink: 0;
  max-width: 500px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff; /* Light background for content area */
  color: #333333; /* Dark text for light background */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: -80px; /* Overlap hero section */
  position: relative;
  z-index: 2;
}

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

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.page-privacy-policy h3.page-privacy-policy__faq-title {
  font-size: 1.4em;
  color: #333333;
  margin: 0;
}

.page-privacy-policy__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-privacy-policy__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-privacy-policy__text-link:hover {
  color: #1a7bb0;
}

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

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

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

/* FAQ Section */
.page-privacy-policy__faq-list {
  margin-top: 40px;
}

.page-privacy-policy__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #eaf6fd; /* Lighter blue for question background */
  color: #333333;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

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

.page-privacy-policy__faq-answer p {
  margin-bottom: 15px;
  font-size: 1.0em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-section {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px);
  }

  .page-privacy-policy__hero-image-container {
    max-width: 400px;
  }

  .page-privacy-policy__hero-title {
    font-size: 2.5em;
  }

  .page-privacy-policy__hero-description {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

  .page-privacy-policy__hero-description {
    font-size: 0.95em;
  }

  .page-privacy-policy__content-area {
    padding: 30px 15px;
    margin-top: -60px;
  }

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

  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item,
  .page-privacy-policy__faq-answer p {
    font-size: 1em;
  }

  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 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-left: 15px;
    padding-right: 15px;
  }
}

/* Color Contrast Adjustments */
.page-privacy-policy__dark-section {
  background: linear-gradient(135deg, #26A9E0 0%, #1a1a2e 100%); /* Brand color + dark background */
  color: #ffffff; /* Light text for dark background */
}

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

.page-privacy-policy__faq-question {
  background-color: #eaf6fd; /* Lighter blue for question background */
  color: #333333;
}

.page-privacy-policy__btn-primary {
  background-color: #EA7C07;
  color: #ffffff;
}