/* style/privacy-policy.css */
:root {
  --primary-color: #0047AB;
  --secondary-color: #FFD700;
  --dark-bg-1: #0d0d0d; /* Giả định từ shared.css, cần đảm bảo tương phản */
  --text-light: #ffffff;
  --text-dark: #333333;
  --border-light: #e0e0e0;
  --shadow-light: rgba(0, 0, 0, 0.1);
}

.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Mặc định chữ sáng trên nền tối */
  background-color: var(--dark-bg-1); /* Từ shared.css */
}

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

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

.page-privacy-policy__hero-banner {
  padding: 180px 20px 80px; /* Đảm bảo khoảng cách với header cố định */
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color), #002D62); /* Nền xanh đậm hơn */
  position: relative;
  overflow: hidden;
}

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

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

.page-privacy-policy__description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  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: #FFC107;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__cta-button--contact {
  margin-top: 30px;
}

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

.page-privacy-policy__content-section .page-privacy-policy__container {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  color: var(--text-dark);
}

.page-privacy-policy__section-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 25px;
  color: var(--primary-color);
  text-align: center;
}

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

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

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  padding: 0;
}

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.7;
}

.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: #002D62;
  text-decoration: underline;
}

.page-privacy-policy__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow-light);
  object-fit: cover;
}

.page-privacy-policy__image--large {
  max-width: 90%;
}

.page-privacy-policy__image--medium {
  max-width: 70%;
}

.page-privacy-policy__image--small {
  max-width: 50%;
}

.page-privacy-policy__faq-section {
  padding: 60px 0;
  background-color: var(--dark-bg-1);
  color: var(--text-light);
}

.page-privacy-policy__faq-section .page-privacy-policy__section-title {
  color: var(--text-light);
  margin-bottom: 40px;
}

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

.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: #1a1a1a; /* Nền tối cho câu trả lời */
  color: #f0f0f0;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 2000px !important; /* Đủ lớn để chứa mọi nội dung */
  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: var(--primary-color); /* Nền xanh đậm cho câu hỏi */
  border: 1px solid #002D62;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-light);
}

.page-privacy-policy__faq-question:hover {
  background: #00388A;
  border-color: #00204A;
}

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

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

.page-privacy-policy__faq-question h3 .page-privacy-policy__link {
  color: inherit;
  font-weight: inherit;
}

.page-privacy-policy__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--text-light);
  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: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg); /* Xoay dấu + thành X */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: 36px;
  }
  .page-privacy-policy__section-title {
    font-size: 28px;
  }
  .page-privacy-policy__sub-title {
    font-size: 22px;
  }
  .page-privacy-policy__description, .page-privacy-policy p, .page-privacy-policy__list-item {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-banner {
    padding-top: 140px !important; /* Mobile padding-top for fixed header */
    padding-bottom: 50px;
  }
  .page-privacy-policy__main-title {
    font-size: 30px;
    margin-bottom: 15px;
  }
  .page-privacy-policy__description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-privacy-policy__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-privacy-policy__content-section {
    padding: 40px 0;
  }
  .page-privacy-policy__content-section .page-privacy-policy__container {
    padding: 25px;
    border-radius: 8px;
  }
  .page-privacy-policy__section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .page-privacy-policy__sub-title {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-privacy-policy p, .page-privacy-policy__list-item {
    font-size: 14px;
    line-height: 1.6;
  }
  .page-privacy-policy__list {
    margin-left: 20px;
  }
  .page-privacy-policy__image {
    margin: 20px auto;
    border-radius: 8px;
  }
  .page-privacy-policy__image--large, .page-privacy-policy__image--medium, .page-privacy-policy__image--small {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-privacy-policy__faq-section {
    padding: 40px 0;
  }
  .page-privacy-policy__faq-section .page-privacy-policy__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .page-privacy-policy__faq-item {
    margin-bottom: 10px;
  }
  .page-privacy-policy__faq-question {
    padding: 15px;
    flex-wrap: wrap;
    border-radius: 8px;
  }
  .page-privacy-policy__faq-question h3 {
    font-size: 16px;
    width: calc(100% - 40px);
  }
  .page-privacy-policy__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 15px !important;
  }
  .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: 26px;
  }
  .page-privacy-policy__section-title {
    font-size: 22px;
  }
  .page-privacy-policy__sub-title {
    font-size: 18px;
  }
  .page-privacy-policy__cta-button {
    padding: 10px 25px;
    font-size: 15px;
  }
  .page-privacy-policy__faq-question h3 {
    font-size: 15px;
  }
}