/* style/privacy-policy.css */

/* General page styling for dark background */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
  line-height: 1.6;
  padding-bottom: 40px; /* Add some padding at the bottom */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  background-color: #0a0a0a; /* Match body background */
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-privacy-policy__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 30px; /* Space between text and image */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
  color: #ffffff;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  color: #26A9E0; /* Brand color for main title */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-privacy-policy__hero-description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Content Section */
.page-privacy-policy__content-section {
  background-color: #0a0a0a; /* Dark background */
  padding: 40px 20px;
}

.page-privacy-policy__container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #1a1a1a; /* Slightly lighter dark background for content block */
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  color: #ffffff; /* Light text */
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8em, 2.5vw, 2.5em);
  color: #26A9E0; /* Brand color for section titles */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
  border-bottom: 2px solid rgba(38, 169, 224, 0.3); /* Subtle underline */
  padding-bottom: 10px;
}

.page-privacy-policy__sub-section-title {
  font-size: clamp(1.4em, 2vw, 2em);
  color: #ffffff; /* White for sub-section titles */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy__paragraph {
  font-size: 1em;
  color: #f0f0f0; /* Off-white for paragraphs */
  margin-bottom: 15px;
  line-height: 1.7;
}

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  font-size: 1em;
  line-height: 1.6;
}

.page-privacy-policy__list-item strong {
  color: #26A9E0; /* Brand color for strong text in lists */
}

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

/* Links */
.page-privacy-policy a {
  color: #26A9E0; /* Brand color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
  color: #4dc2f7; /* Lighter shade on hover */
  text-decoration: underline;
}

.page-privacy-policy__contact-link {
  font-weight: bold;
}

/* Buttons */
.page-privacy-policy__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin-top: 20px;
  border: 2px solid transparent; /* Default transparent border */
}

.page-privacy-policy__btn-primary {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
  border-color: #26A9E0;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #1e8dc7; /* Darker shade on hover */
  border-color: #1e8dc7;
}

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

.page-privacy-policy__faq-item {
  background-color: #0a0a0a; /* Dark background for FAQ item */
  border: 1px solid rgba(38, 169, 224, 0.2); /* Subtle border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: 600;
  color: #26A9E0; /* Brand color for FAQ question */
  cursor: pointer;
  background-color: #1a1a1a; /* Slightly lighter dark background for question */
  border-bottom: 1px solid rgba(38, 169, 224, 0.1);
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

/* Hide default details marker */
.page-privacy-policy__faq-item summary {
  list-style: none;
}
.page-privacy-policy__faq-item summary::-webkit-details-marker {
  display: none;
}

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

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-privacy-policy__faq-answer {
  padding: 15px 25px 20px;
  font-size: 0.95em;
  color: #f0f0f0;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__container {
    padding: 25px;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-privacy-policy__hero-description {
    font-size: clamp(0.9em, 1.8vw, 1.1em);
  }
  .page-privacy-policy__section-title {
    font-size: clamp(1.6em, 2.8vw, 2.2em);
  }
  .page-privacy-policy__sub-section-title {
    font-size: clamp(1.2em, 2.2vw, 1.8em);
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-privacy-policy__container {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-privacy-policy__hero-description {
    font-size: clamp(0.85em, 2.5vw, 1em);
  }
  .page-privacy-policy__section-title {
    font-size: clamp(1.5em, 4vw, 2em);
  }
  .page-privacy-policy__sub-section-title {
    font-size: clamp(1.1em, 3.5vw, 1.6em);
  }
  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item,
  .page-privacy-policy__faq-answer {
    font-size: 0.95em;
  }
  .page-privacy-policy__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important; /* Ensure images take full width of their container */
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important; /* Include padding/border in element's total width */
  }
  /* Mobile button responsiveness */
  .page-privacy-policy__button,
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .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;
  }
  .page-privacy-policy__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    display: flex !important;
    flex-direction: column !important; /* Stack buttons vertically on mobile */
    align-items: center;
  }
}

/* Ensure no CSS filter on images */
.page-privacy-policy img {
  filter: none;
}