/* style/privacy-policy.css */

/* Base styles for the page, inheriting from body */
.page-privacy-policy {
  color: #ffffff; /* Default text color for the page */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-privacy-policy__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
  background-color: #26A9E0; /* Primary brand color for hero */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.page-privacy-policy__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  font-weight: 700;
  color: #ffffff; /* Ensure high contrast */
}

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

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff; /* White background for readability of policy text */
  color: #333333; /* Dark text for white background */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: -60px; /* Overlap with hero for visual flow */
  position: relative;
  z-index: 1;
}

.page-privacy-policy__section-heading {
  font-size: 2.2em;
  color: #26A9E0; /* Brand color for main headings */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
  font-weight: 600;
}

.page-privacy-policy__sub-heading {
  font-size: 1.6em;
  color: #000000; /* Darker text for sub-headings */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy__paragraph {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
}

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

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

.page-privacy-policy__link {
  color: #26A9E0; /* Brand color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
  color: #1a7bb0; /* Slightly darker hover state */
}

.page-privacy-policy__highlight {
  font-weight: bold;
  color: #EA7C07; /* Use "Login" color for highlights as it's a strong contrasting color */
}

.page-privacy-policy__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Apply minimum size for content images */
  min-height: 200px;
  object-fit: cover; /* Ensure images fill their space without distortion */
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  margin-top: 50px;
  border-top: 1px solid #e0e0e0;
  padding-top: 30px;
}

.page-privacy-policy__faq-item {
  background-color: #f9f9f9;
  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: 600;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  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;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #555555;
  font-size: 1.05em;
  line-height: 1.6;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-title {
    font-size: 2.2em;
  }
  .page-privacy-policy__section-heading {
    font-size: 1.8em;
  }
  .page-privacy-policy__sub-heading {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
    min-height: 250px;
  }
  .page-privacy-policy__hero-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__hero-description {
    font-size: 1em;
  }
  .page-privacy-policy__content-area {
    padding: 20px 15px;
    margin-top: -40px;
  }
  .page-privacy-policy__section-heading {
    font-size: 1.6em;
  }
  .page-privacy-policy__sub-heading {
    font-size: 1.2em;
  }
  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item,
  .page-privacy-policy__faq-question,
  .page-privacy-policy__faq-answer {
    font-size: 1em;
  }

  /* Images responsive */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-privacy-policy__content-area {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-privacy-policy__faq-question,
  .page-privacy-policy__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons responsive */
  .page-privacy-policy__cta-button,
  .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;
  }
  .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;
  }
  .page-privacy-policy__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  /* Video responsive */
  .page-privacy-policy video,
  .page-privacy-policy__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-privacy-policy__video-section,
  .page-privacy-policy__video-container,
  .page-privacy-policy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-privacy-policy__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-privacy-policy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

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

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