/* style/gdpr.css */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure body background is respected */
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #017439; /* Primary brand color for hero */
  color: #ffffff;
  overflow: hidden;
}

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

.page-gdpr__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Highlighted color for main title */
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-gdpr__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-gdpr__btn-center {
  display: block;
  margin: 40px auto 20px auto;
  width: fit-content;
}

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-gdpr__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff; /* Light text for dark background */
}

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

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

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

.page-gdpr__paragraph {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

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

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

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

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

.page-gdpr__card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.page-gdpr__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-gdpr__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
  filter: invert(1);
}

.page-gdpr__feature-title {
  font-size: 1.4em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-gdpr__feature-text {
  font-size: 0.95em;
  line-height: 1.6;
}

.page-gdpr__contact-info {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  margin-top: 40px;
  text-align: center;
}

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

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

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

.page-gdpr__contact-info a {
  color: #FFFF00;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-gdpr__contact-info a:hover {
  color: #017439;
}

.page-gdpr__faq-section {
  padding: 60px 20px;
}

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

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

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

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

.page-gdpr__faq-heading {
  margin: 0;
  flex-grow: 1;
}

.page-gdpr__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  margin-left: 20px;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
  color: #555555;
}

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

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer .page-gdpr__paragraph {
  margin-bottom: 0;
}

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

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-gdpr__hero-title {
    font-size: 2.2em;
  }
  .page-gdpr__hero-description,
  .page-gdpr__paragraph,
  .page-gdpr__list-item,
  .page-gdpr__card-text,
  .page-gdpr__feature-text,
  .page-gdpr__contact-text {
    font-size: 1em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__sub-title {
    font-size: 1.4em;
  }
  .page-gdpr__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-gdpr__rights-grid,
  .page-gdpr__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-gdpr__content-area, .page-gdpr__section, .page-gdpr__faq-section {
    padding: 40px 15px;
  }
  
  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-container,
  .page-gdpr__security-features,
  .page-gdpr__faq-section,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-gdpr__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-gdpr__hero-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile button responsiveness */
  .page-gdpr__btn-primary,
  .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__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;
    overflow-x: hidden;
  }
  .page-gdpr__cta-buttons {
    display: flex;
    flex-direction: column;
  }
  .page-gdpr__feature-icon {
    filter: invert(0); /* Reset filter for icons on light bg in mobile if needed, though this section is dark */
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
  }
  .page-gdpr__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px 20px 20px 20px;
  }
  .page-gdpr__faq-toggle {
    font-size: 1.5em;
  }
}

/* Ensure no image filters */
.page-gdpr img {
  filter: none; /* Absolutely no CSS filters on images */
}

/* Specific filter for feature icons on dark background to make them visible */
.page-gdpr__dark-bg .page-gdpr__feature-icon {
  filter: invert(1); /* Invert for visibility on dark background, not changing original color */
}

/* Override filter if it's not on dark bg */
.page-gdpr__light-bg .page-gdpr__feature-icon {
  filter: none; 
}