/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body background */
    padding-top: 10px; /* Fixed navbar spacing */
}

.page-privacy-policy__dark-bg {
    background-color: #0a0a0a;
    color: #ffffff;
}

.page-privacy-policy__hero-section {
    width: 100%;
    padding: 80px 20px 60px; /* Adjusted padding */
    background: linear-gradient(135deg, #000080, #0a0a0a); /* Dark blue to dark background */
    text-align: center;
    position: relative;
}

.page-privacy-policy__hero-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-privacy-policy__hero-title {
    font-size: 48px;
    font-weight: bold;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

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

.page-privacy-policy__content-section {
    padding: 60px 20px;
    background-color: #0a0a0a;
}

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

.page-privacy-policy__section-title {
    font-size: 32px;
    font-weight: bold;
    color: #FFD700; /* Gold for section titles */
    margin-bottom: 30px;
    padding-top: 20px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-privacy-policy__text-block p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #f0f0f0;
}

.page-privacy-policy__text-block ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-privacy-policy__text-block li {
    margin-bottom: 10px;
    font-size: 16px;
}

.page-privacy-policy__text-block a {
    color: #FFD700; /* Gold for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy__text-block a:hover {
    color: #ffffff;
    text-decoration: underline;
}

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

/* FAQ Section */
.page-privacy-policy__faq-section {
    padding: 60px 20px;
    background-color: #000080; /* Dark blue background for FAQ */
}

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

.page-privacy-policy__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for items */
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.05); /* Lighter background for question */
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-privacy-policy__faq-question:hover {
    background: rgba(255, 215, 0, 0.1);
}

.page-privacy-policy__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: #ffffff;
    pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-privacy-policy__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #FFD700; /* Gold toggle icon */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
    pointer-events: none; /* Prevent icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    color: #ffffff;
    transform: rotate(180deg);
}

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    color: #f0f0f0;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 2000px !important; /* Ensure it expands sufficiently */
    padding: 20px 25px !important;
    opacity: 1;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-title {
        font-size: 40px;
    }
    .page-privacy-policy__hero-description {
        font-size: 16px;
    }
    .page-privacy-policy__section-title {
        font-size: 28px;
    }
    .page-privacy-policy__sub-title {
        font-size: 22px;
    }
    .page-privacy-policy p, .page-privacy-policy li {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        padding-top: 10px; /* Mobile fixed navbar spacing */
        font-size: 16px;
        line-height: 1.6;
    }
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-privacy-policy__hero-section {
        padding: 60px 15px 40px;
    }
    .page-privacy-policy__hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-privacy-policy__hero-description {
        font-size: 15px;
    }
    .page-privacy-policy__content-section, .page-privacy-policy__faq-section {
        padding: 40px 15px;
    }
    .page-privacy-policy__container {
        padding-left: 0;
        padding-right: 0;
    }
    .page-privacy-policy__section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    .page-privacy-policy__sub-title {
        font-size: 20px;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .page-privacy-policy p, .page-privacy-policy li {
        font-size: 15px;
    }
    .page-privacy-policy__faq-question {
        padding: 15px 20px;
        flex-wrap: wrap;
    }
    .page-privacy-policy__faq-question h3 {
        font-size: 16px;
        width: calc(100% - 40px);
    }
    .page-privacy-policy__faq-toggle {
        margin-left: 10px;
        width: 28px;
        height: 28px;
        font-size: 24px;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 20px;
    }
    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 15px 20px !important;
    }
    /* Button responsive styles */
    .page-privacy-policy__cta-button, .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__cta-buttons {
        display: flex;
        flex-direction: column;
    }
}