/* style/gdpr.css */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #0d1117; /* Inherited from shared, ensuring consistency */
}

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

.page-gdpr__hero-section {
  position: relative;
  padding: 80px 0 40px;
  text-align: center;
  background: linear-gradient(135deg, #0A2463 0%, #1a3a70 100%);
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-gdpr__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #E3B505;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-gdpr__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

.page-gdpr__hero-image-wrapper {
  margin-top: 30px;
}

.page-gdpr__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-gdpr__content-section {
  padding: 60px 0;
  background-color: #0d1117; /* Dark background */
  color: #f0f0f0; /* Light text */
}

.page-gdpr__dark-section {
  background-color: #1a2a4a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #E3B505;
  margin-bottom: 30px;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gdpr__link {
  color: #E3B505; /* Accent color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #ffda63;
  text-decoration: underline;
}

.page-gdpr__image-with-text {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-gdpr__image-with-text--reverse {
  flex-direction: row-reverse;
}

.page-gdpr__image-left, .page-gdpr__image-right {
  flex: 1;
  max-width: 50%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-gdpr__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #E3B505;
  font-weight: bold;
}

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

.page-gdpr__security-item {
  background-color: #0A2463;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(227, 181, 5, 0.3);
}

.page-gdpr__security-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(227, 181, 5, 0.7)); /* Allowed for glow, not color change */
}

.page-gdpr__security-title {
  font-size: 1.5em;
  color: #E3B505;
  margin-bottom: 15px;
}

.page-gdpr__security-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-gdpr__faq-section {
  padding: 60px 0;
  background-color: #1a2a4a;
  color: #ffffff;
}

.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  background-color: #0A2463;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #0A2463;
  color: #E3B505;
  font-size: 1.2em;
  font-weight: bold;
  border-bottom: 1px solid rgba(227, 181, 5, 0.2);
  transition: background-color 0.3s ease;
}

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

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

.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); /* For '-' symbol */
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

.page-gdpr__contact-cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0d1117;
  color: #f0f0f0;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensures button adapts to container width */
  white-space: normal; /* Allows text to wrap */
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background-color: #E3B505;
  color: #0A2463;
  border: 2px solid #E3B505;
}

.page-gdpr__btn-primary:hover {
  background-color: #ffda63;
  border-color: #ffda63;
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: #E3B505;
  border: 2px solid #E3B505;
}

.page-gdpr__btn-secondary:hover {
  background-color: #E3B505;
  color: #0A2463;
}

.page-gdpr__contact-image-wrapper {
  margin-top: 40px;
}

.page-gdpr__contact-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-gdpr__main-title {
    font-size: 2.4em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__paragraph, .page-gdpr__list-item {
    font-size: 1em;
  }
  .page-gdpr__image-with-text {
    flex-direction: column;
    gap: 20px;
  }
  .page-gdpr__image-left, .page-gdpr__image-right {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 0 15px;
  }
  .page-gdpr__hero-section {
    padding: 60px 0 30px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }
  .page-gdpr__main-title {
    font-size: 2em;
  }
  .page-gdpr__intro-text {
    font-size: 1em;
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
  }
  .page-gdpr__security-grid {
    grid-template-columns: 1fr;
  }
  .page-gdpr__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px 20px;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-gdpr__btn-primary, .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Image responsive rules */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__image-with-text,
  .page-gdpr__security-item,
  .page-gdpr__contact-image-wrapper,
  .page-gdpr__container,
  .page-gdpr__faq-item,
  .page-gdpr__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-title {
    font-size: 1.4em;
  }
  .page-gdpr__security-item {
    padding: 20px;
  }
  .page-gdpr__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-gdpr__faq-answer {
    padding: 0 15px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 12px 15px;
  }
}