.page-gdpr {
  color: #ffffff; /* Body background #121212 is dark, so text is light */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 120px; /* Adjust for fixed header on desktop */
}

@media (max-width: 768px) {
  .page-gdpr {
    padding-top: 100px !important; /* Adjust for fixed header on mobile */
    font-size: 16px;
    line-height: 1.6;
  }
}

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

@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

.page-gdpr__dark-section {
  background-color: var(--primary-color, #1A2E47);
  padding: 60px 0;
  color: #ffffff;
}

.page-gdpr__light-bg {
  background-color: #f8f9fa;
  padding: 60px 0;
  color: #333333; /* Light background needs dark text */
}

@media (max-width: 768px) {
  .page-gdpr__dark-section,
  .page-gdpr__light-bg {
    padding: 40px 0 !important;
  }
}

.page-gdpr__main-title {
  font-size: 44px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--secondary-color, #FFD700);
}

@media (max-width: 768px) {
  .page-gdpr__main-title {
    font-size: 28px !important;
  }
}

.page-gdpr__subtitle {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

@media (max-width: 768px) {
  .page-gdpr__subtitle {
    font-size: 16px !important;
    margin-bottom: 30px !important;
  }
}

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

@media (max-width: 768px) {
  .page-gdpr__cta-buttons {
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
  }
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--secondary-color, #FFD700);
  color: var(--primary-color, #1A2E47);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__cta-button--secondary {
  background: transparent;
  color: var(--secondary-color, #FFD700);
  border: 2px solid var(--secondary-color, #FFD700);
}

.page-gdpr__cta-button--secondary:hover {
  background: var(--secondary-color, #FFD700);
  color: var(--primary-color, #1A2E47);
}

@media (max-width: 768px) {
  .page-gdpr__cta-button {
    width: 100% !important;
    font-size: 16px !important;
    padding: 12px 20px !important;
  }
}

.page-gdpr__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
  color: inherit; /* Inherit color from parent section */
}

@media (max-width: 768px) {
  .page-gdpr__section-title {
    font-size: 24px !important;
  }
}

.page-gdpr__section-description {
  font-size: 17px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: inherit;
}

@media (max-width: 768px) {
  .page-gdpr__section-description {
    font-size: 15px !important;
    margin-bottom: 30px !important;
  }
}

.page-gdpr__flex-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-gdpr__flex-wrapper--reverse {
  flex-direction: row-reverse;
}

@media (max-width: 992px) {
  .page-gdpr__flex-wrapper {
    flex-direction: column !important;
  }
  .page-gdpr__flex-wrapper--reverse {
    flex-direction: column !important;
  }
}

.page-gdpr__text-block {
  flex: 1;
}

.page-gdpr__text-block p {
  margin-bottom: 15px;
  font-size: 16px;
  color: inherit;
}

.page-gdpr__text-block ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 15px;
  color: inherit;
}

.page-gdpr__text-block li {
  margin-bottom: 8px;
  font-size: 16px;
  color: inherit;
}

.page-gdpr__text-block strong {
  font-weight: bold;
}

@media (max-width: 768px) {
  .page-gdpr__text-block p,
  .page-gdpr__text-block li {
    font-size: 15px !important;
  }
}

.page-gdpr__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 250px; /* Ensure minimum width for image on smaller screens */
}

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

@media (max-width: 768px) {
  .page-gdpr__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }
  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

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

.page-gdpr__grid--three-cols {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media (max-width: 768px) {
  .page-gdpr__grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

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

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

@media (max-width: 768px) {
  .page-gdpr__card {
    padding: 25px !important;
  }
}

.page-gdpr__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color, #FFD700);
}

@media (max-width: 768px) {
  .page-gdpr__card-title {
    font-size: 18px !important;
  }
}

.page-gdpr__card p {
  font-size: 16px;
  line-height: 1.5;
  color: #f0f0f0;
}

@media (max-width: 768px) {
  .page-gdpr__card p {
    font-size: 15px !important;
  }
}

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

.page-gdpr__cta-button--primary {
  background: var(--secondary-color, #FFD700);
  color: var(--primary-color, #1A2E47);
  border: none;
}

.page-gdpr__cta-button--primary:hover {
  background: #e6c200;
}

/* Ensure all images are responsive */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  /* Ensure padding for sections on mobile */
  .page-gdpr__hero-section,
  .page-gdpr__content-section,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__security-section,
  .page-gdpr__contact-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Ensure buttons are responsive */
.page-gdpr a[class*="button"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

@media (max-width: 768px) {
  .page-gdpr a[class*="button"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-gdpr__cta-buttons {
    padding: 0 15px;
  }
}