/* style/privacy-policy.css */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #1a1a1a; /* Inherited from body for consistency */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-privacy-policy__hero-section {
    position: relative;
    padding: 80px 0 40px;
    text-align: center;
    background: linear-gradient(135deg, #017439, #005f2e); /* Brand color gradient */
    color: #ffffff;
    overflow: hidden;
}

.page-privacy-policy__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFFF00; /* Register and Login font color for main title for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__intro-text {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #f0f0f0;
}

.page-privacy-policy__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 30px;
}

.page-privacy-policy__content-area {
    padding: 60px 0;
    background-color: #1a1a1a; /* Dark background for content sections */
    color: #ffffff; /* Light text for dark background */
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: #017439; /* Brand color for section titles */
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

.page-privacy-policy__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #FFFF00; /* Accent color for underline */
    margin: 10px auto 0;
}

.page-privacy-policy__sub-title {
    font-size: 1.6em;
    color: #017439; /* Brand color for sub-titles */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-privacy-policy__paragraph {
    margin-bottom: 15px;
    color: #e0e0e0;
}

.page-privacy-policy__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-privacy-policy__list-item {
    margin-bottom: 10px;
}

.page-privacy-policy__list-item strong {
    color: #FFFF00; /* Accent for strong text */
}

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

.page-privacy-policy a {
    color: #017439; /* Brand color for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
    color: #FFFF00; /* Accent color on hover */
}

.page-privacy-policy__cta-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #0e0e0e; /* Slightly darker background for CTA */
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__cta-text {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 30px;
}

.page-privacy-policy__btn-primary {
    display: inline-block;
    background-color: #C30808; /* Register/Login color for primary CTA */
    color: #FFFF00; /* Register/Login font color for CTA text */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #a00606; /* Darker red on hover */
    color: #ffffff;
}

/* FAQ Styles */
.page-privacy-policy__faq-list {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__faq-item {
    background-color: #0e0e0e; /* Darker background for FAQ items */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #017439; /* Brand color for FAQ question background */
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: #005f2e;
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    line-height: 1;
}

.page-privacy-policy__faq-answer {
    padding: 0 20px 20px;
    color: #e0e0e0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-answer {
    max-height: 2000px; /* Large enough to accommodate content */
    padding-top: 15px;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
    background-color: #005f2e;
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-privacy-policy__faq-item summary {
    list-style: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile content isn't hidden */
    }

    .page-privacy-policy__container {
        padding: 0 15px;
    }

    .page-privacy-policy__main-title {
        font-size: 2em;
    }

    .page-privacy-policy__intro-text {
        font-size: 1em;
    }

    .page-privacy-policy__section-title {
        font-size: 1.8em;
    }

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

    /* Images responsive */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-privacy-policy__hero-section,
    .page-privacy-policy__content-area,
    .page-privacy-policy__cta-section,
    .page-privacy-policy__faq-list,
    .page-privacy-policy__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Buttons responsive */
    .page-privacy-policy__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px !important;
    }

    .page-privacy-policy__cta-section {
        padding: 30px 15px;
    }

    .page-privacy-policy__list {
        margin-left: 20px;
    }

    .page-privacy-policy__faq-question {
        padding: 15px;
        font-size: 1em;
    }

    .page-privacy-policy__faq-answer {
        padding: 0 15px 15px;
    }
}