/* style/privacy-policy.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --button-login: #EA7C07;
    --background-white: #FFFFFF;
    --black-color-custom: #000000;
}

.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default to light text as body background is dark */
    background-color: var(--black-color-custom); /* Assuming shared.css sets body to a dark color */
}

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), #007bff);
    color: var(--text-light);
}

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

.page-privacy-policy__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.page-privacy-policy__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--secondary-color);
    opacity: 0.9;
}

.page-privacy-policy__hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    z-index: 1;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%); /* Allowed for stylistic effect, not color change */
}

.page-privacy-policy__content-area {
    max-width: 100%;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--background-white);
    color: var(--text-dark);
}

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

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.page-privacy-policy__sub-section-title {
    font-size: 1.8em;
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

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

.page-privacy-policy__text-block a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-privacy-policy__text-block a:hover {
    color: #0056b3;
}

.page-privacy-policy__list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

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

.page-privacy-policy__list-item strong {
    color: var(--primary-color);
}

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

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

.page-privacy-policy__cta-section {
    background: var(--primary-color);
    padding: 60px 20px;
    text-align: center;
    color: var(--text-light);
}

.page-privacy-policy__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-privacy-policy__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.page-privacy-policy__cta-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy a[class*="btn"] {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--button-login); /* Using #EA7C07 for login-style button */
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__btn-primary:hover,
.page-privacy-policy a[class*="btn"]:hover {
    background-color: #d16e00;
    transform: translateY(-2px);
}

/* FAQ Section Styling (if applicable, not used in this specific content but for reference) */
.page-privacy-policy__faq-item {
    background-color: var(--background-white);
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

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

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

.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: var(--text-dark);
}

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

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

    .page-privacy-policy__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }

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

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

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

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

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

    .page-privacy-policy__text-block,
    .page-privacy-policy__list {
        font-size: 1em;
    }

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

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

    .page-privacy-policy__btn-primary,
    .page-privacy-policy a[class*="btn"] {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Ensure images are responsive and do not overflow */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-privacy-policy__hero-image-container,
    .page-privacy-policy__image-wrapper,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-content,
    .page-privacy-policy__cta-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }
    .page-privacy-policy__content-area .page-privacy-policy__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-privacy-policy__hero-section {
        flex-direction: column;
    }
}

/* Color Contrast Adjustments */
.page-privacy-policy__dark-bg {
    color: var(--text-light);
}

.page-privacy-policy__light-bg {
    color: var(--text-dark);
}

.page-privacy-policy__card {
    background: var(--background-white);
    color: var(--text-dark);
    border: 1px solid #e0e0e0;
}

.page-privacy-policy p,
.page-privacy-policy li {
  color: var(--text-dark);
}

.page-privacy-policy__hero-section .page-privacy-policy__hero-title,
.page-privacy-policy__hero-section .page-privacy-policy__hero-description {
    color: var(--secondary-color);
}

.page-privacy-policy__cta-section .page-privacy-policy__cta-title,
.page-privacy-policy__cta-section .page-privacy-policy__cta-description {
    color: var(--secondary-color);
}