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

.page-gdpr__dark-bg {
  background-color: #0A1931;
  color: #ffffff;
}

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

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  min-height: 500px;
  overflow: hidden;
}

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

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

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

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

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

.page-gdpr__btn-primary:hover {
  background-color: #e6c200;
  color: #000000;
}

.page-gdpr__content-area {
  padding: 60px 20px;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #0A1931;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

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

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

.page-gdpr__card {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  min-height: 200px; /* Ensure cards are not too small */
}

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

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

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

.page-gdpr__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 40px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
  display: block;
}

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

.page-gdpr__list-item {
  background-color: #f0f0f0;
  border-left: 5px solid #FFD700;
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  color: #333333;
}

.page-gdpr__list-title {
  font-size: 1.3em;
  color: #0A1931;
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-gdpr__contact-info {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-gdpr__contact-text {
  font-size: 1.1em;
  margin-bottom: 15px;
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-gdpr__contact-list .page-gdpr__list-item {
  background: none;
  border-left: none;
  padding: 0;
  margin-bottom: 10px;
  box-shadow: none;
}

.page-gdpr__link {
  color: #0A1931;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #FFD700;
}

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

.page-gdpr__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

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

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  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, padding 0.3s ease;
  font-size: 1em;
  line-height: 1.6;
}

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

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

.page-gdpr__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

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

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    min-height: 400px;
  }
  .page-gdpr__hero-title {
    font-size: 2em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-gdpr__content-area {
    padding: 40px 15px;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__text-block {
    font-size: 0.95em;
  }
  .page-gdpr__principles-grid, .page-gdpr__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-gdpr__card {
    padding: 20px;
  }
  .page-gdpr__card-title {
    font-size: 1.2em;
  }
  .page-gdpr__list-item {
    padding: 15px 20px;
  }
  .page-gdpr__list-title {
    font-size: 1.1em;
  }
  .page-gdpr__contact-info {
    padding: 25px;
  }
  .page-gdpr__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__content-area,
  .page-gdpr__principles-grid,
  .page-gdpr__security-features,
  .page-gdpr__contact-info,
  .page-gdpr__faq-container,
  .page-gdpr__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-gdpr__cta-bottom a {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}

@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.1em;
  }
  .page-gdpr__faq-question {
    font-size: 1em;
  }
}