/* style/privacy-policy.css */
:root {
  --primary-color: #CC0000; /* Đỏ - Năng lượng, may mắn */
  --secondary-color: #003366; /* Xanh đậm - Chuyên nghiệp, tin cậy */
  --accent-color: #FFD700; /* Vàng kim - Sang trọng (cho điểm nhấn) */
  --text-color-dark: #333333; /* Màu chữ tối cho nền sáng */
  --text-color-light: #ffffff; /* Màu chữ sáng cho nền tối */
  --background-light: #f8f8f8; /* Nền sáng */
  --background-dark: #1a1a1a; /* Nền tối */
  --border-color: #e0e0e0;
}

.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  color: var(--text-color-dark);
  line-height: 1.6;
  background-color: var(--background-light);
}

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

/* Hero Section */
.page-privacy-policy__hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-color-light);
  padding: 80px 0;
  text-align: center;
  border-bottom: 5px solid var(--accent-color);
}

.page-privacy-policy__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: var(--text-color-light);
}

.page-privacy-policy__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
}

/* General Section Styles */
.page-privacy-policy__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.page-privacy-policy__section:last-of-type {
  border-bottom: none;
}

.page-privacy-policy__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  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(--secondary-color);
  border-radius: 2px;
}

.page-privacy-policy__subsection-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  border-left: 5px solid var(--primary-color);
  padding-left: 15px;
}

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

.page-privacy-policy ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-privacy-policy ul li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.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;
}

/* Specific section backgrounds */
.page-privacy-policy__introduction,
.page-privacy-policy__data-usage,
.page-privacy-policy__data-security,
.page-privacy-policy__cookies,
.page-privacy-policy__children-privacy,
.page-privacy-policy__contact {
  background-color: #ffffff;
}

.page-privacy-policy__data-collection,
.page-privacy-policy__data-sharing,
.page-privacy-policy__user-rights,
.page-privacy-policy__third-party-links,
.page-privacy-policy__changes,
.page-privacy-policy__faq {
  background-color: var(--background-light);
}

/* FAQ Styles */
.page-privacy-policy__faq .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__faq .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--background-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq .faq-question:hover {
  background-color: #e9e9e9;
}

.page-privacy-policy__faq .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--secondary-color);
}

.page-privacy-policy__faq .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

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

.page-privacy-policy__faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding: 0 25px;
  background: #ffffff;
  color: var(--text-color-dark);
}

.page-privacy-policy__faq .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed to fit content */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

.page-privacy-policy__faq .faq-answer p {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-title {
    font-size: 3em;
  }
  .page-privacy-policy__hero-description {
    font-size: 1.1em;
  }
  .page-privacy-policy__section-title {
    font-size: 2em;
  }
  .page-privacy-policy__subsection-title {
    font-size: 1.6em;
  }
  .page-privacy-policy p, .page-privacy-policy ul li {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero {
    padding: 60px 0;
  }
  .page-privacy-policy__hero-title {
    font-size: 2.5em;
  }
  .page-privacy-policy__hero-description {
    font-size: 1em;
  }
  .page-privacy-policy__section {
    padding: 40px 0;
  }
  .page-privacy-policy__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-privacy-policy__subsection-title {
    font-size: 1.4em;
    margin-top: 30px;
  }
  .page-privacy-policy__faq .faq-question {
    padding: 15px 20px;
  }
  .page-privacy-policy__faq .faq-question h3 {
    font-size: 1.1em;
  }
  .page-privacy-policy__faq .faq-toggle {
    font-size: 20px;
  }
  .page-privacy-policy__faq .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__hero {
    padding: 40px 0;
  }
  .page-privacy-policy__hero-title {
    font-size: 2em;
  }
  .page-privacy-policy__hero-description {
    font-size: 0.9em;
  }
  .page-privacy-policy__section {
    padding: 30px 0;
  }
  .page-privacy-policy__section-title {
    font-size: 1.5em;
  }
  .page-privacy-policy__subsection-title {
    font-size: 1.2em;
  }
  .page-privacy-policy ul {
    margin-left: 15px;
  }
  .page-privacy-policy__faq .faq-question {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 15px;
  }
  .page-privacy-policy__faq .faq-question h3 {
    margin-bottom: 5px;
    font-size: 1em;
  }
  .page-privacy-policy__faq .faq-toggle {
    align-self: flex-end;
    margin-top: -25px;
    font-size: 18px;
  }
  .page-privacy-policy__faq .faq-item.active .faq-answer {
    padding: 10px 15px;
  }
}