.page-gdpr {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 50px; /* Add some padding at the bottom for overall page */
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure content starts below header */
}

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

.page-gdpr__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: -1;
}

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

.page-gdpr__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

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

.page-gdpr__btn-secondary {
  background: transparent;
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

.page-gdpr__btn-secondary:hover {
  background: #C30808;
  color: #FFFFFF;
}

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

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand primary color */
  text-align: center;
  margin-bottom: 20px;
}

.page-gdpr__section-title--light {
  color: #ffffff;
}

.page-gdpr__section-subtitle {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__section-subtitle--light {
  color: #f0f0f0;
}

.page-gdpr__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

.page-gdpr__image-wrapper {
  text-align: center;
}

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

.page-gdpr__dark-section {
  background: #017439; /* Brand primary color for dark background */
  color: #ffffff;
}

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

.page-gdpr__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100%; /* Ensure cards have equal height */
}

.page-gdpr__card--light-bg {
  background: #ffffff; /* White background for cards on dark green section */
  color: #333333;
}

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

.page-gdpr__card-title--light {
  color: #ffffff;
}

.page-gdpr__card-text--light {
  color: #f0f0f0;
}

.page-gdpr__image-wrapper--full-width {
  margin-top: 60px;
}

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

.page-gdpr__card--dark-bg {
  background: #017439; /* Brand primary color for cards on light background section */
  color: #ffffff;
}

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

.page-gdpr__detail-item {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for detail items */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-gdpr__detail-title {
  font-size: 1.5em;
  color: #FFFF00; /* Yellow for highlight */
  margin-bottom: 15px;
}

.page-gdpr__section--contact {
  background: #017439; /* Brand primary color */
  text-align: center;
}

.page-gdpr__contact-info {
  max-width: 800px;
  margin: 0 auto;
  color: #ffffff;
}

.page-gdpr__contact-text--light {
  color: #f0f0f0;
  margin-bottom: 20px;
}

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

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

.page-gdpr__contact-list-item--light {
  color: #ffffff;
}

.page-gdpr__contact-strong--light {
  color: #FFFF00; /* Yellow for strong text */
}

.page-gdpr__contact-link {
  color: #FFFF00; /* Yellow for links */
  text-decoration: none;
}

.page-gdpr__contact-link:hover {
  text-decoration: underline;
}

.page-gdpr__contact-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-gdpr__image-wrapper--contact {
  margin-top: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__section--faq {
  background: #0a0a0a;
}

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

.page-gdpr__faq-item {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter for question area */
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
}

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

.page-gdpr__faq-title {
  margin: 0;
  color: #ffffff;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: #FFFF00; /* Yellow for toggle icon */
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Plus to X */
}

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

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

.page-gdpr__faq-answer p {
  margin: 0;
  color: #f0f0f0;
}

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

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

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-gdpr__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }

  .page-gdpr__main-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 {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 15px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-gdpr__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-gdpr__content-grid {
    grid-template-columns: 1fr;
  }

  .page-gdpr__commitment-grid,
  .page-gdpr__rights-grid,
  .page-gdpr__usage-details {
    grid-template-columns: 1fr;
  }

  .page-gdpr__image,
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__image-wrapper,
  .page-gdpr__image-wrapper--full-width,
  .page-gdpr__image-wrapper--contact {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-gdpr__card,
  .page-gdpr__detail-item,
  .page-gdpr__faq-item {
    padding: 20px;
  }

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

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

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

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

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

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

  .page-gdpr__hero-section {
    height: 400px;
  }
}