/* style/privacy-policy.css */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF;
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding for first section */
  padding-bottom: 60px;
  background-color: #017439;
  color: #ffffff;
  text-align: center;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 1200px; /* Max width for the image within its container */
  margin: 0 auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  margin: 20px auto 0 auto;
  padding: 0 20px;
}

.page-privacy-policy__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__intro-text {
  font-size: 1.15em;
  line-height: 1.7;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-privacy-policy__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  border-radius: 8px;
  transform: translateY(-30px);
  position: relative;
  z-index: 1;
}

.page-privacy-policy__section-title {
  font-size: 2em;
  color: #017439;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
  font-size: 1.5em;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy__paragraph {
  margin-bottom: 15px;
  color: #333333;
}

.page-privacy-policy__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

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

.page-privacy-policy__list-item strong {
  color: #017439;
}

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

.page-privacy-policy__image-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.page-privacy-policy a {
  color: #017439;
  text-decoration: underline;
}

.page-privacy-policy a:hover {
  color: #005a2e;
  text-decoration: none;
}

/* CTA Section */
.page-privacy-policy__cta-section {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: #f8f8f8;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.page-privacy-policy__cta-text {
  font-size: 1.3em;
  margin-bottom: 20px;
  color: #333333;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: #017439;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #005a2e;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: #f5f5f5;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.03);
}

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

.page-privacy-policy__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-privacy-policy__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  color: #333333;
  background-color: #fcfcfc;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-item summary:hover {
  background-color: #f0f0f0;
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
  color: #017439;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #017439;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  content: '−';
}

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

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

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

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

  .page-privacy-policy__hero-image {
    border-radius: 0;
  }

  .page-privacy-policy__main-title {
    font-size: 1.8em;
    margin-top: 15px;
  }

  .page-privacy-policy__intro-text {
    font-size: 1em;
  }

  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section {
    padding: 20px 15px;
    transform: translateY(-15px);
    margin: 0 auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__section-title {
    font-size: 1.6em;
    margin-top: 30px;
  }

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

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

  .page-privacy-policy__image-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Buttons responsive */
  .page-privacy-policy__btn-primary,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

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

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