.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Inherited from body, but explicitly set for scope */
}

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

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.page-gdpr__hero-content-wrapper {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-gdpr__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #017439; /* Brand primary color for light section titles */
  margin-bottom: 30px;
  text-align: center;
}

.page-gdpr__dark-section .page-gdpr__section-title,
.page-gdpr__dark-section .page-gdpr__hero-title {
  color: #ffffff;
}

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

.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-gdpr__dark-section {
  background-color: #1a1a2e; /* Body background color */
  color: #ffffff;
}

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

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

.page-gdpr__text-link {
  color: #017439; /* Brand color for links on light background */
  text-decoration: underline;
}

.page-gdpr__dark-section .page-gdpr__text-link {
  color: #FFFF00; /* Yellow for links on dark background */
}

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

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

.page-gdpr__image-small {
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__principle-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for cards on dark section */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__principle-title,
.page-gdpr__rights-title,
.page-gdpr__security-item strong,
.page-gdpr__faq-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-gdpr__rights-list,
.page-gdpr__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-gdpr__rights-item,
.page-gdpr__security-item {
  background-color: #f9f9f9; /* Light background for list items on light section */
  color: #333333;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-gdpr__dark-section .page-gdpr__rights-item,
.page-gdpr__dark-section .page-gdpr__security-item {
  background-color: rgba(255, 255, 255, 0.05); /* Dark background for list items on dark section */
  color: #ffffff;
}

.page-gdpr__security-item strong {
  color: #FFFF00; /* Yellow for strong text on dark background */
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary,
.page-gdpr__btn-register-login {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-gdpr__btn-primary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-gdpr__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-gdpr__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #005a2e;
  border-color: #005a2e;
}

.page-gdpr__btn-register-login {
  background-color: #C30808;
  color: #ffffff; /* Override #FFFF00 for contrast, ensure large text for AA compliance */
  border: 2px solid #C30808;
  font-size: 1.3em; /* Larger font size for better contrast compliance */
  padding: 18px 35px;
}

.page-gdpr__btn-register-login:hover {
  background-color: #9e0606;
  border-color: #9e0606;
}

.page-gdpr__contact-button {
  margin-top: 30px;
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background-color: #f9f9f9; /* Light background for FAQ items */
  color: #333333;
}

.page-gdpr__dark-section .page-gdpr__faq-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

.page-gdpr__dark-section .page-gdpr__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.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;
  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 all content */
  padding: 15px 20px;
}

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

/* CTA Section */
.page-gdpr__cta-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #017439;
  color: #ffffff;
}

.page-gdpr__cta-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-gdpr__cta-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

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

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-gdpr__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

  .page-gdpr__hero-description {
    font-size: 1em;
  }

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

  .page-gdpr__content-area {
    padding: 40px 15px;
  }

  .page-gdpr__paragraph {
    font-size: 1em;
  }

  .page-gdpr__principles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__principle-item,
  .page-gdpr__rights-item,
  .page-gdpr__security-item,
  .page-gdpr__faq-item {
    padding: 20px;
  }

  .page-gdpr__principle-title,
  .page-gdpr__rights-title,
  .page-gdpr__security-item strong,
  .page-gdpr__faq-title {
    font-size: 1.2em;
  }

  /* Image Responsive Adaptation */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__image-wrapper,
  .page-gdpr__container,
  .page-gdpr__hero-content-wrapper,
  .page-gdpr__principles-grid,
  .page-gdpr__rights-list,
  .page-gdpr__security-list,
  .page-gdpr__faq-list,
  .page-gdpr__cta-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Button Responsive Adaptation */
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr__btn-register-login,
  .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: 15px 20px;
    font-size: 1em;
  }

  .page-gdpr__btn-register-login {
    font-size: 1.1em; /* Keep slightly larger for emphasis */
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-gdpr__cta-description {
    font-size: 1em;
  }

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

  .page-gdpr__faq-answer p {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
  }
  .page-gdpr__cta-title {
    font-size: 1.8em;
  }
}