/* style/privacy-policy.css */
.page-privacy-policy {
  color: #ffffff; /* Body background is dark, so text is light */
  background-color: transparent; /* Main content background is handled by sections */
}

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

.page-privacy-policy__hero-section {
  position: relative;
  padding: 100px 0 60px; /* Adjusted padding to accommodate header offset */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 600px;
  color: #ffffff;
  background-color: #0a0a0a; /* Ensure hero section has a dark background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not covered by fixed header */
}

.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__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  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: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #1e87b8;
  transform: translateY(-2px);
}

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

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

.page-privacy-policy__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #333333;
}

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

.page-privacy-policy__cta-block {
  background-color: #26A9E0;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-top: 50px;
  color: #ffffff;
}

.page-privacy-policy__cta-text {
  font-size: 1.5em;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-privacy-policy__faq-section .page-privacy-policy__section-title {
  color: #26A9E0;
  border-bottom: 2px solid #26A9E0;
}

.page-privacy-policy__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

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

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

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-privacy-policy__faq-answer p {
  padding: 15px 0;
  margin: 0;
  line-height: 1.6;
  font-size: 1em;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-question {
  background-color: #f0f0f0;
  border-bottom: none;
}

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

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  transform: rotate(0deg); /* '+' becomes '-' */
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 80px 20px 40px;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

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

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

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

  .page-privacy-policy__section-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__text-block {
    font-size: 0.95em;
    line-height: 1.7;
  }

  .page-privacy-policy__cta-block {
    padding: 30px 15px;
  }

  .page-privacy-policy__cta-text {
    font-size: 1.2em;
  }

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

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

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__container,
  .page-privacy-policy__cta-block,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__content-image {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Ensure content area images are not smaller than 200px */
.page-privacy-policy__content-area img {
  min-width: 200px;
  min-height: 200px;
}