/* style/privacy-policy.css */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    color: #f0f0f0; /* Light text for dark body background */
    line-height: 1.6;
}

.page-privacy-policy__hero-section {
    position: relative;
    padding-top: 0; /* Assumes shared.css sets body padding-top */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
    background-color: #1a1a2e; /* Ensure hero section background matches body */
}

.page-privacy-policy__hero-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
}

.page-privacy-policy__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-privacy-policy__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    max-width: 900px;
    width: 90%;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__main-title {
    font-size: 3.2em;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

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

.page-privacy-policy__content-area {
    padding: 60px 20px;
    background-color: #1a1a2e;
    color: #f0f0f0;
}

.page-privacy-policy__container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: #FFD700; /* Gold for section titles */
    margin-top: 40px;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 10px;
}

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

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

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

.page-privacy-policy__list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-privacy-policy__nested-list {
    list-style-type: circle;
    margin-left: 20px;
    margin-top: 5px;
}

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

.page-privacy-policy a {
    color: #FFD700; /* Gold for links */
    text-decoration: underline;
}

.page-privacy-policy a:hover {
    color: #ffffff;
    text-decoration: none;
}

/* CTA Block */
.page-privacy-policy__cta-block {
    background-color: #330066; /* Main brand color */
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__cta-title {
    font-size: 2.5em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.3;
}

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

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

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
    box-sizing: border-box;
}

.page-privacy-policy__btn-primary {
    background-color: #FFD700; /* Gold button */
    color: #330066; /* Dark purple text */
    border: 2px solid #FFD700;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.page-privacy-policy__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-privacy-policy__btn-secondary:hover {
    background-color: #FFD700;
    color: #330066;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

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

.page-privacy-policy__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #2a2a4a; /* Slightly lighter dark background for FAQ item */
    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: 18px 25px;
    background: #330066; /* Main brand color for question header */
    color: #ffffff;
    border: 1px solid #4a0080;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-privacy-policy__faq-question:hover {
    background: #4a0080;
    border-color: #6a00b0;
}

.page-privacy-policy__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* Prevent h3 from blocking click event */
    color: #ffffff;
}

.page-privacy-policy__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #FFD700; /* Gold for toggle icon */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect */
    color: #ffffff;
}

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background-color: #2a2a4a; /* Lighter dark background for answer */
    color: #f0f0f0;
    border-radius: 0 0 8px 8px;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to contain any content */
    padding: 20px 25px !important;
    opacity: 1;
}

/* Universal image responsive styles */
.page-privacy-policy img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

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

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

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

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

    .page-privacy-policy__hero-content {
        padding: 25px;
    }
}

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

    .page-privacy-policy__hero-section {
        padding-top: 0 !important; /* Ensure no double padding if body has it */
        padding-bottom: 40px;
    }

    .page-privacy-policy__hero-image {
        height: 400px;
    }

    .page-privacy-policy__hero-content {
        padding: 20px;
        width: 95%;
    }

    .page-privacy-policy__main-title {
        font-size: 2em;
        margin-bottom: 10px;
    }

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

    .page-privacy-policy__content-area {
        padding: 40px 15px;
    }

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

    .page-privacy-policy__sub-title {
        font-size: 1.3em;
        margin-top: 25px;
        margin-bottom: 12px;
    }

    .page-privacy-policy__paragraph,
    .page-privacy-policy__list li {
        font-size: 1em;
    }

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

    .page-privacy-policy__image {
        margin: 20px auto;
    }

    /* CTA Block Mobile */
    .page-privacy-policy__cta-block {
        padding: 30px 20px;
        margin-top: 40px;
    }

    .page-privacy-policy__cta-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-privacy-policy__cta-description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-privacy-policy__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to prevent buttons from touching edges */
    }

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

    /* FAQ Mobile */
    .page-privacy-policy__faq-question {
        padding: 15px 20px;
    }

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

    .page-privacy-policy__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }

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

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

    /* Universal image responsive styles for mobile */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    /* Containers for mobile overflow prevention */
    .page-privacy-policy__container,
    .page-privacy-policy__hero-container,
    .page-privacy-policy__cta-block,
    .page-privacy-policy__faq-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }
    .page-privacy-policy__content-area {
        overflow-x: hidden;
    }
}