/* style/privacy-policy.css */

/* Base Styles for the page content */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #ffffff; /* Explicitly set for clarity, though body default is white */
  padding-bottom: 60px; /* Add some padding at the bottom */
}

/* Header offset for fixed header */
.page-privacy-policy__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* Container for content */
.page-privacy-policy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-privacy-policy__hero-section {
  background-color: #017439; /* Brand primary color for hero background */
  color: #ffffff; /* White text for dark background */
  text-align: center;
  padding-bottom: 60px;
}

.page-privacy-policy__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff; /* White text for dark background */
  line-height: 1.2;
}

.page-privacy-policy__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-privacy-policy__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: block; /* Ensure no extra space below image */
  margin: 0 auto;
}

/* Content Sections */
.page-privacy-policy__content-section {
  padding: 60px 0;
  background-color: #f9f9f9; /* Light background for content */
}

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

.page-privacy-policy p {
  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: 10px;
}

.page-privacy-policy a {
  color: #017439; /* Brand primary color for links */
  text-decoration: underline;
}

.page-privacy-policy a:hover {
  text-decoration: none;
  color: #005f2e; /* Slightly darker green on hover */
}

.page-privacy-policy__image-wrapper {
  margin: 30px 0;
  text-align: center;
}

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

/* Contact List */
.page-privacy-policy__contact-list {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-privacy-policy__contact-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #333333;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  margin-top: 40px;
}

.page-privacy-policy__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden; /* For smooth transitions if using max-height */
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439; /* Brand color for FAQ questions */
  cursor: pointer;
  background-color: #f0fdf6; /* Lightest green for contrast */
}

.page-privacy-policy__faq-question:hover {
  background-color: #e6f7ef; /* Slightly darker on hover */
}

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

/* For details tag, hide default marker */
.page-privacy-policy__faq-item summary {
  list-style: none;
}
.page-privacy-policy__faq-item summary::-webkit-details-marker {
  display: none;
}

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

.page-privacy-policy__cta-text {
  font-size: 1.5em;
  margin-bottom: 25px;
  font-weight: bold;
  color: #ffffff;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Using the specified 'Login'/'Register' color for primary CTA */
  color: #FFFF00; /* Using the specified 'Login/Register font' color */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Ensure long words break */
}

.page-privacy-policy__btn-primary:hover {
  background-color: #a00606; /* Slightly darker red on hover */
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: 2.2em;
  }
  .page-privacy-policy__section-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__intro-text,
  .page-privacy-policy p,
  .page-privacy-policy li,
  .page-privacy-policy__faq-question,
  .page-privacy-policy__faq-answer {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__main-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__intro-text {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-privacy-policy__section-title {
    font-size: 1.5em;
  }
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-section {
    padding: 30px 0;
  }
}