/* style/gdpr.css */

/* Variables from shared.css */
/* :root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --accent-red: #C30808;
  --accent-yellow: #FFFF00;
  --header-offset: 120px;
} */

.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark, #333333); /* Default text color for light backgrounds */
  background-color: var(--secondary-color, #ffffff); /* Body background */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-gdpr__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color, #017439);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-gdpr__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color, #017439);
  border-radius: 2px;
}

.page-gdpr p {
  margin-bottom: 15px;
  font-size: 17px;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color, #017439) 0%, rgba(1, 116, 57, 0.8) 50%, rgba(255, 255, 255, 0.9) 100%);
  color: var(--text-light, #ffffff);
}

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

.page-gdpr__hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 900px; /* Adjust max-width for image in hero */
}

.page-gdpr__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-gdpr__hero-section h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 800;
  color: var(--text-light, #ffffff);
}

.page-gdpr__intro-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light, #ffffff);
}

.page-gdpr__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
  box-sizing: border-box;
}

.page-gdpr__btn-primary {
  background: var(--primary-color, #017439);
  color: var(--text-light, #ffffff);
  border: 2px solid var(--primary-color, #017439);
}

.page-gdpr__btn-primary:hover {
  background: #006631; /* Darker green */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

.page-gdpr__btn-secondary {
  background: var(--accent-red, #C30808); /* Using accent-red for login/register type feel */
  color: var(--accent-yellow, #FFFF00);
  border: 2px solid var(--accent-red, #C30808);
}

.page-gdpr__btn-secondary:hover {
  background: #A30606; /* Darker red */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}


/* Content Area Styling */
.page-gdpr__content-area {
  padding: 80px 0;
}

.page-gdpr__light-bg {
  background-color: var(--secondary-color, #ffffff);
  color: var(--text-dark, #333333);
}

.page-gdpr__dark-section {
  background-color: var(--primary-color, #017439);
  color: var(--text-light, #ffffff);
}

.page-gdpr__dark-section .page-gdpr__section-title {
  color: var(--text-light, #ffffff);
}
.page-gdpr__dark-section .page-gdpr__section-title::after {
  background-color: var(--text-light, #ffffff);
}

.page-gdpr__dark-section p,
.page-gdpr__dark-section h3 {
  color: var(--text-light, #ffffff);
}

/* Grid Layout */
.page-gdpr__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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


.page-gdpr__card {
  background: var(--secondary-color, #ffffff);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark, #333333);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  min-height: 250px; /* Ensure cards have a minimum height */
}

.page-gdpr__dark-section .page-gdpr__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  color: var(--text-light, #ffffff);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-gdpr__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-top: 15px;
  margin-bottom: 15px;
  color: var(--primary-color, #017439);
}
.page-gdpr__dark-section .page-gdpr__card-title {
  color: var(--text-light, #ffffff);
}

.page-gdpr__card img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}