/* style/privacy-policy.css */

/* --- General Styles for Page Privacy Policy --- */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background #FFFFFF */
    background-color: #f8f8f8; /* A very light grey to give some depth, instead of pure white body */
    padding-bottom: 50px; /* Ensure space above footer */
}

/* Fixed header spacing - body already handles padding-top */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0; /* Small top padding, body handles header offset */
    background-color: #f0f8ff; /* Light blue background for hero */
    text-align: center;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure it takes full width of its container */
    overflow: hidden;
    box-sizing: border-box;
    display: flex; /* For centering the image if it's smaller than wrapper */
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.page-privacy-policy__hero-image {
    width: 100%; /* Image fills its wrapper */
    height: auto;
    max-height: 675px; /* Limit height for aesthetic reasons */
    object-fit: cover;
    display: block;
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    padding: 0 20px;
    margin-top: 20px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 3.5vw, 2.8em); /* Responsive font size */
    color: #26A9E0; /* Main brand color */
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

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

.page-privacy-policy__cta-button {
    display: inline-block;
    background-color: #26A9E0; /* Main brand color */
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-privacy-policy__cta-button:hover {
    background-color: #1e87c0; /* Darker shade for hover */
}

.page-privacy-policy__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #ffffff; /* White background for content */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__section-title {
    font-size: 2em;
    color: #26A9E0; /* Main brand color */
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
    font-size: 1.5em;
    color: #333333;
    margin-top: 30px;
    margin-bottom: 15px;
}

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

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

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

.page-privacy-policy__image-inline {
    width: 100%;
    max-width: 800px; /* Limit width for inline images */
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

/* --- FAQ Section Styles --- */
.page-privacy-policy__faq-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 40px 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__faq-list {
    margin-top: 20px;
}

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

.page-privacy-policy__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 18px 25px;
    font-weight: bold;
    font-size: 1.1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #eaf6ff; /* Lighter blue for summary */
    color: #26A9E0; /* Main brand color */
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-privacy-policy__faq-item summary:hover {
    background-color: #dbeeff;
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #26A9E0;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    content: "−"; /* Change to minus when open, handled by JS for non-details */
}

.page-privacy-policy__faq-answer {
    padding: 15px 25px 20px;
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    color: #555555;
}

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

    .page-privacy-policy__hero-section {
        padding: 10px 0;
    }

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

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

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

    .page-privacy-policy__cta-button {
        padding: 10px 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 0 auto;
    }

    .page-privacy-policy__content-area,
    .page-privacy-policy__faq-section {
        padding: 20px 15px;
        margin: 20px auto;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

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

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

    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__image-inline {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .page-privacy-policy__faq-item summary {
        padding: 15px 20px;
        font-size: 1em;
    }

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

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

/* Button specific styles for contrast */
.page-privacy-policy__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid transparent;
}

.page-privacy-policy__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

/* Login button color (if applicable) */
.page-privacy-policy__login-button {
    background-color: #EA7C07;
    color: #FFFFFF;
    border: none;
}
.page-privacy-policy__login-button:hover {
    background-color: #cc6a00;
}