/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
  background-color: #000000; /* Dark background as per body background */
  color: #f0f0f0; /* Light text for contrast */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-privacy-policy__hero-section {
  padding: 80px 0 40px;
  text-align: center;
  background-color: #000000; /* Dark background */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Use shared header offset */
}

.page-privacy-policy__hero-title {
  font-size: 3em;
  color: #26A9E0; /* Brand color for emphasis */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(38, 169, 224, 0.5);
}

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

.page-privacy-policy__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__content-area {
  padding: 60px 0;
  background-color: #000000;
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #26A9E0; /* Brand color */
  margin-top: 50px;
  margin-bottom: 25px;
  border-bottom: 2px solid rgba(38, 169, 224, 0.5);
  padding-bottom: 10px;
}

.page-privacy-policy__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #e0e0e0;
}

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-privacy-policy__list-item strong {
  color: #26A9E0;
}

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

.page-privacy-policy__link {
  color: #EA7C07; /* Login color for links, as it stands out well on dark background */
  text-decoration: underline;
}

.page-privacy-policy__link:hover {
  color: #ff9933;
  text-decoration: none;
}

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

.page-privacy-policy__faq-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for items */
  border: 1px solid rgba(38, 169, 224, 0.3);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1); /* Darker background for question */
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.2);
}

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

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

.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: 0;
  padding-bottom: 20px;
  font-size: 1.05em;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Plus to X/Minus */
}

/* CTA Section Styling */
.page-privacy-policy__cta-section {
  text-align: center;
  padding: 60px 0;
  background-color: #1a1a1a; /* Slightly different dark background */
  border-radius: 10px;
  margin-top: 60px;
}

.page-privacy-policy__cta-title {
  font-size: 2.5em;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-privacy-policy__cta-description {
  font-size: 1.1em;
  max-width: 700px;
  margin: 0 auto 30px;
  color: #e0e0e0;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #ff9933;
  transform: translateY(-2px);
}

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

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

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

@media (max-width: 768px) {
  .page-privacy-policy__container {
    padding: 0 15px !important;
  }

  .page-privacy-policy__hero-section {
    padding: 60px 0 30px !important;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }

  .page-privacy-policy__hero-title {
    font-size: 2em !important;
  }

  .page-privacy-policy__hero-description,
  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item,
  .page-privacy-policy__cta-description {
    font-size: 1em !important;
  }

  .page-privacy-policy__section-title {
    font-size: 1.5em !important;
    margin-top: 30px !important;
    margin-bottom: 15px !important;
  }

  .page-privacy-policy__image,
  .page-privacy-policy__hero-image {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  .page-privacy-policy__content-area,
  .page-privacy-policy__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden !important;
  }

  .page-privacy-policy__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    font-size: 1.1em !important;
  }

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

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

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