/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background handled by shared.css */
    padding-bottom: 60px; /* Space above footer */
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    background-color: #017439; /* Brand primary color for hero background */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-gdpr__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFF00; /* Custom font color for title */
}

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

.page-gdpr__hero-image-wrapper {
    margin-bottom: 40px;
}

.page-gdpr__hero-image {
    width: 100%;
    max-width: 1000px; /* Example max-width */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-gdpr__btn-primary {
    background-color: #C30808; /* Custom color for primary button (Register/Login) */
    color: #FFFF00; /* Custom font color for Register/Login */
    border: 2px solid #C30808;
}

.page-gdpr__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

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

.page-gdpr__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #017439;
}

/* General Section Styling */
.page-gdpr__section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__section:last-of-type {
    border-bottom: none;
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #FFFF00; /* Custom font color for titles */
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

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

.page-gdpr__image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure image responsiveness */
}

/* List Styling */
.page-gdpr__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-gdpr__list-item {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-gdpr__list-item strong {
    color: #FFFF00; /* Highlight important terms */
}

/* Grid Layout for Cards */
.page-gdpr__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-gdpr__card {
    background-color: rgba(1, 116, 57, 0.8); /* Semi-transparent brand primary for cards */
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: #ffffff; /* Light text for dark card background */
}

.page-gdpr__card-title {
    font-size: 1.6em;
    color: #FFFF00; /* Custom font color for card titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__card-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* FAQ Section */
.page-gdpr__faq {
    background-color: #0a0a0a; /* Dark background for FAQ section */
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-gdpr__faq-list {
    margin-top: 40px;
}

.page-gdpr__faq-item {
    background-color: rgba(1, 116, 57, 0.8); /* Darker background for FAQ items */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__faq-question:hover {
    background-color: #005a2e;
}

.page-gdpr__faq-question h3 {
    margin: 0;
    color: inherit;
    font-size: 1em; /* Adjust to fit parent font size */
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFFF00; /* Custom font color for toggle icon */
}

.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, padding 0.3s ease;
    color: #ffffff;
    background-color: rgba(1, 116, 57, 0.6); /* Slightly lighter than question for answer background */
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Use !important as required */
    padding: 15px 25px 25px;
}

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

/* Contact Us Section */
.page-gdpr__contact-us {
    text-align: center;
    background-color: #017439; /* Brand primary for contact section */
    color: #ffffff;
}

.page-gdpr__contact-us .page-gdpr__section-title {
    color: #FFFF00; /* Custom font color for titles */
}

.page-gdpr__contact-us .page-gdpr__cta-buttons {
    margin-top: 40px;
    flex-direction: row; /* Default for desktop */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 2.8em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__hero-description,
    .page-gdpr__text-block,
    .page-gdpr__list-item,
    .page-gdpr__card-text {
        font-size: 1em;
    }
    .page-gdpr__faq-question {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-gdpr__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important; /* Fixed header spacing for mobile */
    }

    .page-gdpr__hero-title {
        font-size: 2.2em;
    }

    .page-gdpr__hero-description {
        font-size: 1em;
        padding: 0 15px;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

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

    .page-gdpr__section-title {
        font-size: 1.8em;
        padding: 0 15px;
    }

    .page-gdpr__text-block,
    .page-gdpr__list {
        padding: 0 15px;
    }

    .page-gdpr__list-item {
        margin-left: 0;
        padding-left: 15px; /* Adjust for bullet point */
    }

    .page-gdpr__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .page-gdpr__card {
        padding: 25px;
    }

    .page-gdpr__card-title {
        font-size: 1.4em;
    }

    /* Images responsiveness */
    .page-gdpr img {
      max-width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__section,
    .page-gdpr__grid,
    .page-gdpr__card,
    .page-gdpr__faq-list,
    .page-gdpr__faq-item {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow: hidden !important; /* Ensure no horizontal scroll */
      padding-left: 15px;
      padding-right: 15px;
    }
    /* Specific override for .page-gdpr__container that has 0 padding on desktop */
    .page-gdpr__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-gdpr__faq-question {
        padding: 18px 20px;
        font-size: 1.1em;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px;
    }
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-title {
        font-size: 1.6em;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        font-size: 0.9em;
        padding: 10px 15px;
    }
}