/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
    color: #ffffff; /* Default text color for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Body handles the main background */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    padding: 80px 20px 60px;
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
    background: linear-gradient(135deg, #0056b3, #003a75); /* Dark blue gradient */
    color: #ffffff;
    text-align: center;
    overflow: hidden; /* Prevents overflow on smaller screens */
}

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

.page-privacy-policy__main-title {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffc107; /* Highlight with auxiliary color for visibility */
    line-height: 1.2;
}

.page-privacy-policy__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Content Section */
.page-privacy-policy__content-section {
    padding: 60px 20px;
    background-color: #1a1a1a; /* Dark grey background for content area */
    color: #f0f0f0; /* Light text for dark content background */
}

.page-privacy-policy__text-block {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: #ffc107; /* Auxiliary color for main section titles */
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: bold;
    border-bottom: 2px solid rgba(255, 193, 7, 0.3);
    padding-bottom: 10px;
}

.page-privacy-policy__text-block h3 {
    font-size: 1.6em;
    color: #00aaff; /* A lighter blue for sub-headings */
    margin-top: 30px;
    margin-bottom: 15px;
}

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

.page-privacy-policy__list {
    list-style-type: disc;
    margin-left: 30px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-privacy-policy__list li {
    margin-bottom: 10px;
    color: #f0f0f0; /* Light text for list items */
}

.page-privacy-policy__list li strong {
    color: #ffc107; /* Highlight strong text in list */
}

.page-privacy-policy__text-block a {
    color: #00aaff; /* Link color for content */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy__text-block a:hover {
    color: #ffc107;
}

/* Image styling */
.page-privacy-policy__image-wrapper {
    margin: 40px 0;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    width: 100%; /* Ensure it takes full width of its container */
    filter: none; /* Ensure no filter is applied */
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: 2.5em;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__text-block h3 {
        font-size: 1.4em;
    }
    .page-privacy-policy__description,
    .page-privacy-policy__text-block p,
    .page-privacy-policy__list li {
        font-size: 1em;
    }
}

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

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

    .page-privacy-policy__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

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

    .page-privacy-policy__text-block {
        padding: 0 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

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

    .page-privacy-policy__text-block h3 {
        font-size: 1.2em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-privacy-policy__text-block p,
    .page-privacy-policy__list li {
        font-size: 0.95em;
    }

    .page-privacy-policy__list {
        margin-left: 20px;
    }

    /* Mobile image responsive */
    .page-privacy-policy__image-wrapper {
        margin: 30px 0;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-privacy-policy__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain; /* Ensure full image visibility */
    }
}

/* Ensure contrast for all text elements */
.page-privacy-policy h1,
.page-privacy-policy h2,
.page-privacy-policy h3,
.page-privacy-policy p,
.page-privacy-policy li,
.page-privacy-policy a {
    /* Explicitly set color for readability on dark backgrounds */
    color: #f0f0f0; /* Default light color for most text */
}

.page-privacy-policy__main-title,
.page-privacy-policy__section-title {
    color: #ffc107; /* Specific color for titles */
}

.page-privacy-policy__text-block h3 {
    color: #00aaff; /* Specific color for sub-headings */
}

.page-privacy-policy__text-block a {
    color: #00aaff; /* Specific color for links */
}
.page-privacy-policy__text-block a:hover {
    color: #ffc107; /* Hover color for links */
}

/* Ensure no text-shadow or filters that reduce contrast */
.page-privacy-policy * {
    text-shadow: none;
    filter: none;
}