.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light background */
  background-color: #ffffff;
}

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

.page-gdpr__hero-section {
  position: relative;
  background-color: #017439;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__hero-buttons {
  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: 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%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #005a2e;
  border-color: #005a2e;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  line-height: 1.3;
}

.page-gdpr__dark-section .page-gdpr__section-title {
  color: #ffffff;
}

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

.page-gdpr__introduction,
.page-gdpr__data-collection,
.page-gdpr__sharing,
.page-gdpr__faq {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-gdpr__rights,
.page-gdpr__security,
.page-gdpr__contact {
  padding: 60px 0;
  background-color: #017439;
  color: #ffffff;
}

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

.page-gdpr__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #C30808;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: #ffffff;
}

.page-gdpr__light-bg .page-gdpr__list-item {
  background-color: #f9f9f9;
  border-left: 5px solid #017439;
  color: #333333;
}

.page-gdpr__list-item h3 {
  color: #FFFF00;
  margin-top: 0;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-gdpr__light-bg .page-gdpr__list-item h3 {
  color: #017439;
}

.page-gdpr__list-item p {
  font-size: 1em;
  margin-bottom: 0;
}

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

.page-gdpr__contact-info {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1em;
}

.page-gdpr__contact-info p {
  margin-bottom: 10px;
}

.page-gdpr__contact-link {
  color: #FFFF00; /* Custom font color for links in dark section */
  text-decoration: underline;
}

.page-gdpr__contact-link:hover {
  color: #ffffff;
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #ffffff;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #017439;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-gdpr__faq-question h3 {
  margin: 0;
  font-size: 1.1em;
  color: #017439;
}

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

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

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #333333;
  background-color: #f9f9f9;
}

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

.page-gdpr__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-gdpr__hero-title {
    font-size: 2.2em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__text-block {
    font-size: 1em;
  }
  .page-gdpr__list-item h3 {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 60px 15px;
  }
  .page-gdpr__hero-title {
    font-size: 1.8em;
  }
  .page-gdpr__hero-description {
    font-size: 0.95em;
  }
  .page-gdpr__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
    margin-top: 40px;
    margin-bottom: 30px;
  }
  .page-gdpr__introduction,
  .page-gdpr__rights,
  .page-gdpr__data-collection,
  .page-gdpr__security,
  .page-gdpr__sharing,
  .page-gdpr__contact,
  .page-gdpr__faq {
    padding: 40px 0;
  }
  .page-gdpr__container {
    padding: 0 15px;
  }
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__image {
    margin: 30px auto;
  }
  .page-gdpr__faq-question,
  .page-gdpr__faq-answer {
    padding: 15px;
  }
  .page-gdpr__faq-question h3 {
    font-size: 1em;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 1.6em;
  }
  .page-gdpr__hero-description {
    font-size: 0.9em;
  }
  .page-gdpr__section-title {
    font-size: 1.4em;
  }
  .page-gdpr__text-block {
    font-size: 0.9em;
  }
  .page-gdpr__list-item h3 {
    font-size: 1.1em;
  }
}