/* style/privacy-policy.css */
:root {
  --primary-color: #1E3A8A;
  --secondary-color: #F59E0B;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #0a0a0a;
  --background-light: #f9f9f9;
  --border-color: #e0e0e0;
}

.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Main text color for dark body background */
  background-color: var(--background-dark); /* Inherited from body */
  line-height: 1.7;
  padding-top: 120px; /* Adjust for fixed header on desktop */
}

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

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

@media (max-width: 768px) {
  .page-privacy-policy__container {
    padding: 0 15px;
  }
}

.page-privacy-policy__intro-section {
  text-align: center;
  padding: 60px 0 40px;
  background-color: var(--primary-color); /* Use primary color for intro section background */
  color: var(--text-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.2;
}

@media (max-width: 768px) {
  .page-privacy-policy__title {
    font-size: 32px;
  }
}

.page-privacy-policy__description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-privacy-policy__description {
    font-size: 16px;
  }
}

.page-privacy-policy__description a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-privacy-policy__description a:hover {
  text-decoration: underline;
}

.page-privacy-policy__main-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
}

.page-privacy-policy__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .page-privacy-policy__section {
    padding: 40px 0;
  }
}

.page-privacy-policy__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-light);
}

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

.page-privacy-policy__section-title {
  font-size: 34px;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
}

.page-privacy-policy__dark-bg .page-privacy-policy__section-title {
  color: var(--text-light);
}

.page-privacy-policy__light-bg .page-privacy-policy__section-title {
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .page-privacy-policy__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
}

.page-privacy-policy__sub-title {
  font-size: 24px;
  font-weight: bold;
  margin-top: 35px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-privacy-policy__dark-bg .page-privacy-policy__sub-title {
  color: var(--secondary-color);
}

.page-privacy-policy__light-bg .page-privacy-policy__sub-title {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .page-privacy-policy__sub-title {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
  }
}

.page-privacy-policy__section p {
  font-size: 17px;
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-privacy-policy__dark-bg p {
  color: rgba(255, 255, 255, 0.9);
}

.page-privacy-policy__light-bg p {
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .page-privacy-policy__section p {
    font-size: 16px;
  }
}

.page-privacy-policy__section ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 17px;
}

.page-privacy-policy__dark-bg ul {
  color: rgba(255, 255, 255, 0.85);
}

.page-privacy-policy__light-bg ul {
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .page-privacy-policy__section ul {
    font-size: 16px;
    margin-left: 20px;
  }
}

.page-privacy-policy__section li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-privacy-policy__section a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-privacy-policy__section a:hover {
  text-decoration: underline;
}

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

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

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

.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px 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;
  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: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

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

.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  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: var(--primary-color);
  transform: rotate(45deg); /* Change + to X */
}

@media (max-width: 768px) {
  .page-privacy-policy__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-privacy-policy__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-privacy-policy__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-privacy-policy__faq-answer {
    padding: 0 15px;
  }
  
  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 15px !important;
  }
}

/* CTA Section Styles */
.page-privacy-policy__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-privacy-policy__cta-container {
  max-width: 900px;
}

.page-privacy-policy__cta-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .page-privacy-policy__cta-title {
    font-size: 30px;
  }
}

.page-privacy-policy__cta-text {
  font-size: 18px;
  margin-bottom: 40px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.page-privacy-policy__cta-text a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-privacy-policy__cta-text a:hover {
  text-decoration: underline;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--text-dark);
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-privacy-policy__cta-button:hover {
  background: #e08e0b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Global image responsive styles */
.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 .page-privacy-policy__container,
  .page-privacy-policy__intro-section .page-privacy-policy__container,
  .page-privacy-policy__faq-section .page-privacy-policy__container,
  .page-privacy-policy__cta-section .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}