/* style/privacy-policy.css */

/* Body background color is #121212 (dark), so text should be light */
.page-privacy-policy {
  color: #f0f0f0; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 120px; /* Fixed header spacing for desktop */
}

@media (max-width: 768px) {
  .page-privacy-policy {
    padding-top: 100px; /* Fixed header spacing for mobile */
  }
}

/* HERO Section */
.page-privacy-policy__hero-section {
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.8), rgba(255, 193, 7, 0.8));
}

.page-privacy-policy__hero-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.page-privacy-policy__hero-image {
  width: 100%;
  margin: 0;
}

.page-privacy-policy__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
  }
  
  .page-privacy-policy__hero-image img {
    width: 100%;
    height: auto;
  }
}

/* Content Section */
.page-privacy-policy__content-section {
  width: 100%;
  padding: 60px 0;
  background: #121212; /* Dark background */
}

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

.page-privacy-policy__main-heading {
  font-size: 3.2em;
  color: #007bff; /* Brand blue for main heading */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-privacy-policy__intro-text {
  font-size: 1.1em;
  margin-bottom: 25px;
  text-align: justify;
  color: #e0e0e0; /* Slightly lighter text for readability on dark background */
}

.page-privacy-policy__section-block {
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter background for content blocks */
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__dark-bg {
  background: rgba(0, 123, 255, 0.1); /* Darker block for contrast */
  border: 1px solid rgba(0, 123, 255, 0.3);
}

.page-privacy-policy__sub-heading {
  font-size: 2em;
  color: #ffc107; /* Brand yellow for sub-headings */
  margin-bottom: 20px;
  font-weight: 600;
}

.page-privacy-policy__section-block p {
  margin-bottom: 15px;
  color: #e0e0e0;
  text-align: justify;
}

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

.page-privacy-policy__list li {
  margin-bottom: 10px;
  color: #e0e0e0;
}

.page-privacy-policy__list strong {
  color: #ffffff;
}

/* Buttons */
.page-privacy-policy__btn-primary {
  display: inline-block;
  background: #007bff;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
  border: none;
  cursor: pointer;
}

.page-privacy-policy__btn-primary:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

.page-privacy-policy__call-to-action {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 193, 7, 0.1);
  border-radius: 10px;
  margin-top: 40px;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.page-privacy-policy__call-to-action p {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: #ffffff;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-privacy-policy__faq-section .page-privacy-policy__sub-heading {
  text-align: center;
  margin-bottom: 30px;
}

.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0 0 5px 5px;
  color: #e0e0e0;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(0, 123, 255, 0.15); /* Slightly different background for questions */
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-privacy-policy__faq-question:hover {
  background: rgba(0, 123, 255, 0.25);
}

.page-privacy-policy__faq-question:active {
  background: rgba(0, 123, 255, 0.35);
}

.page-privacy-policy__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #ffffff;
}

.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #ffc107;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-privacy-policy__main-heading {
    font-size: 2.8em;
  }
  .page-privacy-policy__sub-heading {
    font-size: 1.8em;
  }
  .page-privacy-policy__section-block {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-privacy-policy__container {
    padding: 0 15px;
  }
  .page-privacy-policy__main-heading {
    font-size: 2.2em;
    margin-bottom: 30px;
  }
  .page-privacy-policy__sub-heading {
    font-size: 1.6em;
    margin-bottom: 15px;
  }
  .page-privacy-policy__section-block {
    padding: 20px;
    margin-bottom: 20px;
  }
  .page-privacy-policy__intro-text {
    font-size: 1em;
  }
  .page-privacy-policy__list {
    margin-left: 20px;
  }
  .page-privacy-policy__list li {
    margin-bottom: 8px;
  }
  .page-privacy-policy__btn-primary {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-privacy-policy__call-to-action {
    padding: 30px 15px;
  }
  .page-privacy-policy__call-to-action p {
    font-size: 1.1em;
  }
  .page-privacy-policy__faq-question {
    padding: 15px;
  }
  .page-privacy-policy__faq-question h3 {
    font-size: 1em;
  }
  .page-privacy-policy__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 15px !important;
  }
}

/* Ensure all images are responsive and do not cause horizontal scroll */
.page-privacy-policy img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-privacy-policy__section-block,
  .page-privacy-policy__container,
  .page-privacy-policy__call-to-action,
  .page-privacy-policy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-privacy-policy__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}