.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Dark body background #1a1a2e, so light text */
    background-color: #1a1a2e; /* Ensure this is set or inherited from shared */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-privacy-policy__hero-section {
    position: relative;
    background-color: #017439; /* Brand color background */
    color: #ffffff;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    min-height: 500px;
    overflow: hidden;
}

.page-privacy-policy__hero-content {
    max-width: 600px;
    z-index: 1;
    text-align: left;
}

.page-privacy-policy__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-privacy-policy__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-privacy-policy__hero-buttons {
    display: flex;
    gap: 20px;
}

.page-privacy-policy__hero-image {
    max-width: 50%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.page-privacy-policy__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #2a2a3e; /* Slightly lighter dark background for content area */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.page-privacy-policy__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand color for main titles */
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 2px solid #017439;
    padding-bottom: 15px;
}

.page-privacy-policy__sub-title {
    font-size: 1.8em;
    color: #ffffff;
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid #017439;
    padding-left: 15px;
}

.page-privacy-policy__text-block {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #e0e0e0;
}

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

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    color: #e0e0e0;
}

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

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Ensure padding is included in width */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Break long words */
}

.page-privacy-policy__btn-primary {
    background-color: #C30808; /* Custom color for register/login */
    color: #FFFF00; /* Custom font color */
    border: 2px solid #C30808;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #e00b0b;
    border-color: #e00b0b;
    color: #ffffff;
}

.page-privacy-policy__btn-secondary {
    background-color: transparent;
    color: #017439; /* Brand color */
    border: 2px solid #017439;
}

.page-privacy-policy__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

.page-privacy-policy__contact-button-wrapper {
    text-align: center;
    margin-top: 40px;
}

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

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

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

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.15em;
    font-weight: bold;
    color: #ffffff;
    background-color: #1a1a2e;
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: #2e2e42;
}

.page-privacy-policy__faq-title {
    margin: 0;
    color: #ffffff;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #017439;
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #e0e0e0;
    font-size: 1em;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Plus sign becomes a cross */
    content: '−'; /* Change to minus sign */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }

    .page-privacy-policy__hero-content {
        max-width: 100%;
    }

    .page-privacy-policy__hero-image {
        max-width: 80%;
        margin-top: 40px;
    }

    .page-privacy-policy__hero-title {
        font-size: 2.8em;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
    }

    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        gap: 20px;
    }

    .page-privacy-policy__hero-title {
        font-size: 2em;
        text-align: center;
    }

    .page-privacy-policy__hero-description {
        font-size: 1em;
        text-align: center;
    }

    .page-privacy-policy__hero-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-privacy-policy__content-area,
    .page-privacy-policy__faq-section {
        padding: 30px 15px;
        border-radius: 0;
        box-shadow: none;
    }
    
    .page-privacy-policy__section-title {
        font-size: 2em;
        margin-bottom: 20px;
    }

    .page-privacy-policy__sub-title {
        font-size: 1.5em;
        margin-top: 30px;
        margin-bottom: 15px;
        padding-left: 10px;
    }

    .page-privacy-policy__list {
        margin-left: 10px;
        padding-left: 5px;
    }

    .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__hero-section,
    .page-privacy-policy__content-area,
    .page-privacy-policy__faq-section,
    .page-privacy-policy__contact-button-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }

    /* FAQ specific mobile adjustments */
    .page-privacy-policy__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

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

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