/* style/privacy-policy.css */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #ffffff);
  padding-bottom: 60px;
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not covered by fixed header */
}

.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-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
}

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

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

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff; /* Explicitly set content area background to white for contrast */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-top: -80px; /* Overlap with hero section for visual effect */
  position: relative;
  z-index: 3;
}

.page-privacy-policy__section {
  margin-bottom: 40px;
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.page-privacy-policy__section:last-of-type {
  border-bottom: none;
}

.page-privacy-policy__section-title {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 20px;
  text-align: center;
}

.page-privacy-policy p {
  margin-bottom: 1em;
  color: #333333;
}

.page-privacy-policy__section-image {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-privacy-policy__inline-link:hover {
  color: #1a7bb7;
}

.page-privacy-policy__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-privacy-policy__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

.page-privacy-policy__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7bb7;
  border-color: #1a7bb7;
}

.page-privacy-policy__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #26A9E0; /* Brand color for CTA background */
  color: #ffffff;
  border-radius: 8px;
  margin-top: 40px;
}

.page-privacy-policy__cta-title {
  font-size: 2.5em;
  margin-bottom: 15px;
  color: #ffffff;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-title {
    font-size: 2.2em;
  }
  .page-privacy-policy__hero-description {
    font-size: 1.1em;
  }
  .page-privacy-policy__section-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-privacy-policy__hero-section {
    min-height: 300px;
    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: 1em;
  }
  .page-privacy-policy__content-area {
    padding: 20px;
    margin-top: -40px; /* Adjust overlap for mobile */
  }
  .page-privacy-policy__section-title {
    font-size: 1.5em;
  }
  .page-privacy-policy__cta-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__cta-description {
    font-size: 1em;
  }

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-privacy-policy__section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden !important;
  }
  /* Mobile button responsiveness */
  .page-privacy-policy__button,
  .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 !important;
    padding-right: 15px !important;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__hero-title {
    font-size: 1.5em;
  }
  .page-privacy-policy__hero-description {
    font-size: 0.9em;
  }
  .page-privacy-policy__section-title {
    font-size: 1.3em;
  }
  .page-privacy-policy__cta-title {
    font-size: 1.5em;
  }
}