.page-gdpr {
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #121212; /* Dark background from shared.css */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 50px; /* Ensure space above footer */
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 40px;
  padding-top: 120px; /* Desktop: Adjust based on fixed header height */
  text-align: center;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  overflow: hidden;
}

.page-gdpr__hero-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-gdpr__main-title {
  font-size: 48px;
  color: var(--primary-color, #FFD700);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__hero-description {
  font-size: 18px;
  color: #e0e0e0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__brand-link {
  color: var(--primary-color, #FFD700);
  text-decoration: none;
  font-weight: bold;
}

.page-gdpr__brand-link:hover {
  text-decoration: underline;
}

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

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--primary-color, #FFD700);
  color: #121212; /* Dark text for primary button */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-gdpr__cta-button:hover {
  background: var(--secondary-color, #8B0000);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-gdpr__cta-button--secondary {
  background: transparent;
  color: var(--primary-color, #FFD700);
  border: 2px solid var(--primary-color, #FFD700);
}

.page-gdpr__cta-button--secondary:hover {
  background: var(--primary-color, #FFD700);
  color: #121212;
  border-color: var(--primary-color, #FFD700);
}

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

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

.page-gdpr__section-title {
  font-size: 36px;
  color: var(--primary-color, #FFD700);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.page-gdpr__principles-section,
.page-gdpr__data-collection-section,
.page-gdpr__user-rights-section,
.page-gdpr__security-measures-section,
.page-gdpr__data-sharing-section,
.page-gdpr__contact-section,
.page-gdpr__faq-section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__principles-section:last-of-type,
.page-gdpr__faq-section:last-of-type {
  border-bottom: none;
}

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

.page-gdpr__principle-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__principle-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-gdpr__principle-title {
  font-size: 22px;
  color: var(--primary-color, #FFD700);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__principle-item p {
  font-size: 16px;
  color: #e0e0e0;
}

.page-gdpr__data-info {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.page-gdpr__data-category {
  flex: 1 1 45%;
  min-width: 300px;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__data-category-title {
  font-size: 24px;
  color: var(--primary-color, #FFD700);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-gdpr__data-category ul {
  list-style-type: none;
  padding-left: 0;
}

.page-gdpr__data-category ul li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #e0e0e0;
  position: relative;
  padding-left: 25px;
}

.page-gdpr__data-category ul li::before {
  content: '•';
  color: var(--secondary-color, #8B0000);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
}

.page-gdpr__data-category strong {
  color: #ffffff;
}

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

.page-gdpr__right-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__right-title {
  font-size: 22px;
  color: var(--primary-color, #FFD700);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__right-item p {
  font-size: 16px;
  color: #e0e0e0;
}

.page-gdpr__security-list {
  list-style-type: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-gdpr__security-list li {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 16px;
  color: #e0e0e0;
  position: relative;
  padding-left: 45px;
  display: flex;
  align-items: center;
}

.page-gdpr__security-list li::before {
  content: '✅';
  position: absolute;
  left: 15px;
  font-size: 20px;
  line-height: 1;
}

.page-gdpr__sharing-info {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__sharing-subtitle {
  font-size: 24px;
  color: var(--primary-color, #FFD700);
  margin-bottom: 15px;
  font-weight: bold;
  margin-top: 25px;
}

.page-gdpr__sharing-info ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-gdpr__sharing-info ul li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #e0e0e0;
  position: relative;
  padding-left: 25px;
}

.page-gdpr__sharing-info ul li::before {
  content: '•';
  color: var(--secondary-color, #8B0000);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
}

.page-gdpr__sharing-info p {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 15px;
}

.page-gdpr__contact-info {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.page-gdpr__contact-info p {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 10px;
}

.page-gdpr__contact-info strong {
  color: #ffffff;
}

.page-gdpr__link {
  color: var(--primary-color, #FFD700);
  text-decoration: none;
}

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

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

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-gdpr__faq-question:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary-color, #FFD700);
}

.page-gdpr__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-gdpr__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color, #FFD700);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  color: var(--secondary-color, #8B0000);
  transform: rotate(45deg); /* Change to X or just a different symbol */
  background: rgba(255, 255, 255, 0.2);
}

.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 20px;
  opacity: 0;
  font-size: 16px;
  color: #e0e0e0;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 0 8px 8px;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to accommodate content */
  padding: 20px !important;
  opacity: 1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: none;
}

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

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

.page-gdpr__section-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 50px auto 0;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.highlight {
  color: var(--primary-color, #FFD700);
  font-weight: bold;
}

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

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

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: 100px !important; /* Mobile: Adjust based on fixed header height */
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-gdpr__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

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

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

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

  .page-gdpr__principles-grid,
  .page-gdpr__rights-list,
  .page-gdpr__security-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__principle-item,
  .page-gdpr__right-item,
  .page-gdpr__security-list li,
  .page-gdpr__data-category,
  .page-gdpr__sharing-info,
  .page-gdpr__contact-info {
    padding: 20px;
  }

  .page-gdpr__principle-title,
  .page-gdpr__data-category-title,
  .page-gdpr__right-title,
  .page-gdpr__sharing-subtitle {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .page-gdpr__principle-item p,
  .page-gdpr__data-category ul li,
  .page-gdpr__right-item p,
  .page-gdpr__security-list li,
  .page-gdpr__sharing-info p,
  .page-gdpr__sharing-info ul li,
  .page-gdpr__contact-info p {
    font-size: 15px;
  }

  .page-gdpr__data-info {
    flex-direction: column;
    gap: 20px;
  }

  .page-gdpr__data-category {
    min-width: unset;
    flex: 1 1 100%;
  }

  .page-gdpr__security-list li {
    padding-left: 40px;
  }

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

  .page-gdpr__faq-question h3 {
    font-size: 16px;
  }

  .page-gdpr__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

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

  .page-gdpr__faq-answer p {
    font-size: 15px;
  }

  /* General image responsive styles */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    padding: 0 !important; /* Ensure no extra padding pushes image out */
  }

  .page-gdpr__hero-image,
  .page-gdpr__section-image {
    margin-top: 30px;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  .page-gdpr__hero-container,
  .page-gdpr__principles-section,
  .page-gdpr__data-collection-section,
  .page-gdpr__user-rights-section,
  .page-gdpr__security-measures-section,
  .page-gdpr__data-sharing-section,
  .page-gdpr__contact-section,
  .page-gdpr__faq-section,
  .page-gdpr__faq-list,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-gdpr__principles-section .page-gdpr__container,
  .page-gdpr__data-collection-section .page-gdpr__container,
  .page-gdpr__user-rights-section .page-gdpr__container,
  .page-gdpr__security-measures-section .page-gdpr__container,
  .page-gdpr__data-sharing-section .page-gdpr__container,
  .page-gdpr__contact-section .page-gdpr__container,
  .page-gdpr__faq-section .page-gdpr__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}