/* style/gdpr.css */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0A192F; /* Ensure consistency with body background */
}

.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); /* Fixed header spacing */
  text-align: center;
  background-color: #0A192F;
  color: #ffffff;
}

.page-gdpr__main-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-gdpr__intro-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

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

.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 30px;
}

.page-gdpr__text-block h3 {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__text-block p {
  margin-bottom: 15px;
}

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

.page-gdpr__rights-list,
.page-gdpr__data-types-list,
.page-gdpr__data-purpose-list,
.page-gdpr__legal-basis-list,
.page-gdpr__security-measures-list,
.page-gdpr__sharing-list,
.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-gdpr__rights-list li,
.page-gdpr__data-types-list li,
.page-gdpr__data-purpose-list li,
.page-gdpr__legal-basis-list li,
.page-gdpr__security-measures-list li,
.page-gdpr__sharing-list li,
.page-gdpr__contact-list li {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 10px;
  padding: 20px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-gdpr__light-bg .page-gdpr__rights-list li,
.page-gdpr__light-bg .page-gdpr__sharing-list li {
  background-color: #f5f5f5;
  color: #333333;
}

.page-gdpr__rights-list li:hover,
.page-gdpr__data-types-list li:hover,
.page-gdpr__data-purpose-list li:hover,
.page-gdpr__legal-basis-list li:hover,
.page-gdpr__security-measures-list li:hover,
.page-gdpr__sharing-list li:hover,
.page-gdpr__contact-list li:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-gdpr__light-bg .page-gdpr__rights-list li:hover,
.page-gdpr__light-bg .page-gdpr__sharing-list li:hover {
  background-color: #e0e0e0;
}

.page-gdpr__rights-list strong,
.page-gdpr__data-types-list strong,
.page-gdpr__data-purpose-list strong,
.page-gdpr__legal-basis-list strong,
.page-gdpr__security-measures-list strong,
.page-gdpr__sharing-list strong {
  color: #FFD700;
}

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

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

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #FFD700;
  color: #0A192F;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-gdpr__btn-primary:hover {
  background-color: #ffffff;
  color: #0A192F;
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 0;
  background-color: #0A192F;
  color: #ffffff;
}

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

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

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

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

.page-gdpr__faq-question h3 {
  margin: 0;
  font-size: 1.3em;
  color: #FFD700;
}

.page-gdpr__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD700;
  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;
  color: #f0f0f0;
}

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

.page-gdpr__faq-answer p {
  margin-top: 0;
  margin-bottom: 10px;
}

/* CTA Section */
.page-gdpr__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #FFD700;
  color: #0A192F;
}

.page-gdpr__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #0A192F;
}

.page-gdpr__cta-description {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 40px auto;
  color: #333333;
}

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

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

@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__main-title {
    font-size: 2em;
    padding: 0 15px;
  }

  .page-gdpr__intro-text {
    font-size: 1em;
    padding: 0 15px;
  }

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

  .page-gdpr__section-title {
    font-size: 1.8em;
    padding: 0 15px;
  }

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

  .page-gdpr__text-block h3 {
    font-size: 1.5em;
  }

  .page-gdpr__rights-list li,
  .page-gdpr__data-types-list li,
  .page-gdpr__data-purpose-list li,
  .page-gdpr__legal-basis-list li,
  .page-gdpr__security-measures-list li,
  .page-gdpr__sharing-list li,
  .page-gdpr__contact-list li {
    padding: 15px;
  }

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

  .page-gdpr__faq-question,
  .page-gdpr__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-gdpr__cta-title {
    font-size: 2em;
    padding: 0 15px;
  }

  .page-gdpr__cta-description {
    font-size: 1em;
    padding: 0 15px;
  }

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

  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__content-section,
  .page-gdpr__faq-section,
  .page-gdpr__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left and padding-right are already handled by .page-gdpr__container for content */
  }

  /* Responsive Buttons */
  .page-gdpr__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

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

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

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

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