/* style/gdpr.css */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark #0a0a0a, so text should be light */
  background-color: transparent; /* Main content area will inherit body background */
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-gdpr__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

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

.page-gdpr__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-gdpr__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-gdpr__section {
  padding: 60px 20px;
  text-align: center;
  color: #ffffff;
}

.page-gdpr__section:nth-of-type(even):not(.page-gdpr__dark-bg) {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast on dark body */
}

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

.page-gdpr__heading {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #017439; /* Brand color for headings */
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0; /* Slightly off-white for body text */
  text-align: left;
}

.page-gdpr__text-block a {
  color: #017439; /* Link color for text blocks */
  text-decoration: underline;
}

.page-gdpr__introduction .page-gdpr__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__principles {
  background-color: #0a0a0a; /* Dark background to ensure light text contrast */
  color: #ffffff;
}

.page-gdpr__principles .page-gdpr__heading {
  color: #ffffff;
}

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

.page-gdpr__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent card background on dark body */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  color: #ffffff;
  height: 100%;
}

.page-gdpr__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439; /* Brand color for card titles */
}

.page-gdpr__card-text {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
}

.page-gdpr__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 20px;
}

.page-gdpr__rights {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-gdpr__rights .page-gdpr__heading {
  color: #017439;
}

.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  text-align: left;
}

.page-gdpr__list-item {
  background: rgba(255, 255, 255, 0.08); /* Slightly different transparency for list items */
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

.page-gdpr__list-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #017439;
}

.page-gdpr__list-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-gdpr__image {
  margin-top: 40px;
  border-radius: 10px;
  max-width: 100%;
  height: auto;
  display: block;
}

.page-gdpr__image--center {
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__compliance {
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.page-gdpr__compliance .page-gdpr__heading {
  color: #017439;
}

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

.page-gdpr__feature-card {
  background: rgba(255, 255, 255, 0.12);
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  height: 100%;
}

.page-gdpr__feature-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #017439;
}

.page-gdpr__feature-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-gdpr__feature-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 20px;
}

.page-gdpr__dpo {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-gdpr__dpo .page-gdpr__heading {
  color: #ffffff;
}

.page-gdpr__dpo-button {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  margin-top: 20px;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-gdpr__dpo-button:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-gdpr__data-retention {
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.page-gdpr__data-retention .page-gdpr__heading {
  color: #017439;
}

.page-gdpr__international-transfers {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-gdpr__international-transfers .page-gdpr__heading {
  color: #ffffff;
}

.page-gdpr__faq {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.page-gdpr__faq .page-gdpr__heading {
  color: #017439;
}

.page-gdpr__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-gdpr__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #ffffff;
  text-align: left;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  text-align: left;
}

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

.page-gdpr__faq-answer p {
  margin-bottom: 15px;
}

.page-gdpr__faq-answer a {
  color: #017439;
  text-decoration: underline;
}

.page-gdpr__cta {
  background-color: #017439; /* Brand color background for CTA */
  color: #ffffff;
  padding: 80px 20px;
}

.page-gdpr__cta-content {
  max-width: 900px;
}

.page-gdpr__heading--cta {
  color: #ffffff;
  font-size: 2.8em;
}

.page-gdpr__text-block--cta {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #ffffff;
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  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%; /* Ensure buttons don't overflow */
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 3em;
  }

  .page-gdpr__heading {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-gdpr__hero-title {
    font-size: 2.2em;
  }

  .page-gdpr__hero-description {
    font-size: 1em;
  }

  .page-gdpr__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-gdpr__heading {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-gdpr__text-block {
    font-size: 0.95em;
  }

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

  .page-gdpr__card-title,
  .page-gdpr__list-title,
  .page-gdpr__feature-title {
    font-size: 1.3em;
  }

  .page-gdpr__faq-question {
    padding: 15px 20px;
  }

  .page-gdpr__faq-title {
    font-size: 1.1em;
  }

  .page-gdpr__faq-answer {
    padding: 0 20px;
  }

  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px 20px !important;
  }

  .page-gdpr__heading--cta {
    font-size: 2em;
  }

  .page-gdpr__text-block--cta {
    font-size: 1em;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    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;
  }

  /* Image and Video responsive adaptation */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__feature-card,
  .page-gdpr__faq-item,
  .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;
  }
}