.page-gdpr {
  color: #333333; /* Dark text for light background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #FFFFFF; /* Page background color */
}

.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

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

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

.page-gdpr__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFFFFF;
  font-weight: bold;
}

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

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

.page-gdpr__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

.page-gdpr__button--register {
  background-color: #000000;
  color: #FFFFFF; /* Specified text color for Register */
  border: 2px solid #FFFFFF;
}

.page-gdpr__button--register:hover {
  background-color: #FFFFFF;
  color: #000000;
  transform: translateY(-3px);
}

.page-gdpr__button--login {
  background-color: #333333; /* Dark background for Login button */
  color: #FCBC45; /* Specified text color for Login */
  border: 2px solid #FCBC45;
}

.page-gdpr__button--login:hover {
  background-color: #FCBC45;
  color: #000000;
  transform: translateY(-3px);
}

.page-gdpr__button--secondary {
  background-color: #F0F0F0;
  color: #000000;
  border: 1px solid #CCCCCC;
}

.page-gdpr__button--secondary:hover {
  background-color: #E0E0E0;
  transform: translateY(-3px);
}

.page-gdpr__section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-gdpr__section-intro {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-gdpr__principle-card {
  background-color: #F8F8F8;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.page-gdpr__principle-icon {
  width: 250px; /* Minimum size requirement */
  height: 200px; /* Minimum size requirement */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-gdpr__card-text {
  color: #666666;
  font-size: 1em;
}

.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-gdpr__rights-item {
  background-color: #F0F0F0;
  border-left: 5px solid #000000;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #333333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__rights-item strong {
  color: #000000;
}

.page-gdpr__action-center {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

.page-gdpr__feature-card {
  background-color: #F8F8F8;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.page-gdpr__feature-icon {
  width: 250px; /* Minimum size requirement */
  height: 200px; /* Minimum size requirement */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-gdpr__contact-section .page-gdpr__button--primary {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-gdpr__contact-section .page-gdpr__button--primary:hover {
  background-color: #333333;
  border-color: #333333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-gdpr__hero-title {
    font-size: 2.2em;
  }

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

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

  .page-gdpr__button {
    width: 100%;
    max-width: 300px; /* Constrain button width on mobile */
  }

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

  .page-gdpr__section-intro {
    font-size: 0.95em;
  }

  .page-gdpr__principles-grid,
  .page-gdpr__protection-features {
    grid-template-columns: 1fr;
  }

  .page-gdpr__rights-list {
    margin: 20px auto;
  }

  .page-gdpr__rights-item {
    padding: 15px;
    font-size: 1em;
  }

  .page-gdpr__principle-icon,
  .page-gdpr__feature-icon {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px; /* Ensure images are not too small */
  }

  /* Critical: Prevent content area images from overflowing on mobile */
  .page-gdpr img {
    max-width: 100%;
    height: auto;
  }
  
  .page-gdpr {
    overflow-x: hidden; /* Prevent horizontal scrolling */
  }
}