:root {
  --primary-color-pp: #B22222; /* Firebrick */
  --secondary-color-pp: #FFD700; /* Gold */
  --text-color-dark-pp: #333333;
  --text-color-light-pp: #ffffff;
  --background-light-pp: #f8f8f8;
  --background-dark-pp: #2a0a0a;
  --border-color-pp: #e0e0e0;
}

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

.page-privacy-policy-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Section */
.page-privacy-policy-hero {
  position: relative;
  width: 100%;
  height: 450px; /* Adjusted height for privacy policy page */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--primary-color-pp);
}

.page-privacy-policy-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-privacy-policy-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-privacy-policy-hero-content {
  position: relative;
  z-index: 3;
  color: var(--text-color-light-pp);
  max-width: 800px;
  padding: 20px;
}

.page-privacy-policy-hero-content h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--secondary-color-pp);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy-hero-content p {
  font-size: 1.3em;
  margin-bottom: 30px;
  font-weight: 300;
}

.page-privacy-policy-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color-pp);
  color: var(--primary-color-pp);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-privacy-policy-button:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-privacy-policy-section {
  padding: 60px 0;
}

.page-privacy-policy-section:nth-of-type(even) {
  background-color: #f0f0f0;
}

.page-privacy-policy-section h2 {
  font-size: 2.2em;
  color: var(--primary-color-pp);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

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

.page-privacy-policy-section h3 {
  font-size: 1.6em;
  color: var(--primary-color-pp);
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-privacy-policy-section p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

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

.page-privacy-policy-section ul li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-privacy-policy-section a {
  color: var(--primary-color-pp);
  text-decoration: underline;
}

.page-privacy-policy-section a:hover {
  color: var(--secondary-color-pp);
}

.page-privacy-policy-image-content {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Call to Action Section */
.page-privacy-policy-cta {
  background-color: var(--primary-color-pp);
  color: var(--text-color-light-pp);
  text-align: center;
  padding: 80px 20px;
}

.page-privacy-policy-cta-content h2 {
  color: var(--secondary-color-pp);
  font-size: 2.5em;
  margin-bottom: 20px;
}

.page-privacy-policy-cta-content p {
  font-size: 1.2em;
  margin-bottom: 40px;
}

.page-privacy-policy-button-primary {
  background: var(--secondary-color-pp);
  color: var(--primary-color-pp);
}

.page-privacy-policy-button-primary:hover {
  background: #e6c200;
}

/* FAQ Section */
.page-privacy-policy-faq {
  background-color: var(--background-light-pp);
}

.page-privacy-policy-faq h2 {
  margin-bottom: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color-pp);
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--text-color-dark-pp);
  flex-grow: 1;
}

.faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--primary-color-pp);
  transition: transform 0.3s ease;
  margin-left: 15px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color-pp);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: var(--text-color-dark-pp);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color-pp);
}

.faq-answer p {
  margin: 0;
  font-size: 1.05em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy-hero-content h1 {
    font-size: 2.8em;
  }
  .page-privacy-policy-hero-content p {
    font-size: 1.1em;
  }
  .page-privacy-policy-section h2 {
    font-size: 2em;
  }
  .page-privacy-policy-section h3 {
    font-size: 1.4em;
  }
  .page-privacy-policy-section p, .page-privacy-policy-section ul li {
    font-size: 1em;
  }
  .page-privacy-policy-cta-content h2 {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy-hero {
    height: 350px;
  }
  .page-privacy-policy-hero-content h1 {
    font-size: 2.2em;
  }
  .page-privacy-policy-hero-content p {
    font-size: 1em;
  }
  .page-privacy-policy-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-privacy-policy-section {
    padding: 40px 0;
  }
  .page-privacy-policy-section h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-privacy-policy-section h3 {
    font-size: 1.3em;
    margin-top: 30px;
  }
  .page-privacy-policy-image-content {
    margin: 30px auto;
  }
  .page-privacy-policy-cta {
    padding: 60px 15px;
  }
  .page-privacy-policy-cta-content h2 {
    font-size: 1.8em;
  }
  .page-privacy-policy-cta-content p {
    font-size: 1em;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 1.5em;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy-hero {
    height: 300px;
  }
  .page-privacy-policy-hero-content h1 {
    font-size: 1.8em;
  }
  .page-privacy-policy-hero-content p {
    font-size: 0.9em;
  }
  .page-privacy-policy-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-privacy-policy-section h2 {
    font-size: 1.5em;
  }
  .page-privacy-policy-section h3 {
    font-size: 1.1em;
  }
  .page-privacy-policy-section ul {
    padding-left: 15px;
  }
  .page-privacy-policy-section p, .page-privacy-policy-section ul li {
    font-size: 0.9em;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 1.3em;
  }
}