/* style/privacy-policy.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --login-button-color: #EA7C07;
}

/* Body padding handled by shared.css: body { padding-top: var(--header-offset); } */
/* Page content base styles */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark); /* Default dark text on light background */
  line-height: 1.6;
  font-size: 16px;
}

.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding for content */
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #26A9E0, #1a8ccb);
  min-height: 400px;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 20px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__description {
  font-size: clamp(1em, 1.5vw, 1.2em); /* Responsive font size */
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #1a8ccb;
  transform: translateY(-2px);
}

.page-privacy-policy__content-area {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  background-color: var(--secondary-color); /* White background for content area */
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__article {
  padding: 30px 0;
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
  font-weight: 600;
}

.page-privacy-policy__sub-section-title {
  font-size: 1.6em;
  color: var(--text-dark);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy__paragraph {
  margin-bottom: 15px;
  text-align: justify;
}

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

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

.page-privacy-policy__highlight {
  font-weight: bold;
  color: var(--primary-color);
}

.page-privacy-policy__image-inline {
  width: 100%;
  height: auto;
  display: block;
  margin: 25px 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-privacy-policy__floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  min-width: 150px;
  text-align: center;
}

.page-privacy-policy__floating-btn--login {
  background-color: var(--login-button-color);
}

.page-privacy-policy__floating-btn:hover {
  transform: translateY(-3px);
}

/* Contrast adjustments */
.page-privacy-policy__dark-bg {
  color: var(--text-light); /* Light text on dark background */
}

.page-privacy-policy__light-bg {
  color: var(--text-dark); /* Dark text on light background */
}

.page-privacy-policy__light-text {
  color: var(--text-light);
}

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

  .page-privacy-policy__hero-section {
    padding: 10px 15px 40px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-privacy-policy__description {
    font-size: clamp(0.9em, 3vw, 1.1em);
    margin-bottom: 20px;
  }

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

  .page-privacy-policy__section-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-privacy-policy__sub-section-title {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  /* 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__card,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile button responsiveness */
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__floating-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__floating-buttons {
    flex-direction: column;
    bottom: 10px;
    right: 10px;
    left: 10px;
    width: auto;
  }
  .page-privacy-policy__floating-btn {
    min-width: unset;
  }
}

/* Ensure no image filters are used */
.page-privacy-policy img {
  filter: none !important;
}

/* Content area image size enforcement for small screens */
@media (max-width: 768px) {
  .page-privacy-policy__content-area img {
    min-width: 200px;
    min-height: 200px;
    /* Ensure images in content area are not shrunk too much */
    width: 100%;
    height: auto;
  }
}