.page-gdpr {
  color: #333333; /* Dark text for light body background */
}

.page-gdpr__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  padding-bottom: 60px;
  text-align: center;
  background-color: #000000; /* Main dark background for hero */
  color: #FFFFFF;
  position: relative;
  overflow: hidden; /* Prevent content overflow */
}

.page-gdpr__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

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

.page-gdpr__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for emphasis */
  position: relative;
  z-index: 1;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.page-gdpr__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.page-gdpr__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.page-gdpr__btn--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

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

.page-gdpr__btn--secondary {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
  border: 1px solid #FCBC45;
}

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

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #FFFFFF;
}

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

.page-gdpr__section-subtitle {
  font-size: 1.8em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
}

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

.page-gdpr__card-grid {
  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-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__card-image {
  width: 100%; /* Ensure card images are large */
  height: auto;
  min-width: 200px;
  min-height: 200px;
  max-width: 400px; /* Limit width to prevent excessive stretching */
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

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

.page-gdpr__section--contact {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #F8F8F8;
  border-radius: 10px;
}

.page-gdpr__contact-image {
  width: 100%;
  max-width: 600px; /* Ensure contact image is large */
  height: auto;
  min-width: 200px;
  min-height: 200px;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__btn--contact {
  background-color: #000000;
  color: #FFFFFF;
}

.page-gdpr__btn--contact:hover {
  background-color: #333333;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
    padding-bottom: 40px;
  }

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

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

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

  .page-gdpr__btn {
    width: 80%;
    margin: 0 auto;
  }

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

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

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

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

  /* Ensure all images within .page-gdpr are responsive and not too small */
  .page-gdpr img {
    max-width: 100%;
    height: auto;
  }
  
  .page-gdpr__card-image, .page-gdpr__contact-image {
    min-width: 200px;
    min-height: 200px;
  }
}

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

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

  .page-gdpr__btn {
    width: 90%;
  }

  .page-gdpr__card {
    padding: 20px;
  }
}