/* style/privacy-policy.css */
:root {
    --primary-color: #1A73E8;
    --secondary-color: #FFD700;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --bg-light-gray: #f1f3f5;
    --border-color: #e0e0e0;
}

.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-light); /* Default to light text for body assumed dark bg */
}

/* Fixed header padding */
.page-privacy-policy__hero-section {
    padding-top: 180px; /* Desktop: Adjust based on fixed header height */
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color), #004080); /* Darker gradient for hero */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-privacy-policy__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

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

.page-privacy-policy__hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-privacy-policy__hero-content {
    text-align: center;
    color: var(--text-color-light);
}

.page-privacy-policy__main-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-color-light);
}

.page-privacy-policy__hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 16px 45px;
    background: var(--secondary-color);
    color: var(--text-color-dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

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

.page-privacy-policy__content-section {
    padding: 60px 20px;
    background: var(--bg-light-gray);
    color: var(--text-color-dark);
}

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

.page-privacy-policy__text-block {
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-privacy-policy__section-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
}

.page-privacy-policy__text-block h2:first-of-type {
    margin-top: 0;
}

.page-privacy-policy__sub-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-privacy-policy__text-block p {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--text-color-dark);
}

.page-privacy-policy__text-block ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-color-dark);
}

.page-privacy-policy__text-block li {
    margin-bottom: 8px;
    font-size: 16px;
    color: var(--text-color-dark);
}

.page-privacy-policy__text-block a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

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

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

.page-privacy-policy__faq-main-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.page-privacy-policy__faq-list {
    max-width: 1000px;
    margin: 0 auto;
}

.page-privacy-policy__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.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 15px;
    opacity: 0;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: var(--text-color-dark);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-color-dark);
}

.page-privacy-policy__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-privacy-policy__faq-question:active {
    background: #eeeeee;
}

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

.page-privacy-policy__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    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: 28px;
    height: 28px;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    color: #333;
    transform: rotate(45deg); /* Change + to X or - */
}

/* Contact CTA Section */
.page-privacy-policy__contact-cta-section {
    background: var(--primary-color);
    padding: 80px 20px;
    text-align: center;
    color: var(--text-color-light);
}

.page-privacy-policy__contact-cta-container {
    max-width: 900px;
}

.page-privacy-policy__contact-cta-title {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-color-light);
}

.page-privacy-policy__contact-cta-description {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__contact-cta-button {
    display: inline-block;
    padding: 16px 45px;
    background: var(--secondary-color);
    color: var(--text-color-dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-privacy-policy__contact-cta-button:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

    .page-privacy-policy__section-title {
        font-size: 28px;
    }

    .page-privacy-policy__sub-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding-top: 140px !important; /* Mobile: Adjust based on fixed header height */
        padding-bottom: 40px;
    }
    
    .page-privacy-policy__main-title {
        font-size: 30px;
    }

    .page-privacy-policy__hero-description {
        font-size: 16px;
    }

    .page-privacy-policy__cta-button {
        padding: 14px 35px;
        font-size: 18px;
    }

    .page-privacy-policy__content-section,
    .page-privacy-policy__faq-section,
    .page-privacy-policy__contact-cta-section {
        padding: 40px 15px;
    }

    .page-privacy-policy__text-block {
        padding: 25px;
    }

    .page-privacy-policy__section-title {
        font-size: 24px;
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .page-privacy-policy__sub-title {
        font-size: 20px;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-privacy-policy__text-block p,
    .page-privacy-policy__text-block li {
        font-size: 15px;
    }
    
    .page-privacy-policy__faq-main-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .page-privacy-policy__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-privacy-policy__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        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;
    }

    .page-privacy-policy__contact-cta-title {
        font-size: 30px;
    }

    .page-privacy-policy__contact-cta-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-privacy-policy__contact-cta-button {
        padding: 14px 30px;
        font-size: 18px;
    }

    /* Image responsive adaptions */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-privacy-policy__hero-section,
    .page-privacy-policy__content-section,
    .page-privacy-policy__faq-section,
    .page-privacy-policy__contact-cta-section,
    .page-privacy-policy__container,
    .page-privacy-policy__text-block,
    .page-privacy-policy__hero-container,
    .page-privacy-policy__hero-image,
    .page-privacy-policy__faq-list,
    .page-privacy-policy__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Color Contrast Fixes (as per instructions) */
.page-privacy-policy__dark-bg {
  color: var(--text-color-light); /* Deep background, light text */
}

.page-privacy-policy__light-bg {
  color: var(--text-color-dark); /* Light background, dark text */
}

.page-privacy-policy__text-block {
  background: #ffffff; /* Explicit white background for policy text */
  color: var(--text-color-dark);
}

.page-privacy-policy__text-block p,
.page-privacy-policy__text-block li {
  color: var(--text-color-dark); /* Ensure dark text on light background */
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  background: #f9f9f9;
  color: var(--text-color-dark);
}

.page-privacy-policy__faq-question {
  background: #fff;
  color: var(--text-color-dark);
}

.page-privacy-policy__contact-cta-section {
  background: var(--primary-color);
  color: var(--text-color-light);
}

.page-privacy-policy__contact-cta-button {
  background: var(--secondary-color);
  color: var(--text-color-dark);
}