/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.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 #000, so transparent here */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px);
    background-color: #003366; /* Primary brand color */
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.page-privacy-policy__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFCC00; /* Auxiliary brand color for emphasis */
    line-height: 1.2;
}

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

.page-privacy-policy__btn-primary {
    display: inline-block;
    background-color: #FFCC00; /* Auxiliary brand color */
    color: #003366; /* Dark text for contrast */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #e6b800; /* Slightly darker gold on hover */
    transform: translateY(-2px);
}

.page-privacy-policy__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.2; /* Subtle background image */
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none; /* Ensure no filter is applied */
}

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #ffffff; /* Light background for main content */
    color: #333333; /* Dark text for light background */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: -50px; /* Overlap with hero section slightly */
    position: relative;
    z-index: 2;
}

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

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: #003366; /* Primary brand color */
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #FFCC00; /* Auxiliary brand color underline */
    padding-bottom: 10px;
}

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

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

.page-privacy-policy__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    padding: 0;
}

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

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

.page-privacy-policy__contact-link {
    color: #003366;
    text-decoration: underline;
}

.page-privacy-policy__contact-link:hover {
    color: #FFCC00;
}

.page-privacy-policy__image-container {
    text-align: center;
    margin: 30px 0;
}

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    filter: none; /* Ensure no filter is applied */
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

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

.page-privacy-policy__faq-item {
    background-color: #f9f9f9;
    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: 18px 25px;
    cursor: pointer;
    background-color: #003366; /* Dark blue for question background */
    color: #ffffff; /* White text for contrast */
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: #004488; /* Slightly lighter blue on hover */
}

.page-privacy-policy__faq-title {
    margin: 0;
    font-size: 1.1em;
    color: inherit; /* Inherit color from parent */
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFCC00; /* Gold color for toggle icon */
}

.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 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #ffffff; /* White background for answer */
    color: #333333; /* Dark text for light background */
}

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

.page-privacy-policy__cta-section {
    text-align: center;
    background-color: #003366;
    color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    margin-top: 50px;
}

.page-privacy-policy__cta-title {
    font-size: 2em;
    margin-bottom: 25px;
    color: #FFCC00;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: 2.5em;
    }
    .page-privacy-policy__section-title {
        font-size: 2em;
    }
    .page-privacy-policy__sub-section-title {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
    }

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

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

    .page-privacy-policy__btn-primary {
        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__content-area {
        padding: 30px 15px;
        margin-top: -30px;
    }

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

    .page-privacy-policy__sub-section-title {
        font-size: 1.2em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

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

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

    .page-privacy-policy__image-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

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

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

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

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

    /* Ensure content containers don't cause overflow */
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-content,
    .page-privacy-policy__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left and padding-right might be needed for some sections if they don't have it */
    }
}

/* Ensure no filter is used on images */
.page-privacy-policy img {
    filter: none !important;
}