/* 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; /* Text color for dark body background */
    background-color: #000000; /* Ensuring consistency with body background */
    padding-top: var(--header-offset, 120px); /* Space for fixed header */
}

.page-privacy-policy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    background-color: #0A192F; /* Main brand color for hero */
    color: #ffffff;
    overflow: hidden; /* Ensure no overflow */
}

.page-privacy-policy__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFD700; /* Accent color for main title */
    font-weight: bold;
    line-height: 1.2;
}

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

.page-privacy-policy__btn-primary {
    display: inline-block;
    background-color: #FFD700; /* Accent color for primary button */
    color: #0A192F; /* Main brand color for text on accent button */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid transparent;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #e6c200;
    color: #000000;
}

/* Content Area */
.page-privacy-policy__content-area {
    padding: 60px 0;
    background-color: #000000; /* Dark background for content */
    color: #ffffff; /* Light text for dark background */
}

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

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

.page-privacy-policy p {
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-privacy-policy ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-privacy-policy ul li {
    margin-bottom: 8px;
    color: #f0f0f0;
}

.page-privacy-policy strong {
    color: #FFD700;
}

.page-privacy-policy a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
    color: #e6c200;
    text-decoration: underline;
}

/* Images */
.page-privacy-policy__image-full {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* Contact List */
.page-privacy-policy__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-privacy-policy__contact-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #f0f0f0;
}

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

.page-privacy-policy__faq-item {
    background-color: #0A192F; /* Main brand color for FAQ item background */
    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;
    cursor: pointer;
    background-color: #0A192F;
    color: #ffffff;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-question h3 {
    margin: 0;
    color: #FFD700; /* Accent color for FAQ questions */
    font-size: 1em; /* Adjust to fit into question div */
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFD700;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
}

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

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

.page-privacy-policy__faq-answer p {
    margin-top: 0;
    margin-bottom: 0;
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

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

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

    .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__hero-section,
    .page-privacy-policy__content-area {
        padding: 40px 0;
    }

    .page-privacy-policy__container {
        padding: 0 15px; /* Add padding to prevent content from touching edges */
    }

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

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

    /* Images responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Ensure all content containers are responsive */
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__faq-list,
    .page-privacy-policy__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* For container, padding is already handled, for others, ensure no overflow */
    }

    .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;
    }
}