/* style/privacy-policy.css */

/* Base styles for the page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light background */
  background-color: #ffffff; /* Default light background */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #f5f5f5;
  text-align: center;
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

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

.page-privacy-policy__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: bold;
  color: #017439; /* Primary brand color for title */
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

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

/* Content Area */
.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  margin-top: 20px;
}

.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__paragraph {
  margin-bottom: 15px;
  color: #333333;
}

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

.page-privacy-policy__list li {
  margin-bottom: 8px;
}

.page-privacy-policy__image-block {
  margin: 30px 0;
  text-align: center;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f9f9f9;
  padding-bottom: 15px;
}

.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-bottom: 1px solid #e0e0e0;
}

.page-privacy-policy__image-caption {
  font-size: 0.9em;
  color: #666666;
  margin-top: 10px;
  padding: 0 15px;
}

/* Call to Action Section */
.page-privacy-policy__cta-section {
  background-color: #017439; /* Primary brand color */
  color: #ffffff;
  padding: 40px 20px;
  text-align: center;
  border-radius: 8px;
  margin-top: 40px;
}

.page-privacy-policy__cta-title {
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-privacy-policy__cta-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Buttons */
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 0 10px 10px 10px; /* Add margin for spacing, especially on mobile */
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #e00b0b;
  color: #ffffff;
  border-color: #e00b0b;
}

.page-privacy-policy__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-privacy-policy__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #017439;
  border-color: #017439;
}

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

.page-privacy-policy__faq-section .page-privacy-policy__section-title {
  color: #017439;
  text-align: center;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 30px;
}

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

.page-privacy-policy__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-weight: bold;
  cursor: pointer;
  background-color: #f0f0f0;
  color: #333333;
  list-style: none; /* Remove default marker */
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit browsers */
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

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

.page-privacy-policy__faq-answer {
  padding: 15px 20px;
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
  color: #555555;
}

/* Responsive Design */
@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__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

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

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

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

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0 !important; /* Stack buttons vertically */
  }

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

  .page-privacy-policy__cta-title {
    font-size: 1.8em;
  }

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

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

  /* Ensure all containers with images/videos are responsive */
  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__image-block,
  .page-privacy-policy__content-area,
  .page-privacy-policy__cta-section,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-privacy-policy__faq-item summary {
    padding: 12px 15px;
  }

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

/* Color Contrast Fixes (if needed, based on body background) */
/* Assuming body is light background from shared.css */
.page-privacy-policy__dark-section {
  background: #017439;
  color: #ffffff;
}

.page-privacy-policy__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-privacy-policy__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

/* Ensure content text is always readable */
.page-privacy-policy p,
.page-privacy-policy li,
.page-privacy-policy__faq-qtext {
  color: #333333; /* Default dark text on light background */
}

.page-privacy-policy__dark-section p,
.page-privacy-policy__dark-section li {
  color: #ffffff;
}

/* Button contrast is explicitly set above */