.page-gdpr {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-gdpr__hero-section {
    position: relative;
    text-align: center;
    padding: 0; /* Hero image will fill the space */
    color: #FFFFFF;
    overflow: hidden;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability, not changing color */
}

.page-gdpr__hero-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    z-index: 1;
    padding: 20px;
}

.page-gdpr__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-gdpr__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #FFFFFF;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.page-gdpr__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-gdpr__hero-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    min-width: 200px; /* Ensure buttons are not too small */
    text-align: center;
}

.page-gdpr__hero-button--register {
    background-color: #000000; /* Main color */
    color: #FFFFFF; /* Register button text color */
    border: 2px solid #FFFFFF;
}

.page-gdpr__hero-button--register:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-2px);
}

.page-gdpr__hero-button--login {
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Dark text for contrast */
    border: 2px solid #FCBC45;
}

.page-gdpr__hero-button--login:hover {
    background-color: #E6A734;
    transform: translateY(-2px);
}

.page-gdpr__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #FFFFFF; /* Consistent background */
    border-bottom: 1px solid #eeeeee;
}

.page-gdpr__introduction {
    text-align: center;
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #000000;
    margin-bottom: 40px;
    text-align: center;
}

.page-gdpr__subsection-title {
    font-size: 1.8em;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-gdpr__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

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

.page-gdpr__principle-card {
    background-color: #F8F8F8;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-gdpr__card-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 15px;
}

.page-gdpr__card-text {
    font-size: 1em;
    color: #555555;
    line-height: 1.7;
}

.page-gdpr__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px; /* Constrain image width for better readability */
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-gdpr__rights-list,
.page-gdpr__purpose-list,
.page-gdpr__security-list,
.page-gdpr__sharing-list,
.page-gdpr__transfer-safeguards {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-gdpr__rights-item,
.page-gdpr__purpose-item,
.page-gdpr__security-item,
.page-gdpr__sharing-item,
.page-gdpr__safeguard-item {
    margin-bottom: 10px;
    color: #333333;
}

.page-gdpr__rights-item strong {
    color: #000000;
}

.page-gdpr__link {
    color: #FCBC45; /* Login button color as link color */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-gdpr__link:hover {
    color: #E6A734;
    text-decoration: underline;
}

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

.page-gdpr__data-card {
    background-color: #F8F8F8;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-gdpr__dpo-contact {
    background-color: #F8F8F8;
    border-left: 5px solid #FCBC45;
    padding: 30px;
    margin-top: 40px;
    border-radius: 10px;
}

.page-gdpr__contact-details {
    font-style: normal;
    font-size: 1.1em;
    line-height: 1.8;
    color: #333333;
}

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

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    min-width: 220px;
    text-align: center;
}

.page-gdpr__cta-button--register {
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Dark text for contrast */
    border: 2px solid #FCBC45;
}

.page-gdpr__cta-button--register:hover {
    background-color: #E6A734;
    transform: translateY(-2px);
}

.page-gdpr__cta-button--learn-more {
    background-color: #000000; /* Main color */
    color: #FFFFFF;
    border: 2px solid #000000;
}

.page-gdpr__cta-button--learn-more:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 2.5em;
    }
    .page-gdpr__hero-description {
        font-size: 1.1em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-title {
        font-size: 2em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-gdpr__hero-button {
        width: 100%;
        min-width: unset;
    }
    .page-gdpr__content-area {
        padding: 40px 15px;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__subsection-title {
        font-size: 1.5em;
    }
    .page-gdpr__paragraph,
    .page-gdpr__card-text,
    .page-gdpr__rights-item,
    .page-gdpr__purpose-item,
    .page-gdpr__security-item,
    .page-gdpr__sharing-item,
    .page-gdpr__safeguard-item {
        font-size: 0.95em;
    }
    .page-gdpr__principle-cards,
    .page-gdpr__data-collection-points {
        grid-template-columns: 1fr;
    }
    .page-gdpr__content-image {
        max-width: 100%;
        min-width: 200px; /* Ensure minimum size */
        min-height: 200px; /* Ensure minimum size */
        height: auto; /* Prevent overflow */
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-gdpr__cta-button {
        width: 100%;
        min-width: unset;
    }
    .page-gdpr {
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }
    .page-gdpr img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-title {
        font-size: 1.8em;
    }
    .page-gdpr__hero-description {
        font-size: 0.9em;
    }
    .page-gdpr__section-title {
        font-size: 1.5em;
    }
    .page-gdpr__hero-button {
        padding: 10px 20px;
        font-size: 1em;
    }
    .page-gdpr__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}