/* style/gdpr.css */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-gdpr__hero-section {
  position: relative;
  padding: 80px 20px;
  background-color: #f8f9fa;
  text-align: center;
  overflow: hidden;
}

.page-gdpr__hero-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-gdpr__main-title {
  font-size: 42px;
  font-weight: 700;
  color: #007bff; /* Primary color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__description {
  font-size: 18px;
  color: #555555;
  margin-bottom: 40px;
  max-width: 800px;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: #007bff;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
  border: none;
  cursor: pointer;
  margin: 0 10px;
}

.page-gdpr__cta-button:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.35);
}

.page-gdpr__btn-primary {
  background: #007bff;
  color: #ffffff;
  border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  background: #0056b3;
}

.page-gdpr__btn-secondary {
  background: #ffffff;
  color: #007bff;
  border: 2px solid #007bff;
}

.page-gdpr__btn-secondary:hover {
  background: #f0f8ff;
  color: #0056b3;
  border-color: #0056b3;
}

.page-gdpr__section {
  padding: 60px 20px;
  border-bottom: 1px solid #eeeeee;
}

.page-gdpr__section:last-of-type {
  border-bottom: none;
}

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

.page-gdpr__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #007bff;
  text-align: center;
  margin-bottom: 40px;
}

.page-gdpr__subsection-title {
  font-size: 28px;
  font-weight: 600;
  color: #007bff;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-gdpr__section p {
  font-size: 17px;
  color: #333333;
  margin-bottom: 20px;
}

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

.page-gdpr__list li {
  margin-bottom: 10px;
  font-size: 17px;
  color: #333333;
}

.page-gdpr__list strong {
  color: #007bff;
}

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

.page-gdpr__image--center {
  display: block;
  margin: 30px auto;
}

/* Color contrast specific styles */
.page-gdpr__dark-bg {
  background-color: #007bff;
  color: #ffffff; /* Dark background, light text */
}

.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333; /* Light background, dark text */
}

.page-gdpr__dark-bg .page-gdpr__section-title,
.page-gdpr__dark-bg .page-gdpr__subsection-title {
  color: #ffc107; /* Use secondary color for titles on dark background */
}

.page-gdpr__dark-bg .page-gdpr__list strong {
  color: #ffc107;
}

.page-gdpr__text-contrast-fix {
  color: #ffffff !important; /* Ensure white text on dark backgrounds */
}

/* Grid for user rights section */
.page-gdpr__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-gdpr__grid-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__grid-item h3 {
  font-size: 22px;
  color: #007bff;
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-gdpr__grid-item p {
  font-size: 16px;
  color: #555555;
  margin-bottom: 0;
}

.page-gdpr__grid-item img {
  
  
  object-fit: contain;
  margin-bottom: 15px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 36px;
  }
  .page-gdpr__section-title {
    font-size: 30px;
  }
  .page-gdpr__subsection-title {
    font-size: 24px;
  }
  .page-gdpr__section p, .page-gdpr__list li {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }

  .page-gdpr__hero-section {
    padding: 60px 15px;
  }

  .page-gdpr__main-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .page-gdpr__description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-gdpr__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    margin: 0 5px 15px 5px; /* Add bottom margin for stacked buttons */
    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 {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-gdpr__section {
    padding: 40px 15px;
  }

  .page-gdpr__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .page-gdpr__subsection-title {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
  }

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

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 24px;
  }
  .page-gdpr__section-title {
    font-size: 20px;
  }
  .page-gdpr__cta-button {
    font-size: 15px;
    padding: 10px 20px;
  }
}