/* style/privacy-policy.css */

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

.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Light text for dark body background */
  background-color: var(--background-color); /* Dark background */
  line-height: 1.6;
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: var(--background-color);
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text contrast */
}

.page-privacy-policy__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 900px;
  width: 90%;
  z-index: 1;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 5vw, 3.5em);
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-privacy-policy__intro-text {
  font-size: clamp(1em, 2vw, 1.2em);
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__content-section {
  padding: 60px 0;
  background-color: var(--background-color);
}

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

.page-privacy-policy__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: left;
  border-bottom: 2px solid var(--divider-color);
  padding-bottom: 10px;
}

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

.page-privacy-policy p {
  margin-bottom: 1em;
  color: var(--text-main);
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 1em;
  color: var(--text-main);
}

.page-privacy-policy__list-item {
  margin-bottom: 0.5em;
  color: var(--text-main);
}

.page-privacy-policy__link {
  color: var(--glow-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
  color: var(--gold-color);
  text-decoration: underline;
}

.page-privacy-policy__image-inline {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 800px; /* Constrain image width */
  min-width: 200px; /* Minimum size */
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 60px 0;
  background-color: var(--card-bg);
}

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

.page-privacy-policy__faq-item {
  background-color: var(--background-color);
  border: 1px solid var(--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: 20px;
  cursor: pointer;
  color: var(--text-main);
  font-weight: 600;
  font-size: 1.1em;
  background-color: var(--card-bg);
  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: rgba(var(--primary-color), 0.1);
}

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

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Change to X when open */
}

.page-privacy-policy__faq-answer {
  padding: 0 20px 20px 20px;
  color: var(--text-secondary);
  font-size: 0.95em;
  line-height: 1.5;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    width: 95%;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 4vw, 3em);
  }
  .page-privacy-policy__intro-text {
    font-size: clamp(0.9em, 1.8vw, 1.1em);
  }
}

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

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

  .page-privacy-policy__hero-content {
    position: static;
    transform: none;
    width: auto;
    padding: 20px;
    margin: 20px auto 0 auto;
    background-color: rgba(0, 0, 0, 0.7); /* Ensure readability on smaller screens */
  }

  .page-privacy-policy__hero-image-wrapper {
    max-height: 300px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
    margin-bottom: 10px;
  }

  .page-privacy-policy__intro-text {
    font-size: clamp(0.8em, 2.5vw, 1em);
  }

  .page-privacy-policy__content-section,
  .page-privacy-policy__faq-section {
    padding: 40px 0;
  }

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

  .page-privacy-policy__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__sub-title {
    font-size: clamp(1.2em, 4vw, 1.5em);
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-privacy-policy__list {
    margin-left: 20px;
  }

  /* Responsive image, video, button styles */
  .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-section,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__container,
  .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 horizontal scroll */
  }

  .page-privacy-policy__hero-section {
    padding-top: 10px !important;
  }

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

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

@media (max-width: 480px) {
  .page-privacy-policy__hero-section {
    padding-bottom: 30px;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(1.2em, 7vw, 2em);
  }
  .page-privacy-policy__intro-text {
    font-size: clamp(0.75em, 3.5vw, 0.9em);
  }
  .page-privacy-policy__section-title {
    font-size: clamp(1.3em, 6vw, 1.8em);
  }
}