/* style/privacy-policy.css */

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

/* Base styles for the page content, assuming body has a dark background from shared.css */
.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    color: var(--hi99-text-main); /* Default text color for the page */
    background-color: var(--hi99-background); /* Specific background for privacy policy content area */
    line-height: 1.6;
}

.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles main offset */
    text-align: center;
    overflow: hidden;
    background-color: var(--hi99-deep-green);
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

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

.page-privacy-policy__hero-content {
    max-width: 900px;
    z-index: 1;
    color: var(--hi99-text-main);
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 3.5vw, 2.8em);
    font-weight: 700;
    color: var(--hi99-gold);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-privacy-policy__intro-text {
    font-size: 1.1em;
    color: var(--hi99-text-secondary);
    margin-bottom: 30px;
}

.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--hi99-background); /* Use the main background color */
    color: var(--hi99-text-main);
}

.page-privacy-policy__container {
    max-width: 900px;
    margin: 0 auto;
}

.page-privacy-policy__section-title {
    font-size: 2em;
    color: var(--hi99-primary);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid var(--hi99-divider);
    padding-bottom: 10px;
}

.page-privacy-policy__sub-section-title {
    font-size: 1.5em;
    color: var(--hi99-secondary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.page-privacy-policy__paragraph {
    margin-bottom: 15px;
    color: var(--hi99-text-secondary);
}

.page-privacy-policy__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 15px;
    color: var(--hi99-text-secondary);
}

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

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

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

.page-privacy-policy__link {
    color: var(--hi99-glow);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
    color: var(--hi99-gold);
    text-decoration: underline;
}

/* Buttons */
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
}

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

.page-privacy-policy__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__btn-secondary {
    background: transparent;
    color: var(--hi99-glow);
    border: 2px solid var(--hi99-glow);
    margin-top: 20px;
}

.page-privacy-policy__btn-secondary:hover {
    background: var(--hi99-glow);
    color: var(--hi99-background);
    transform: translateY(-2px);
}

.page-privacy-policy__contact-cta {
    display: block;
    max-width: 300px;
    margin: 30px auto 0;
}

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

.page-privacy-policy__faq-item {
    background-color: var(--hi99-card-bg);
    border: 1px solid var(--hi99-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--hi99-text-main);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: 600;
    cursor: pointer;
    color: var(--hi99-text-main);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-privacy-policy__faq-question::-webkit-details-marker { /* For details/summary */
    display: none;
}

.page-privacy-policy__faq-item[open] > .page-privacy-policy__faq-question {
    background-color: var(--hi99-deep-green);
    color: var(--hi99-gold);
}

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

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    width: 25px;
    text-align: center;
    transition: transform 0.3s ease;
    color: var(--hi99-glow);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg);
    color: var(--hi99-gold);
}

.page-privacy-policy__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: var(--hi99-text-secondary);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 4vw, 2.5em);
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__sub-section-title {
        font-size: 1.3em;
    }
    .page-privacy-policy__content-area {
        padding: 30px 15px;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.5em, 6vw, 2em);
        margin-bottom: 15px;
    }
    .page-privacy-policy__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-privacy-policy__section-title {
        font-size: 1.6em;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .page-privacy-policy__sub-section-title {
        font-size: 1.2em;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .page-privacy-policy__paragraph,
    .page-privacy-policy__list li {
        font-size: 0.95em;
    }
    .page-privacy-policy__content-area,
    .page-privacy-policy__container,
    .page-privacy-policy__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary,
    .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;
    }
    .page-privacy-policy__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__hero-section {
        padding: 30px 10px;
        padding-top: 10px !important;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.3em, 8vw, 1.8em);
    }
    .page-privacy-policy__section-title {
        font-size: 1.4em;
    }
    .page-privacy-policy__sub-section-title {
        font-size: 1.1em;
    }
    .page-privacy-policy__paragraph,
    .page-privacy-policy__list li {
        font-size: 0.9em;
    }
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        padding: 10px 15px;
    }
    .page-privacy-policy__faq-question {
        padding: 12px 15px;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 15px 12px;
    }
}