/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: #1a1a1a; /* Ensure consistency with body background */
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  text-align: center;
  padding: 80px 0;
  background-color: #017439; /* Use brand primary color for hero background */
  color: #ffffff; /* Ensure white text on brand color */
}

.page-privacy-policy__container--hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-privacy-policy__heading-primary {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  line-height: 1.8;
}

.page-privacy-policy__hero-image-wrapper {
  margin: 40px 0;
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* General Content Sections */
.page-privacy-policy__section--content {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separator */
}

.page-privacy-policy__section--content:last-of-type {
  border-bottom: none;
}

.page-privacy-policy__heading-secondary {
  font-size: 2.2em;
  color: #017439; /* Brand color for main headings */
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.page-privacy-policy__heading-secondary::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

.page-privacy-policy__heading-tertiary {
  font-size: 1.6em;
  color: #ffffff; /* White text for sub-headings */
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-privacy-policy__paragraph {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-privacy-policy__paragraph--last-updated {
  font-style: italic;
  text-align: right;
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.7);
}

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-privacy-policy__link {
  color: #FFFF00; /* Yellow for links to stand out */
  text-decoration: underline;
}

.page-privacy-policy__link:hover {
  color: #fff;
  text-decoration: none;
}

/* Image styling */
.page-privacy-policy__image-wrapper {
  margin: 30px 0;
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

/* Buttons */
.page-privacy-policy__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-privacy-policy__button--primary {
  background-color: #C30808; /* Red for primary action */
  color: #FFFF00; /* Yellow text for contrast */
  border: 2px solid #C30808;
}

.page-privacy-policy__button--primary:hover {
  background-color: #E01A1A;
  border-color: #E01A1A;
  color: #ffffff;
}

.page-privacy-policy__button--secondary {
  background-color: transparent;
  color: #FFFF00; /* Yellow text */
  border: 2px solid #FFFF00;
}

.page-privacy-policy__button--secondary:hover {
  background-color: #FFFF00;
  color: #C30808; /* Red text on yellow background */
}

/* FAQ Section */
.page-privacy-policy__section--faq {
  padding: 60px 0;
}

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

.page-privacy-policy__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for FAQ item */
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__faq-question h3 {
  margin: 0;
  font-size: 1.3em;
  color: #ffffff;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFFF00; /* Yellow toggle icon */
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to X or minus */
  color: #C30808; /* Red when active */
}