.page-gdpr {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--primary-color, #0A192F);
}

.page-gdpr__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Use padding-top for the first content section */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #0A192F 0%, #1A2B40 100%);
  text-align: center;
  color: #ffffff;
}

.page-gdpr__hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFD700; /* Highlighted title */
  line-height: 1.2;
}

.page-gdpr__intro-description {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
}

.page-gdpr__content-section {
  padding: 80px 0;
}

.page-gdpr__dark-section {
  background-color: #0A192F;
  color: #ffffff;
}

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

.page-gdpr__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.page-gdpr__text-block {
  background-color: #1A2B40; /* Slightly lighter dark blue for blocks */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-gdpr__section-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #FFD700;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 10px;
}

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

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 16px;
}

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

.page-gdpr__list strong {
  color: #FFD700;
}

.page-gdpr__image {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
  display: block;
}

.page-gdpr__link {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.page-gdpr__faq-section {
  padding: 80px 0;
  background-color: #0A192F;
  color: #ffffff;
}

.page-gdpr__faq-section .page-gdpr__section-title {
  text-align: center;
  margin-bottom: 50px;
  color: #FFD700;
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #1A2B40; /* Darker background for FAQ items */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #1A2B40;
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-gdpr__faq-question:hover {
  background: #2A3B50;
  border-color: #FFD700;
}

.page-gdpr__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-gdpr__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

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

.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 25px;
  opacity: 0;
  color: #e0e0e0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important; /* Ensure enough space for content */
  padding: 20px 25px !important;
  opacity: 1;
  background: #1A2B40;
  border-radius: 0 0 8px 8px;
}

.page-gdpr__cta-section {
  padding: 80px 0;
  background-color: #0A192F;
  text-align: center;
  color: #ffffff;
}

.page-gdpr__cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.page-gdpr__cta-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-gdpr__cta-description {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-gdpr__btn-primary {
  display: inline-block;
  background: #FFD700;
  color: #0A192F;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure button adapts to container */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-3px);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__grid-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 80px) !important; /* Adjust for mobile header */
    padding-bottom: 40px;
  }

  .page-gdpr__main-title {
    font-size: 32px;
  }

  .page-gdpr__intro-description {
    font-size: 16px;
  }

  .page-gdpr__content-section,
  .page-gdpr__faq-section,
  .page-gdpr__cta-section {
    padding: 50px 0;
  }

  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__text-block {
    padding: 25px;
  }

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

  .page-gdpr__text-block p,
  .page-gdpr__list {
    font-size: 15px;
  }

  .page-gdpr__list li {
    margin-bottom: 8px;
  }

  .page-gdpr__image {
    margin-bottom: 20px;
  }

  .page-gdpr__faq-question {
    padding: 18px 20px;
  }

  .page-gdpr__faq-question h3 {
    font-size: 16px;
  }

  .page-gdpr__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

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

  .page-gdpr__cta-title {
    font-size: 28px;
  }

  .page-gdpr__cta-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-gdpr__btn-primary {
    padding: 12px 25px;
    font-size: 16px;
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
  }

  /* Mobile responsive image rules */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mobile responsive button container rules */
  .page-gdpr__cta-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}