/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background */
    background-color: #f8f9fa; /* A very light grey background for content sections, assuming body is white/light */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    background-color: #ffffff;
    overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: none; /* Ensure no filter changes image color */
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    width: 100%;
    text-align: center;
    padding: 30px 20px;
    box-sizing: border-box;
    background-color: #ffffff; /* Explicitly white background for contrast */
    border-radius: 8px;
    margin-top: -80px; /* Overlap slightly for visual effect */
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size */
    color: #26A9E0; /* Brand color for main title */
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.page-privacy-policy__intro-text {
    font-size: 1.1rem;
    color: #555555;
    margin-bottom: 30px;
}

/* Content Sections */
.page-privacy-policy__content-section {
    padding: 60px 20px;
    background-color: #f8f9fa; /* Light background for content */
}

.page-privacy-policy__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px; /* Add some padding for smaller screens */
    box-sizing: border-box;
}

.page-privacy-policy__section-title {
    font-size: 2rem;
    color: #26A9E0;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-privacy-policy__paragraph {
    margin-bottom: 20px;
    color: #333333;
}

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

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

.page-privacy-policy__list-item strong {
    color: #26A9E0; /* Highlight important terms */
}

.page-privacy-policy__content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    filter: none; /* Ensure no filter changes image color */
}

/* Buttons */
.page-privacy-policy__btn-primary {
    display: inline-block;
    background-color: #26A9E0; /* Primary brand color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid transparent;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #1e87c0; /* Slightly darker on hover */
}

.page-privacy-policy__btn-secondary {
    display: inline-block;
    background-color: #ffffff;
    color: #26A9E0; /* Brand color text */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 2px solid #26A9E0;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    margin-top: 20px;
}

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

/* Links within text */
.page-privacy-policy a {
    color: #26A9E0; /* Brand color for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
    color: #1e87c0; /* Slightly darker on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-privacy-policy__hero-section {
        padding-bottom: 20px;
    }

    .page-privacy-policy__hero-content {
        margin-top: -40px; /* Adjust overlap for mobile */
        padding: 20px 15px;
    }

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

    .page-privacy-policy__intro-text {
        font-size: 1rem;
    }

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

    .page-privacy-policy__section-title {
        font-size: 1.7rem;
        margin-top: 30px;
    }

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

    /* All containers with images/content */
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Buttons responsiveness */
    .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;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .page-privacy-policy__cta-buttons,
    .page-privacy-policy__button-group,
    .page-privacy-policy__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex; /* Ensure flex behavior */
        flex-direction: column; /* Stack buttons vertically on mobile */
    }
}

/* Ensure no filter is used on images */
.page-privacy-policy img {
    filter: none;
}