/* Custom Colors */
:root {
    --page-privacy-policy-primary: #2F6BFF;
    --page-privacy-policy-secondary: #6FA3FF;
    --page-privacy-policy-button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --page-privacy-policy-card-bg: #FFFFFF;
    --page-privacy-policy-background: #F4F7FB;
    --page-privacy-policy-text-main: #1F2D3D;
    --page-privacy-policy-custom-color-1776249996415: #000000;
    --page-privacy-policy-border: #D6E2FF;
    --page-privacy-policy-glow: #A5C4FF;
}

.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-privacy-policy-text-main); /* Default text color for light body background */
    background-color: var(--page-privacy-policy-background);
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding for hero section */
    background-color: var(--page-privacy-policy-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-bottom: 40px;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Adjust max height for desktop */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    filter: brightness(0.7); /* Slightly darken image for text contrast */
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 30px 20px;
    color: #ffffff;
    text-align: center;
    margin-top: -150px; /* Pull content up over the image */
}

.page-privacy-policy__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-privacy-policy__btn-primary {
    background: var(--page-privacy-policy-button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

/* General Section Styling */
.page-privacy-policy__section-spacing {
    padding: 60px 0;
}

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

.page-privacy-policy__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--page-privacy-policy-text-main);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-privacy-policy__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--page-privacy-policy-primary);
    border-radius: 2px;
}

.page-privacy-policy__text-block {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--page-privacy-policy-text-main);
    text-align: justify;
}

.page-privacy-policy__list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
    color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.6;
}

.page-privacy-policy__list--columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    list-style: none;
    padding-left: 0;
}

.page-privacy-policy__list--columns .page-privacy-policy__list-item {
    background-color: var(--page-privacy-policy-card-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--page-privacy-policy-border);
    position: relative;
    padding-left: 45px;
}

.page-privacy-policy__list--columns .page-privacy-policy__list-item::before {
    content: '✓';
    position: absolute;
    left: 15px;
    top: 20px;
    color: var(--page-privacy-policy-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.page-privacy-policy__sub-section-title {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 600;
    color: var(--page-privacy-policy-primary);
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-privacy-policy__inline-link {
    color: var(--page-privacy-policy-primary);
    text-decoration: underline;
    font-weight: 600;
}

.page-privacy-policy__inline-link:hover {
    color: var(--page-privacy-policy-secondary);
}

/* Dark Section */
.page-privacy-policy__dark-section {
    background-color: var(--page-privacy-policy-primary);
    color: #ffffff;
}

.page-privacy-policy__dark-section .page-privacy-policy__section-title,
.page-privacy-policy__dark-section .page-privacy-policy__text-block,
.page-privacy-policy__dark-section .page-privacy-policy__list-item {
    color: #ffffff;
}

.page-privacy-policy__dark-section .page-privacy-policy__section-title::after {
    background: #ffffff;
}

.page-privacy-policy__dark-section .page-privacy-policy__inline-link {
    color: var(--page-privacy-policy-secondary);
}

.page-privacy-policy__dark-section .page-privacy-policy__inline-link:hover {
    color: #ffffff;
}

.page-privacy-policy__dark-section .page-privacy-policy__list--columns .page-privacy-policy__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: none;
}

.page-privacy-policy__dark-section .page-privacy-policy__list--columns .page-privacy-policy__list-item::before {
    color: #ffffff;
}

/* Image & Content Block Layout */
.page-privacy-policy__container--reversed-desktop {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-privacy-policy__image-block {
    flex: 1;
    min-width: 200px;
}

.page-privacy-policy__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

.page-privacy-policy__content-block {
    flex: 1;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    background-color: var(--page-privacy-policy-background);
}

details.page-privacy-policy__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--page-privacy-policy-border);
    overflow: hidden;
    background: var(--page-privacy-policy-card-bg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
    display: none;
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
    background: #f8f8f8;
}

.page-privacy-policy__faq-qtext {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--page-privacy-policy-primary);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
    transition: transform 0.3s ease;
}

details.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg);
}

details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
    padding: 0 25px 20px;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
    color: var(--page-privacy-policy-text-main);
}

details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer p {
    margin: 0;
    font-size: 1rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-privacy-policy__container {
        padding: 0 15px;
    }

    .page-privacy-policy__list--columns {
        grid-template-columns: 1fr;
    }

    .page-privacy-policy__container--reversed-desktop {
        flex-direction: column;
    }

    .page-privacy-policy__dark-section .page-privacy-policy__container--reversed-desktop {
        flex-direction: column-reverse;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding-top: 10px;
        padding-bottom: 20px;
    }

    .page-privacy-policy__hero-image-wrapper {
        max-height: 300px;
    }

    .page-privacy-policy__hero-image {
        object-fit: contain !important;
        height: 100% !important;
    }

    .page-privacy-policy__hero-content {
        margin-top: -80px; /* Adjust for smaller screens */
        padding: 20px 15px;
    }

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

    .page-privacy-policy__subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-privacy-policy__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-privacy-policy__section-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
        padding-bottom: 10px;
    }

    .page-privacy-policy__text-block,
    .page-privacy-policy__list-item,
    .page-privacy-policy__faq-answer p {
        font-size: 0.95rem;
    }

    .page-privacy-policy__list--columns .page-privacy-policy__list-item {
        padding: 15px;
        padding-left: 40px;
    }

    .page-privacy-policy__list--columns .page-privacy-policy__list-item::before {
        left: 10px;
        top: 15px;
    }

    .page-privacy-policy__sub-section-title {
        font-size: 1.25rem;
        margin-top: 25px;
        margin-bottom: 15px;
    }

    .page-privacy-policy__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-privacy-policy__image-block,
    .page-privacy-policy__content-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
        padding: 15px 20px;
    }

    .page-privacy-policy__faq-qtext {
        font-size: 1rem;
    }

    .page-privacy-policy__faq-toggle {
        font-size: 20px;
        width: 24px;
    }

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