/* style/privacy-policy.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-on-dark: #FFFFFF;
    --text-on-light: #333333;
    --bg-dark: #1a1a2e;
    --login-color: #EA7C07;
}

.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-on-dark); /* Default text color for the page content, assuming dark body background */
    background-color: var(--bg-dark);
}

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    padding-top: 0; /* Important: Ensures no double padding with body offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    background-color: var(--bg-dark);
    padding-bottom: 40px; /* Add some space below hero content */
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    max-height: 500px; /* Limit height for aesthetic */
    object-fit: cover;
    display: block;
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin-top: 20px; /* Space from image */
    padding: 0 20px;
    color: var(--text-on-dark);
}

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

.page-privacy-policy__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-privacy-policy__btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid var(--primary-color);
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--secondary-color); /* Light background for main content */
    color: var(--text-on-light); /* Dark text on light background */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: -40px; /* Overlap hero section slightly for visual effect */
    position: relative;
    z-index: 5;
}

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

.page-privacy-policy__section-heading {
    font-size: 2em;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.page-privacy-policy__sub-heading {
    font-size: 1.5em;
    color: var(--text-on-light);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-privacy-policy__text-block {
    margin-bottom: 15px;
    text-align: justify;
}

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

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

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

.page-privacy-policy__link:hover {
    color: darken(var(--primary-color), 15%);
}

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

.page-privacy-policy__update-date {
    font-style: italic;
    text-align: right;
    margin-top: 40px;
    color: #666;
}

.page-privacy-policy__contact-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-privacy-policy__btn-secondary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 2px solid var(--primary-color);
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* FAQ Section */
.page-privacy-policy__faq-list {
    margin-top: 30px;
}

.page-privacy-policy__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

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

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

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
    color: var(--text-on-light);
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

.page-privacy-policy__faq-answer {
    padding: 0 25px 20px;
    color: var(--text-on-light);
    line-height: 1.8;
}

.page-privacy-policy__faq-answer p {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-content {
        max-width: 700px;
    }

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

    .page-privacy-policy__content-area {
        padding: 40px 15px;
        margin-top: -30px;
    }

    .page-privacy-policy__section-heading {
        font-size: 1.8em;
    }
}

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

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

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

    .page-privacy-policy__hero-content {
        padding: 0 15px;
        margin-top: 15px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.5em, 6vw, 2.2em);
        margin-bottom: 10px;
    }

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

    .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-bottom: 10px; /* Add space between stacked buttons */
    }

    .page-privacy-policy__contact-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 10px; /* Space between stacked buttons */
        padding: 0 15px; /* Add padding to container */
    }

    .page-privacy-policy__content-area {
        padding: 30px 15px;
        margin-top: -20px;
    }

    .page-privacy-policy__container {
        padding: 0;
    }

    .page-privacy-policy__section-heading {
        font-size: 1.5em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

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

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

    .page-privacy-policy__image-content {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px 0;
    }

    /* Ensure all images are responsive */
    .page-privacy-policy img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All containers that might hold images or content */
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding for overall content sections, not individual items */
        /* padding-left: 15px; */
        /* padding-right: 15px; */
    }

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

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