/* style/privacy-policy.css */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is dark, so text is light */
    background-color: transparent; /* Inherit from shared.css body */
}

.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background: linear-gradient(135deg, #26A9E0 0%, #1a7bbd 100%); /* Use brand color */
    color: #ffffff;
    overflow: hidden;
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    z-index: 1;
    margin-bottom: 40px;
}

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

.page-privacy-policy__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-privacy-policy__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.page-privacy-policy__btn-primary {
    background-color: #EA7C07; /* Login color */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

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

.page-privacy-policy__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-privacy-policy__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.page-privacy-policy__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15; /* Subtle overlay */
    filter: brightness(0.7); /* Darken image for better text contrast */
}

.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #ffffff;
    color: #333333; /* Light background, so dark text */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(-40px); /* Lift slightly over hero */
    position: relative;
    z-index: 2;
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: #26A9E0;
    margin-top: 40px;
    margin-bottom: 25px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.page-privacy-policy__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-privacy-policy__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.page-privacy-policy__list-item {
    background-color: #f9f9f9;
    border-left: 4px solid #26A9E0;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-privacy-policy__list-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-privacy-policy__list-description {
    font-size: 1em;
    color: #555555;
}

.page-privacy-policy__image-block {
    margin: 40px 0;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    width: auto;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
    /* No filter for color change */
}

.page-privacy-policy__contact-info {
    background-color: #f0f8ff;
    border: 1px solid #26A9E0;
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
    text-align: center;
}

.page-privacy-policy__contact-text {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #333333;
}

.page-privacy-policy__contact-link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-privacy-policy__contact-link:hover {
    text-decoration: underline;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    margin-top: 60px;
    background-color: #f0f8ff;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__faq-container {
    margin-top: 30px;
}

.page-privacy-policy__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #ffffff;
    color: #26A9E0;
    font-weight: bold;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-title {
    margin: 0;
    font-size: 1.2em;
    color: #333333;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    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: #555555;
    font-size: 1em;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
    }

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

    .page-privacy-policy__hero-description {
        font-size: 1em;
    }

    .page-privacy-policy__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
    }

    .page-privacy-policy__content-area {
        padding: 30px 15px;
        transform: translateY(-20px); /* Adjust lift for mobile */
    }

    .page-privacy-policy__section-title {
        font-size: 1.8em;
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-description,
    .page-privacy-policy__contact-text,
    .page-privacy-policy__faq-text {
        font-size: 0.95em;
    }

    .page-privacy-policy__list-item {
        padding: 15px;
    }

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

    .page-privacy-policy__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-privacy-policy__image-block,
    .page-privacy-policy__contact-info,
    .page-privacy-policy__faq-section,
    .page-privacy-policy__faq-item,
    .page-privacy-policy__faq-question,
    .page-privacy-policy__faq-answer {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

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

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

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

    .page-privacy-policy__hero-image {
        filter: brightness(0.5); /* Even darker for mobile contrast */
    }
}

/* Ensure content images are not filtered */
.page-privacy-policy img:not(.page-privacy-policy__hero-image) {
    filter: none; 
}