/* 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; /* Light text on dark body background */
    background-color: #121212; /* Inherited from body, but ensures consistency */
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    color: #ffffff;
    background-color: #26A9E0; /* Brand color as background */
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-bottom: 30px;
}

.page-privacy-policy__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
}

.page-privacy-policy__hero-description {
    font-size: 1.2em;
    line-height: 1.8;
    color: #f0f0f0;
}

.page-privacy-policy__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: grayscale(100%); /* Maintain original color, but desaturate for background effect */
}

/* Content Area */
.page-privacy-policy__content-area {
    background-color: #1a1a1a; /* Slightly lighter dark background for content */
    padding: 60px 20px;
    color: #ffffff;
}

.page-privacy-policy__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for main titles */
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: left;
    border-bottom: 2px solid rgba(38, 169, 224, 0.3);
    padding-bottom: 10px;
}

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

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

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

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

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

/* Contact Button */
.page-privacy-policy__contact-button-wrapper {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-privacy-policy__btn-primary {
    display: inline-block;
    background-color: #26A9E0; /* Brand color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #1e87b6;
    transform: translateY(-2px);
}

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

.page-privacy-policy__faq-item {
    background-color: #2a2a2a; /* Darker background for FAQ items */
    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 25px;
    cursor: pointer;
    background-color: #333333; /* Even darker for question header */
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-title {
    margin: 0;
    font-size: 1.2em;
    color: #ffffff;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    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 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #e0e0e0;
}

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

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

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

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

@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; /* Ensure space for fixed header on mobile */
        min-height: 400px;
    }

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

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

    .page-privacy-policy__content-area {
        padding: 40px 15px;
    }

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

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

    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item {
        font-size: 1em;
    }

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

    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Mobile button adaptation */
    .page-privacy-policy__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px;
        font-size: 1em;
    }
    
    .page-privacy-policy__contact-button-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

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

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

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

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

@media (max-width: 480px) {
    .page-privacy-policy__hero-title {
        font-size: 1.8em;
    }

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

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

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

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

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

    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 8px 15px 12px;
    }
}