/* style/privacy-policy.css */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark background */
  background-color: var(--dark-bg-1, #1A2E44); /* Fallback if var not defined */
}

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

.page-privacy-policy__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background-color: #1A2E44; /* Main brand color */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-privacy-policy__main-heading {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Accent color for main heading */
}

.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: #FFD700; /* Accent color for button background */
  color: #1A2E44; /* Main color for button text */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #e0b800; /* Slightly darker accent on hover */
  color: #0d1a29;
}

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

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #1A2E44; /* Main brand color for section titles */
  margin-bottom: 30px;
  text-align: center;
}

.page-privacy-policy__sub-title {
  font-size: 1.6em;
  color: #1A2E44; /* Main brand color for sub titles */
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-privacy-policy__paragraph {
  margin-bottom: 15px;
  font-size: 1.05em;
}

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

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

.page-privacy-policy__link {
  color: #FFD700; /* Accent color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
  color: #e0b800;
  text-decoration: underline;
}

.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 Styles */
.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: #eaf1f7; /* Light background for question */
  color: #1A2E44; /* Main brand color for question text */
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-heading {
  margin: 0;
  font-size: 1.1em;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  color: #333333; /* Dark text for answer */
}

.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-item.active .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__main-heading {
    font-size: 2.2em;
  }

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

  .page-privacy-policy__sub-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-privacy-policy__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-privacy-policy__main-heading {
    font-size: 1.8em;
  }

  .page-privacy-policy__intro-text {
    font-size: 1em;
    padding: 0 15px;
  }

  .page-privacy-policy__section-title {
    font-size: 1.6em;
    padding: 0 15px;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.2em;
    padding: 0 15px;
  }

  .page-privacy-policy__paragraph,
  .page-privacy-policy__list {
    padding: 0 15px;
  }

  .page-privacy-policy__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 15px;
    box-sizing: border-box !important;
  }

  /* Buttons responsive */
  .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;
  }

  .page-privacy-policy__container {
    padding: 0 15px;
  }

  .page-privacy-policy__faq-item {
    margin: 0 15px 15px 15px;
  }

  .page-privacy-policy__faq-question,
  .page-privacy-policy__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure contrast for specific elements on potentially dark backgrounds if they are moved */
.page-privacy-policy__dark-section {
  background-color: #1A2E44;
  color: #ffffff;
}

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

/* Contrast fix for text on brand colors if needed */
.page-privacy-policy__text-on-brand-primary {
  color: #ffffff;
}

.page-privacy-policy__text-on-brand-secondary {
  color: #1A2E44;
}