/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  color: var(--color-text-main, #1F2D3D); /* Use custom Text Main color */
  background: var(--color-background, #F4F7FB); /* Use custom Background color */
  line-height: 1.6;
  padding-bottom: 40px; /* Add some padding at the bottom */
}

/* Fixed header spacing - shared.css handles body padding-top, so first section uses small top padding */
.page-privacy-policy__hero-section {
  padding-top: 10px; /* Small top padding */
  padding-bottom: 40px;
  background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%); /* Use auxiliary and main brand color for hero background */
  color: #FFFFFF; /* White text on dark blue gradient */
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 15px;
}

.page-privacy-policy__hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Use clamp for H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-privacy-policy__hero-content p {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #F0F8FF;
}

.page-privacy-policy__main-content {
  max-width: 1000px;
  margin: 40px auto;
  padding: 30px;
  background: var(--color-card-bg, #FFFFFF); /* Card BG for main content area */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__main-content h2 {
  font-size: 2em;
  color: var(--custom-color-1776249996415, #000000); /* Use custom black for headings */
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--color-border, #D6E2FF); /* Use custom border color */
  padding-bottom: 10px;
}

.page-privacy-policy__main-content h3 {
  font-size: 1.5em;
  color: var(--color-text-main, #1F2D3D);
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-privacy-policy__main-content p,
.page-privacy-policy__main-content li {
  font-size: 1em;
  margin-bottom: 10px;
  color: var(--color-text-main, #1F2D3D);
}

.page-privacy-policy__main-content ul {
  list-style: disc;
  margin-left: 20px;
  padding-left: 0;
}

.page-privacy-policy__main-content ol {
  list-style: decimal;
  margin-left: 20px;
  padding-left: 0;
}

.page-privacy-policy__image-container {
  margin: 30px 0;
  text-align: center;
}

.page-privacy-policy__image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__cta-section {
  text-align: center;
  margin-top: 50px;
  padding: 30px 15px;
  background: var(--color-background, #F4F7FB);
  border-top: 1px solid var(--color-border, #D6E2FF);
}

.page-privacy-policy__cta-section h2 {
  font-size: 2em;
  color: var(--custom-color-1776249996415, #000000);
  margin-bottom: 20px;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Custom button gradient */
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__link {
  color: #2F6BFF; /* Main brand color for links */
  text-decoration: underline;
}

.page-privacy-policy__link:hover {
  text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-privacy-policy__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    padding-bottom: 30px;
  }

  .page-privacy-policy__hero-content {
    padding: 20px 15px;
  }

  .page-privacy-policy__hero-content h1 {
    font-size: 2em; /* Adjust H1 for mobile */
  }

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

  .page-privacy-policy__main-content {
    margin: 20px auto;
    padding: 20px;
    max-width: 100% !important; /* Ensure content container is full width */
    box-sizing: border-box !important;
  }

  .page-privacy-policy__main-content h2 {
    font-size: 1.5em;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-privacy-policy__main-content h3 {
    font-size: 1.2em;
    margin-top: 15px;
    margin-bottom: 8px;
  }

  .page-privacy-policy__main-content p,
  .page-privacy-policy__main-content li {
    font-size: 0.95em;
  }

  /* Universal image responsiveness for content area */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Image containers responsiveness */
  .page-privacy-policy__image-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button responsiveness */
  .page-privacy-policy__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    font-size: 1em;
  }

  .page-privacy-policy__cta-section {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}