/* style/privacy-policy.css */

/* Custom Colors */
:root {
    --winwin-primary: #11A84E;
    --winwin-secondary: #22C768;
    --winwin-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --winwin-card-bg: #11271B;
    --winwin-background: #08160F;
    --winwin-text-main: #F2FFF6;
    --winwin-text-secondary: #A7D9B8;
    --winwin-border: #2E7A4E;
    --winwin-glow: #57E38D;
    --winwin-gold: #F2C14E;
    --winwin-divider: #1E3A2A;
    --winwin-deep-green: #0A4B2C;
}

.page-privacy-policy {
    background-color: var(--winwin-background); /* Dark background */
    color: var(--winwin-text-main); /* Light text for contrast */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Ensure space above 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: 10px 20px 60px; /* Small top padding, more bottom padding */
    overflow: hidden;
    background-color: var(--winwin-deep-green); /* Darker green for hero background */
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin: 0 auto;
    color: var(--winwin-text-main);
    padding: 0 20px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2.2rem, 3.5vw, 3.2rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    color: var(--winwin-gold); /* Gold title for emphasis */
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-privacy-policy__description {
    font-size: 1.1rem;
    color: var(--winwin-text-secondary);
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Content Section */
.page-privacy-policy__content-section {
    padding: 40px 20px;
    background-color: var(--winwin-background);
}

.page-privacy-policy__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    color: var(--winwin-gold);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid var(--winwin-divider);
    padding-bottom: 10px;
}

.page-privacy-policy__subsection-title {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    color: var(--winwin-primary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.page-privacy-policy__text-block {
    font-size: 1rem;
    color: var(--winwin-text-main);
    margin-bottom: 15px;
}

.page-privacy-policy__list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
    color: var(--winwin-text-main);
}

.page-privacy-policy__list-item {
    margin-bottom: 8px;
    font-size: 1rem;
    color: var(--winwin-text-secondary);
}

.page-privacy-policy__list-item strong {
    color: var(--winwin-text-main);
}

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-privacy-policy__image-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    box-sizing: border-box;
}

.page-privacy-policy a {
    color: var(--winwin-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
    color: var(--winwin-gold);
    text-decoration: underline;
}

/* CTA Section */
.page-privacy-policy__cta-section {
    text-align: center;
    margin-top: 60px;
    padding: 40px 20px;
    background-color: var(--winwin-card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--winwin-border);
}

.page-privacy-policy__cta-text {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: var(--winwin-text-main);
    margin-bottom: 25px;
    font-weight: 500;
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--winwin-button-gradient);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    padding: 60px 20px;
    background-color: var(--winwin-deep-green); /* Dark green for FAQ background */
}

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

.page-privacy-policy__faq-item {
    background-color: var(--winwin-card-bg);
    border: 1px solid var(--winwin-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-privacy-policy__faq-item[open] {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: var(--winwin-primary);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--winwin-text-main);
    cursor: pointer;
    background-color: var(--winwin-card-bg);
    border-bottom: 1px solid var(--winwin-divider);
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: rgba(34, 199, 104, 0.1); /* Slight hover effect */
}

.page-privacy-policy__faq-question::-webkit-details-marker {
    display: none;
}
.page-privacy-policy__faq-question::marker {
    display: none;
}

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

.page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
    font-weight: normal;
    color: var(--winwin-gold);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

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

.page-privacy-policy__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    color: var(--winwin-text-secondary);
    line-height: 1.7;
    border-top: 1px solid var(--winwin-divider);
}
.page-privacy-policy__faq-answer p:last-child {
    margin-bottom: 0;
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .page-privacy-policy__container {
        padding: 0 15px;
    }
}

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

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

    .page-privacy-policy__main-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

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

    .page-privacy-policy__section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-top: 30px;
    }

    .page-privacy-policy__subsection-title {
        font-size: clamp(1.3rem, 5vw, 1.6rem);
    }

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

    .page-privacy-policy__cta-section {
        padding: 30px 15px;
    }

    .page-privacy-policy__cta-text {
        font-size: clamp(1.1rem, 4.5vw, 1.4rem);
    }

    /* Mobile image responsiveness */
    .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-image-wrapper,
    .page-privacy-policy__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure content doesn't overflow */
    }

    /* Mobile button responsiveness */
    .page-privacy-policy__cta-button,
    .page-privacy-policy__btn-primary,
    .page-privacy-policy a[class*="button"],
    .page-privacy-policy a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-privacy-policy__cta-buttons,
    .page-privacy-policy__button-group,
    .page-privacy-policy__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        overflow: hidden !important;
    }
    
    .page-privacy-policy__cta-buttons {
        display: flex;
        flex-direction: column;
    }

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

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

/* Ensure no filter on images */
.page-privacy-policy img {
    filter: none !important;
}