/* style/privacy-policy.css */
:root {
  --primary-color: #FFD700;
  --secondary-color: #1A1A1A;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f5f5f5;
  --border-color: #e0e0e0;
}

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

/* 🚨 Fixed Header Clearance */
.page-privacy-policy__hero-banner {
  padding-top: 120px; /* Desktop: Adjust based on fixed header height */
  background-color: var(--secondary-color);
  color: var(--text-light);
  text-align: center;
  padding-bottom: 60px;
}

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

.page-privacy-policy__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__hero-description {
  font-size: 1.2em;
  line-height: 1.8;
  margin-bottom: 30px;
  color: var(--text-light);
}

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

.page-privacy-policy__content-container {
  max-width: 1000px;
  margin: 0 auto;
  background-color: var(--text-light);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.page-privacy-policy__text-block {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.page-privacy-policy__text-block:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-bottom: 25px;
  text-align: left;
  font-weight: bold;
  border-left: 5px solid var(--primary-color);
  padding-left: 15px;
}

.page-privacy-policy__subsection-title {
  font-size: 1.5em;
  color: var(--text-dark);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  font-size: 1em;
  color: var(--text-dark);
}

.page-privacy-policy ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-privacy-policy li {
  margin-bottom: 8px;
  font-size: 1em;
  color: var(--text-dark);
}

.page-privacy-policy a {
  color: #007bff;
  text-decoration: none;
}

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

.page-privacy-policy__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* FAQ Section Styles */
.page-privacy-policy__faq-section {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px 20px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-privacy-policy__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-privacy-policy__faq-question:active {
  background: #eeeeee;
}

.page-privacy-policy__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  color: var(--text-dark);
  transform: rotate(45deg); /* Change + to X or - */
}

/* CTA Block Styles */
.page-privacy-policy__cta-block {
  text-align: center;
  margin-top: 60px;
  padding: 40px 20px;
  background-color: var(--secondary-color);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__cta-text {
  font-size: 1.4em;
  color: var(--text-light);
  margin-bottom: 30px;
  font-weight: bold;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 0 10px;
}

.page-privacy-policy__cta-button--primary {
  background-color: var(--primary-color);
  color: var(--text-dark);
  border: 2px solid var(--primary-color);
}

.page-privacy-policy__cta-button--primary:hover {
  background-color: darken(var(--primary-color), 10%);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

.page-privacy-policy__cta-button--secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-privacy-policy__cta-button--secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-dark);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-title {
    font-size: 2.8em;
  }
  .page-privacy-policy__section-title {
    font-size: 2em;
  }
  .page-privacy-policy__subsection-title {
    font-size: 1.4em;
  }
  .page-privacy-policy__content-container {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-banner {
    padding-top: 100px !important; /* Mobile: Adjust based on mobile fixed header height */
    padding-bottom: 40px;
  }
  .page-privacy-policy__hero-title {
    font-size: 2.2em;
  }
  .page-privacy-policy__hero-description {
    font-size: 1em;
  }
  .page-privacy-policy__content-section {
    padding: 30px 15px;
  }
  .page-privacy-policy__content-container {
    padding: 20px;
    border-radius: 4px;
  }
  .page-privacy-policy__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    padding-left: 10px;
  }
  .page-privacy-policy__subsection-title {
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-privacy-policy p,
  .page-privacy-policy ul,
  .page-privacy-policy li {
    font-size: 0.95em;
  }
  .page-privacy-policy__image {
    margin: 20px auto;
  }
  .page-privacy-policy__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-privacy-policy__faq-question h3 {
    font-size: 1em;
    width: calc(100% - 40px);
  }
  .page-privacy-policy__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-privacy-policy__faq-answer {
    padding: 0 15px;
  }
  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 15px !important;
  }
  .page-privacy-policy__cta-block {
    padding: 30px 15px;
  }
  .page-privacy-policy__cta-text {
    font-size: 1.2em;
    margin-bottom: 20px;
  }
  .page-privacy-policy__cta-button {
    padding: 12px 20px;
    font-size: 1em;
    margin: 5px 0;
    width: 100%;
  }
  .page-privacy-policy__cta-button--primary,
  .page-privacy-policy__cta-button--secondary {
    display: block;
  }
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}