/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #121212; /* Matches body background from shared.css */
}

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

.page-privacy-policy__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  background-color: #1A202C;
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.page-privacy-policy__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Accent color for main title */
  font-weight: bold;
  line-height: 1.2;
}

.page-privacy-policy__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-privacy-policy__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-privacy-policy__content-area {
  padding: 60px 0;
  background-color: #121212; /* Dark background for content */
  color: #f0f0f0;
}

.page-privacy-policy__article {
  background-color: #1A202C; /* Main brand color for article background */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__heading {
  font-size: 2.2em;
  color: #FFD700; /* Accent color for headings */
  margin-top: 40px;
  margin-bottom: 25px;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 10px;
}

.page-privacy-policy__sub-heading {
  font-size: 1.7em;
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy__paragraph {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #e0e0e0;
}

.page-privacy-policy__paragraph a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy__paragraph a:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-privacy-policy__faq-section {
  padding: 60px 0;
  background-color: #1A202C;
  color: #ffffff;
}

.page-privacy-policy__heading--center {
  text-align: center;
  margin-bottom: 40px;
}

.page-privacy-policy__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-privacy-policy__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-title {
  margin: 0;
  color: #FFD700;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
}

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

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 20px;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  transform: rotate(45deg);
}

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

  .page-privacy-policy__heading {
    font-size: 1.8em;
  }

  .page-privacy-policy__sub-heading {
    font-size: 1.5em;
  }

  .page-privacy-policy__article {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-privacy-policy__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    min-height: 300px;
  }

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

  .page-privacy-policy__intro-text {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-privacy-policy__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important; /* Button responsive */
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section {
    padding: 40px 0;
  }

  .page-privacy-policy__container {
    padding: 0 15px; /* Add padding for mobile content */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .page-privacy-policy__article {
    padding: 20px;
  }

  .page-privacy-policy__heading {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__sub-heading {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-privacy-policy__paragraph {
    font-size: 0.95em;
    margin-bottom: 15px;
  }

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

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

  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 10px 15px;
  }

  /* Image responsiveness for mobile */
  .page-privacy-policy img {
    max-width: 100% !important;
    height: auto !important;
    display: block !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;
  }
}