:root {
    --primary-color: #007bff;
    --secondary-color: #ffc107;
    --dark-bg-color: #0a0a0a;
    --light-text-color: #ffffff;
    --dark-text-color: #333333;
    --card-bg-dark: rgba(255, 255, 255, 0.1);
    --card-bg-light: #ffffff;
    --border-color: #e0e0e0;
}

.page-gdpr {
    background-color: var(--dark-bg-color); /* Body background is dark */
    color: var(--light-text-color); /* Default text color for dark body */
    line-height: 1.6;
    font-family: 'Arial', sans-serif;
}

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    padding: 120px 20px 60px; /* Adjusted padding-top for fixed header */
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: var(--light-text-color);
    text-align: center;
    overflow: hidden;
}

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

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

.page-gdpr__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: normal;
    word-wrap: break-word;
}

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

.page-gdpr__btn-primary:hover {
    background-color: #e0a800;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__section {
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: var(--light-text-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.page-gdpr__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: center;
    color: #f0f0f0;
}

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

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

.page-gdpr__card {
    background: var(--card-bg-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--light-text-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-gdpr__card-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
}

.page-gdpr__list-item {
    background: var(--card-bg-dark);
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.1em;
    color: var(--light-text-color);
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__list-item strong {
    color: var(--secondary-color);
}

.page-gdpr__dark-section {
    background-color: #1a1a1a;
}

.page-gdpr__contact-info {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

.page-gdpr__image--full-width {
    width: 100%;
}

.page-gdpr__image--centered {
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__inline-link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr__inline-link:hover {
    color: #e0a800;
    text-decoration: underline;
}

/* FAQ Section */
.page-gdpr__faq-section {
    padding: 80px 0;
    background-color: var(--dark-bg-color);
}

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

.page-gdpr__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: var(--card-bg-dark);
    color: var(--light-text-color);
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background: rgba(255, 255, 255, 0.15);
}

.page-gdpr__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.5;
    color: var(--light-text-color);
    pointer-events: none;
}

.page-gdpr__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--secondary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(45deg); /* Plus to X */
}

.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 25px;
    opacity: 0;
    background: rgba(255, 255, 255, 0.05);
    color: #f0f0f0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to accommodate content */
    padding: 20px 25px !important;
    opacity: 1;
    border-radius: 0 0 10px 10px;
}

.page-gdpr__faq-answer p {
    margin: 0;
    font-size: 1em;
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.8em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__grid--2-cols {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding-top: 100px; /* Adjusted for mobile fixed header */
        padding-bottom: 40px;
    }
    .page-gdpr__section {
        padding: 60px 0;
    }
    .page-gdpr__main-title {
        font-size: 2.2em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-gdpr__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-gdpr__text-block {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-gdpr__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-gdpr__card {
        padding: 20px;
    }
    .page-gdpr__card-title {
        font-size: 1.3em;
    }
    .page-gdpr__list-item {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-gdpr__contact-info {
        font-size: 1.1em;
    }
    .page-gdpr__image {
        margin-top: 30px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-gdpr__faq-question {
        padding: 15px 20px;
    }
    .page-gdpr__faq-question h3 {
        font-size: 1.1em;
    }
    .page-gdpr__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
        margin-left: 15px;
    }
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px 20px !important;
    }
    .page-gdpr__container {
        padding: 0 15px;
    }
    /* Ensure all image containers are responsive */
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__grid,
    .page-gdpr__faq-list,
    .page-gdpr__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevents overflow from children */
    }
    .page-gdpr__hero-section,
    .page-gdpr__principles-section,
    .page-gdpr__rights-section,
    .page-gdpr__measures-section,
    .page-gdpr__contact-section,
    .page-gdpr__faq-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}