/* style/privacy-policy.css */
/* Base styles for the privacy policy page */
.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
    padding-bottom: 60px; /* Space above footer */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image first, then content */
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    background-color: #08160F;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin-top: 40px; /* Space between image and content */
    padding: 0 20px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 5vw, 3.2em); /* Responsive font size */
    font-weight: bold;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-privacy-policy__description {
    font-size: clamp(1em, 2vw, 1.2em);
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

/* Content Sections */
.page-privacy-policy__content-section {
    padding: 60px 20px;
    background-color: #08160F; /* Background */
}

.page-privacy-policy__dark-section {
    background-color: #11271B; /* Card BG */
}

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

.page-privacy-policy__section-title {
    font-size: clamp(1.8em, 4vw, 2.5em);
    color: #F2C14E; /* Gold */
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-privacy-policy__sub-title {
    font-size: clamp(1.4em, 3vw, 1.8em);
    color: #2AD16F; /* Lighter green */
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-privacy-policy p {
    margin-bottom: 15px;
    color: #F2FFF6; /* Text Main */
}

.page-privacy-policy strong {
    color: #2AD16F; /* Lighter green */
}

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

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

.page-privacy-policy__image-wrapper {
    margin: 30px auto;
    max-width: 800px;
    text-align: center;
    overflow: hidden;
}

.page-privacy-policy__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-privacy-policy a {
    color: #57E38D; /* Glow */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
    color: #2AD16F; /* Lighter green on hover */
    text-decoration: underline;
}

/* CTA Section */
.page-privacy-policy__cta-section {
    background: linear-gradient(90deg, #0A4B2C 0%, #11A84E 100%); /* Deep Green to Main color */
    padding: 80px 20px;
    text-align: center;
}

.page-privacy-policy__cta-content {
    max-width: 800px;
}

.page-privacy-policy__cta-title {
    font-size: clamp(1.8em, 4vw, 2.8em);
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-privacy-policy__cta-description {
    font-size: clamp(1em, 2vw, 1.2em);
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 40px;
}

.page-privacy-policy__btn-primary {
    display: inline-block;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    padding: 60px 20px;
    background-color: #11271B; /* Card BG */
}

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

.page-privacy-policy__faq-item {
    background-color: #08160F; /* Background */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: #F2FFF6; /* Text Main */
    background-color: #11271B; /* Card BG */
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: #0A4B2C; /* Deep Green */
}

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

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #57E38D; /* Glow */
    transition: transform 0.3s ease;
}

/* Styling for details element */
.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Plus sign becomes X or similar */
}

.page-privacy-policy__faq-item summary {
    list-style: none; /* Remove default marker */
}

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

.page-privacy-policy__faq-answer {
    padding: 15px 25px 20px;
    font-size: 0.95em;
    color: #A7D9B8; /* Text Secondary */
    background-color: #08160F; /* Background */
    border-top: 1px solid #2E7A4E; /* Divider */
}

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

    .page-privacy-policy__hero-section {
        padding-bottom: 40px;
    }

    .page-privacy-policy__hero-content {
        margin-top: 20px;
    }

    .page-privacy-policy__main-title {
        font-size: 2em;
    }

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

    .page-privacy-policy__content-section,
    .page-privacy-policy__faq-section,
    .page-privacy-policy__cta-section {
        padding: 40px 15px;
    }

    .page-privacy-policy__container {
        padding: 0; /* Remove inner padding on mobile as section already has */
    }

    .page-privacy-policy__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-privacy-policy__sub-title {
        font-size: 1.3em;
        margin-top: 30px;
    }

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

    /* 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: 12px 20px;
        font-size: 1em;
    }

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

    .page-privacy-policy__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-privacy-policy__faq-answer {
        padding: 10px 20px 15px;
    }
    
    /* Ensure content sections have proper padding on mobile */
    .page-privacy-policy__content-section,
    .page-privacy-policy__dark-section,
    .page-privacy-policy__faq-section,
    .page-privacy-policy__cta-section {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }

    /* Hero section padding-top override for mobile */
    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* body handles --header-offset, this is decorative */
    }
}