/* style/privacy-policy.css */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF; /* Default page background */
}

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

.page-privacy-policy__hero-section {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 100px 0;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-privacy-policy__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-privacy-policy__section-title {
  font-size: 2.2em;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherits color from parent section */
}

.page-privacy-policy__sub-title {
  font-size: 1.6em;
  margin-top: 40px;
  margin-bottom: 15px;
  color: inherit; /* Inherits color from parent section */
}

.page-privacy-policy__text {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-privacy-policy__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

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

.page-privacy-policy__content-section {
  padding: 60px 0;
}

.page-privacy-policy__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-privacy-policy__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login button color */
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-privacy-policy__link:hover {
  color: #1a7bbd;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-privacy-policy__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

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

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

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

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

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

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

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

/* Contact Section */
.page-privacy-policy__contact-section {
  padding: 60px 0;
  text-align: center;
}

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

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

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

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

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

  .page-privacy-policy__text,
  .page-privacy-policy__list-item,
  .page-privacy-policy__faq-question,
  .page-privacy-policy__contact-info {
    font-size: 1em;
  }

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

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

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !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;
    overflow-x: hidden;
  }

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

  /* Mobile button responsiveness */
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy a[class*="btn"] {
    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;
    margin-left: 0;
    margin-right: 0;
  }

  .page-privacy-policy__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    overflow-x: hidden;
  }
}