.page-gdpr {
  color: #ffffff; /* Sẽ được ghi đè nếu phần cụ thể có nền sáng */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Đảm bảo không bị header che */
  text-align: center;
  background-color: #017439; /* Sử dụng màu thương hiệu cho hero */
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-gdpr__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-gdpr__btn-register,
.page-gdpr__btn-login {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  border: none;
}

.page-gdpr__btn-register {
  background-color: #C30808; /* Màu đăng ký tùy chỉnh */
  color: #FFFF00; /* Màu chữ đăng ký tùy chỉnh */
}

.page-gdpr__btn-register:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-gdpr__btn-login {
  background-color: #C30808; /* Màu đăng nhập tùy chỉnh */
  color: #FFFF00; /* Màu chữ đăng nhập tùy chỉnh */
}

.page-gdpr__btn-login:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-gdpr__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
  color: #017439;
}

.page-gdpr__introduction,
.page-gdpr__rights,
.page-gdpr__cookie-policy,
.page-gdpr__faq-section {
  padding: 60px 0;
  background-color: #ffffff; /* Nền trắng cho các phần văn bản chính */
  color: #333333; /* Chữ tối màu trên nền sáng */
}

.page-gdpr__dark-section {
  padding: 60px 0;
  background-color: #1a1a2e; /* Nền tối của body */
  color: #ffffff; /* Chữ sáng màu trên nền tối */
}

.page-gdpr__text-block p {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.7;
}

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

.page-gdpr__list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-gdpr__list-item {
  background-color: rgba(255, 255, 255, 0.05); /* Nền hơi trong suốt cho danh sách trong phần tối */
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #017439;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  font-size: 1.1em;
}

.page-gdpr__list-item strong {
  color: #FFFF00; /* Nhấn mạnh từ khóa */
}

.page-gdpr__introduction .page-gdpr__list-item,
.page-gdpr__rights .page-gdpr__list-item,
.page-gdpr__cookie-policy .page-gdpr__list-item {
  background-color: #f9f9f9; /* Nền sáng cho danh sách trong phần sáng */
  color: #333333;
  border-left-color: #017439;
}

.page-gdpr__introduction .page-gdpr__list-item strong,
.page-gdpr__rights .page-gdpr__list-item strong,
.page-gdpr__cookie-policy .page-gdpr__list-item strong {
  color: #017439;
}

.page-gdpr__cookie-policy a,
.page-gdpr__contact-dpo a {
  color: #017439;
  text-decoration: underline;
  font-weight: bold;
}

.page-gdpr__cookie-policy a:hover,
.page-gdpr__contact-dpo a:hover {
  color: #005f2f;
}

.page-gdpr__contact-info p {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.page-gdpr__contact-link {
  color: #FFFF00; /* Màu chữ tùy chỉnh cho liên hệ trong phần tối */
  text-decoration: none;
  font-weight: bold;
}

.page-gdpr__contact-link:hover {
  text-decoration: underline;
}

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

.page-gdpr__faq-item {
  background-color: #f0f0f0;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #017439;
  color: #ffffff;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: #005f2f;
}

.page-gdpr__faq-question h3 {
  margin: 0;
  font-size: 1em;
  color: #ffffff;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  background-color: #ffffff;
  color: #333333;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Đủ lớn để chứa mọi nội dung */
  padding: 20px 25px;
}

.page-gdpr__faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.8em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Đảm bảo khoảng cách trên di động */
  }
  .page-gdpr__hero-title {
    font-size: 2.2em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-gdpr__btn-register,
  .page-gdpr__btn-login {
    width: 100% !important;
    max-width: 300px !important; /* Giới hạn chiều rộng nút trên di động */
    margin: 0 auto;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__introduction,
  .page-gdpr__principles,
  .page-gdpr__rights,
  .page-gdpr__security-measures,
  .page-gdpr__cookie-policy,
  .page-gdpr__contact-dpo,
  .page-gdpr__faq-section {
    padding: 40px 0;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-gdpr__text-block p,
  .page-gdpr__list-item {
    font-size: 1em;
  }

  /* Responsive Images */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 1.8em;
  }
  .page-gdpr__hero-description {
    font-size: 0.9em;
  }
  .page-gdpr__section-title {
    font-size: 1.5em;
  }
  .page-gdpr__faq-question {
    font-size: 1em;
  }
}