/* style/privacy-policy.css */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--background); /* Body background from shared.css */
  line-height: 1.6;
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, header offset handled by body in shared.css */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--text-main);
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px; /* Adjust as needed for visual impact */
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-privacy-policy__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__subtitle {
  font-size: clamp(1em, 1.8vw, 1.3em);
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
  background-color: var(--background);
  color: var(--text-main);
}

.page-privacy-policy__text-block {
  margin-bottom: 40px;
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.page-privacy-policy__sub-section-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  color: var(--glow);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.page-privacy-policy ul,
.page-privacy-policy ol {
  margin-bottom: 15px;
  padding-left: 25px;
  color: var(--text-secondary);
}

.page-privacy-policy li {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.page-privacy-policy a {
  color: var(--glow);
  text-decoration: none;
}

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

.page-privacy-policy__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 25px auto;
  border-radius: 8px;
  object-fit: cover;
  max-height: 450px;
  border: 1px solid var(--border);
}

.page-privacy-policy__update-date {
  font-style: italic;
  color: var(--text-secondary);
  text-align: right;
  margin-top: 20px;
  font-size: 0.9em;
}

/* Buttons */
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

.page-privacy-policy__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-privacy-policy__btn-secondary {
  background: var(--card-bg);
  color: var(--glow);
  border: 2px solid var(--glow);
  margin-left: 15px;
}

.page-privacy-policy__btn-secondary:hover {
  background: var(--glow);
  color: var(--background);
  transform: translateY(-2px);
}

/* CTA Section */
.page-privacy-policy__cta-section {
  background-color: var(--deep-green);
  padding: 80px 20px;
  text-align: center;
  color: var(--text-main);
  border-top: 5px solid var(--glow);
}

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

.page-privacy-policy__cta-title {
  font-size: clamp(2em, 4vw, 3em);
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 700;
}

.page-privacy-policy__cta-description {
  font-size: clamp(1em, 1.8vw, 1.2em);
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  max-width: 1000px;
  margin: 40px auto 60px auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-privacy-policy__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  color: var(--text-main);
  font-weight: 600;
  font-size: 1.15em;
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-item summary:hover {
  background-color: rgba(var(--glow-rgb), 0.1);
}

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

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
  color: var(--text-main);
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--glow);
  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: 0 20px 20px 20px;
  color: var(--text-secondary);
  font-size: 1em;
  line-height: 1.6;
}

.page-privacy-policy__faq-answer p {
  margin-bottom: 0;
}

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

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

  .page-privacy-policy__main-title {
    font-size: 2.2em; /* Adjusted for mobile */
  }

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

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

  .page-privacy-policy__text-block {
    padding: 20px;
    margin-bottom: 30px;
  }

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

  .page-privacy-policy__sub-section-title {
    font-size: 1.4em;
  }

  .page-privacy-policy__image {
    max-height: 300px;
    margin: 20px auto;
  }

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

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

  /* Mobile video responsive adaptation (if any video is added) */
  .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,
  .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;
  }

  /* Mobile button responsive adaptation */
  .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;
    margin-left: 0 !important; /* Remove margin for stacked buttons */
    margin-bottom: 10px; /* Add spacing between stacked buttons */
  }

  .page-privacy-policy__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px; /* Spacing between stacked buttons */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__cta-section {
    padding: 50px 15px;
  }

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

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

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

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

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

/* Custom Colors based on provided palette */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
  --glow-rgb: 87, 227, 141; /* RGB for --glow for rgba usage */
}

.page-privacy-policy__hero-content .page-privacy-policy__main-title {
  color: var(--gold); /* H1 in hero section uses gold */
}

.page-privacy-policy__hero-content .page-privacy-policy__subtitle {
  color: var(--text-main); /* Subtitle in hero section uses main text color for contrast */
}

.page-privacy-policy__text-block h2 {
  color: var(--gold);
}

.page-privacy-policy__text-block h3 {
  color: var(--glow);
}

.page-privacy-policy__text-block p,
.page-privacy-policy__text-block li {
  color: var(--text-secondary);
}

.page-privacy-policy__text-block a {
  color: var(--glow);
}

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

.page-privacy-policy__faq-item summary .page-privacy-policy__faq-toggle {
  color: var(--glow);
}

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

.page-privacy-policy__cta-title {
  color: var(--gold);
}

.page-privacy-policy__cta-description {
  color: var(--text-main);
}

/* Ensure no CSS filter on images */
.page-privacy-policy img {
  filter: none; /* Reset any potential filter */
}