/* 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; /* Default text color for dark body background */
  background-color: #000000; /* Ensure body background is respected */
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  box-sizing: border-box;
}

.page-privacy-policy__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-privacy-policy__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-privacy-policy__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-privacy-policy__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-privacy-policy__content-section {
  padding: 60px 20px;
  background-color: #000000; /* Dark background */
  color: #ffffff; /* Light text for contrast */
}

.page-privacy-policy__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px; /* Add padding for content */
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #26A9E0; /* Brand primary color */
  margin-bottom: 30px;
  text-align: center;
}

.page-privacy-policy__sub-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-privacy-policy__paragraph {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
}

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  color: #f0f0f0;
}

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

.page-privacy-policy__link:hover {
  color: #4dc2f7;
}

.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: 2px solid transparent;
}

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

.page-privacy-policy__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #26A9E0;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid #26A9E0;
  margin-left: 15px;
}

.page-privacy-policy__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  border-color: #ffffff;
}

/* Image specific styles */
.page-privacy-policy__image-wrapper {
  margin: 30px auto;
  text-align: center;
}

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto; /* Center the image */
}

/* Video Section Styles */
.page-privacy-policy__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.page-privacy-policy__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
  pointer-events: none; /* Allow click to pass through to video */
}

.page-privacy-policy__video-cta-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  background-color: #EA7C07; /* Login button color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.page-privacy-policy__video-cta-button:hover {
  background-color: #ff9933;
}

/* CTA Section */
.page-privacy-policy__cta-section {
  text-align: center;
  padding: 50px 20px;
  background-color: rgba(38, 169, 224, 0.1);
  border-radius: 10px;
  margin-top: 60px;
  border: 1px solid #26A9E0;
}

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

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

.page-privacy-policy__faq-item {
  background-color: rgba(38, 169, 224, 0.05);
  border: 1px solid #26A9E0;
  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;
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.1);
  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 {
  font-size: 1.2em;
  color: #ffffff;
  margin: 0;
}

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

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

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: 2.8em;
  }
  .page-privacy-policy__hero-description {
    font-size: 1.1em;
  }
  .page-privacy-policy__section-title {
    font-size: 2em;
  }
  .page-privacy-policy__sub-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-privacy-policy__main-title {
    font-size: 2.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__paragraph, .page-privacy-policy__list-item {
    font-size: 0.95em;
  }

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-privacy-policy__image-wrapper,
  .page-privacy-policy__content-section,
  .page-privacy-policy__container,
  .page-privacy-policy__cta-section,
  .page-privacy-policy__faq-list,
  .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;
  }

  /* Mobile video responsiveness */
  .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-wrapper {
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
    height: auto !important;
  }
  .page-privacy-policy__video-cta-button {
    font-size: 1em;
    padding: 10px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
    max-width: calc(100% - 30px) !important; /* Account for padding */
    width: auto !important;
  }

  /* 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;
    margin-left: 0 !important; /* Remove margin for stacked buttons */
    margin-bottom: 15px; /* Add spacing between stacked buttons */
  }
  .page-privacy-policy__cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .page-privacy-policy__cta-section a:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__hero-description {
    font-size: 0.9em;
  }
  .page-privacy-policy__section-title {
    font-size: 1.6em;
  }
  .page-privacy-policy__sub-title {
    font-size: 1.2em;
  }
  .page-privacy-policy__faq-question {
    padding: 15px 20px;
  }
  .page-privacy-policy__faq-title {
    font-size: 1.1em;
  }
  .page-privacy-policy__faq-answer {
    padding: 10px 20px;
  }
}