/* style/privacy-policy.css */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --button-login-bg: #EA7C07;
    --border-color: #e0e0e0;
}

.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--secondary-color); /* Matches body background if body is light */
}

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

.page-privacy-policy__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    background: linear-gradient(135deg, var(--primary-color), #40c0f0);
    color: var(--text-color-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-privacy-policy__hero-image-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.page-privacy-policy__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-privacy-policy__hero-content-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 900px;
    z-index: 10;
    padding: 20px;
    box-sizing: border-box;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--text-color-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color-light);
}

.page-privacy-policy__content-section {
    padding: 40px 0;
    background-color: var(--secondary-color);
}

.page-privacy-policy__text-block {
    margin-bottom: 40px;
    padding: 20px;
    background-color: var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
    font-size: 1.6em;
    color: var(--text-color-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-privacy-policy p {
    margin-bottom: 15px;
}

.page-privacy-policy__list {
    list-style: disc inside;
    margin-bottom: 15px;
    padding-left: 20px;
}

.page-privacy-policy__list li {
    margin-bottom: 8px;
}

.page-privacy-policy__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__btn-primary {
    display: inline-block;
    background-color: var(--button-login-bg);
    color: var(--text-color-light);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #c96506;
}

.page-privacy-policy__btn-contact {
    margin-top: 20px;
}

.page-privacy-policy a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-privacy-policy a:hover {
    text-decoration: underline;
}

.page-privacy-policy__last-updated {
    font-style: italic;
    text-align: right;
    margin-top: 20px;
    color: #666;
}

.page-privacy-policy__faq-section {
    padding: 40px 0;
    background-color: #f9f9f9;
    border-top: 1px solid var(--border-color);
}

.page-privacy-policy__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

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

.page-privacy-policy__faq-item summary {
    list-style: none;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: var(--text-color-dark);
    font-size: 1.1em;
    position: relative;
}

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

.page-privacy-policy__faq-item summary .page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

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

.page-privacy-policy__faq-answer {
    padding: 0 20px 20px;
    color: #555;
    font-size: 1em;
    line-height: 1.7;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 15px;
    }

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

    .page-privacy-policy__hero-section {
        padding-top: 10px !important;
    }

    .page-privacy-policy__hero-content-wrapper {
        padding: 15px;
        position: static;
        transform: none;
        height: auto;
        background: rgba(0, 0, 0, 0.5); /* Overlay for text readability on mobile */
    }

    .page-privacy-policy__hero-image-container {
        padding-bottom: 75%; /* 4:3 Aspect Ratio for better mobile fit */
    }

    .page-privacy-policy__main-title {
        font-size: 2em; /* Adjusted for mobile */
        margin-bottom: 10px;
    }

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

    .page-privacy-policy__content-section {
        padding: 20px 0;
    }

    .page-privacy-policy__text-block {
        padding: 15px;
        margin-bottom: 30px;
    }

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

    .page-privacy-policy__sub-title {
        font-size: 1.4em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

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

    .page-privacy-policy__image {
        margin: 15px auto;
    }

    .page-privacy-policy__btn-primary {
        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-top: 10px; /* Add some space between buttons if stacked */
    }
    
    .page-privacy-policy__faq-section {
        padding: 20px 0;
    }

    .page-privacy-policy__faq-list {
        max-width: 100%;
        padding: 0 15px;
    }

    .page-privacy-policy__faq-item summary {
        font-size: 1em;
        padding: 15px;
    }

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

    /* General image responsiveness for content area */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__text-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}