/* style/privacy-policy.css */

/* Base Styles for Privacy Policy Page */
.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: var(--secondary-color, #FFFFFF);
}

.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: 100px 0 60px;
    text-align: center;
    background-color: #26A9E0;
    color: #FFFFFF;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-privacy-policy__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF;
}

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

/* Content Area Sections */
.page-privacy-policy__content-area {
    padding: 60px 0;
    background-color: #FFFFFF;
    color: #333333;
}

.page-privacy-policy__section-alternate {
    padding: 60px 0;
    background-color: #F8F8F8; /* Slightly different background for contrast */
    color: #333333;
}

.page-privacy-policy__dark-section {
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-privacy-policy__section-title {
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
    color: inherit;
}

.page-privacy-policy__sub-title {
    font-size: 1.5em;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
    color: inherit;
}

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

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

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

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

/* Buttons */
.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;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
    margin-right: 15px;
}

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

.page-privacy-policy__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-privacy-policy__btn-secondary:hover {
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-privacy-policy__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    padding: 60px 0;
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-privacy-policy__faq-list {
    margin-top: 40px;
}

.page-privacy-policy__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #FFFFFF;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: #FFFFFF;
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-privacy-policy__faq-title {
    margin: 0;
    color: inherit;
}

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

.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;
    color: #FFFFFF;
}

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

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

/* CTA Section */
.page-privacy-policy__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #FFFFFF;
    color: #333333;
}

.page-privacy-policy__cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #26A9E0;
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 80px 20px 40px;
        padding-top: var(--header-offset, 120px) !important;
    }

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

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

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

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

    .page-privacy-policy__content-area,
    .page-privacy-policy__section-alternate,
    .page-privacy-policy__faq-section,
    .page-privacy-policy__cta-section {
        padding: 40px 0;
    }

    .page-privacy-policy__container {
        padding: 0 15px;
    }

    /* Images responsive */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Buttons responsive */
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary,
    .page-privacy-policy a[class*="button"],
    .page-privacy-policy a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-right: 0 !important; /* Remove margin-right for stacking */
        margin-bottom: 15px; /* Add margin-bottom for spacing when stacked */
    }

    .page-privacy-policy__cta-buttons {
        flex-direction: column;
        gap: 0; /* Remove gap if using margin-bottom */
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-privacy-policy__cta-buttons a:last-child {
        margin-bottom: 0; /* No bottom margin for the last button */
    }

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

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

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

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

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

/* Ensure content containers are responsive */
.page-privacy-policy__hero-section,
.page-privacy-policy__content-area,
.page-privacy-policy__section-alternate,
.page-privacy-policy__faq-section,
.page-privacy-policy__cta-section {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}