/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--bg-color, #ffffff); /* Inherit or default to white */
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 80px 20px;
  min-height: 500px;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
}

.page-privacy-policy__hero-section::before { /* Dark overlay for text readability */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay */
  z-index: 0;
}

.page-privacy-policy__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* filter: brightness(0.5); -- Removed as per strict filter rules */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1; /* Ensure content is above overlay */
  max-width: 800px;
  margin: 0 auto;
}

.page-privacy-policy__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-privacy-policy__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff;
}

/* Primary Button */
.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: #26A9E0; /* Brand primary color */
  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: 2px solid transparent;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #1a7bb0; /* Slightly darker on hover */
  transform: translateY(-2px);
}

/* Content Area */
.page-privacy-policy__content-area {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: #ffffff; /* Explicitly white background for content */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #26A9E0; /* Brand primary color for titles */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.page-privacy-policy__content-area h3 {
  font-size: 1.5em;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  color: #333333;
}

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  color: #333333;
}

.page-privacy-policy__list-item strong {
  color: #26A9E0; /* Emphasize keywords with brand color */
}

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

.page-privacy-policy__link:hover {
  text-decoration: underline;
  color: #1a7bb0;
}

/* Images within content */
.page-privacy-policy__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  /* Ensure no filter is applied */
  filter: none;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

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

.page-privacy-policy__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
}

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

.page-privacy-policy__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #333333;
}

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

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  transform: rotate(45deg);
}

.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-item.active .page-privacy-policy__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 60px 15px;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }

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

  .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__content-area {
    margin: 20px auto;
    padding: 20px 15px;
  }

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

  .page-privacy-policy__content-area h3 {
    font-size: 1.3em;
  }

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/content */
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__content-area,
  .page-privacy-policy__hero-content,
  .page-privacy-policy__faq-item,
  .page-privacy-policy__faq-question,
  .page-privacy-policy__faq-answer {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure video sections are also responsive */
  .page-privacy-policy__video-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  /* Button containers mobile adaptation */
  .page-privacy-policy__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }

  .page-privacy-policy__faq-question {
    padding: 12px 15px;
  }

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

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

/* Fixed color contrast for specific elements if needed */
.page-privacy-policy__dark-bg {
  color: #ffffff; /* Deep background with light text */
  background: #26A9E0;
}

.page-privacy-policy__light-bg {
  color: #333333; /* Light background with dark text */
  background: #ffffff;
}

.page-privacy-policy__medium-bg {
  color: #000000; /* Default dark text */
  background: #FFFFFF;
}