.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--dark-bg); /* Assuming --dark-bg is a dark color */
}

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

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  min-height: 600px;
  overflow: hidden;
}

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

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

.page-gdpr__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFCC00;
  line-height: 1.2;
}

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

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

.page-gdpr__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #ffffff;
  color: #333333;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

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

.page-gdpr__sub-title {
  font-size: 1.8em;
  color: #003366;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__text-block p {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
  color: #333333;
}

.page-gdpr__rights-section .page-gdpr__section-title {
  color: #003366;
}

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

.page-gdpr__card {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

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

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

.page-gdpr__card p {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-gdpr__data-collection-section {
  background-color: #003366;
  color: #ffffff;
}

.page-gdpr__data-collection-section .page-gdpr__section-title,
.page-gdpr__data-collection-section .page-gdpr__sub-title {
  color: #FFCC00;
}

.page-gdpr__data-collection-section p {
  color: #f0f0f0;
}

.page-gdpr__security-section {
  background-color: #ffffff;
  color: #333333;
}

.page-gdpr__security-section .page-gdpr__section-title,
.page-gdpr__security-section .page-gdpr__sub-title {
  color: #003366;
}

.page-gdpr__security-section p {
  color: #333333;
}

.page-gdpr__contact-section {
  background-color: #003366;
  color: #ffffff;
  text-align: center;
}

.page-gdpr__contact-section .page-gdpr__section-title,
.page-gdpr__contact-section .page-gdpr__sub-title {
  color: #FFCC00;
}

.page-gdpr__contact-section p {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

.page-gdpr__faq-section {
  background-color: #f8f8f8;
  color: #333333;
  box-shadow: none;
  text-align: center;
}

.page-gdpr__faq-section .page-gdpr__section-title {
  color: #003366;
}

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

.page-gdpr__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  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: #003366;
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: #FFCC00;
}

.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, padding 0.3s ease;
  background-color: #fdfdfd;
  color: #555555;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure override */
  padding: 20px 25px;
}

.page-gdpr__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-gdpr__cta-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 80px 20px;
  background-color: #003366;
  color: #ffffff;
  text-align: left;
  flex-wrap: wrap;
}

.page-gdpr__cta-content {
  max-width: 600px;
}

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

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

.page-gdpr__cta-image {
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  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;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #FFCC00;
  color: #003366;
}

/* Global image responsiveness */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Enforce minimum size for all content images */
  min-width: 200px;
  min-height: 200px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
  }

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

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

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .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-left: 15px;
    padding-right: 15px;
  }

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

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

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

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

  .page-gdpr__card {
    padding: 20px;
  }

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

  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

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

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

  .page-gdpr__cta-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 15px;
  }

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

  .page-gdpr__cta-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 30px;
    min-width: 200px !important;
    min-height: 200px !important;
  }

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

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .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;
  }
  
  .page-gdpr__hero-content,
  .page-gdpr__cta-content {
    padding-left: 15px;
    padding-right: 15px;
  }
}