/* 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; /* Text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.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.7); /* Dark overlay for text readability */
  z-index: 2;
}

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

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

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

/* Content Area */
.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #000000; /* Explicitly set for content section, to match body */
  color: #ffffff; /* Ensure text is white on black background */
}

.page-privacy-policy__container {
  max-width: 960px;
  margin: 0 auto;
}

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

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

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

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

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

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

/* Image with Text Layout */
.page-privacy-policy__image-text-block {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 40px;
}

.page-privacy-policy__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-privacy-policy__content-image {
  flex: 0 0 40%;
  max-width: 40%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__text-content {
  flex: 1;
}

/* Video Section */
.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.5);
}

.page-privacy-policy__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

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

.page-privacy-policy__video-caption {
  text-align: center;
  margin-top: 10px;
  font-style: italic;
  color: #f0f0f0;
}

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

.page-privacy-policy__faq-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for FAQ item */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

.page-privacy-policy__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-privacy-policy__faq-title {
  margin: 0;
  font-size: 1.2em;
  color: #26A9E0; /* Brand color for FAQ questions */
}

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

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

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

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 20px;
}

/* Contact Section */
.page-privacy-policy__contact-info {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 40px;
  font-size: 1.1em;
}

.page-privacy-policy__contact-info p {
  margin-bottom: 10px;
}

.page-privacy-policy__contact-info a {
  color: #26A9E0; /* Brand color for links */
  text-decoration: none;
}

.page-privacy-policy__contact-info a:hover {
  text-decoration: underline;
}

.page-privacy-policy__contact-image {
  max-width: 100%;
  height: auto;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Call to Action Button */
.page-privacy-policy__cta-section {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: rgba(38, 169, 224, 0.1); /* Light transparent brand color background */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__cta-text {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 25px;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  background: #26A9E0; /* Main brand color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid transparent;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #1e87b8; /* Slightly darker on hover */
  transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-privacy-policy__hero-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-section-title {
    font-size: 1.3em;
  }

  .page-privacy-policy__image-text-block {
    flex-direction: column;
    align-items: center;
  }

  .page-privacy-policy__content-image {
    max-width: 80%;
    width: 100%;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

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

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

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

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

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

  .page-privacy-policy__text-block,
  .page-privacy-policy__list li,
  .page-privacy-policy__faq-answer,
  .page-privacy-policy__contact-info p,
  .page-privacy-policy__cta-text {
    font-size: 1em;
  }

  .page-privacy-policy__content-image,
  .page-privacy-policy__contact-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important; /* Ensure padding/border included in width */
  }

  .page-privacy-policy__image-text-block,
  .page-privacy-policy__video-wrapper,
  .page-privacy-policy__faq-list,
  .page-privacy-policy__contact-info,
  .page-privacy-policy__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-privacy-policy__video-wrapper {
    padding-left: 0 !important; /* Video wrapper itself shouldn't have side padding if it's full width */
    padding-right: 0 !important;
  }

  .page-privacy-policy__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !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-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__faq-question {
    padding: 12px 15px;
  }

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

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

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

@media (max-width: 480px) {
  .page-privacy-policy__hero-section {
    height: 300px;
  }

  .page-privacy-policy__hero-title {
    font-size: 1.5em;
  }

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