/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Rely on shared.css for body background */
}

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

.page-privacy-policy__hero-section {
  position: relative;
  text-align: center;
  padding: 80px 0 40px; /* Adjusted padding, relying on shared.css for body padding-top */
  background-color: #1a1a1a; /* Slightly lighter dark background for hero */
}

.page-privacy-policy__main-title {
  font-size: 2.8em;
  color: #26A9E0; /* Brand color for main title */
  margin-bottom: 20px;
  text-shadow: 0 0 5px rgba(38, 169, 224, 0.5);
}

.page-privacy-policy__intro-text {
  font-size: 1.2em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-privacy-policy__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.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: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to break words */
  max-width: 100%; /* Ensure button doesn't overflow */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.page-privacy-policy__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

.page-privacy-policy__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-privacy-policy__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

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

.page-privacy-policy__content-area:nth-of-type(odd) {
  background-color: #1a1a1a; /* Darker section background */
}

.page-privacy-policy__content-area:nth-of-type(even) {
  background-color: #242424; /* Slightly lighter dark section background for contrast */
}

.page-privacy-policy__section-title {
  font-size: 2em;
  color: #26A9E0; /* Brand color for section titles */
  margin-bottom: 25px;
  text-align: center;
  text-shadow: 0 0 3px rgba(38, 169, 224, 0.3);
}

.page-privacy-policy__content-area p {
  margin-bottom: 15px;
  color: #ffffff; /* Light text for dark backgrounds */
}

.page-privacy-policy__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-privacy-policy__contact-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #ffffff; /* Light text */
}

.page-privacy-policy__contact-link {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy__contact-link:hover {
  color: #1e87c0;
  text-decoration: underline;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Darker background for FAQ */
}

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

.page-privacy-policy__faq-item {
  background-color: #242424; /* Slightly lighter dark background for each FAQ item */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px 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;
  font-size: 1.1em;
  color: #ffffff;
}

.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 to X for active state, or use a minus sign */
}

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

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

.page-privacy-policy__faq-answer p {
  margin: 0;
  color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-privacy-policy__main-title {
    font-size: 2em;
  }

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

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

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

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
  }

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

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure all image containers are responsive */
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__container,
  .page-privacy-policy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  /* Specific padding for sections to avoid double padding if container already has it */
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .page-privacy-policy__hero-section {
    padding-top: 60px; /* Adjust hero top padding for mobile if header offset is on body */
    padding-bottom: 30px;
  }

  .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;
  }
}

/* Contrast fixes for specific elements if needed - ensuring WCAG AA */
/* All text on dark backgrounds is set to #ffffff or #f0f0f0 which provides good contrast with #1a1a1a and #242424 */
/* Brand color #26A9E0 (light blue) on dark background is also good. */
/* Brand color #26A9E0 on white text is good. */