/* style/privacy-policy.css */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: var(--dark-bg-1); /* Inherit from shared.css */
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  padding: 120px 20px 60px; /* Adjusted padding-top for fixed header */
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%); /* Brand colors */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.page-privacy-policy__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-privacy-policy__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff; /* Ensure contrast on gradient */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto;
  color: #f0f0f0;
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--dark-bg-1); /* Consistent with body */
  color: #f0f0f0; /* Light text for dark background */
}

.page-privacy-policy__container {
  width: 100%;
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  font-weight: bold;
  color: #FFD700; /* Gold brand color for main titles */
  margin-top: 50px;
  margin-bottom: 30px;
  border-bottom: 2px solid #8B0000; /* Red underline */
  padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
  font-size: 1.6em;
  font-weight: 600;
  color: #ffffff; /* White text for sub-titles */
  margin-top: 35px;
  margin-bottom: 20px;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #e0e0e0; /* Slightly off-white for paragraphs */
}

.page-privacy-policy strong {
  color: #FFD700; /* Highlight keywords with gold */
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 30px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-privacy-policy__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: #e0e0e0;
}

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

.page-privacy-policy__text-block {
  margin-bottom: 40px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for blocks */
  padding: 25px;
  border-radius: 10px;
  border-left: 5px solid #8B0000;
}

.page-privacy-policy__contact-link {
  color: #FFD700; /* Gold for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy__contact-link:hover {
  color: #ffffff; /* White on hover */
  text-decoration: underline;
}

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

.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.08); /* Darker background for FAQ items */
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.1);
  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: rgba(255, 255, 255, 0.15);
}

.page-privacy-policy__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff; /* White text for FAQ questions */
  pointer-events: none;
}

.page-privacy-policy__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Gold toggle icon */
  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: 30px;
  height: 30px;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  color: #8B0000; /* Red toggle when active */
  transform: rotate(45deg);
}

.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 25px;
  opacity: 0;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 2000px !important; /* Sufficiently large for content */
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter background for answer */
  border-radius: 0 0 8px 8px;
  color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-title {
    font-size: 3em;
  }

  .page-privacy-policy__hero-description {
    font-size: 1.2em;
  }

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

  .page-privacy-policy__sub-title {
    font-size: 1.4em;
  }

  .page-privacy-policy p,
  .page-privacy-policy__list li {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 100px 15px 40px; /* Mobile padding-top for fixed header */
  }

  .page-privacy-policy__hero-title {
    font-size: 2.5em;
    margin-bottom: 15px;
  }

  .page-privacy-policy__hero-description {
    font-size: 1em;
  }

  .page-privacy-policy__content-area {
    padding: 30px 15px;
  }

  .page-privacy-policy__section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.3em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-privacy-policy p,
  .page-privacy-policy__list li {
    font-size: 0.95em;
  }

  .page-privacy-policy__list {
    margin-left: 20px;
  }

  .page-privacy-policy__text-block {
    padding: 20px;
  }

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

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

  .page-privacy-policy__faq-toggle {
    font-size: 1.8em;
    width: 25px;
    height: 25px;
  }

  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 15px 20px !important;
  }

  /* Mobile image responsiveness */
  .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;
  }
}