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

.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

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

.page-privacy-policy-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a7a 100%);
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--accent-color);
}

.page-privacy-policy-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: rotateBackground 20s linear infinite;
    z-index: 0;
}

@keyframes rotateBackground {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.page-privacy-policy-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.page-privacy-policy-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.page-privacy-policy-cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 18px 45px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}

.page-privacy-policy-cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-privacy-policy-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-privacy-policy-section:last-of-type {
    border-bottom: none;
}

.page-privacy-policy-dark-bg {
    background-color: #f8f8f8;
}

.page-privacy-policy-heading {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-privacy-policy-heading::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.page-privacy-policy-subheading {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 5px solid var(--accent-color);
    padding-left: 15px;
    line-height: 1.3;
}

.page-privacy-policy-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px;
    font-size: 1.1em;
    color: var(--text-dark);
}

.page-privacy-policy-content-wrapper p,
.page-privacy-policy-content-wrapper ul {
    flex: 1;
    min-width: 300px;
    margin-bottom: 20px;
}

.page-privacy-policy-content-wrapper ul {
    list-style-type: disc;
    padding-left: 30px;
}

.page-privacy-policy-content-wrapper ul li {
    margin-bottom: 10px;
}

.page-privacy-policy-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-privacy-policy-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-privacy-policy-image-left {
    order: -1; /* Places image on the left for the first item */
    margin-right: 30px;
}

.page-privacy-policy-image-right {
    order: 1; /* Places image on the right */
    margin-left: 30px;
}

/* Ensure text wraps around image */
.page-privacy-policy-content-wrapper .page-privacy-policy-image-left + p,
.page-privacy-policy-content-wrapper .page-privacy-policy-image-right + p {
    flex: 2; /* Adjust text flex to flow around image */
}

.page-privacy-policy-content-wrapper strong {
    color: var(--primary-color);
}

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

.page-privacy-policy-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* FAQ Section Specific Styles */
.page-privacy-policy-faq {
    background-color: var(--background-light);
    padding-bottom: 80px;
}

.page-privacy-policy-faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
}

.faq-question:hover {
    background-color: #f0f5fa;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1em;
    color: var(--primary-color);
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-color);
    transition: transform 0.3s ease, color 0.3s ease;
    line-height: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #f9f9f9;
    color: var(--text-dark);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 15px 25px 25px;
    border-top: 1px solid var(--border-color);
}

.faq-answer p {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.7;
    font-size: 1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy-title {
        font-size: 3em;
    }
    .page-privacy-policy-subtitle {
        font-size: 1.3em;
    }
    .page-privacy-policy-heading {
        font-size: 2em;
    }
    .page-privacy-policy-subheading {
        font-size: 1.6em;
    }
    .page-privacy-policy-content-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .page-privacy-policy-image,
    .page-privacy-policy-image-left,
    .page-privacy-policy-image-right {
        margin: 0 0 30px 0 !important;
        order: 0;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy-hero {
        padding: 60px 15px;
    }
    .page-privacy-policy-title {
        font-size: 2.5em;
    }
    .page-privacy-policy-subtitle {
        font-size: 1.1em;
    }
    .page-privacy-policy-cta-button {
        padding: 15px 35px;
        font-size: 1em;
    }
    .page-privacy-policy-section {
        padding: 40px 0;
    }
    .page-privacy-policy-heading {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-privacy-policy-subheading {
        font-size: 1.4em;
        padding-left: 10px;
    }
    .page-privacy-policy-content-wrapper p,
    .page-privacy-policy-content-wrapper ul {
        font-size: 1em;
        min-width: unset;
    }
    .faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .faq-question h3 {
        font-size: 1em;
    }
    .faq-toggle {
        font-size: 20px;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 12px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy-title {
        font-size: 2em;
    }
    .page-privacy-policy-subtitle {
        font-size: 0.9em;
    }
    .page-privacy-policy-cta-button {
        padding: 12px 25px;
        font-size: 0.9em;
    }
    .page-privacy-policy-heading {
        font-size: 1.5em;
    }
    .page-privacy-policy-subheading {
        font-size: 1.2em;
    }
    .faq-question h3 {
        font-size: 0.9em;
    }
}