/* style/gdpr.css */

/* General page styles for GDPR content */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main color for light background */
  background-color: #F4F7FB; /* Page background */
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #2F6BFF;
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  z-index: 1;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Adjust to place content below image, not overlapping */
  background-color: rgba(47, 107, 255, 0.9); /* Slightly darker overlay for text */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-gdpr__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
  max-width: 100%;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  font-size: clamp(28px, 4vw, 48px); /* Using clamp for responsive H1 */
}

.page-gdpr__lead-paragraph {
  font-size: 18px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #FFFFFF; /* Card BG color */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin-top: 40px;
  margin-bottom: 40px;
  color: #1F2D3D; /* Text Main color */
}

.page-gdpr__container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__section-title {
  font-size: 28px;
  font-weight: 700;
  color: #2F6BFF; /* Main color for section titles */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #D6E2FF;
  padding-bottom: 10px;
}

.page-gdpr__text-block {
  margin-bottom: 15px;
  font-size: 16px;
  color: #1F2D3D; /* Text Main color */
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #1F2D3D; /* Text Main color */
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-gdpr__image-in-content {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-gdpr__cta-container {
  text-align: center;
  margin-top: 40px;
}

.page-gdpr__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-gdpr__hero-content {
    padding: 30px 15px;
    margin-top: -50px; /* Adjust for mobile */
  }

  .page-gdpr__main-title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .page-gdpr__lead-paragraph {
    font-size: 16px;
  }

  .page-gdpr__content-area {
    padding: 30px 15px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

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

  .page-gdpr__text-block,
  .page-gdpr__list-item {
    font-size: 15px;
  }

  /* Mobile image adaptation */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Mobile video adaptation (if any) */
  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-gdpr__video-section {
    padding-top: 10px !important;
  }

  /* Mobile button adaptation */
  .page-gdpr__btn-primary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__cta-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

/* Ensure contrast for text on various backgrounds */
.page-gdpr__dark-bg {
  background-color: #2F6BFF;
  color: #ffffff;
}

.page-gdpr__light-bg {
  background-color: #FFFFFF;
  color: #1F2D3D;
}

.page-gdpr__section-title {
  color: #2F6BFF; /* Ensure brand color has good contrast */
}

.page-gdpr__btn-primary {
  color: #ffffff; /* White text on blue gradient button */
}

/* No filter on images */
.page-gdpr img {
  filter: none;
}