/* style/privacy-policy.css */

/* Base Styles */
.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

.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;
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, #CC0000 0%, #333333 100%);
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow: hidden;
}

.page-privacy-policy__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-privacy-policy__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #f0f0f0;
}

.page-privacy-policy__hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    display: block;
    object-fit: cover;
    margin-left: auto;
    margin-right: auto;
}

/* Content Section */
.page-privacy-policy__content-section {
    padding: 60px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
    color: #ffffff;
}

.page-privacy-policy__section-heading {
    font-size: 2.5em;
    color: #CC0000;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(204, 0, 0, 0.3);
}

.page-privacy-policy__sub-heading {
    font-size: 1.8em;
    color: #f0f0f0;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-privacy-policy__paragraph {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #e0e0e0;
}

.page-privacy-policy__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #e0e0e0;
}

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

.page-privacy-policy__link {
    color: #CC0000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
    color: #ff3333;
    text-decoration: underline;
}

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

/* Call to Action Section */
.page-privacy-policy__cta-section {
    text-align: center;
    padding: 50px 0;
    background-color: #0d0d0d;
    border-top: 1px solid rgba(204, 0, 0, 0.2);
}

.page-privacy-policy__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-privacy-policy__btn-primary {
    background-color: #CC0000;
    color: #ffffff;
    border: 2px solid #CC0000;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #ff3333;
    border-color: #ff3333;
}

.page-privacy-policy__btn-secondary {
    background-color: transparent;
    color: #CC0000;
    border: 2px solid #CC0000;
}

.page-privacy-policy__btn-secondary:hover {
    background-color: #CC0000;
    color: #ffffff;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    margin-top: 60px;
    padding: 40px 0;
    background-color: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-section .page-privacy-policy__section-heading {
    margin-bottom: 40px;
}

.page-privacy-policy__faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.page-privacy-policy__faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 15px 0;
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: rgba(204, 0, 0, 0.1);
    border-radius: 5px;
}

.page-privacy-policy__faq-title {
    font-size: 1.3em;
    color: #ffffff;
    margin: 0;
    font-weight: 600;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    color: #CC0000;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    transform: rotate(45deg);
}

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #e0e0e0;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-title {
        font-size: 2.8em;
    }

    .page-privacy-policy__section-heading {
        font-size: 2.2em;
    }

    .page-privacy-policy__sub-heading {
        font-size: 1.6em;
    }
}

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

    .page-privacy-policy__hero-section {
        padding: 80px 0;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-privacy-policy__hero-title {
        font-size: 2.2em;
    }

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

    .page-privacy-policy__section-heading {
        font-size: 2em;
    }

    .page-privacy-policy__sub-heading {
        font-size: 1.4em;
    }

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

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

    .page-privacy-policy__button-group {
        flex-direction: column;
        gap: 15px;
    }

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

    .page-privacy-policy__container,
    .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;
        overflow-x: hidden !important;
    }

    .page-privacy-policy__hero-image,
    .page-privacy-policy__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__faq-title {
        font-size: 1.1em;
    }

    .page-privacy-policy__faq-answer .page-privacy-policy__paragraph {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__hero-title {
        font-size: 1.8em;
    }

    .page-privacy-policy__section-heading {
        font-size: 1.8em;
    }

    .page-privacy-policy__sub-heading {
        font-size: 1.2em;
    }

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