.page-gdpr {
  color: #f0f0f0; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

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

.page-gdpr__hero-section {
  position: relative;
  padding: 80px 20px 40px; /* Adjusted padding to accommodate header offset */
  background: linear-gradient(135deg, #1E90FF, #0056b3); /* Dark blue gradient */
  color: #ffffff;
  text-align: center;
  padding-top: var(--header-offset, 120px);
}

.page-gdpr__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__hero-image-wrapper {
  margin-bottom: 40px;
}

.page-gdpr__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
  min-width: 200px; /* Ensure minimum size */
}

.page-gdpr__section {
  padding: 60px 0;
}

.page-gdpr__intro-section, .page-gdpr__rights-section, .page-gdpr__data-processing-section, .page-gdpr__faq-section {
  background-color: #f8f9fa; /* Light background for contrast */
  color: #333333;
}

.page-gdpr__principles-section, .page-gdpr__security-section, .page-gdpr__contact-section, .page-gdpr__cta-section {
  background-color: #1a1a1a; /* Dark background */
  color: #f0f0f0;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #FFD700; /* Gold for titles on dark background */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-gdpr__intro-section .page-gdpr__section-title,
.page-gdpr__rights-section .page-gdpr__section-title,
.page-gdpr__data-processing-section .page-gdpr__section-title,
.page-gdpr__faq-section .page-gdpr__section-title {
  color: #1E90FF; /* Blue for titles on light background */
}

.page-gdpr__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #1E90FF; /* Blue underline */
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-gdpr__dark-bg .page-gdpr__section-title::after {
  background-color: #FFD700; /* Gold underline on dark background */
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  color: #1E90FF;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-gdpr__dark-bg .page-gdpr__sub-title {
  color: #FFD700;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

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

.page-gdpr__image-content-wrapper--large {
  margin: 60px 0;
}

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
  min-width: 200px; /* Ensure minimum size */
}

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

.page-gdpr__card {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards on dark background */
  color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__intro-section .page-gdpr__card,
.page-gdpr__rights-section .page-gdpr__card,
.page-gdpr__data-processing-section .page-gdpr__card,
.page-gdpr__faq-section .page-gdpr__card {
  background: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__intro-section .page-gdpr__card-title,
.page-gdpr__rights-section .page-gdpr__card-title,
.page-gdpr__data-processing-section .page-gdpr__card-title,
.page-gdpr__faq-section .page-gdpr__card-title {
  color: #1E90FF;
}

.page-gdpr__card-text {
  font-size: 1em;
  line-height: 1.6;
}

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

.page-gdpr__list-item {
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for list items on dark background */
  color: #f0f0f0;
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  border-left: 5px solid #FFD700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__intro-section .page-gdpr__list-item,
.page-gdpr__rights-section .page-gdpr__list-item,
.page-gdpr__data-processing-section .page-gdpr__list-item,
.page-gdpr__faq-section .page-gdpr__list-item {
  background: #ffffff;
  color: #333333;
  border-left-color: #1E90FF;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

.page-gdpr__intro-section .page-gdpr__list-item strong,
.page-gdpr__rights-section .page-gdpr__list-item strong,
.page-gdpr__data-processing-section .page-gdpr__list-item strong,
.page-gdpr__faq-section .page-gdpr__list-item strong {
  color: #1E90FF;
}

.page-gdpr__list-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-gdpr__intro-section .page-gdpr__list-title,
.page-gdpr__rights-section .page-gdpr__list-title,
.page-gdpr__data-processing-section .page-gdpr__list-title,
.page-gdpr__faq-section .page-gdpr__list-title {
  color: #1E90FF;
}

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

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-gdpr__btn-primary {
  background-color: #FFD700; /* Gold */
  color: #1a1a1a; /* Dark text for contrast */
  border: 2px solid #FFD700;
}

.page-gdpr__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-gdpr__btn-secondary:hover {
  background-color: #FFD700;
  color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

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

.page-gdpr__faq-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

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

.page-gdpr__faq-title {
  font-size: 1.2em;
  color: #1E90FF;
  margin: 0;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #1E90FF;
  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 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: #ffffff;
  color: #333333;
}

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

.page-gdpr__faq-text {
  margin-top: 0;
  margin-bottom: 0;
}

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

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

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

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

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 15px;
  }

  .page-gdpr__hero-section {
    padding: 60px 15px 30px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

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

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

  .page-gdpr__section {
    padding: 40px 0;
  }

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

  .page-gdpr__text-block {
    font-size: 1em;
    padding: 0 15px;
  }

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

  .page-gdpr__grid-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-gdpr__card {
    padding: 25px;
  }

  .page-gdpr__list-item {
    padding: 15px 20px;
    margin-left: 15px;
    margin-right: 15px;
  }

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-gdpr__image-content-wrapper {
    margin: 30px 0;
    padding: 0 15px;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
    min-width: 200px !important; /* Ensure minimum size */
  }

  .page-gdpr__video-section, .page-gdpr__video-container, .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-gdpr video, .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__faq-item {
    margin-left: 15px;
    margin-right: 15px;
  }

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

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

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

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

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

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

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