/* style/gdpr.css */

:root {
  --page-gdpr-primary-color: #11A84E;
  --page-gdpr-secondary-color: #22C768;
  --page-gdpr-text-main: #F2FFF6;
  --page-gdpr-text-secondary: #A7D9B8;
  --page-gdpr-background: #08160F;
  --page-gdpr-card-bg: #11271B;
  --page-gdpr-border: #2E7A4E;
  --page-gdpr-glow: #57E38D;
  --page-gdpr-gold: #F2C14E;
  --page-gdpr-divider: #1E3A2A;
  --page-gdpr-deep-green: #0A4B2C;
  --page-gdpr-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-gdpr-text-main); /* Default text color for the page */
  background-color: var(--page-gdpr-background);
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small padding-top as body handles header offset */
  color: var(--page-gdpr-text-main);
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none; /* Ensure no CSS filter on image */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: 40px; /* Separates content from image */
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  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: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: var(--page-gdpr-btn-gradient);
  color: #ffffff;
  border: none;
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: var(--page-gdpr-primary-color);
  border: 2px solid var(--page-gdpr-primary-color);
}

.page-gdpr__btn-secondary:hover {
  background: rgba(17, 168, 78, 0.1);
  transform: translateY(-2px);
}

/* General Section Styling */
.page-gdpr__section {
  padding: 60px 0;
}

.page-gdpr__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--page-gdpr-text-main);
  margin-bottom: 30px;
  text-align: center;
}

.page-gdpr__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--page-gdpr-text-secondary);
}

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

.page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--page-gdpr-primary-color);
  font-weight: bold;
}

.page-gdpr__ordered-list {
  list-style: decimal;
  padding-left: 25px;
  margin: 0 0 30px 0;
}

.page-gdpr__ordered-list .page-gdpr__list-item {
  padding-left: 0;
  margin-bottom: 10px;
}

.page-gdpr__ordered-list .page-gdpr__list-item::before {
  content: none;
}

.page-gdpr a {
  color: var(--page-gdpr-primary-color);
  text-decoration: none;
}

.page-gdpr a:hover {
  text-decoration: underline;
}

/* Specific Section Backgrounds */
.page-gdpr__dark-bg {
  background-color: var(--page-gdpr-card-bg);
  color: var(--page-gdpr-text-main);
}

.page-gdpr__dark-bg .page-gdpr__section-title,
.page-gdpr__dark-bg .page-gdpr__text-block,
.page-gdpr__dark-bg .page-gdpr__list-item {
  color: var(--page-gdpr-text-main);
}

.page-gdpr__dark-section {
  background-color: var(--page-gdpr-deep-green);
  color: var(--page-gdpr-text-main);
}

.page-gdpr__dark-section .page-gdpr__section-title,
.page-gdpr__dark-section .page-gdpr__text-block,
.page-gdpr__dark-section .page-gdpr__list-item {
  color: var(--page-gdpr-text-main);
}

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

.page-gdpr__light-bg .page-gdpr__section-title {
  color: #000000;
}

.page-gdpr__light-bg .page-gdpr__text-block,
.page-gdpr__light-bg .page-gdpr__list-item {
  color: #333333;
}

/* Data Security Section Grid */
.page-gdpr__list--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-gdpr__list--grid .page-gdpr__list-item {
  padding-left: 0;
  margin-bottom: 0;
  background-color: var(--page-gdpr-card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__list--grid .page-gdpr__list-item::before {
  content: none;
}

.page-gdpr__list--grid .page-gdpr__list-item h3 {
  color: var(--page-gdpr-text-main);
  font-size: 1.4rem;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-gdpr__icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  filter: none; /* Ensure no CSS filter on image */
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  filter: none; /* Ensure no CSS filter on image */
}

.page-gdpr__image--centered {
  margin: 30px auto;
}

/* Contact Section */
.page-gdpr__contact-info {
  margin-top: 30px;
  margin-bottom: 30px;
  background-color: var(--page-gdpr-card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}

.page-gdpr__contact-info p {
  margin-bottom: 10px;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__contact-info a {
  color: var(--page-gdpr-glow);
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 30px;
}

.page-gdpr__faq-item {
  margin-bottom: 15px;
  background-color: var(--page-gdpr-card-bg);
  border-radius: 8px;
  overflow: hidden;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  background-color: var(--page-gdpr-divider);
  color: var(--page-gdpr-text-main);
  list-style: none; /* For details summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--page-gdpr-primary-color);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Change to X or rotate for open state */
}

.page-gdpr__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: var(--page-gdpr-text-secondary);
  border-top: 1px solid var(--page-gdpr-border);
}

.page-gdpr__faq-answer p {
  margin: 0;
  color: var(--page-gdpr-text-secondary);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-gdpr__hero-image-wrapper {
    height: 450px;
  }

  .page-gdpr__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

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

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

@media (max-width: 768px) {
  .page-gdpr__hero-image-wrapper {
    height: 300px;
  }

  .page-gdpr__hero-content {
    margin-top: 20px;
  }

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

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

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

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

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

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

  .page-gdpr__list-item {
    font-size: 1rem;
  }

  .page-gdpr__list--grid {
    grid-template-columns: 1fr;
  }

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

  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__section,
  .page-gdpr__list--grid .page-gdpr__list-item,
  .page-gdpr__faq-item,
  .page-gdpr__contact-info,
  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-gdpr__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }

  .page-gdpr__hero-image-wrapper {
    height: 250px;
  }

  .page-gdpr__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

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