/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
    background-color: #08160F; /* Custom Background */
    color: #F2FFF6; /* Custom Text Main for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Ensure image is above text */
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles --header-offset */
    text-align: center;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px; /* Space between image and text */
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1; /* Ensure text is above any potential background layers */
}

.page-privacy-policy__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
    font-weight: 700;
    color: #F2FFF6; /* Custom Text Main */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-privacy-policy__intro-text {
    font-size: 1.2rem;
    color: #A7D9B8; /* Custom Text Secondary */
    max-width: 800px;
    margin: 0 auto;
}

/* Content Area */
.page-privacy-policy__content-area {
    padding: 40px 20px;
    background-color: #08160F; /* Custom Background */
    color: #F2FFF6; /* Custom Text Main */
}

.page-privacy-policy__container {
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 15px; /* Inner padding for desktop to prevent sticking to edges */
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: #F2C14E; /* Custom Gold */
    margin-top: 50px;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
}

.page-privacy-policy__sub-section-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: #57E38D; /* Custom Glow */
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: 500;
}

.page-privacy-policy__paragraph {
    font-size: 1.05rem;
    margin-bottom: 15px;
    color: #F2FFF6; /* Custom Text Main */
}

.page-privacy-policy__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #F2FFF6; /* Custom Text Main */
}

.page-privacy-policy__list-item {
    margin-bottom: 8px;
    font-size: 1rem;
}

.page-privacy-policy__link {
    color: #2AD16F; /* A brighter green for links */
    text-decoration: underline;
}

.page-privacy-policy__link:hover {
    color: #57E38D; /* Custom Glow for hover */
}

/* Dark section for contrast */
.page-privacy-policy__dark-section {
    background-color: #11271B; /* Custom Card BG */
    color: #F2FFF6; /* Custom Text Main */
}

/* Image within content */
.page-privacy-policy__image-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    text-align: center;
}

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

/* Contact Info */
.page-privacy-policy__contact-info {
    margin-top: 30px;
    text-align: center;
    font-size: 1.1rem;
}

.page-privacy-policy__contact-text {
    margin-bottom: 10px;
    color: #A7D9B8; /* Custom Text Secondary */
}

/* CTA Button */
.page-privacy-policy__cta-wrapper {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-privacy-policy__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button Gradient */
    color: #F2FFF6; /* Text Main for button */
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: none; /* No border for primary button */
}

.page-privacy-policy__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

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

.page-privacy-policy__faq-item {
    background-color: #11271B; /* Custom Card BG */
    border: 1px solid #2E7A4E; /* Custom Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-privacy-policy__faq-item summary { /* For details tag */
    list-style: none; /* Remove default marker */
    cursor: pointer;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #F2FFF6; /* Custom Text Main */
    font-weight: 600;
    font-size: 1.1rem;
    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: #1E3A2A; /* Custom Divider for hover */
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
    padding-right: 15px;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: #F2C14E; /* Custom Gold */
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to cross */
}

.page-privacy-policy__faq-answer {
    padding: 0 20px 20px 20px;
    color: #A7D9B8; /* Custom Text Secondary */
    font-size: 1rem;
    line-height: 1.5;
}

/* Specific styling for paragraph inside FAQ answer */
.page-privacy-policy__faq-answer .page-privacy-policy__paragraph {
    color: #A7D9B8; /* Ensure paragraph color matches FAQ answer */
    margin-bottom: 0;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-privacy-policy__intro-text {
        font-size: 1.1rem;
    }
    .page-privacy-policy__section-title {
        font-size: clamp(1.6rem, 4vw, 2.5rem);
    }
    .page-privacy-policy__sub-section-title {
        font-size: clamp(1.3rem, 3vw, 1.8rem);
    }
}

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

    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Small top padding as body handles --header-offset */
    }

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

    .page-privacy-policy__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }

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

    .page-privacy-policy__content-area,
    .page-privacy-policy__dark-section {
        padding: 30px 0; /* Remove horizontal padding, container handles it */
    }

    .page-privacy-policy__container {
        padding: 0 15px !important; /* Force padding for content safety */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Ensure content doesn't overflow */
    }

    .page-privacy-policy__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .page-privacy-policy__sub-section-title {
        font-size: clamp(1.2rem, 5vw, 1.5rem);
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item {
        font-size: 0.95rem;
    }

    /* Images responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-privacy-policy__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px; /* Add padding to image wrapper itself */
    }

    /* Buttons responsiveness */
    .page-privacy-policy__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 15px 20px !important; /* Adjust padding for smaller screens */
        font-size: 1rem !important;
    }

    .page-privacy-policy__cta-wrapper {
        padding: 0 15px !important; /* Add padding to CTA wrapper */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* FAQ responsiveness */
    .page-privacy-policy__faq-item summary {
        padding: 15px;
        font-size: 1rem;
    }

    .page-privacy-policy__faq-answer {
        padding: 0 15px 15px 15px;
        font-size: 0.9rem;
    }
}