/* style/privacy-policy.css */

/* Base styles for the page */
.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Dark text for light background */
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

/* Hero Banner Section */
.page-privacy-policy__hero-banner {
    background: linear-gradient(135deg, #007BFF, #FFC107);
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.page-privacy-policy__main-title {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__intro-text {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-privacy-policy__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #FFC107; /* Secondary color for CTA */
    color: #000000; /* Dark text for light button */
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__cta-button:hover {
    background: #e0a800; /* Slightly darker gold on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Content Sections */
.page-privacy-policy__content-section {
    padding: 80px 0;
    border-bottom: 1px solid #e0e0e0;
}

.page-privacy-policy__content-section:last-of-type {
    border-bottom: none;
}

.page-privacy-policy__light-bg {
    background: #ffffff;
    color: #333333;
}

.page-privacy-policy__section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: #007BFF; /* Primary color for titles */
}

.page-privacy-policy__section-title--white {
    color: #ffffff;
}

.page-privacy-policy__sub-title {
    font-size: 24px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #007BFF; /* Primary color for sub-titles */
}

.page-privacy-policy__paragraph {
    font-size: 17px;
    margin-bottom: 20px;
    text-align: justify;
}

.page-privacy-policy__paragraph a {
    color: #007BFF; /* Link color */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy__paragraph a:hover {
    color: #FFC107; /* Secondary color on hover */
}

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

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

.page-privacy-policy__list-item strong {
    color: #007BFF;
}

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

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

/* Contact Buttons */
.page-privacy-policy__contact-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-privacy-policy__btn-primary {
    background: #007BFF;
    color: #ffffff;
    border: 2px solid #007BFF;
}

.page-privacy-policy__btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-privacy-policy__btn-secondary:hover {
    background: #f0f8ff;
    color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


/* FAQ Section */
.page-privacy-policy__faq-section {
    padding: 80px 0;
    background: #007BFF; /* Primary color background */
    color: #ffffff;
}

.page-privacy-policy__dark-bg {
    background: #007BFF;
    color: #ffffff;
}

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

.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;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* Prevent h3 from blocking click event */
    color: #333333; /* Dark text for FAQ question */
}

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

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    color: #FFC107; /* Secondary color when active */
    transform: rotate(45deg); /* Plus to X effect */
}

.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;
    padding: 0 15px;
    opacity: 0;
    color: #333333; /* Dark text for FAQ answer */
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 2000px !important; /* Ensure enough height for content */
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-privacy-policy__faq-answer p {
    margin-bottom: 0;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-privacy-policy__main-title {
        font-size: 38px;
    }
    .page-privacy-policy__section-title {
        font-size: 32px;
    }
    .page-privacy-policy__sub-title {
        font-size: 22px;
    }
    .page-privacy-policy__cta-button,
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        padding: 12px 25px;
        font-size: 17px;
    }
}

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

    .page-privacy-policy__hero-banner {
        padding: 40px 15px;
    }

    .page-privacy-policy__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-privacy-policy__intro-text {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-privacy-policy__cta-button {
        padding: 12px 30px;
        font-size: 18px;
        width: 100% !important; /* Ensure button full width on mobile */
        max-width: 300px !important; /* Limit max width for aesthetic */
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-privacy-policy__section-title {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .page-privacy-policy__sub-title {
        font-size: 20px;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-privacy-policy__paragraph,
    .page-privacy-policy__list,
    .page-privacy-policy__list-item {
        font-size: 16px;
    }

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

    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__contact-buttons {
        flex-direction: column;
        gap: 15px;
        margin: 30px auto 0 auto;
        max-width: 300px;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        width: 100% !important;
        max-width: 300px !important; /* Limit max width for aesthetic */
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 0 auto; /* Center buttons */
    }

    .page-privacy-policy__faq-section {
        padding: 50px 0;
    }
    
    .page-privacy-policy__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-privacy-policy__faq-question h3 {
        font-size: 16px;
        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;
    }
}