/* style/privacy-policy.css */

/* Base Styles & Typography */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Dark body background, so light text */
    background-color: transparent; /* Body background is handled by shared.css #000000 */
    padding-bottom: 60px; /* Space above footer */
}

.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;
    text-align: center;
    background-color: #000000; /* Explicitly set for this section, overriding transparent */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-privacy-policy__main-title {
    font-size: 2.8em;
    color: #26A9E0; /* Brand color for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(38, 169, 224, 0.5);
}

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

.page-privacy-policy__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__content-area {
    padding: 60px 0;
    background-color: #000000; /* Ensure section background is dark */
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: #26A9E0;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 0 8px rgba(38, 169, 224, 0.4);
}

.page-privacy-policy__section-description {
    font-size: 1em;
    margin-bottom: 30px;
    color: #f0f0f0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

.page-privacy-policy__card {
    background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.page-privacy-policy__card-title {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(38, 169, 224, 0.5);
    padding-bottom: 10px;
}

.page-privacy-policy__card-text {
    margin-bottom: 15px;
}

.page-privacy-policy__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #f0f0f0;
}

.page-privacy-policy__list-item::before {
    content: '•';
    color: #26A9E0; /* Brand color bullet */
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1;
}

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

.page-privacy-policy__link {
    color: #26A9E0; /* Brand color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
    color: #EA7C07; /* Login color on hover for emphasis */
    text-decoration: underline;
}

/* Buttons */
.page-privacy-policy__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    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-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #EA7C07;
    border-color: #EA7C07;
    color: #ffffff;
}

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

.page-privacy-policy__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

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

.page-privacy-policy__faq-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    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 25px;
    cursor: pointer;
    background-color: rgba(38, 169, 224, 0.2); /* Slightly lighter brand color for question background */
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: rgba(38, 169, 224, 0.4);
}

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

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Plus sign rotates to form an 'x' or 'minus' visually */
}

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

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

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

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

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

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

    .page-privacy-policy__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important; /* Ensure content is not hidden by fixed header on mobile */
    }

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

    .page-privacy-policy__intro-text {
        font-size: 1em;
        padding: 0 15px;
    }

    .page-privacy-policy__content-area {
        padding: 40px 0;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    .page-privacy-policy__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__section-title {
        font-size: 1.5em;
        padding: 0 15px;
    }

    .page-privacy-policy__section-description {
        padding: 0 15px;
        text-align: left;
    }

    .page-privacy-policy__card {
        padding: 20px;
        margin-left: 15px;
        margin-right: 15px;
    }

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

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

    /* Mobile image responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Mobile button responsiveness */
    .page-privacy-policy__button-group {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0 15px;
    }

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

    .page-privacy-policy__faq-title {
        font-size: 1.1em;
    }

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

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