/* style/privacy-policy.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-dark: #000;
  --background-light: #f8f9fa;
  --border-color: #e0e0e0;
}

.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.7;
  color: var(--text-color-light); /* Main content text color for dark body bg */
  background-color: var(--background-dark); /* Inherit from body if not overridden */
  padding-top: 120px; /* Desktop: Ensure content is not hidden by fixed header */
}

@media (max-width: 768px) {
  .page-privacy-policy {
    padding-top: 100px !important; /* Mobile: Adjust for fixed header */
  }
}

.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;
  background: var(--background-dark);
}

.page-privacy-policy__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

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

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-color-light);
}

.page-privacy-policy__main-title {
  font-size: 38px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.page-privacy-policy__hero-description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-color-light);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-privacy-policy__cta-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__content-section {
  padding: 60px 20px;
  background: var(--background-light);
  color: var(--text-color-dark);
}

.page-privacy-policy__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-privacy-policy__section-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  padding-top: 20px; /* Extra padding for section titles */
}

.page-privacy-policy__sub-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-color-dark);
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.8;
}

.page-privacy-policy__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-privacy-policy__list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color-dark);
}

.page-privacy-policy__list-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  flex-shrink: 0;
  object-fit: contain; /* Ensure icons maintain aspect ratio */
  min-width: 24px; /* Ensure minimum size for visibility */
  min-height: 24px;
}

.page-privacy-policy__contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-privacy-policy__contact-list li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 16px;
  color: var(--text-color-dark);
}

.page-privacy-policy__link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

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

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 60px 20px;
  background: var(--background-light);
  color: var(--text-color-dark);
}

.page-privacy-policy__faq-list {
  margin-top: 30px;
}

.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.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, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background: #f9f9f9;
  color: var(--text-color-dark);
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  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: #f5f5f5;
  border-color: #d0d0d0;
}

.page-privacy-policy__faq-question:active {
  background: #eeeeee;
}

.page-privacy-policy__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Allow click on parent div */
  color: var(--text-color-dark);
}

.page-privacy-policy__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Allow click on parent div */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: 32px;
  }
  .page-privacy-policy__hero-description {
    font-size: 16px;
  }
  .page-privacy-policy__section-title {
    font-size: 28px;
  }
  .page-privacy-policy__sub-title {
    font-size: 22px;
  }
  .page-privacy-policy p,
  .page-privacy-policy__list li,
  .page-privacy-policy__contact-list li {
    font-size: 15px;
  }
  .page-privacy-policy__faq-question h3 {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 40px 15px;
  }
  .page-privacy-policy__main-title {
    font-size: 28px;
  }
  .page-privacy-policy__hero-description {
    font-size: 15px;
  }
  .page-privacy-policy__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-privacy-policy__content-section,
  .page-privacy-policy__faq-section {
    padding: 40px 15px;
  }
  .page-privacy-policy__section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .page-privacy-policy__sub-title {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 10px;
  }
  .page-privacy-policy p,
  .page-privacy-policy__list li,
  .page-privacy-policy__contact-list li {
    font-size: 14px;
    line-height: 1.7;
  }
  .page-privacy-policy__list-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
  }
  .page-privacy-policy__faq-question {
    padding: 15px;
  }
  .page-privacy-policy__faq-question h3 {
    font-size: 16px;
  }
  .page-privacy-policy__faq-toggle {
    font-size: 24px;
    width: 26px;
    height: 26px;
  }
  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 15px !important;
  }

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-privacy-policy__hero-img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: 24px;
  }
  .page-privacy-policy__section-title {
    font-size: 22px;
  }
  .page-privacy-policy__sub-title {
    font-size: 18px;
  }
  .page-privacy-policy__cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }
  .page-privacy-policy__faq-question h3 {
    font-size: 15px;
  }
}