.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: var(--background-color, #f8f8f8); /* Use a light background for main content */
    padding-bottom: 60px; /* Space before footer */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background: linear-gradient(135deg, #26A9E0, #FFFFFF); /* Light blue to white gradient */
    color: #333333; /* Dark text for gradient background */
}

.page-privacy-policy__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-privacy-policy__hero-image {
    width: 100%;
    margin-bottom: 30px;
    max-width: 1000px; /* Limit image width in hero */
}

.page-privacy-policy__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
}

.page-privacy-policy__main-title {
    font-size: 42px;
    color: #000000; /* Ensure high contrast */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-privacy-policy__intro-description {
    font-size: 18px;
    color: #333333;
    max-width: 700px;
    margin: 0 auto;
}

/* General Content Area */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-privacy-policy__section-title {
    font-size: 32px;
    color: #26A9E0; /* Brand color for main titles */
    margin-top: 50px;
    margin-bottom: 25px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 15px;
    font-weight: 700;
}

.page-privacy-policy__sub-section-title {
    font-size: 24px;
    color: #333333;
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-privacy-policy p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #333333;
}

.page-privacy-policy a {
    color: #26A9E0; /* Brand color for links */
    text-decoration: none;
}

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

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

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

.page-privacy-policy__image-wrapper {
    margin: 30px 0;
    text-align: center;
}

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

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

.page-privacy-policy__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
    background: #f9f9f9;
    color: #333333;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 2000px !important; /* 🚨 Using !important ensures priority, value large enough for any content */
    padding: 20px 15px !important;
    opacity: 1;
    border-radius: 0 0 5px 5px;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-privacy-policy__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-privacy-policy__faq-question:active {
    background: #eeeeee;
}

.page-privacy-policy__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px; /* Slightly larger for better readability */
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* Prevents h3 from blocking click event */
    color: #333333; /* Ensure contrast */
}

.page-privacy-policy__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #26A9E0; /* Brand color for toggle icon */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevents icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid #26A9E0;
    border-radius: 50%;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    color: #ffffff;
    background-color: #26A9E0;
    border-color: #26A9E0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-image img {
        border-radius: 8px;
    }
    .page-privacy-policy__main-title {
        font-size: 36px;
    }
    .page-privacy-policy__intro-description {
        font-size: 17px;
    }
    .page-privacy-policy__section-title {
        font-size: 28px;
    }
    .page-privacy-policy__sub-section-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile specific padding-top */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-privacy-policy__main-title {
        font-size: 30px;
        margin-bottom: 15px;
    }
    .page-privacy-policy__intro-description {
        font-size: 15px;
    }
    .page-privacy-policy__content-area {
        padding: 25px 15px;
    }
    .page-privacy-policy__section-title {
        font-size: 24px;
        margin-top: 40px;
        margin-bottom: 20px;
    }
    .page-privacy-policy__sub-section-title {
        font-size: 20px;
        margin-top: 30px;
        margin-bottom: 10px;
    }
    .page-privacy-policy p,
    .page-privacy-policy__list li {
        font-size: 15px;
    }
    .page-privacy-policy__image-wrapper {
        margin: 20px 0;
    }
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-privacy-policy__section,
    .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0; /* Handled by content-area padding */
        padding-right: 0; /* Handled by content-area padding */
    }

    /* FAQ Mobile */
    .page-privacy-policy__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-privacy-policy__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-privacy-policy__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 15px;
    }
    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 15px !important;
    }
}