/* style/privacy-policy.css */

:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-color: #C30808;
  --login-color: #C30808;
  --background-color: #FFFFFF;
  --register-login-font-color: #FFFF00;
  --dark-background-body: #1a1a2e;
  --light-text-on-dark: #ffffff;
  --dark-text-on-light: #333333;
}

.page-privacy-policy {
  color: var(--light-text-on-dark); /* Default text color for the page, assuming body background is dark */
  font-family: 'Arial', sans-serif;
  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 20px 60px 20px; /* Small top padding, more bottom padding */
  background-color: var(--dark-background-body); /* Ensure hero section uses a dark background */
  color: var(--light-text-on-dark);
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Slightly dim the background image for readability */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 5vw, 3.5em);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--light-text-on-dark);
}

.page-privacy-policy__description {
  font-size: clamp(1em, 2.5vw, 1.2em);
  margin-bottom: 30px;
  color: var(--light-text-on-dark);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  background-color: var(--register-color);
  color: var(--register-login-font-color);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-privacy-policy__cta-button:hover {
  background-color: #a30707;
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--background-color); /* Main content area has a light background */
  color: var(--dark-text-on-light); /* Dark text on light background */
}

.page-privacy-policy__section-block {
  margin-bottom: 50px;
}

.page-privacy-policy__heading-2 {
  font-size: 2em;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 25px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
}

.page-privacy-policy__heading-3 {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

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

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

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

.page-privacy-policy__list-item strong {
  color: var(--primary-color);
}

.page-privacy-policy a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-privacy-policy a:hover {
  color: #005f2c;
}

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-privacy-policy__last-updated {
  font-style: italic;
  color: #666;
  margin-top: 30px;
}

.page-privacy-policy__cta-section {
  text-align: center;
  padding: 50px 20px;
  background-color: var(--primary-color);
  color: var(--light-text-on-dark);
  border-radius: 10px;
  margin-top: 50px;
}

.page-privacy-policy__cta-text {
  font-size: 1.5em;
  margin-bottom: 25px;
  color: var(--light-text-on-dark);
  font-weight: 600;
}

/* FAQ Styles */
.page-privacy-policy__faq-list {
  margin-top: 30px;
}

.page-privacy-policy__faq-item {
  background-color: var(--secondary-color);
  border: 1px solid #e0e0e0;
  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;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
}

.page-privacy-policy__faq-item[open] > .page-privacy-policy__faq-question {
  border-bottom: 1px solid #e0e0e0;
}

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

.page-privacy-policy__faq-question .page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--primary-color);
  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: 20px 25px;
  font-size: 1em;
  color: var(--dark-text-on-light);
}

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

/* Responsive Styles */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 10px 15px 40px 15px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-privacy-policy__description {
    font-size: clamp(0.9em, 3vw, 1em);
  }

  .page-privacy-policy__cta-button {
    padding: 12px 20px;
    font-size: 1em;
    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-area {
    padding: 30px 15px;
  }

  .page-privacy-policy__heading-2 {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-privacy-policy__heading-3 {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

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

  .page-privacy-policy__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

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

  .page-privacy-policy__cta-text {
    font-size: 1.2em;
  }

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

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

  /* Ensure all image containers are responsive */
  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__section-block,
  .page-privacy-policy__cta-section,
  .page-privacy-policy__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }
  .page-privacy-policy__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

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

  .page-privacy-policy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}