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

.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Ensure body background is respected */
  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;
  overflow: hidden;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding for content below */
  background-color: var(--bg-dark);
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 20px;
}

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

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

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

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons are responsive */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

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

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px var(--glow-color);
}

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

.page-privacy-policy__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-main);
  box-shadow: 0 0 15px var(--glow-color);
}

.page-privacy-policy__content-area,
.page-privacy-policy__faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--bg-dark); /* Ensure background for content area */
  color: var(--text-main); /* Text color for content area */
}

.page-privacy-policy__section-title {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
}

.page-privacy-policy__sub-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 600;
}

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

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

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

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

.page-privacy-policy__image-content-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin: 40px 0;
}

.page-privacy-policy__content-image,
.page-privacy-policy__contact-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-privacy-policy__contact-image-wrapper {
  margin-top: 30px;
  text-align: center;
}

.page-privacy-policy__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-privacy-policy__contact-list li {
  margin-bottom: 10px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

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

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

/* FAQ Section */
.page-privacy-policy__faq-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-privacy-policy__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  color: var(--text-main);
}

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

.page-privacy-policy__faq-question:hover {
  background-color: var(--primary-color);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
  background-color: var(--primary-color);
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  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: 15px 25px 20px;
  font-size: 1rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--divider-color);
}

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

/* Details element specific styling */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    padding: 0 40px;
  }

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

  .page-privacy-policy__sub-title {
    font-size: 1.3rem;
  }
}

@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__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem); /* Adjust H1 for smaller screens */
    margin-bottom: 15px;
  }

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

  .page-privacy-policy__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding: 0 15px;
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-privacy-policy__sub-title {
    font-size: 1.2rem;
  }

  .page-privacy-policy__image-content-block {
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
  }

  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px; /* Ensure min size is still met */
    min-height: 200px; /* Ensure min size is still met */
  }

  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-image-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__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

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

@media (max-width: 480px) {
  .page-privacy-policy__hero-content {
    padding: 0 15px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.5rem, 9vw, 2.2rem);
  }

  .page-privacy-policy__subtitle {
    font-size: 0.95rem;
  }

  .page-privacy-policy__section-title {
    font-size: 1.4rem;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.1rem;
  }
}