/* style/privacy-policy.css */

/* Variables based on provided color scheme */
:root {
    --f186-primary-color: #113B7A;
    --f186-secondary-color: #1D5FD1;
    --f186-button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --f186-card-bg: #10233F;
    --f186-text-main: #F3F8FF;
    --f186-text-secondary: #AFC4E8;
    --f186-border-color: #244D84;
    --f186-glow-color: #4FA8FF;
    --f186-gold-color: #F2C14E;
    --f186-divider-color: #1B3357;
    --f186-deep-navy: #08162B; /* Body background color from shared.css */
}

.page-privacy-policy {
    color: var(--f186-text-main); /* Light text for dark body background */
    background-color: var(--f186-deep-navy); /* Ensure consistency if body background is not fully propagated */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    box-sizing: border-box;
    overflow: hidden; /* Prevent image overflow */
}

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

.page-privacy-policy__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability, not color change */
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    padding: 60px 20px;
    color: var(--f186-text-main);
}

.page-privacy-policy__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Use clamp for H1 font size */
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--f186-gold-color); /* Highlight with gold */
}

.page-privacy-policy__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--f186-text-secondary);
}

.page-privacy-policy__section {
    padding: 60px 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 1; /* Ensure content is above any potential background elements */
}

.page-privacy-policy__dark-section {
    background-color: var(--f186-primary-color); /* Use primary color for dark sections */
    color: var(--f186-text-main);
}

.page-privacy-policy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Add horizontal padding for content */
    box-sizing: border-box;
}

.page-privacy-policy__container--center {
    text-align: center;
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    color: var(--f186-gold-color);
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-privacy-policy__dark-section .page-privacy-policy__section-title {
    color: var(--f186-gold-color); /* Ensure gold text on dark background */
}

.page-privacy-policy__text-block {
    margin-bottom: 20px;
    font-size: 1em;
    color: var(--f186-text-secondary);
}

.page-privacy-policy__dark-section .page-privacy-policy__text-block {
    color: var(--f186-text-secondary);
}

.page-privacy-policy__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-privacy-policy__card {
    background-color: var(--f186-card-bg); /* Card BG color */
    border: 1px solid var(--f186-border-color);
    border-radius: 8px;
    padding: 25px;
    color: var(--f186-text-main);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-privacy-policy__card-title {
    font-size: 1.4em;
    color: var(--f186-gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-privacy-policy__card p {
    font-size: 0.95em;
    color: var(--f186-text-secondary);
}

.page-privacy-policy__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--f186-text-secondary);
}

.page-privacy-policy__list li {
    margin-bottom: 8px;
    color: var(--f186-text-secondary);
}

.page-privacy-policy__dark-section .page-privacy-policy__list li {
    color: var(--f186-text-secondary);
}

.page-privacy-policy__list--columns {
    columns: 1; /* Default for mobile */
    list-style: none; /* Remove default list style for custom styling */
    padding: 0;
    margin: 0;
}

.page-privacy-policy__list--columns li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: var(--f186-text-secondary);
}

.page-privacy-policy__list--columns li strong {
    color: var(--f186-gold-color);
}

.page-privacy-policy__list--columns li::before {
    content: "•";
    color: var(--f186-gold-color); /* Bullet point color */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
    line-height: 1.6;
}

.page-privacy-policy__list--security {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-privacy-policy__list--security li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: var(--f186-text-secondary);
}

.page-privacy-policy__list--security li::before {
    content: "🔒"; /* Security icon */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
    line-height: 1.6;
}


.page-privacy-policy__cta-button {
    display: inline-block;
    background: var(--f186-button-gradient);
    color: var(--f186-text-main);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__cta-button--secondary {
    background: var(--f186-primary-color); /* Use primary color for secondary button */
    border: 2px solid var(--f186-secondary-color);
    color: var(--f186-text-main);
}

.page-privacy-policy__cta-button--secondary:hover {
    background: var(--f186-secondary-color);
    border-color: var(--f186-gold-color);
}

.page-privacy-policy__link {
    color: var(--f186-secondary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

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

.page-privacy-policy__content-image {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (min-width: 769px) {
    .page-privacy-policy__list--columns {
        columns: 2; /* Two columns for larger screens */
        column-gap: 40px;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 15px;
        line-height: 1.5;
    }

    .page-privacy-policy__hero-content {
        padding: 40px 15px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

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

    .page-privacy-policy__section {
        padding: 40px 0;
    }

    .page-privacy-policy__section-title {
        font-size: clamp(1.5em, 6vw, 2em);
        margin-bottom: 25px;
    }

    .page-privacy-policy__content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-privacy-policy__card {
        padding: 20px;
    }

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

    .page-privacy-policy__hero-image {
        width: 100% !important;
        height: 100% !important; /* Ensure hero image scales correctly */
    }

    /* All containers with images/content */
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-section,
    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__hero-content {
        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__cta-button,
    .page-privacy-policy__cta-button--secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px; /* Adjust padding for smaller screens */
        margin-bottom: 15px; /* Add margin for stacked buttons */
    }

    .page-privacy-policy__final-cta .page-privacy-policy__cta-button {
        margin-top: 20px;
    }

    .page-privacy-policy__cta-buttons {
        display: flex;
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 10px;
    }

    /* Video section top padding for mobile, must be small */
    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* body already handles header offset */
    }
}