/* Privacy Policy Page Styles */

/* Import base styles */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Privacy Policy Header */
.privacy-page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0 2rem 0;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.privacy-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.privacy-page-header .container {
    position: relative;
    z-index: 2;
}

.breadcrumb-nav {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    display: inline-block;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.breadcrumb-nav a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-weight: 500;
}

.breadcrumb-nav a:hover {
    opacity: 0.8;
    color: white;
}

.breadcrumb-nav .separator {
    margin: 0 0.5rem;
    opacity: 0.7;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Back to Home Button */
.back-to-home {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: #667eea;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.back-to-home:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    color: #5a6fd8;
    text-decoration: none;
}

.back-to-home i {
    margin-right: 0.5rem;
}

/* Privacy Policy Section */
.privacy-policy-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    min-height: 100vh;
}

.privacy-policy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23dee2e6" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.privacy-policy-section .container {
    position: relative;
    z-index: 2;
}

.privacy-policy-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    margin: 2rem 0;
}

.privacy-policy-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb);
}

.policy-content {
    padding: 3rem 2.5rem;
}

.last-updated {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    margin-bottom: 2rem;
}

.last-updated p {
    margin: 0;
    font-size: 0.95rem;
}

.policy-section {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.policy-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.policy-heading {
    color: #2c3e50;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    line-height: 1.3;
}

.policy-heading i {
    font-size: 1.4rem;
    width: 28px;
    text-align: center;
    color: #667eea;
}

.policy-subheading {
    color: #495057;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1.8rem 0 1.2rem 0;
    line-height: 1.4;
}

.policy-content p {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.policy-list {
    list-style: none;
    padding-left: 0;
    margin: 1.2rem 0;
}

.policy-list li {
    position: relative;
    padding: 0.6rem 0 0.6rem 1.8rem;
    color: #6c757d;
    line-height: 1.7;
    border-bottom: 1px solid #f8f9fa;
    font-size: 1rem;
}

.policy-list li:last-child {
    border-bottom: none;
}

.policy-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.3rem;
    top: 0.4rem;
}

.policy-list li strong {
    color: #495057;
    font-weight: 600;
}

/* Contact Info Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.contact-info-item:hover {
    background: #e9ecef;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.contact-info-item i {
    font-size: 1.3rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
    color: #667eea;
}

.contact-info-item div {
    flex: 1;
}

.contact-info-item strong {
    color: #495057;
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
}

.contact-info-item a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-info-item a:hover {
    color: #5a6fd8;
    text-decoration: underline;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #bdc3c7;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .page-title {
        font-size: 3rem;
    }
    
    .page-subtitle {
        font-size: 1.2rem;
    }
    
    .policy-content {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 992px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .policy-content {
        padding: 2rem 1.5rem;
    }
    
    .policy-heading {
        font-size: 1.4rem;
    }
    
    .policy-subheading {
        font-size: 1.2rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .privacy-page-header {
        padding: 3rem 0 1.5rem 0;
        min-height: 250px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .back-to-home {
        top: 10px;
        left: 10px;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .policy-content {
        padding: 1.5rem 1rem;
    }
    
    .policy-heading {
        font-size: 1.3rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .policy-heading i {
        font-size: 1.2rem;
    }
    
    .policy-subheading {
        font-size: 1.1rem;
    }
    
    .policy-content p {
        font-size: 0.95rem;
    }
    
    .policy-list li {
        font-size: 0.9rem;
        padding-left: 1.5rem;
    }
    
    .contact-info-item {
        padding: 1rem;
    }
    
    .contact-info-item i {
        font-size: 1.1rem;
    }
    
    .last-updated {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .privacy-page-header {
        padding: 2rem 0 1rem 0;
        min-height: 200px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-subtitle {
        font-size: 0.95rem;
    }
    
    .policy-content {
        padding: 1rem 0.75rem;
    }
    
    .policy-heading {
        font-size: 1.2rem;
    }
    
    .policy-subheading {
        font-size: 1rem;
    }
    
    .policy-content p {
        font-size: 0.9rem;
    }
    
    .policy-list li {
        font-size: 0.85rem;
        padding-left: 1.2rem;
    }
    
    .contact-info-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .contact-info-item i {
        font-size: 1.2rem;
        margin-top: 0;
    }
    
    .last-updated {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .breadcrumb-nav {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 375px) {
    .page-title {
        font-size: 1.6rem;
    }
    
    .page-subtitle {
        font-size: 0.9rem;
    }
    
    .policy-content {
        padding: 0.75rem 0.5rem;
    }
    
    .policy-heading {
        font-size: 1.1rem;
    }
    
    .policy-subheading {
        font-size: 0.95rem;
    }
    
    .policy-content p {
        font-size: 0.85rem;
    }
    
    .policy-list li {
        font-size: 0.8rem;
        padding-left: 1rem;
    }
}

/* Print Styles */
@media print {
    .back-to-home {
        display: none;
    }
    
    .privacy-page-header {
        background: white !important;
        color: #333 !important;
        padding: 1rem 0;
    }
    
    .privacy-page-header::before {
        display: none;
    }
    
    .privacy-policy-section {
        background: white !important;
    }
    
    .privacy-policy-section::before {
        display: none;
    }
    
    .privacy-policy-container {
        box-shadow: none;
        border: 1px solid #dee2e6;
    }
    
    .policy-content {
        padding: 1rem;
    }
    
    .contact-info-item {
        background: white !important;
        border: 1px solid #dee2e6;
    }
    
    footer {
        background: white !important;
        color: #333 !important;
        border-top: 1px solid #dee2e6;
    }
    
    footer a {
        color: #333 !important;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .back-to-home,
    .contact-info-item {
        transition: none;
    }
    
    .back-to-home:hover {
        transform: none;
    }
    
    .contact-info-item:hover {
        transform: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .policy-heading {
        color: #000;
    }
    
    .policy-content p {
        color: #000;
    }
    
    .policy-list li {
        color: #000;
    }
    
    .contact-info-item {
        border: 2px solid #000;
    }
}

/* Focus Styles for Accessibility */
.back-to-home:focus,
.contact-info-item a:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Loading Animation */
.privacy-policy-container {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
