/* style/gdpr.css */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #f8f8f8; /* Light background for the page */
}

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

.page-gdpr__dark-section {
  background-color: #0A1931;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

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

.page-gdpr__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

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

.page-gdpr__hero-section .page-gdpr__container {
  position: relative;
  z-index: 1;
  padding-top: 50px;
  padding-bottom: 50px;
}

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

.page-gdpr__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-gdpr__cta-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;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
  box-sizing: border-box;
  max-width: 100%;
}

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

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

.page-gdpr__content-area {
  padding: 60px 0;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #0A1931;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.page-gdpr__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 4px;
  background-color: #E0B400;
  border-radius: 2px;
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

.page-gdpr__paragraph a {
  color: #0A1931;
  text-decoration: underline;
}

.page-gdpr__paragraph a:hover {
  color: #E0B400;
}

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

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

.page-gdpr__card {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-gdpr__card-title {
  font-size: 1.5em;
  color: #0A1931;
  margin-bottom: 15px;
}

.page-gdpr__card-text {
  font-size: 1em;
  line-height: 1.6;
}

.page-gdpr__rights-list,
.page-gdpr__security-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-gdpr__list-item {
  background-color: #f0f0f0;
  border-left: 5px solid #E0B400;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 1.05em;
  color: #333333;
}

.page-gdpr__list-item strong {
  color: #0A1931;
}

.page-gdpr__list-item a {
  color: #0A1931;
  text-decoration: underline;
}

.page-gdpr__list-item a:hover {
  color: #E0B400;
}

.page-gdpr__contact-info {
  background-color: #f0f8ff;
  border: 1px solid #cceeff;
  padding: 30px;
  margin: 40px auto;
  border-radius: 10px;
  text-align: center;
  max-width: 700px;
  color: #333333;
}

.page-gdpr__contact-info p {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-gdpr__contact-info a {
  color: #0A1931;
  text-decoration: underline;
  font-weight: bold;
}

.page-gdpr__contact-info a:hover {
  color: #E0B400;
}

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

.page-gdpr__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  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 25px;
  cursor: pointer;
  background-color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  color: #0A1931;
  transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-title {
  margin: 0;
  font-size: 1em;
  color: inherit;
}

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

.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;
  background-color: #fdfdfd;
  color: #333333;
}

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

.page-gdpr__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.6;
}

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

.page-gdpr__faq-answer a:hover {
  color: #E0B400;
}

.page-gdpr__cta-wrapper {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

.page-gdpr__footer-bottom {
  background-color: #0A1931;
  color: #ffffff;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9em;
}

.page-gdpr__copyright {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.8em;
  }

  .page-gdpr__section-title {
    font-size: 2em;
  }

  .page-gdpr__principles-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-gdpr__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding is correct */
  }

  .page-gdpr__hero-section .page-gdpr__container {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .page-gdpr__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-gdpr__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-gdpr__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-gdpr__cta-wrapper {
    padding: 0 15px;
  }

  .page-gdpr__content-area {
    padding: 40px 0;
  }

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

  .page-gdpr__paragraph {
    font-size: 1em;
    text-align: left;
  }

  .page-gdpr__image {
    margin: 30px auto;
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-gdpr__principles-grid {
    gap: 20px;
    padding: 0 15px;
  }

  .page-gdpr__card {
    padding: 20px;
  }

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

  .page-gdpr__list-item {
    font-size: 1em;
    padding: 12px 15px;
  }

  .page-gdpr__contact-info {
    padding: 20px;
    margin: 30px auto;
  }

  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

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

  .page-gdpr__footer-bottom .page-gdpr__container {
    padding: 0 15px;
  }

  /* Ensure all containers containing images/buttons/videos are responsive */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-gdpr__principles-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .page-gdpr__card {
    width: 100%;
  }
}