/* style/privacy-policy.css */

/* Custom Colors */
:root {
  --page-privacy-policy-primary-color: #11A84E;
  --page-privacy-policy-secondary-color: #22C768;
  --page-privacy-policy-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-privacy-policy-card-bg: #11271B;
  --page-privacy-policy-background: #08160F;
  --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 {
  font-family: 'Arial', sans-serif;
  color: var(--page-privacy-policy-text-main); /* Light text for dark background */
  background-color: var(--page-privacy-policy-background);
  line-height: 1.6;
}

.page-privacy-policy__dark-section {
  background-color: var(--page-privacy-policy-background);
  color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 60px; /* Small top padding, larger bottom padding */
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 70vh; /* Limit height to prevent image being too tall */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-privacy-policy__hero-content {
  position: relative; /* Ensure content is above image but not overlapping in document flow */
  z-index: 1;
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0 20px;
}

.page-privacy-policy__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--page-privacy-policy-gold-color); /* Use gold for main title */
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.5); /* Soft glow */
}

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

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--page-privacy-policy-button-gradient);
  color: var(--page-privacy-policy-text-main);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-privacy-policy__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(17, 168, 78, 0.4);
}

.page-privacy-policy__content-section {
  padding: 60px 0;
  border-top: 1px solid var(--page-privacy-policy-divider-color);
}

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

.page-privacy-policy__section-title {
  font-size: 2em;
  color: var(--page-privacy-policy-primary-color);
  margin-bottom: 30px;
  text-align: left;
  border-bottom: 2px solid var(--page-privacy-policy-border-color);
  padding-bottom: 10px;
}

.page-privacy-policy__text-block {
  margin-bottom: 20px;
  color: var(--page-privacy-policy-text-secondary);
  text-align: justify;
}

.page-privacy-policy__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: var(--page-privacy-policy-text-secondary);
}

.page-privacy-policy__list li {
  margin-bottom: 10px;
}

.page-privacy-policy__sub-list {
  list-style: circle inside;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 20px;
  color: var(--page-privacy-policy-text-secondary);
}

.page-privacy-policy__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__image--left {
  float: left;
  width: 45%;
  margin-right: 30px;
  margin-bottom: 20px;
}

.page-privacy-policy__image--right {
  float: right;
  width: 45%;
  margin-left: 30px;
  margin-bottom: 20px;
}

.page-privacy-policy__faq-section {
  margin-top: 60px;
  clear: both;
}

.page-privacy-policy__faq-title {
  font-size: 2em;
  color: var(--page-privacy-policy-gold-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 6px rgba(87, 227, 141, 0.3);
}

.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-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  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);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-privacy-policy__faq-question: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.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-privacy-policy-gold-color);
}

.page-privacy-policy__faq-answer {
  padding: 0 25px;
  color: var(--page-privacy-policy-text-secondary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 15px 25px 25px;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
  border-bottom-color: transparent;
}

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

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

  .page-privacy-policy__main-title {
    font-size: 1.8em; /* Adjust for mobile readability */
  }

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

  .page-privacy-policy__cta-button {
    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-section {
    padding: 40px 0;
  }

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

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

  .page-privacy-policy__image,
  .page-privacy-policy__image--left,
  .page-privacy-policy__image--right {
    float: none;
    width: 100% !important;
    margin: 20px auto !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

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

  .page-privacy-policy__faq-toggle {
    font-size: 1.2em;
  }

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

  .page-privacy-policy__faq-item[open] .page-privacy-policy__faq-answer {
    padding: 15px 20px 20px;
  }

  /* Ensure no horizontal scroll for any content */
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-section,
  .page-privacy-policy__faq-section {
    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 */
  }
  
  .page-privacy-policy__hero-content {
    padding: 0 15px; /* Adjust padding for mobile hero content */
  }

  .page-privacy-policy__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

/* Contrast Fixes - Ensure text on dark background is light */
.page-privacy-policy p,
.page-privacy-policy li,
.page-privacy-policy__text-block {
  color: var(--page-privacy-policy-text-secondary);
}

.page-privacy-policy__faq-question,
.page-privacy-policy__faq-qtext {
  color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__faq-toggle {
  color: var(--page-privacy-policy-gold-color);
}

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

/* Ensure images maintain original colors */
.page-privacy-policy img {
  filter: none; /* No CSS filter to change image colors */
}