/* style/privacy-policy.css */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so text is light */
  background-color: #0a0a0a; /* Matches shared.css body background */
}

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

.page-privacy-policy__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  text-align: center;
  background-color: #1a1a1a; /* Darker background for hero */
  color: #ffffff;
  overflow: hidden;
}

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

.page-privacy-policy__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #26A9E0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.8;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-privacy-policy__cta-button:hover {
  background-color: #1e87c0;
  transform: translateY(-2px);
}

.page-privacy-policy__content-area {
  padding: 60px 0;
  background-color: #0a0a0a; /* Matches body background */
  color: #ffffff;
}

.page-privacy-policy__section-title {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(38, 169, 224, 0.3);
}

.page-privacy-policy__sub-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.page-privacy-policy__text-block a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

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

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  line-height: 1.7;
}

.page-privacy-policy__list-item strong {
  color: #26A9E0;
}

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

/* FAQ Section */
.page-privacy-policy__faq-section {
  margin-top: 50px;
  border-top: 2px solid rgba(38, 169, 224, 0.3);
  padding-top: 30px;
}

.page-privacy-policy__faq-item {
  background-color: #1a1a1a; /* Slightly lighter dark for FAQ items */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #26A9E0; /* Brand color for question background */
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.1em; /* Ensure consistent font size */
}

.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); /* Plus sign rotates to X */
}

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  background-color: #1a1a1a; /* Dark background for answer content */
  color: #f0f0f0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.page-privacy-policy__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-privacy-policy__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

  .page-privacy-policy__cta-button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

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

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

  .page-privacy-policy img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

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

  .page-privacy-policy__faq-answer {
    padding: 0 20px;
  }

  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 10px 20px;
  }
}