/* 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: transparent; /* Body background is handled by shared.css */
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    background-color: #017439; /* Primary brand color for hero background */
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
}

.page-privacy-policy__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
}

.page-privacy-policy__intro-text {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
}

/* Content Section */
.page-privacy-policy__content-section {
    padding: 60px 0;
    background-color: #ffffff; /* Light background for main content */
    color: #333333; /* Dark text for light background */
}

.page-privacy-policy__section-title {
    font-size: 2em;
    margin-bottom: 25px;
    color: #017439; /* Primary brand color for section titles */
    border-bottom: 2px solid #017439;
    padding-bottom: 10px;
}

.page-privacy-policy__sub-section-title {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #017439;
}

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

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

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

.page-privacy-policy__list-item strong {
    color: #017439;
}

.page-privacy-policy a {
    color: #017439;
    text-decoration: underline;
}

.page-privacy-policy a:hover {
    color: #00562e;
}

.page-privacy-policy__image-wrapper {
    text-align: center;
    margin: 40px 0;
}

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

/* CTA Banner Section */
.page-privacy-policy__cta-banner {
    background-color: #017439; /* Primary brand color */
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.page-privacy-policy__cta-title {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-privacy-policy__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
}

/* Buttons */
.page-privacy-policy__cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    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;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-privacy-policy__btn-primary {
    background-color: #C30808; /* Custom color for register/login type buttons */
    color: #FFFF00; /* Custom font color for register/login type buttons */
    border: 2px solid #C30808;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #a30606;
    transform: translateY(-2px);
}

.page-privacy-policy__button-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    vertical-align: middle;
    min-width: 24px;
    min-height: 24px;
}

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

.page-privacy-policy__faq-item {
    background-color: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

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

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 20px;
}

.page-privacy-policy__faq-answer p {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-privacy-policy__main-title {
        font-size: 2.2em;
    }

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

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

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

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

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important; /* Ensures content is below fixed header on mobile */
    }

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

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

    .page-privacy-policy__content-section {
        padding: 40px 0;
    }

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

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

    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item {
        font-size: 0.95em;
    }

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

    .page-privacy-policy__cta-description {
        font-size: 0.95em;
    }

    .page-privacy-policy__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-privacy-policy__button-icon {
        width: 20px;
        height: 20px;
        margin-right: 8px;
        min-width: 20px;
        min-height: 20px;
    }

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

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

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

    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
        min-width: 200px;
        min-height: 200px;
    }

    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__image-wrapper,
    .page-privacy-policy__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-privacy-policy__cta-banner .page-privacy-policy__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Color Contrast Fixes (if needed, though design should prevent) */
.page-privacy-policy__dark-bg {
    color: #ffffff;
    background-color: #017439;
}

.page-privacy-policy__light-bg {
    color: #333333;
    background-color: #ffffff;
}

.page-privacy-policy__contrast-fix {
    background: #ffffff !important;
    color: #333333 !important;
    border: 1px solid #e0e0e0 !important;
}

.page-privacy-policy__text-contrast-fix {
    color: #333333 !important;
    text-shadow: none !important;
}