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

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

.page-gdpr__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  background-color: #0A192F; /* Primary brand color */
  color: #ffffff; /* White text for dark background */
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.page-gdpr__main-title {
  font-size: 44px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Gold accent for title */
  line-height: 1.2;
}

.page-gdpr__description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__btn-primary {
  display: inline-block;
  padding: 15px 35px;
  background: #FFD700; /* Gold button */
  color: #0A192F; /* Dark text for gold button */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-gdpr__btn-primary:hover {
  background-color: #e5c100; /* Darker gold on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-gdpr__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #0A192F; /* Primary brand color for section titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-gdpr__dark-bg .page-gdpr__section-title {
  color: #FFD700; /* Gold for titles on dark backgrounds */
}

.page-gdpr__content-section,
.page-gdpr__rights-section,
.page-gdpr__data-processing-section,
.page-gdpr__contact-section,
.page-gdpr__faq-section {
  padding: 60px 0;
}

.page-gdpr__text-block {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.page-gdpr__text-block p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.7;
}

.page-gdpr__text-block h3 {
  color: #0A192F;
  font-size: 24px;
  margin-top: 25px;
  margin-bottom: 15px;
}

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

.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

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

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

.page-gdpr__contact-list li {
  margin-bottom: 10px;
  font-size: 17px;
  color: #ffffff;
}

.page-gdpr__contact-list strong {
  color: #FFD700;
}

.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  background: #E53E3E; /* Red CTA */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

.page-gdpr__btn-secondary:hover {
  background-color: #c02d2d; /* Darker red on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-gdpr__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important; /* Ensure content fits */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-gdpr__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-gdpr__faq-question:active {
  background: #eeeeee;
}

.page-gdpr__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #0A192F;
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  color: #333;
  transform: rotate(45deg); /* Change to X or minus sign visually */
}

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

  .page-gdpr__section-title {
    font-size: 30px;
  }
}

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

  .page-gdpr__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
    min-height: 300px;
  }

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

  .page-gdpr__description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__section-title {
    font-size: 26px;
    padding-top: 40px;
    margin-bottom: 30px;
  }

  .page-gdpr__content-section,
  .page-gdpr__rights-section,
  .page-gdpr__data-processing-section,
  .page-gdpr__contact-section,
  .page-gdpr__faq-section {
    padding: 40px 0;
  }

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

  .page-gdpr__text-block {
    padding: 20px;
    margin-bottom: 20px;
  }

  .page-gdpr__text-block p {
    font-size: 15px;
  }

  .page-gdpr__text-block h3 {
    font-size: 20px;
  }

  .page-gdpr__list,
  .page-gdpr__contact-list {
    margin-left: 20px;
  }

  .page-gdpr__list li,
  .page-gdpr__contact-list li {
    font-size: 15px;
  }

  /* Image responsive */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure content does not overflow */
  }

  .page-gdpr__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-gdpr__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-gdpr__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-gdpr__faq-answer {
    padding: 0 15px;
  }
  
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px !important;
  }
}