.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background-color);
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-privacy-policy__hero-content {
  position: relative; /* Ensure content is above the image but not overlapping */
  z-index: 10;
  max-width: 1200px;
  width: 100%;
  padding: 20px;
  text-align: center;
  margin-top: -100px; /* Pull content slightly up for better visual flow */
  background-color: transparent; /* No background to avoid obscuring image */
}

.page-privacy-policy__main-title {
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size for H1 */
}

.page-privacy-policy__hero-description {
  font-size: 1.1em;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

.page-privacy-policy__content-section {
  padding: 60px 20px;
  background-color: var(--background-color);
  color: var(--text-main);
}

.page-privacy-policy__dark-section {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-privacy-policy__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-privacy-policy__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--glow);
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 0 0 5px rgba(87, 227, 141, 0.5);
}

.page-privacy-policy__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--text-secondary);
}

.page-privacy-policy__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-privacy-policy__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--text-main);
}

.page-privacy-policy__card:hover {
  transform: translateY(-5px);
}

.page-privacy-policy__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-privacy-policy__card-title {
  font-size: 1.8em;
  font-weight: 600;
  color: var(--glow);
  margin-bottom: 15px;
}

.page-privacy-policy__card-content p {
  font-size: 1em;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.page-privacy-policy__card-content ul {
  list-style: none;
  padding: 0;
  margin: 15px 0 0 0;
  text-align: left;
}

.page-privacy-policy__card-content ul li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%232AD16F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check-circle"><path d="M22 11.08V12a10 10 0 1 1-5.93-8.83"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 28px;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.page-privacy-policy__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-privacy-policy__feature-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--text-main);
}

.page-privacy-policy__feature-title {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--glow);
  margin-bottom: 15px;
}

.page-privacy-policy__feature-item p {
  color: var(--text-secondary);
}

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

.page-privacy-policy__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--divider);
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: var(--gold);
  color: #000;
}

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

.page-privacy-policy__faq-question::marker {
  display: none;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--glow);
  margin-left: 15px;
}

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

.page-privacy-policy__faq-answer {
  padding: 20px 30px;
  font-size: 1em;
  color: var(--text-secondary);
  background-color: var(--card-bg);
  border-top: 1px solid var(--divider);
}

.page-privacy-policy__faq-answer p {
  margin-bottom: 0;
}

.page-privacy-policy__contact-info {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: var(--text-secondary);
}

.page-privacy-policy__contact-info a {
  color: var(--glow);
  text-decoration: none;
  font-weight: 600;
}

.page-privacy-policy__contact-info a:hover {
  text-decoration: underline;
}

.page-privacy-policy__conclusion-section {
  background-color: var(--card-bg);
  padding: 50px 20px;
  text-align: center;
}

.page-privacy-policy__conclusion-text {
  font-size: 1.2em;
  color: var(--text-main);
  max-width: 900px;
  margin: 0 auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: clamp(24px, 5vw, 40px);
  }

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

  .page-privacy-policy__card-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-content {
    margin-top: -50px; /* Adjust for smaller screens */
  }

  .page-privacy-policy__main-title {
    font-size: clamp(22px, 6vw, 36px);
    padding: 0 15px;
  }

  .page-privacy-policy__hero-description {
    font-size: 1em;
    padding: 0 15px;
  }

  .page-privacy-policy__section-title {
    font-size: 1.8em;
    padding: 0 15px;
  }

  .page-privacy-policy__section-intro {
    font-size: 1em;
    padding: 0 15px;
  }

  .page-privacy-policy__content-section,
  .page-privacy-policy__conclusion-section {
    padding: 40px 15px;
  }

  .page-privacy-policy__card,
  .page-privacy-policy__feature-item {
    padding: 20px;
  }

  .page-privacy-policy__card-title,
  .page-privacy-policy__feature-title {
    font-size: 1.3em;
  }

  .page-privacy-policy__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

  /* Mobile responsive images */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__card-grid,
  .page-privacy-policy__feature-list,
  .page-privacy-policy__container,
  .page-privacy-policy__card,
  .page-privacy-policy__feature-item,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  /* Add horizontal padding to main content areas for mobile */
  .page-privacy-policy__content-section .page-privacy-policy__container,
  .page-privacy-policy__conclusion-section .page-privacy-policy__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__hero-content {
    margin-top: -30px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(20px, 7vw, 32px);
  }

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

  .page-privacy-policy__card-grid {
    grid-template-columns: 1fr;
  }

  .page-privacy-policy__feature-list {
    grid-template-columns: 1fr;
  }

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

/* Color Contrast & Theming */
:root {
  --background-color: #08160F;
  --card-bg: #11271B;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* General text color for the page */
.page-privacy-policy {
  color: var(--text-main); /* Light text on dark body background */
}

/* Link colors */
.page-privacy-policy a {
  color: var(--glow);
  text-decoration: none;
}

.page-privacy-policy a:hover {
  text-decoration: underline;
  color: var(--gold);
}

/* Dark sections should have light text */
.page-privacy-policy__dark-section {
  color: var(--text-main);
}

/* Cards within dark sections also maintain light text */
.page-privacy-policy__dark-section .page-privacy-policy__card {
  color: var(--text-main);
}

/* Ensure all text elements inherit or explicitly set color for contrast */
.page-privacy-policy p, .page-privacy-policy li, .page-privacy-policy span {
  color: inherit;
}

/* Button styling (example, if any were present) */
.page-privacy-policy__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-privacy-policy__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}