/* privacy-policy.css */

:root {
  --page-primary-color: #2F6BFF;
  --page-secondary-color: #6FA3FF;
  --page-text-main: #1F2D3D;
  --page-text-black: #000000;
  --page-bg-card: #FFFFFF;
  --page-bg-main: #F4F7FB;
  --page-border-color: #D6E2FF;
  --page-glow-color: #A5C4FF;
  --page-btn-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
}

.page-privacy-policy {
  font-family: Arial, sans-serif;
  color: var(--page-text-main); /* Ensure dark text on light body background */
  background-color: var(--page-bg-main);
}

.page-privacy-policy__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 50px;
  background-color: var(--page-primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
  filter: brightness(0.7); /* Slightly darken for text readability */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 30px 20px;
  margin-top: -150px; /* Overlap with image slightly for visual appeal */
  background-color: rgba(255, 255, 255, 0.95); /* Semi-transparent white background for readability */
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--page-text-black);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-privacy-policy__hero-description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--page-text-main);
  margin-bottom: 30px;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  background: var(--page-btn-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__section {
  padding: 60px 0;
}

.page-privacy-policy__content-area {
  background-color: var(--page-bg-main);
}

.page-privacy-policy__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-privacy-policy__section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--page-text-black);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-privacy-policy__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--page-primary-color);
  border-radius: 2px;
}

.page-privacy-policy__sub-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--page-primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-privacy-policy__text-block {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--page-text-main);
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--page-text-main);
}

.page-privacy-policy__list li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.page-privacy-policy__list li strong {
  color: var(--page-text-black);
}

.page-privacy-policy__image-inline {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-privacy-policy__btn-secondary {
  display: inline-block;
  background: var(--page-bg-card);
  color: var(--page-primary-color);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 2px solid var(--page-primary-color);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__btn-secondary:hover {
  background: var(--page-primary-color);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  background-color: var(--page-bg-main);
  padding-bottom: 80px;
}

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--page-border-color);
  overflow: hidden;
  background: var(--page-bg-card);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
  background: #f5f8ff; /* Lighter blue hover for FAQ */
}

.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--page-text-black);
}

.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--page-primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--page-text-main);
  font-size: 16px;
  line-height: 1.6;
}

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    margin-top: -100px;
    padding: 25px 15px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(26px, 4.5vw, 42px);
  }

  .page-privacy-policy__hero-description {
    font-size: 17px;
  }

  .page-privacy-policy__section-title {
    font-size: 32px;
  }

  .page-privacy-policy__sub-title {
    font-size: 26px;
  }
}

@media (max-width: 849px) {
  .page-privacy-policy__hero-image {
    object-fit: contain !important; /* Prevents cropping on smaller screens */
    aspect-ratio: unset !important; /* Allows height to adjust freely */
    height: 250px; /* Adjust height for better mobile display */
    filter: brightness(0.8); /* Less darkening on smaller screens */
  }
  .page-privacy-policy__hero-content {
    margin-top: -80px; /* Adjust overlap */
    padding: 20px;
  }
}

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

  .page-privacy-policy__hero-section {
    padding-top: 10px; /* Ensure small top padding */
    padding-bottom: 30px;
  }

  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__section,
  .page-privacy-policy__container,
  .page-privacy-policy__contact-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-privacy-policy__hero-content {
    margin-top: -60px; /* Further adjust overlap for mobile */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  }

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

  .page-privacy-policy__hero-description {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 6px;
  }

  .page-privacy-policy__contact-buttons {
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
  }

  .page-privacy-policy__section {
    padding: 40px 0;
  }

  .page-privacy-policy__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-privacy-policy__sub-title {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-privacy-policy__text-block,
  .page-privacy-policy__list li {
    font-size: 15px;
    line-height: 1.6;
  }

  .page-privacy-policy__list {
    margin-left: 20px;
  }

  .page-privacy-policy__image-inline {
    margin: 20px auto;
    border-radius: 8px;
  }

  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
    padding: 15px;
  }

  .page-privacy-policy__faq-qtext {
    font-size: 15px;
  }

  .page-privacy-policy__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }

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

  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}