/* style/gdpr.css */
:root {
    --primary-color: #FFD700;
    --secondary-color: #8B0000;
    --text-on-dark: #ffffff;
    --text-on-light: #333333;
    --background-light: #f9f9f9;
    --border-color: #e0e0e0;
}

.page-gdpr {
    color: var(--text-on-dark); /* Default text color for dark body background */
    padding-top: 180px; /* Adjust for fixed header on desktop */
}

@media (max-width: 768px) {
    .page-gdpr {
        padding-top: 140px; /* Adjust for fixed header on mobile */
    }
}

.page-gdpr__hero-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 80px 20px;
    text-align: center;
    color: var(--text-on-dark);
    position: relative;
    overflow: hidden;
}

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

.page-gdpr__main-heading {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-on-dark);
}

.page-gdpr__hero-subheading {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-on-dark);
}

.page-gdpr__hero-link {
    color: var(--text-on-dark);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-gdpr__hero-link:hover {
    color: #ffd966; /* Lighter shade of primary color */
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-gdpr__cta-button:hover {
    background: #e6b800; /* Darker shade */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-gdpr__content-section {
    background: var(--background-light);
    padding: 60px 20px;
    color: var(--text-on-light);
}

.page-gdpr__container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-gdpr__text-block {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 30px;
    line-height: 1.7;
    color: var(--text-on-light);
}

.page-gdpr__section-heading {
    font-size: 32px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 25px;
    text-align: center;
    line-height: 1.3;
}

.page-gdpr__text-block h3.page-gdpr__sub-heading {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-gdpr__text-block p {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.7;
}

.page-gdpr__text-block ul {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.7;
}

.page-gdpr__text-block li {
    margin-bottom: 8px;
}

.page-gdpr__text-link {
    color: #0066cc;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-gdpr__text-link:hover {
    color: #004499;
}

.page-gdpr__cta-section {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 40px;
    text-align: center;
    margin-top: 40px;
    color: var(--text-on-light);
}

.page-gdpr__cta-section .page-gdpr__section-heading {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.page-gdpr__cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.page-gdpr__btn-primary:hover {
    background: #e6b800;
}

/* FAQ Section */
.page-gdpr__faq-section {
    background: var(--background-light);
    padding: 60px 20px;
    color: var(--text-on-light);
}

.page-gdpr__faq-section .page-gdpr__section-heading {
    margin-bottom: 40px;
}

.page-gdpr__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.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 15px;
    opacity: 0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f0f0f0;
    border-radius: 0 0 5px 5px;
}

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

.page-gdpr__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-gdpr__faq-question:active {
    background: #eeeeee;
}

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

.page-gdpr__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    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: 28px;
    height: 28px;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-gdpr__main-heading {
        font-size: 36px;
    }
    .page-gdpr__hero-subheading {
        font-size: 16px;
    }
    .page-gdpr__section-heading {
        font-size: 28px;
    }
    .page-gdpr__text-block h3.page-gdpr__sub-heading {
        font-size: 22px;
    }
    .page-gdpr__text-block {
        padding: 30px;
    }
    .page-gdpr__cta-section {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-banner {
        padding: 60px 15px;
    }
    .page-gdpr__main-heading {
        font-size: 30px;
    }
    .page-gdpr__hero-subheading {
        font-size: 15px;
    }
    .page-gdpr__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-gdpr__content-section {
        padding: 40px 15px;
    }
    .page-gdpr__text-block {
        padding: 25px;
        margin-bottom: 20px;
    }
    .page-gdpr__section-heading {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .page-gdpr__text-block h3.page-gdpr__sub-heading {
        font-size: 20px;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .page-gdpr__text-block p, .page-gdpr__text-block ul {
        font-size: 15px;
    }
    .page-gdpr__faq-section {
        padding: 40px 15px;
    }
    .page-gdpr__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-gdpr__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-gdpr__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-gdpr__faq-answer {
        padding: 0 15px;
    }
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px !important;
    }
    .page-gdpr__cta-section {
        padding: 25px;
    }
    .page-gdpr__cta-section p {
        font-size: 16px;
    }
}