.page-gdpr {
    color: #333333; /* Dark text for default white body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

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

.page-gdpr__hero-section {
    background-color: #007bff; /* Primary color background */
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-bottom: 80px; /* Added padding to ensure content is not too close to the bottom */
}

.page-gdpr__hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 60px 0 40px;
}

.page-gdpr__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.2; /* Subtle background image */
    z-index: 1;
}

.page-gdpr__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-gdpr__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffc107; /* Secondary color for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__hero-button {
    display: inline-block;
    background-color: #ffc107; /* Secondary color for CTA */
    color: #007bff; /* Primary color text on secondary background */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__hero-button:hover {
    background-color: #e0a800;
    transform: translateY(-3px);
}

.page-gdpr__section-title {
    font-size: 2.2em;
    color: #007bff; /* Primary color for section titles */
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-gdpr__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    color: #555555;
}

.page-gdpr__compliance-overview,
.page-gdpr__your-rights,
.page-gdpr__related-policies {
    padding: 60px 0;
}

.page-gdpr__compliance-overview {
    background-color: #f8f9fa; /* Light grey background */
}

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

.page-gdpr__card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-gdpr__card:hover {
    transform: translateY(-10px);
}

.page-gdpr__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-gdpr__card-description {
    color: #555555;
}

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

.page-gdpr__rights-item {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__rights-item-title {
    font-size: 1.4em;
    color: #007bff;
    margin-bottom: 10px;
}

.page-gdpr__rights-item-description {
    color: #666666;
}

.page-gdpr__contact-prompt {
    text-align: center;
    font-size: 1.1em;
    margin-top: 40px;
    color: #555555;
}

.page-gdpr__link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

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

.page-gdpr__related-policies {
    background-color: #f1f1f1;
}

.page-gdpr__policy-list {
    list-style: none;
    padding: 0;
    text-align: center;
    margin-top: 40px;
}

.page-gdpr__policy-item {
    display: inline-block;
    margin: 0 15px 15px;
}

.page-gdpr__policy-item a {
    background-color: #007bff;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-gdpr__policy-item a:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-gdpr__hero-title {
        font-size: 2.2em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding-top: var(--header-offset, 120px);
        padding-bottom: 60px;
    }
    .page-gdpr__hero-content {
        padding: 40px 0 30px;
    }
    .page-gdpr__hero-title {
        font-size: 1.8em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-gdpr__section-title {
        font-size: 1.6em;
    }
    .page-gdpr__section-intro {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-gdpr__card {
        padding: 20px;
    }
    .page-gdpr__card-title {
        font-size: 1.3em;
    }
    .page-gdpr__rights-item {
        padding: 20px;
    }
    .page-gdpr__rights-item-title {
        font-size: 1.2em;
    }
    .page-gdpr__policy-item {
        display: block;
        margin: 10px auto;
    }
    .page-gdpr__policy-item a {
        width: fit-content;
        display: block;
        margin: 0 auto;
    }

    /* Ensure content images are responsive and do not overflow */
    .page-gdpr img {
        max-width: 100%;
        height: auto;
    }
    .page-gdpr__card-image {
        height: auto; /* Allow height to adjust for smaller screens */
        min-height: 200px; /* Maintain minimum height */
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-title {
        font-size: 1.5em;
    }
    .page-gdpr__section-title {
        font-size: 1.4em;
    }
    .page-gdpr__card-image {
        min-height: 180px; /* Slightly smaller min-height for very small screens if necessary */
    }
}