/* style/privacy-policy.css */

/* Base styles for the page */
.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is dark #1a1a2e, so text should be light */
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.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;
    width: 100%;
    height: 500px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-privacy-policy__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-privacy-policy__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
    max-width: 800px;
    padding: 20px;
}

.page-privacy-policy__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFFFFF; /* Ensure high contrast */
}

.page-privacy-policy__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* General Section Styles */
.page-privacy-policy__content-area {
    padding: 60px 0;
    background: #1a1a2e; /* Matches body background */
    color: #ffffff; /* Light text on dark background */
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: #26A9E0; /* Brand color for titles */
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.page-privacy-policy__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #26A9E0;
}

.page-privacy-policy__sub-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-privacy-policy__heading-four {
    font-size: 1.4em;
    color: #FFFFFF;
    margin-top: 30px;
    margin-bottom: 15px;
}

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

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

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

.page-privacy-policy__link-text {
    color: #26A9E0; /* Brand color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy__link-text:hover {
    color: #EA7C07; /* Login color for hover for contrast */
    text-decoration: underline;
}

/* Image Styling */
.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.2);
}

/* Buttons */
.page-privacy-policy__btn-primary,
.page-privacy-policy__hero-button {
    display: inline-block;
    background-color: #26A9E0; /* Main brand color */
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box; /* Ensure padding doesn't push width */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text break */
}

.page-privacy-policy__btn-primary:hover,
.page-privacy-policy__hero-button:hover {
    background-color: #1e87c0; /* Slightly darker blue */
    transform: translateY(-2px);
}

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

.page-privacy-policy__faq-item {
    background: rgba(255, 255, 255, 0.05); /* Slightly lighter background for FAQ item */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #f0f0f0;
}

.page-privacy-policy__faq-item summary {
    list-style: none; /* Remove default marker */
    cursor: pointer;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1em;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08); /* Slightly darker for question header */
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-item summary:hover {
    background: rgba(255, 255, 255, 0.12);
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-privacy-policy__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 0.95em;
    color: #cccccc;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-title {
        font-size: 2.2em;
    }
    .page-privacy-policy__hero-description {
        font-size: 1.1em;
    }
    .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;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding */
    }

    .page-privacy-policy__hero-section {
        height: 400px;
    }

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

    .page-privacy-policy__section-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.4em;
    }
    .page-privacy-policy__heading-four {
        font-size: 1.2em;
    }

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

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

    /* Container for images, buttons, videos */
    .page-privacy-policy__content-area,
    .page-privacy-policy__hero-content,
    .page-privacy-policy__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    
    /* Buttons responsiveness */
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__hero-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px; /* Add padding to button content */
        padding-right: 15px;
    }

    /* FAQ item responsiveness */
    .page-privacy-policy__faq-item summary {
        font-size: 1em;
        padding: 15px;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 15px 15px 15px;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__hero-section {
        height: 350px;
    }
    .page-privacy-policy__hero-title {
        font-size: 1.5em;
    }
    .page-privacy-policy__hero-description {
        font-size: 0.9em;
    }
    .page-privacy-policy__section-title {
        font-size: 1.5em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.2em;
    }
}