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

.page-gdpr__dark-section {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff; /* White text for dark backgrounds */
}

.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.page-gdpr__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
  padding: 20px;
}

.page-gdpr__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
}

.page-gdpr__btn-primary {
  background-color: #EA7C07; /* Login/CTA color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.page-gdpr__btn-primary:hover {
  background-color: #d16b06;
  transform: translateY(-2px);
}

.page-gdpr__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: grayscale(100%); /* Maintain original image color, but make it less distracting */
}

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand primary color */
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-gdpr__principles-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: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  color: #333333;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
}

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

.page-gdpr__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 30px;
  font-size: 1.1em;
}

.page-gdpr__list li {
  margin-bottom: 10px;
}

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

.page-gdpr__feature-item {
  text-align: center;
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  color: #333333;
}

.page-gdpr__feature-icon {
  width: 100%; /* Ensure large image */
  max-width: 400px; /* Example, adjust as needed */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-gdpr__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-gdpr__cta-button {
  margin-top: 30px;
  text-align: center;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__faq-container {
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-gdpr__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f5f5f5;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: #e9e9e9;
}

.page-gdpr__faq-title {
  margin: 0;
  color: #26A9E0;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  font-size: 1.1em;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 20px;
  padding-top: 0;
}

.page-gdpr__conclusion-section {
  padding: 60px 20px;
  text-align: center;
}

.page-gdpr__conclusion-content {
  max-width: 900px;
  margin: 0 auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.8em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__hero-section {
    padding: 40px 20px;
  }
  .page-gdpr__content-area {
    padding: 40px 20px;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-gdpr__hero-section {
    flex-direction: column;
    padding: 30px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Apply header offset for mobile */
  }
  .page-gdpr__hero-content {
    padding: 10px;
  }
  .page-gdpr__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-gdpr__description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-gdpr__content-area {
    padding: 30px 15px;
  }
  .page-gdpr__principles-grid, .page-gdpr__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-gdpr__card, .page-gdpr__feature-item {
    padding: 20px;
  }
  .page-gdpr__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__faq-question {
    padding: 15px;
    font-size: 1.1em;
  }
  .page-gdpr__faq-answer {
    padding: 0 15px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px;
    padding-top: 0;
  }
  .page-gdpr__cta-button {
    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 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__section, .page-gdpr__card, .page-gdpr__container, .page-gdpr__hero-image-wrapper, .page-gdpr__security-features, .page-gdpr__principles-grid, .page-gdpr__faq-container, .page-gdpr__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }
  .page-gdpr__hero-image-wrapper {
    left: -15px;
    width: calc(100% + 30px);
  }
}