.page-gdpr {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Space for potential footer */
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #017439; /* Brand primary color */
  overflow: hidden;
}

.page-gdpr__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
  margin-bottom: 40px;
}

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

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

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

.page-gdpr__btn-register,
.page-gdpr__btn-login {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-gdpr__btn-register {
  background-color: #C30808; /* Custom color for register */
  color: #FFFF00; /* Custom font color for register */
  border: 2px solid #C30808;
}

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

.page-gdpr__btn-login {
  background-color: #C30808; /* Custom color for login */
  color: #FFFF00; /* Custom font color for login */
  border: 2px solid #C30808;
}

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

.page-gdpr__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle background image */
  display: block;
}

.page-gdpr__section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for sections */
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__content-area {
  background-color: var(--dark-bg-1); /* Use shared dark background for main content area */
  padding: 40px 0;
}

.page-gdpr__section-title {
  font-size: 2em;
  margin-bottom: 25px;
  color: #ffffff;
  text-align: center;
  border-bottom: 2px solid #017439;
  padding-bottom: 10px;
}

.page-gdpr__paragraph {
  font-size: 1.05em;
  margin-bottom: 15px;
  color: #f0f0f0;
}

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

.page-gdpr__list-item {
  margin-bottom: 10px;
  color: #f0f0f0;
}

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

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

.page-gdpr__link:hover {
  color: #004d2b;
}

.page-gdpr__image-content {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__contact-info {
  margin-top: 30px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background-color: #017439; /* Brand primary color for question */
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: #004d2b;
}

.page-gdpr__faq-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.1em;
}

.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 20px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px;
}

.page-gdpr__faq-answer .page-gdpr__paragraph {
  margin-bottom: 0;
}

.page-gdpr__cta-bottom {
  text-align: center;
  margin-top: 50px;
  padding: 30px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.2em;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-gdpr__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-gdpr__btn-register,
  .page-gdpr__btn-login {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__section {
    padding: 20px 15px;
    margin-top: 20px;
  }

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

  .page-gdpr__paragraph,
  .page-gdpr__list-item {
    font-size: 0.95em;
  }

  .page-gdpr__list {
    margin-left: 20px;
  }

  .page-gdpr__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-gdpr__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }

  .page-gdpr__faq-title {
    font-size: 1em;
  }

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

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

  .page-gdpr__contact-info {
    padding: 15px;
  }

  .page-gdpr__cta-bottom {
    padding: 20px 15px;
  }

  .page-gdpr__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
}