/* Privacy Policy Page Styles */

/* Breadcrumb Navigation */
.breadcrumb-section {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.breadcrumb {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin: 0 0.75rem;
    color: #9ca3af;
}

.breadcrumb a {
    color: #4f46e5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #4338ca;
}

.breadcrumb li[aria-current="page"] {
    color: #6b7280;
}

/* Privacy Policy Section */
.privacy-policy-section {
    padding: 4rem 0;
    background: #ffffff;
    min-height: 80vh;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Policy Header */
.policy-header {
    text-align: center;
    margin-bottom: 3rem;
}

.policy-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
}

.last-updated {
    font-size: 1.125rem;
    color: #6b7280;
    margin: 0;
}

/* Table of Contents */
.table-of-contents {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.table-of-contents h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.table-of-contents ol {
    margin: 0;
    padding-left: 1.5rem;
}

.table-of-contents li {
    margin-bottom: 0.75rem;
    color: #6b7280;
}

.table-of-contents a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.table-of-contents a:hover {
    color: #4338ca;
    text-decoration: underline;
}

/* Policy Content */
.policy-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #374151;
}

.policy-section {
    margin-bottom: 3rem;
    scroll-margin-top: 100px; /* Account for fixed header */
}

.policy-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #10b981;
}

.policy-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #4b5563;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.policy-section p {
    margin-bottom: 1rem;
}

.policy-section ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
}

.policy-section strong {
    color: #1f2937;
    font-weight: 600;
}

/* Contact Boxes */
.contact-box {
    background: #f3f4f6;
    border-left: 4px solid #10b981;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.contact-box h3,
.contact-box h4 {
    margin-top: 0;
    color: #1f2937;
}

.contact-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-box li {
    margin-bottom: 0.5rem;
}

.contact-box a {
    color: #4f46e5;
    text-decoration: none;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* Contact Summary */
.contact-summary {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.contact-summary h2 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.contact-summary ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.contact-summary li {
    margin-bottom: 0.5rem;
}

/* Links */
.policy-content a {
    color: #4f46e5;
    text-decoration: underline;
}

.policy-content a:hover {
    color: #4338ca;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .policy-header h1 {
        font-size: 2rem;
    }
    
    .table-of-contents {
        padding: 1.5rem;
    }
    
    .table-of-contents h2 {
        font-size: 1.25rem;
    }
    
    .policy-section h2 {
        font-size: 1.5rem;
    }
    
    .policy-section h3 {
        font-size: 1.25rem;
    }
    
    .policy-content {
        font-size: 1rem;
    }
    
    .contact-summary {
        text-align: left;
    }
}

/* Print Styles */
@media print {
    /* Hide navigation and footer */
    .navbar,
    .footer,
    .back-to-top,
    .breadcrumb-section {
        display: none !important;
    }
    
    /* Optimize for printing */
    .privacy-policy-section {
        padding: 0;
    }
    
    .policy-container {
        max-width: 100%;
    }
    
    .table-of-contents {
        page-break-after: always;
        background: none;
        border: 1px solid #000;
    }
    
    .policy-section {
        page-break-inside: avoid;
    }
    
    .policy-section h2 {
        page-break-after: avoid;
    }
    
    /* Ensure links are visible */
    a[href]:after {
        content: " (" attr(href) ")";
    }
    
    /* Better contrast for print */
    body {
        color: #000;
        background: #fff;
    }
    
    .contact-box {
        border: 1px solid #000;
        background: none;
    }
}

/* Accessibility */
.policy-section:target {
    animation: highlight 1s ease;
}

@keyframes highlight {
    0% {
        background-color: #fef3c7;
    }
    100% {
        background-color: transparent;
    }
}

/* Skip to content link for accessibility */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #4f46e5;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 0 0 4px 0;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}