/* style/gdpr.css */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is dark, so text is light */
    background-color: transparent; /* Inherit from body or shared */
}

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

.page-gdpr__dark-bg {
    background-color: #1A2B4C; /* Main brand color for dark sections */
    color: #ffffff;
}

.page-gdpr__light-bg {
    background-color: #f0f0f0; /* Light background for contrast */
    color: #333333;
}

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

.page-gdpr__hero-section {
    position: relative;
    padding: 100px 0 60px; /* Adjust padding-top for header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px);
}

.page-gdpr__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3;
    filter: brightness(0.7);
}

.page-gdpr__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFBF00; /* Accent color for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    color: #ffffff;
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: inherit;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-gdpr__sub-title {
    font-size: 1.8em;
    color: inherit;
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid #FFBF00;
    padding-left: 15px;
}

.page-gdpr__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: inherit;
}

.page-gdpr__text-block a {
    color: #FFBF00;
    text-decoration: underline;
}

.page-gdpr__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    color: inherit;
}

.page-gdpr__list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-gdpr__list li strong {
    color: #FFBF00;
}

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

.page-gdpr__principle-item, .page-gdpr__right-item {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark sections */
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
}

.page-gdpr__light-bg .page-gdpr__principle-item, .page-gdpr__light-bg .page-gdpr__right-item {
    background-color: #ffffff;
    color: #333333;
}

.page-gdpr__principle-item:hover, .page-gdpr__right-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-gdpr__principle-title, .page-gdpr__right-title {
    font-size: 1.4em;
    color: #FFBF00;
    margin-bottom: 15px;
}

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

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-gdpr__light-bg .page-gdpr__faq-item {
    background-color: #ffffff;
    color: #333333;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.page-gdpr__light-bg .page-gdpr__faq-question {
    color: #333333;
}

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

.page-gdpr__light-bg .page-gdpr__faq-question:hover {
    background-color: #f5f5f5;
}

.page-gdpr__faq-title {
    margin: 0;
    color: inherit;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFBF00;
}

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

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #f0f0f0;
}

.page-gdpr__light-bg .page-gdpr__faq-answer {
    color: #555555;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to accommodate content */
    padding: 15px 25px 25px;
}

.page-gdpr__faq-answer p {
    margin: 0;
    padding: 0;
}

/* Call to action section */
.page-gdpr__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #1A2B4C;
    color: #ffffff;
}

.page-gdpr__cta-title {
    font-size: 2.8em;
    color: #FFBF00;
    margin-bottom: 20px;
}

.page-gdpr__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #f0f0f0;
}

.page-gdpr__cta-description a {
    color: #FFBF00;
    text-decoration: underline;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.page-gdpr__btn-primary {
    background-color: #FFBF00;
    color: #1A2B4C;
    border: 2px solid #FFBF00;
}

.page-gdpr__btn-primary:hover {
    background-color: #e6a800;
    border-color: #e6a800;
    transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: #FFBF00;
    border: 2px solid #FFBF00;
}

.page-gdpr__btn-secondary:hover {
    background-color: #FFBF00;
    color: #1A2B4C;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 2.8em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__sub-title {
        font-size: 1.6em;
    }
    .page-gdpr__cta-title {
        font-size: 2.2em;
    }
    .page-gdpr__principles-grid, .page-gdpr__rights-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__container {
        padding: 0 15px;
    }
    .page-gdpr__hero-section {
        padding: 80px 0 40px; /* Adjust padding-top for mobile header offset */
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-gdpr__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-gdpr__section {
        padding: 40px 0;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-gdpr__sub-title {
        font-size: 1.4em;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .page-gdpr__text-block, .page-gdpr__list li {
        font-size: 1em;
    }
    .page-gdpr__principles-grid, .page-gdpr__rights-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-gdpr__principle-item, .page-gdpr__right-item {
        padding: 20px;
    }
    .page-gdpr__principle-title, .page-gdpr__right-title {
        font-size: 1.2em;
    }
    .page-gdpr__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px;
    }
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 10px 20px 20px;
    }
    .page-gdpr__cta-section {
        padding: 50px 0;
    }
    .page-gdpr__cta-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-gdpr__cta-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-gdpr__button-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-gdpr__btn-primary, .page-gdpr__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    /* Mobile image and container responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    /* Ensure content inside sections/containers don't cause overflow */
    .page-gdpr__principles-grid,
    .page-gdpr__rights-grid,
    .page-gdpr__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-title {
        font-size: 1.6em;
    }
    .page-gdpr__sub-title {
        font-size: 1.2em;
    }
    .page-gdpr__cta-title {
        font-size: 1.6em;
    }
}