/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-privacy-policy__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-privacy-policy__dark-bg {
  background-color: #26A9E0; /* Brand color */
  color: #ffffff;
}

.page-privacy-policy__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  padding: 80px 20px;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #121212; /* Match body background for consistency */
  color: #ffffff;
}

.page-privacy-policy__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

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

/* Content Area */
.page-privacy-policy__content-area {
  padding: 40px 0;
}

.page-privacy-policy__section {
  padding: 30px 0;
  margin-bottom: 20px;
}

.page-privacy-policy__card {
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__section-title {
  font-size: 2em;
  margin-bottom: 25px;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
}

.page-privacy-policy__sub-title {
  font-size: 1.5em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #333333;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  color: #333333;
}

.page-privacy-policy__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 15px;
  color: #333333;
}

.page-privacy-policy__list li {
  margin-bottom: 8px;
}

.page-privacy-policy__link {
  color: #26A9E0;
  text-decoration: none;
}

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

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

/* Buttons */
.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #1a8ecb;
}

/* Contact Section */
.page-privacy-policy__contact-section {
  background-color: #121212; /* Dark background for contact */
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
}

.page-privacy-policy__contact-section .page-privacy-policy__section-title {
  color: #ffffff;
}

.page-privacy-policy__contact-section p {
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-privacy-policy__contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-privacy-policy__contact-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-privacy-policy__contact-list strong {
  color: #26A9E0;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 40px 0;
}

.page-privacy-policy__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

.page-privacy-policy__faq-question:hover {
  background-color: #f0f0f0;
}

.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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

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

/* Active state for FAQ */
.page-privacy-policy__faq-item.active .page-privacy-policy__faq-question {
  background-color: #e6f7ff;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

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

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

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

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

  /* Images responsive */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* All content containers for mobile */
  .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;
    overflow: hidden !important;
  }
  
  /* Buttons responsive */
  .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-left: 15px;
    padding-right: 15px;
  }
  
  .page-privacy-policy__contact-section {
    padding: 40px 15px;
  }
}