/* style/gdpr.css */
:root {
  --primary-color: #0047AB;
  --secondary-color: #FFD700;
  --text-dark: #2c3e50;
  --text-light: #ecf0f1;
  --bg-light: #f4f7f6;
  --bg-dark: #293a4a;
  --border-color: #e0e0e0;
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

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

/* Hero Banner Section */
.page-gdpr .hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, #002D62 100%); /* Darker blue gradient */
  color: var(--text-light);
  padding: 80px 0;
}

.page-gdpr .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-gdpr .hero-image {
  width: 100%;
  height: auto;
  max-height: 450px; /* Adjust height for banner feel */
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.3;
}

.page-gdpr .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
}

.page-gdpr .hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-gdpr .hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-gdpr .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr .cta-button:hover {
  background: #FFC107; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr .cta-button.page-gdpr--secondary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--secondary-color);
}

.page-gdpr .cta-button.page-gdpr--secondary:hover {
  background: #002D62;
  color: var(--secondary-color);
  border-color: #FFC107;
}

/* General Content Section */
.page-gdpr .content-section {
  padding: 60px 0;
}

.page-gdpr .content-section.page-gdpr--alt-bg {
  background-color: var(--bg-light);
}

.page-gdpr .section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-gdpr .text-block {
  flex: 1 1 45%;
  min-width: 300px;
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.page-gdpr .text-block p {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
  color: var(--text-dark);
}

.page-gdpr .sub-section-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr .text-block h4 {
  font-size: 1.4em;
  color: var(--text-dark);
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-gdpr .data-list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-gdpr .data-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-gdpr .data-list li strong {
  color: var(--primary-color);
}

.page-gdpr .content-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr .content-image.page-gdpr--left-align {
  float: left;
  margin-right: 25px;
  margin-bottom: 15px;
  width: 40%;
  max-width: 400px;
}

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

.page-gdpr .right-item {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-gdpr .right-item .sub-section-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
}

.page-gdpr .right-item p {
  font-size: 1em;
  color: var(--text-dark);
}

/* Contact Section */
.page-gdpr .contact-section {
  padding: 60px 0;
  text-align: center;
}

.page-gdpr .contact-info {
  margin-top: 30px;
  background: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr .contact-info p {
  font-size: 1.2em;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-gdpr .contact-info a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-gdpr .contact-info a:hover {
  color: var(--secondary-color);
}

/* FAQ Section */
.page-gdpr .faq-section {
  padding: 60px 0;
}

.page-gdpr .faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  font-size: 1.3em;
  color: var(--primary-color);
  margin: 0;
  flex-grow: 1;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: var(--text-dark);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  margin: 0;
  font-size: 1.05em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr .hero-title {
    font-size: 2.8em;
  }
  .page-gdpr .hero-description {
    font-size: 1.1em;
  }
  .page-gdpr .section-title {
    font-size: 2.2em;
  }
  .page-gdpr .content-image.page-gdpr--left-align {
    width: 100%;
    float: none;
    margin-right: 0;
    margin-bottom: 25px;
  }
}

@media (max-width: 768px) {
  .page-gdpr .hero-banner {
    padding: 60px 0;
    min-height: 300px;
  }
  .page-gdpr .hero-title {
    font-size: 2.2em;
  }
  .page-gdpr .hero-description {
    font-size: 1em;
  }
  .page-gdpr .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-gdpr .content-section {
    padding: 40px 0;
  }
  .page-gdpr .section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-gdpr .content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .page-gdpr .text-block {
    flex: 1 1 100%;
    padding: 25px;
  }
  .page-gdpr .sub-section-title {
    font-size: 1.6em;
  }
  .page-gdpr .rights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-gdpr .hero-title {
    font-size: 1.8em;
  }
  .page-gdpr .hero-description {
    font-size: 0.9em;
  }
  .page-gdpr .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-gdpr .section-title {
    font-size: 1.5em;
  }
  .page-gdpr .sub-section-title {
    font-size: 1.3em;
  }
  .page-gdpr .text-block p, .page-gdpr .data-list li {
    font-size: 0.95em;
  }
  .page-gdpr .contact-info {
    padding: 25px;
  }
  .page-gdpr .contact-info p {
    font-size: 1em;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-answer {
    padding: 0 15px;
  }
  .faq-item.active .faq-answer {
    padding: 10px 15px;
  }
}