/* style/privacy-policy.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #ffffff;
  --background-dark: #26A9E0;
  --button-login: #EA7C07;
}

.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default to dark text for light body background */
  background-color: var(--background-light); /* Assuming shared body background is light */
}

/* Fixed header offset */
.page-privacy-policy__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-privacy-policy__hero-section {
  background: linear-gradient(90deg, var(--primary-color) 0%, #1a8cc4 100%);
  color: var(--text-light);
  padding-bottom: 60px;
  text-align: center;
}

.page-privacy-policy__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-light);
  font-weight: bold;
}

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

.page-privacy-policy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box; /* Include padding in width calculation */
}

.page-privacy-policy__btn-primary {
  background-color: var(--button-login); /* Use specific login color */
  color: var(--text-light);
  border: 2px solid var(--button-login);
}

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

.page-privacy-policy__btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.page-privacy-policy__btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

.page-privacy-policy__content-area {
  padding: 60px 0;
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-privacy-policy__text-block {
  margin-bottom: 40px;
  padding: 20px;
  background-color: var(--background-light);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-bottom: 25px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
  font-size: 1.6em;
  color: var(--text-dark);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
}

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

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

.page-privacy-policy a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-privacy-policy a:hover {
  text-decoration: underline;
}

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

.page-privacy-policy__faq-section {
  margin-top: 60px;
  background-color: var(--background-light);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__faq-item {
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
}

.page-privacy-policy__faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-dark);
}

.page-privacy-policy__faq-question:hover {
  color: var(--primary-color);
}

.page-privacy-policy__faq-title {
  margin: 0;
  font-size: 1em; /* Adjust to fit parent font size */
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Change to X or minus */
}

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 15px;
  color: var(--text-dark);
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px;
}

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

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

  .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-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__main-title {
    font-size: 2.2em;
  }

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

  .page-privacy-policy__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-privacy-policy__text-block {
    padding: 15px;
    margin-bottom: 30px;
  }

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

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

  .page-privacy-policy p,
  .page-privacy-policy li {
    font-size: 1em;
  }

  .page-privacy-policy__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-privacy-policy__faq-question {
    font-size: 1.1em;
    padding: 12px 0;
  }

  .page-privacy-policy__faq-title {
    font-size: 1em;
  }

  .page-privacy-policy__faq-answer {
    padding: 10px 15px;
  }

  /* Ensure all containers with images/videos/buttons are constrained */
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__cta-buttons,
  .page-privacy-policy__text-block,
  .page-privacy-policy__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevents horizontal scroll */
  }
  /* Specific padding for content blocks to avoid edge-to-edge content if container has 0 padding */
  .page-privacy-policy__text-block, .page-privacy-policy__faq-section {
      padding-left: 15px !important;
      padding-right: 15px !important;
  }
  .page-privacy-policy__content-area .page-privacy-policy__container {
      padding-left: 0 !important;
      padding-right: 0 !important;
  }
}