.page-gdpr {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background handled by shared.css */
}

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

.page-gdpr__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  text-align: center;
  background: linear-gradient(135deg, #26A9E0 0%, #1a7bbd 100%);
  color: #ffffff;
  overflow: hidden;
}

.page-gdpr__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

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

.page-gdpr__hero-image-wrapper {
  margin-top: 40px;
  text-align: center;
}

.page-gdpr__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-gdpr__content-section,
.page-gdpr__rights-section,
.page-gdpr__data-collection-section,
.page-gdpr__contact-section {
  padding: 60px 0;
}

.page-gdpr__security-section,
.page-gdpr__faq-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background for contrast */
}

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__subsection-title {
  font-size: 1.8em;
  color: #FFFFFF;
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light text for dark background */
}

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

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

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

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

.page-gdpr__right-card,
.page-gdpr__security-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-gdpr__right-card:hover,
.page-gdpr__security-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-gdpr__right-icon,
.page-gdpr__security-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-gdpr__card-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__card-description {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-gdpr__contact-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-gdpr__contact-item a {
  color: #26A9E0;
  text-decoration: none;
}

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

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  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;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-gdpr__btn-primary:hover {
  background-color: #1a7bbd;
  border-color: #1a7bbd;
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

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

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  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-out, padding 0.3s ease-out;
}

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

.page-gdpr__faq-answer p {
  margin-bottom: 0;
  color: #f0f0f0;
}

/* Color Contrast Fixes based on body background #1a1a1a (dark) */
.page-gdpr__content-section,
.page-gdpr__rights-section,
.page-gdpr__data-collection-section,
.page-gdpr__contact-section {
  background-color: #1a1a1a; /* Ensure consistency with body background */
  color: #ffffff;
}

.page-gdpr__light-bg .page-gdpr__section-title {
  color: #26A9E0; /* Brand color for titles */
}

.page-gdpr__light-bg .page-gdpr__paragraph,
.page-gdpr__light-bg .page-gdpr__list-item,
.page-gdpr__light-bg .page-gdpr__card-description {
  color: #f0f0f0;
}

.page-gdpr__dark-bg .page-gdpr__section-title {
  color: #ffffff;
}

.page-gdpr__dark-bg .page-gdpr__paragraph,
.page-gdpr__dark-bg .page-gdpr__list-item,
.page-gdpr__dark-bg .page-gdpr__card-description {
  color: #f0f0f0;
}

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

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

  .page-gdpr__subsection-title {
    font-size: 1.6em;
  }
}

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

  .page-gdpr__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

  .page-gdpr__content-section,
  .page-gdpr__rights-section,
  .page-gdpr__data-collection-section,
  .page-gdpr__contact-section,
  .page-gdpr__security-section,
  .page-gdpr__faq-section {
    padding: 40px 0;
  }

  .page-gdpr__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-gdpr__subsection-title {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 15px;
  }

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

  .page-gdpr__rights-grid,
  .page-gdpr__security-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__right-card,
  .page-gdpr__security-card {
    padding: 25px;
  }

  .page-gdpr__right-icon,
  .page-gdpr__security-icon {
    width: 80px;
  }

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

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

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

  .page-gdpr__faq-question {
    padding: 15px;
  }

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

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

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

  /* Image responsive adaptation */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__hero-image-wrapper,
  .page-gdpr__rights-grid,
  .page-gdpr__security-grid,
  .page-gdpr__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}