/* style/privacy-policy.css */
.page-privacy-policy {
  color: #ffffff; /* Body background is dark (#1a1a2e), so text should be light */
}

.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #1a1a2e; /* Dark background to contrast with hero image */
  text-align: center;
  overflow: hidden;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  max-height: 700px; /* Limit height for aesthetic */
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.5); /* Darken image slightly for text readability */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
  padding: 20px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-privacy-policy__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: 2px solid #26A9E0;
}

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

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff; /* Light background for main content */
  color: #333333; /* Dark text for light background */
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transform: translateY(-40px); /* Lift slightly over hero section */
  position: relative;
  z-index: 3;
}

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

.page-privacy-policy__heading {
  font-size: 2.2rem;
  font-weight: 700;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 25px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.page-privacy-policy__sub-heading {
  font-size: 1.6rem;
  font-weight: 600;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy__paragraph {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333333;
}

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

.page-privacy-policy__list-item {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 10px;
  color: #333333;
}

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

.page-privacy-policy__link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 500;
}

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

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

.page-privacy-policy__image--center {
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__contact-info {
  margin-top: 30px;
  padding: 20px;
  background-color: #f8f8f8;
  border-left: 5px solid #26A9E0;
  border-radius: 0 8px 8px 0;
}

.page-privacy-policy__faq-list {
  margin-top: 40px;
}

.page-privacy-policy__faq-item {
  background-color: #f0f8ff;
  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;
  font-size: 1.2rem;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: #e6f2ff;
  transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-privacy-policy__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333333;
}

/* Details element native toggle styling */
.page-privacy-policy__faq-item > summary {
  list-style: none;
}

.page-privacy-policy__faq-item > summary::-webkit-details-marker {
  display: none;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-privacy-policy__main-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-privacy-policy__subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-privacy-policy__btn-primary {
    padding: 12px 25px;
    font-size: 0.95rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-privacy-policy__content-area {
    padding: 30px 15px;
    transform: translateY(-20px);
  }

  .page-privacy-policy__heading {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__sub-heading {
    font-size: 1.4rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item {
    font-size: 1rem;
    line-height: 1.6;
  }

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

  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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