/* style/privacy-policy.css */

/* Root variables for colors */
:root {
  --page-privacy-policy-primary-color: #11A84E;
  --page-privacy-policy-secondary-color: #22C768;
  --page-privacy-policy-bg-dark: #08160F;
  --page-privacy-policy-card-bg: #11271B;
  --page-privacy-policy-text-main: #F2FFF6;
  --page-privacy-policy-text-secondary: #A7D9B8;
  --page-privacy-policy-border-color: #2E7A4E;
  --page-privacy-policy-glow-color: #57E38D;
  --page-privacy-policy-gold-color: #F2C14E;
  --page-privacy-policy-divider-color: #1E3A2A;
  --page-privacy-policy-deep-green: #0A4B2C;
  --page-privacy-policy-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Main page styling */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  color: var(--page-privacy-policy-text-main); /* Default text color for dark body bg */
  background-color: var(--page-privacy-policy-bg-dark); /* Ensure body background is respected */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  display: flex;
  flex-direction: column; /* Image first, then content */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--page-privacy-policy-dark-bg);
  position: relative;
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 30px; /* Space between image and text */
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative; /* Ensure content is above any potential background effect */
  z-index: 1;
}

.page-privacy-policy__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--page-privacy-policy-text-main);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.3); /* Glow effect */
  font-size: clamp(2rem, 4vw, 3.5rem); /* Responsive font size */
}

.page-privacy-policy__intro-description {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--page-privacy-policy-text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* Content Sections */
.page-privacy-policy__content-section {
  padding: 50px 20px;
}

.page-privacy-policy__content-section.page-privacy-policy__light-bg {
  background-color: var(--page-privacy-policy-text-main); /* White/light background */
  color: #333333; /* Dark text for light background */
}

.page-privacy-policy__content-section.page-privacy-policy__dark-bg {
  background-color: var(--page-privacy-policy-card-bg); /* Darker green background */
  color: var(--page-privacy-policy-text-main); /* Light text for dark background */
}

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

.page-privacy-policy__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: inherit; /* Inherit color from section */
  margin-bottom: 30px;
  text-align: center;
  text-shadow: 0 0 5px rgba(87, 227, 141, 0.2);
}

.page-privacy-policy__subsection-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: inherit; /* Inherit color from section */
  margin-top: 35px;
  margin-bottom: 15px;
}

.page-privacy-policy p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 15px;
  color: inherit;
}

.page-privacy-policy ul {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  color: inherit;
}

.page-privacy-policy li {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 8px;
  color: inherit;
}

.page-privacy-policy strong {
  color: inherit;
}

.page-privacy-policy__text-link {
  color: var(--page-privacy-policy-secondary-color); /* Use a contrasting brand color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__text-link:hover {
  color: var(--page-privacy-policy-glow-color);
}

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

/* FAQ Section */
.page-privacy-policy__faq-section {
  background-color: var(--page-privacy-policy-dark-bg);
  padding: 60px 20px;
  color: var(--page-privacy-policy-text-main);
}

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

.page-privacy-policy__faq-item {
  background-color: var(--page-privacy-policy-card-bg);
  border: 1px solid var(--page-privacy-policy-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-privacy-policy__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--page-privacy-policy-text-main);
  background-color: var(--page-privacy-policy-deep-green);
  border-bottom: 1px solid var(--page-privacy-policy-border-color);
  list-style: none; /* Remove default marker */
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
  display: none; /* Hide marker for WebKit browsers */
}

.page-privacy-policy__faq-item summary:hover {
  background-color: var(--page-privacy-policy-primary-color);
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-privacy-policy__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-privacy-policy-text-secondary);
}

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

  .page-privacy-policy__hero-section {
    padding: 40px 15px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-privacy-policy__intro-description {
    font-size: 1rem;
  }

  .page-privacy-policy__content-section {
    padding: 30px 15px;
  }

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

  .page-privacy-policy__subsection-title {
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-privacy-policy p,
  .page-privacy-policy li {
    font-size: 0.95rem;
  }

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

  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__content-image,
  .page-privacy-policy__container,
  .page-privacy-policy__content-section,
  .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;
    overflow: hidden !important;
  }

  /* Video responsive (even if not on this page, include for robustness) */
  .page-privacy-policy video,
  .page-privacy-policy__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-privacy-policy__video-section, /* Not on this page, but as example */
  .page-privacy-policy__video-container,
  .page-privacy-policy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-privacy-policy__video-section {
    padding-top: 10px !important;
  }

  /* Button responsive (even if not on this page, include for robustness) */
  .page-privacy-policy__cta-button,
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
  }
  .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;
    overflow: hidden !important;
  }
  .page-privacy-policy__cta-buttons {
    flex-direction: column;
  }

  .page-privacy-policy__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }

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

/* Color Contrast Specifics */
/* Ensure proper contrast for light background sections */
.page-privacy-policy__content-section.page-privacy-policy__light-bg p,
.page-privacy-policy__content-section.page-privacy-policy__light-bg li,
.page-privacy-policy__content-section.page-privacy-policy__light-bg strong {
  color: #333333; /* Dark text for light background */
}

/* Ensure proper contrast for dark background sections */
.page-privacy-policy__content-section.page-privacy-policy__dark-bg p,
.page-privacy-policy__content-section.page-privacy-policy__dark-bg li,
.page-privacy-policy__content-section.page-privacy-policy__dark-bg strong {
  color: var(--page-privacy-policy-text-secondary); /* Slightly lighter text for dark background paragraphs */
}

.page-privacy-policy__content-section.page-privacy-policy__dark-bg h2,
.page-privacy-policy__content-section.page-privacy-policy__dark-bg h3 {
  color: var(--page-privacy-policy-text-main); /* Main light text for headings on dark background */
}

.page-privacy-policy__faq-item summary {
  color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__faq-answer {
  color: var(--page-privacy-policy-text-secondary);
}