/* style/privacy-policy.css */
.page-privacy-policy {
  color: #ffffff; /* Text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #1a1a2e; /* Inherited from shared.css body background */
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  overflow: hidden;
}

.page-privacy-policy__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

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

.page-privacy-policy__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFF00; /* Use bright color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #1a1a2e; /* Ensure this section maintains body background */
}

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

.page-privacy-policy__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand primary color for titles */
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  border-bottom: 2px solid #017439;
  padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
  font-size: 1.8em;
  color: #FFFF00; /* Bright yellow for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy p {
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-privacy-policy__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-privacy-policy__list li {
  margin-bottom: 10px;
  color: #e0e0e0;
}

.page-privacy-policy__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-privacy-policy__image--left {
  float: left;
  margin-right: 20px;
  max-width: 400px;
}

.page-privacy-policy__image--right {
  float: right;
  margin-left: 20px;
  max-width: 400px;
}

.page-privacy-policy__cta-wrapper {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: rgba(1, 116, 57, 0.2); /* Semi-transparent brand color */
  border-radius: 10px;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-privacy-policy__cta-button--primary {
  background-color: #C30808; /* Specific color for CTA */
  color: #FFFF00; /* Specific font color for CTA */
  border: none;
}

.page-privacy-policy__cta-button--primary:hover {
  background-color: #9c0606;
  transform: translateY(-2px);
}

/* Clearfix for floating images */
.page-privacy-policy__container::after {
  content: "";
  display: table;
  clear: both;
}

/* FAQ Section - Using details/summary for accessibility */
.page-privacy-policy__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 15px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFF00;
  list-style: none; /* Remove default marker */
  padding-right: 10px;
}

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

.page-privacy-policy__faq-question {
  flex-grow: 1;
}

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

.page-privacy-policy__faq-answer {
  padding-top: 15px;
  color: #e0e0e0;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: 2.8em;
  }

  .page-privacy-policy__section-title {
    font-size: 2em;
  }

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

  .page-privacy-policy__image--left,
  .page-privacy-policy__image--right {
    float: none;
    margin: 20px auto;
    max-width: 100%;
  }
}

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

  .page-privacy-policy__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    min-height: 300px;
  }

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

  .page-privacy-policy__main-title {
    font-size: 2em;
    word-wrap: break-word;
  }

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

  .page-privacy-policy__section-title {
    font-size: 1.8em;
    text-align: left;
  }

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

  .page-privacy-policy__content-area {
    padding: 30px 15px;
  }

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

  /* Ensure containers with images are responsive */
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__container,
  .page-privacy-policy__cta-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button responsive for mobile */
  .page-privacy-policy__cta-button,
  .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-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
}