.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background #f4f4f4 */
  background-color: #f4f4f4;
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, #003366, #FFCC00);
  color: #ffffff;
  overflow: hidden;
}

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

.page-gdpr__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
}

.page-gdpr__main-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-gdpr__intro-text {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFCC00; /* Auxiliary color */
  color: #003366; /* Main color for contrast */
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  background: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-gdpr__section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #003366; /* Main color */
  margin-bottom: 25px;
  text-align: center;
  position: relative;
  padding-bottom: 10px;
}

.page-gdpr__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 3px;
  background-color: #FFCC00; /* Auxiliary color */
  border-radius: 2px;
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #333333;
}

.page-gdpr__principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-gdpr__card {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
  color: #333333;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-gdpr__card-title {
  font-size: 1.4em;
  color: #003366;
  margin-bottom: 15px;
}

.page-gdpr__card-text {
  font-size: 1em;
  color: #555555;
}

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
  line-height: 1.6;
}

.page-gdpr__list-item strong {
  color: #003366;
}

.page-gdpr__compliance-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-gdpr__feature-item {
  background-color: #f0f7ff; /* Lighter blue background */
  padding: 25px;
  border-radius: 8px;
  border-left: 5px solid #003366; /* Main color accent */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  color: #333333;
}

.page-gdpr__feature-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
}

.page-gdpr__feature-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 15px;
}

.page-gdpr__btn-text {
  color: #003366;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-gdpr__btn-text:hover {
  color: #FFCC00;
}

.page-gdpr__contact-cta {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-gdpr__faq-container {
  margin-top: 30px;
  margin-bottom: 40px;
}

/* FAQ容器样式 */
.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

/* FAQ默认状态 - 答案隐藏 */
.page-gdpr__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;
  color: #555555;
}

/* FAQ展开状态 - 🚨 使用!important和足够大的max-height确保一定能展开 */
.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important; /* 🚨 Sử dụng !important để đảm bảo độ ưu tiên, giá trị đủ lớn để chứa mọi nội dung */
  padding: 20px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

/* 问题样式 */
.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #003366;
}

.page-gdpr__faq-item.active .page-gdpr__faq-question {
  border-bottom: none; /* Remove border when active for smooth transition to answer */
  border-radius: 5px 5px 0 0;
}

.page-gdpr__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

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

/* 问题标题样式 */
.page-gdpr__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* 防止h3标签阻止点击事件 */
}

/* 切换图标 */
.page-gdpr__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-gdpr__faq-item.active .page-gdpr__faq-toggle {
  color: #003366;
  transform: rotate(45deg); /* Rotate for 'x' effect, or just change text */
}

.page-gdpr__image-container {
  text-align: center;
  margin: 40px 0;
}

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

/* 🚨 移动端响应式设计（必须严格遵守） */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__main-title {
    font-size: 2em;
  }

  .page-gdpr__intro-text {
    font-size: 1em;
  }

  .page-gdpr__cta-button {
    padding: 12px 30px;
    font-size: 1em;
    width: 100% !important;
  }

  .page-gdpr__section {
    margin: 20px auto;
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-gdpr__paragraph,
  .page-gdpr__list-item,
  .page-gdpr__card-text,
  .page-gdpr__feature-description {
    font-size: 0.95em;
  }

  .page-gdpr__card-title,
  .page-gdpr__feature-title {
    font-size: 1.2em;
  }

  .page-gdpr__principles-grid,
  .page-gdpr__compliance-features {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* FAQ mobile styles */
  .page-gdpr__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }

  .page-gdpr__faq-question h3 {
    font-size: 1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }

  .page-gdpr__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }

  .page-gdpr__faq-answer {
    padding: 0 15px;
  }

  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px !important;
  }

  /* 🚨 移动端图片强制适配 */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-gdpr__image-container,
  .page-gdpr__hero-image,
  .page-gdpr__hero-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* 🚨 移动端按钮适配 */
  .page-gdpr__cta-button,
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-gdpr__contact-cta {
    padding-left: 15px;
    padding-right: 15px;
  }
}