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

.page-privacy-policy {
  color: var(--text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: var(--background);
}

.page-privacy-policy__hero-section {
  background: var(--background-card-bg);
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.page-privacy-policy__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px; /* Space between image and text */
  filter: none; /* Ensure no CSS filter */
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-privacy-policy__hero-content h1 {
  font-size: clamp(2em, 4vw, 3.2em);
  color: var(--text-main);
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-privacy-policy__hero-content p {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-privacy-policy__content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-privacy-policy__content-section h2 {
  font-size: 2.2em;
  color: var(--text-main);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--divider-color);
  padding-bottom: 10px;
}

.page-privacy-policy__content-section h3 {
  font-size: 1.6em;
  color: var(--gold-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy__content-section p,
.page-privacy-policy__content-section ul,
.page-privacy-policy__content-section ol {
  font-size: 1em;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.page-privacy-policy__content-section ul,
.page-privacy-policy__content-section ol {
  padding-left: 25px;
}

.page-privacy-policy__content-section li {
  margin-bottom: 8px;
}

.page-privacy-policy__image-container {
  text-align: center;
  margin: 30px 0;
}

.page-privacy-policy__image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  filter: none; /* Ensure no CSS filter */
}

.page-privacy-policy__cta-section {
  background: var(--deep-green);
  padding: 50px 20px;
  text-align: center;
  margin-top: 40px;
  border-radius: 8px;
}

.page-privacy-policy__cta-section h2 {
  color: var(--text-main);
  margin-bottom: 25px;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  background: var(--button-gradient);
  color: var(--text-main);
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Invert gradient on hover */
}

.page-privacy-policy__faq-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  background: var(--background-card-bg);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__faq-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-main);
}

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

.page-privacy-policy__faq-item details {
  background: transparent;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: var(--deep-green);
  color: var(--text-main);
  font-weight: bold;
  cursor: pointer;
  font-size: 1.1em;
  transition: background 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background: var(--deep-green); /* Keep same hover background for clarity */
}

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

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to cross */
}

.page-privacy-policy__faq-answer {
  padding: 15px 20px;
  background: var(--background-card-bg);
  color: var(--text-secondary);
  font-size: 0.95em;
}

.page-privacy-policy__faq-item details > summary {
  list-style: none;
}

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

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

  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body already handles header offset */
  }

  .page-privacy-policy__hero-content h1 {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

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

  .page-privacy-policy__content-section h2 {
    font-size: 1.8em;
  }

  .page-privacy-policy__content-section h3 {
    font-size: 1.4em;
  }

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

  .page-privacy-policy__btn-primary {
    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;
  }
  
  .page-privacy-policy__faq-section {
    padding: 30px 15px;
  }

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

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

  /* Image responsive rules */
  .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__image-container,
  .page-privacy-policy__cta-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; /* Prevent content overflow */
  }
  
  .page-privacy-policy__hero-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

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