/* style/privacy-policy.css */

/* Custom Colors */
:root {
  --page-privacy-policy-bg: #08160F;
  --page-privacy-policy-card-bg: #11271B;
  --page-privacy-policy-text-main: #F2FFF6;
  --page-privacy-policy-text-secondary: #A7D9B8;
  --page-privacy-policy-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-privacy-policy-border: #2E7A4E;
  --page-privacy-policy-glow: #57E38D;
  --page-privacy-policy-gold: #F2C14E;
  --page-privacy-policy-divider: #1E3A2A;
  --page-privacy-policy-deep-green: #0A4B2C;
}

.page-privacy-policy {
  background-color: var(--page-privacy-policy-bg);
  color: var(--page-privacy-policy-text-main); /* Main text color for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

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

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 30px; /* Space between image and content */
}

.page-privacy-policy__hero-content {
  position: relative; /* Ensure content is in normal flow, not absolutely positioned over image */
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
  color: var(--page-privacy-policy-gold);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-privacy-policy__hero-description {
  font-size: 1.1rem;
  color: var(--page-privacy-policy-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--page-privacy-policy-btn-gradient);
  color: var(--page-privacy-policy-text-main);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--page-privacy-policy-bg); /* Use background color for consistency */
}

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

.page-privacy-policy__section-title {
  font-size: 2.2rem;
  color: var(--page-privacy-policy-gold);
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: bold;
  border-bottom: 2px solid var(--page-privacy-policy-divider);
  padding-bottom: 10px;
}

.page-privacy-policy__sub-section-title {
  font-size: 1.5rem;
  color: var(--page-privacy-policy-text-main);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

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

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

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

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

.page-privacy-policy__text-link {
  color: var(--page-privacy-policy-glow);
  text-decoration: underline;
  transition: color 0.3s ease;
}

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

.page-privacy-policy__contact-list {
  list-style-type: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-privacy-policy__contact-item {
  margin-bottom: 10px;
  color: var(--page-privacy-policy-text-main);
}

.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.3);
  object-fit: cover;
}

.page-privacy-policy__cta-block {
  background-color: var(--page-privacy-policy-card-bg);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--page-privacy-policy-border);
}

.page-privacy-policy__cta-title {
  font-size: 2rem;
  color: var(--page-privacy-policy-gold);
  margin-bottom: 15px;
}

.page-privacy-policy__cta-description {
  font-size: 1.1rem;
  color: var(--page-privacy-policy-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  gap: 20px;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
  background: var(--page-privacy-policy-btn-gradient);
  color: var(--page-privacy-policy-text-main);
  border: 2px solid transparent;
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__btn-secondary {
  background: transparent;
  color: var(--page-privacy-policy-glow);
  border: 2px solid var(--page-privacy-policy-glow);
}

.page-privacy-policy__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1); /* Light hover effect */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__faq-section {
  background-color: var(--page-privacy-policy-deep-green);
  padding: 60px 20px;
}

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

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

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  color: var(--page-privacy-policy-text-main);
  font-size: 1.1rem;
  background-color: rgba(17, 40, 27, 0.7); /* Slightly lighter card bg for question */
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: rgba(17, 40, 27, 0.9);
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-privacy-policy-glow);
}

/* For details tag */
.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  content: '−'; /* Changed to unicode minus */
}

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

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


.page-privacy-policy__faq-answer {
  padding: 0 20px 20px 20px;
  color: var(--page-privacy-policy-text-secondary);
  font-size: 0.95rem;
  max-height: 0; /* Hidden by default for JS fallback */
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to show content */
}

.page-privacy-policy__faq-answer p {
  margin-top: 10px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-privacy-policy__section-title {
    font-size: 2rem;
  }
  .page-privacy-policy__cta-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 15px;
  }

  /* Ensure all content sections and cards are responsive */
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__cta-block,
  .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;
  }

  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 40px !important;
  }

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

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

  .page-privacy-policy__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-privacy-policy__cta-button {
    padding: 12px 20px;
    font-size: 1rem;
    width: 100% !important;
    max-width: 100% !important;
  }

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

  .page-privacy-policy__sub-section-title {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

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

  .page-privacy-policy__cta-block {
    padding: 30px 20px;
    margin-top: 40px;
  }

  .page-privacy-policy__cta-title {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }

  .page-privacy-policy__cta-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-privacy-policy__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0;
  }
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    font-size: 1rem;
  }

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

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

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

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }
  .page-privacy-policy__section-title {
    font-size: 1.6rem;
  }
  .page-privacy-policy__sub-section-title {
    font-size: 1.2rem;
  }
  .page-privacy-policy__cta-title {
    font-size: 1.5rem;
  }
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Contrast Fixes - Ensure text is always readable */
/* Main content area text */
.page-privacy-policy__content-area p,
.page-privacy-policy__content-area li {
  color: var(--page-privacy-policy-text-secondary); /* Use secondary text for readability on dark background */
}

/* Ensure links in main content are visible */
.page-privacy-policy__content-area a {
  color: var(--page-privacy-policy-glow);
}

/* FAQ answers */
.page-privacy-policy__faq-answer p {
  color: var(--page-privacy-policy-text-secondary);
}