/* style/privacy-policy.css */

:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #1a1a1a;
    --border-light: #e0e0e0;
}

.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Body background is dark (#1a1a1a), so text should be light */
    background-color: var(--background-dark);
}

.page-privacy-policy__hero-section {
    position: relative;
    padding: 100px 20px 60px; /* Adjusted padding-top to include header offset */
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding-top: var(--header-offset, 120px);
}

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

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

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

.page-privacy-policy__hero-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;
    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;
    text-align: center;
}

.page-privacy-policy__btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

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

.page-privacy-policy__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-privacy-policy__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-privacy-policy__content-area {
    background-color: var(--text-light); /* Light background for content area */
    color: var(--text-dark); /* Dark text for contrast */
    padding: 60px 0;
}

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

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

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

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

.page-privacy-policy__list-item {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 10px;
}

.page-privacy-policy__link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-privacy-policy__link:hover {
    color: var(--secondary-color);
}

.page-privacy-policy__keyword {
    font-weight: bold;
    color: var(--primary-color);
}

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

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

.page-privacy-policy__faq-item {
    background-color: #f9f9f9;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    background-color: #ffffff;
    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);
    font-size: 1.05em;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .page-privacy-policy__hero-title {
        font-size: 2em;
    }

    .page-privacy-policy__hero-description,
    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item,
    .page-privacy-policy__faq-question,
    .page-privacy-policy__faq-answer p {
        font-size: 1em;
    }

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

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

    .page-privacy-policy__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    /* Mobile image responsive adaptation */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    /* Ensure content area doesn't cause horizontal scroll */
    .page-privacy-policy__content-area {
        padding: 40px 0;
    }

    .page-privacy-policy__faq-question,
    .page-privacy-policy__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
}