/* style/privacy-policy.css */

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

/* --- Base Styles --- */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Using custom color: #F2FFF6 */
    background: var(--background); /* Using custom color: #08160F */
    padding-bottom: 60px; /* Space for footer */
}

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

/* --- Hero Section --- */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    text-align: center;
    background: var(--deep-green); /* Example background for hero section */
}

.page-privacy-policy__hero-image-container {
    width: 100%;
    max-width: 1200px; /* Constrain image width */
    margin-bottom: 30px;
}

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

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin-top: 20px;
    padding: 0 20px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* H1 font size constraint */
    font-weight: 700;
    color: var(--gold); /* Using custom color: #F2C14E */
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-privacy-policy__description {
    font-size: 1.15rem;
    color: var(--text-secondary); /* Using custom color: #A7D9B8 */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- CTA Buttons --- */
.page-privacy-policy__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

.page-privacy-policy__btn-primary {
    background: var(--button-gradient); /* Custom button color */
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-privacy-policy__btn-secondary {
    background: transparent;
    color: var(--gold); /* Custom color: #F2C14E */
    border: 2px solid var(--gold);
}

.page-privacy-policy__btn-secondary:hover {
    background: var(--gold);
    color: var(--deep-green); /* Text color changes to deep green on hover */
    transform: translateY(-2px);
}

/* --- Content Area --- */
.page-privacy-policy__content-area {
    padding: 60px 0;
    background: var(--background); /* Custom background color */
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--gold); /* Custom color: #F2C14E */
    margin-bottom: 30px;
    margin-top: 40px;
    text-align: left;
    border-bottom: 2px solid var(--divider); /* Custom color: #1E3A2A */
    padding-bottom: 15px;
}

.page-privacy-policy__sub-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--text-main); /* Custom color: #F2FFF6 */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-privacy-policy__text-block {
    margin-bottom: 20px;
    color: var(--text-main); /* Custom color: #F2FFF6 */
}

.page-privacy-policy__text-block p {
    margin-bottom: 15px;
    color: var(--text-main); /* Custom color: #F2FFF6 */
}

.page-privacy-policy__text-block strong {
    color: var(--gold); /* Custom color: #F2C14E */
}

.page-privacy-policy__text-block ul {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 15px;
    color: var(--text-main); /* Custom color: #F2FFF6 */
}

.page-privacy-policy__text-block li {
    margin-bottom: 8px;
    color: var(--text-main); /* Custom color: #F2FFF6 */
}

.page-privacy-policy__text-block a {
    color: var(--glow); /* Custom color: #57E38D */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy__text-block a:hover {
    color: var(--gold); /* Custom color: #F2C14E */
}

.page-privacy-policy__image-inline {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

/* --- FAQ Section --- */
.page-privacy-policy__faq-section {
    padding: 60px 0;
    background: var(--card-b-g); /* Custom card background color: #11271B */
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-privacy-policy__faq-item {
    background: var(--deep-green); /* Custom color: #0A4B2C */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main);
    border: 1px solid var(--border); /* Custom color: #2E7A4E */
}

.page-privacy-policy__faq-item summary {
    list-style: none; /* Remove default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main); /* Custom color: #F2FFF6 */
    background: var(--deep-green); /* Custom color: #0A4B2C */
    transition: background 0.3s ease;
}

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

.page-privacy-policy__faq-item summary:hover {
    background: #11A84E; /* Slightly lighter green on hover */
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
    color: var(--text-main); /* Custom color: #F2FFF6 */
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 15px;
    color: var(--glow); /* Custom color: #57E38D */
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    color: var(--gold); /* Custom color: #F2C14E */
}

.page-privacy-policy__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--text-secondary); /* Custom color: #A7D9B8 */
    background: var(--card-b-g); /* Custom color: #11271B */
}

.page-privacy-policy__faq-answer p {
    margin-bottom: 0;
}

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

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 40px 0;
        padding-top: 10px !important;
    }
    .page-privacy-policy__container {
        padding: 0 15px;
    }
    .page-privacy-policy__content-area {
        padding: 30px 0;
    }

    /* Images responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure minimum size */
        min-height: 200px !important; /* Ensure minimum size */
    }

    /* All containers for images, videos, buttons */
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-image-container,
    .page-privacy-policy__text-block,
    .page-privacy-policy__faq-section,
    .page-privacy-policy__cta-buttons,
    .page-privacy-policy__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent content overflow */
    }

    /* Buttons responsiveness */
    .page-privacy-policy__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

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

@media (max-width: 480px) {
    .page-privacy-policy__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-privacy-policy__description {
        font-size: 1rem;
    }
    .page-privacy-policy__section-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }
    .page-privacy-policy__sub-title {
        font-size: clamp(1.1rem, 4vw, 1.6rem);
    }
}