/* style/privacy-policy.css */
:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f8f9fa;
    --background-dark: #0A2463;
    --border-color: #e0e0e0;
}

.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--background-light);
    padding-top: 120px; /* Adjust for fixed header on desktop */
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #001a4e 100%);
    color: var(--text-color-light);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Specific padding for hero to avoid header overlap */
}

.page-privacy-policy__hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-privacy-policy__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.page-privacy-policy__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-privacy-policy__cta-button--primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

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

.page-privacy-policy__cta-button--secondary {
    background-color: transparent;
    color: var(--text-color-light);
    border: 2px solid var(--text-color-light);
}

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

/* Content Area */
.page-privacy-policy__content-area {
    padding: 60px 20px;
    background-color: var(--background-light);
    color: var(--text-color-dark);
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: left;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 10px;
}

.page-privacy-policy__section-title--light {
    color: var(--text-color-light);
    border-color: var(--secondary-color);
}

.page-privacy-policy__sub-section-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
}

.page-privacy-policy__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-privacy-policy__highlight {
    color: var(--primary-color);
    font-weight: bold;
}

.page-privacy-policy__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    font-size: 1.05em;
}

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

.page-privacy-policy__contact-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-privacy-policy__contact-link:hover {
    color: var(--secondary-color);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    background-color: var(--primary-color);
    padding: 60px 20px;
    color: var(--text-color-light);
}

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

.page-privacy-policy__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--background-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--text-color-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    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: #f0f0f0;
    border-color: #d0d0d0;
}

.page-privacy-policy__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.15em;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-color);
    pointer-events: none;
}

.page-privacy-policy__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    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: var(--secondary-color);
    transform: rotate(45deg);
}

.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.3s ease;
    padding: 0 20px;
    opacity: 0;
    color: var(--text-color-dark);
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 2000px !important;
    padding: 20px !important;
    opacity: 1;
    background: #ffffff;
    border-radius: 0 0 8px 8px;
}

.page-privacy-policy__faq-answer p {
    margin: 0;
    font-size: 1em;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-privacy-policy__hero-title {
        font-size: 2.8em;
    }
    .page-privacy-policy__hero-description {
        font-size: 1.1em;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__sub-section-title {
        font-size: 1.4em;
    }
    .page-privacy-policy__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        padding-top: 100px !important; /* Adjust for fixed header on mobile */
        font-size: 16px;
        line-height: 1.6;
    }

    .page-privacy-policy__hero-section {
        padding: 60px 15px;
        padding-top: 10px !important;
    }
    .page-privacy-policy__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-privacy-policy__hero-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-privacy-policy__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-privacy-policy__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__content-area, .page-privacy-policy__faq-section {
        padding: 40px 15px;
    }
    .page-privacy-policy__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-privacy-policy__section-title {
        font-size: 1.6em;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-privacy-policy__sub-section-title {
        font-size: 1.2em;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .page-privacy-policy__text-block, .page-privacy-policy__list li {
        font-size: 0.95em;
    }

    .page-privacy-policy__faq-item {
        border-radius: 5px;
    }
    .page-privacy-policy__faq-question {
        padding: 15px;
        flex-wrap: wrap;
        border-radius: 5px;
    }
    .page-privacy-policy__faq-question h3 {
        font-size: 1em;
        width: calc(100% - 40px);
    }
    .page-privacy-policy__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 15px;
    }
    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 15px !important;
    }

    /* Image and Video Responsive */
    .page-privacy-policy img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-privacy-policy video,
    .page-privacy-policy__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-privacy-policy__video-section,
    .page-privacy-policy__video-container,
    .page-privacy-policy__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}