/* privacy.css - Privacy Policy Page Styles */

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: white;
    padding-top: 76px; /* Space for fixed navbar */
}

/* Navigation fix */
.main-navbar {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    background: white !important;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.privacy-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #2d3748;
    padding: 80px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #764ba2);
}

.privacy-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.privacy-hero p {
    font-size: 1.1rem;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto 10px;
}

.privacy-hero small {
    color: #718096;
}

/* Main content container */
.privacy-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    position: relative;
    top: -30px;
    margin-bottom: -30px;
}

h2 {
    color: #2d3748;
    font-size: 1.75rem;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #0066cc;
}

h3 {
    color: #4a5568;
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
    color: #4a5568;
    line-height: 1.8;
}

ul {
    margin: 15px 0 15px 20px;
    color: #4a5568;
}

ul li {
    margin-bottom: 10px;
    line-height: 1.7;
    padding-left: 5px;
}

ul li::marker {
    color: #0066cc;
}

.section {
    margin-bottom: 40px;
    padding: 25px;
    background: #fafafa;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
    transition: background-color 0.3s ease;
}

.section:hover {
    background: #f8f9fa;
}

.contact-box {
    background: linear-gradient(135deg, #0066cc 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(106, 17, 203, 0.15);
}

.contact-box h2 {
    color: white;
    margin-top: 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.contact-box h2::after {
    background: #ffd700;
}

.contact-box p {
    color: rgba(255, 255, 255, 0.95);
}

.contact-box a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-box a:hover {
    color: white;
    text-decoration: underline;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #0052a3;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .privacy-container {
        padding: 50px 40px;
        margin: 0 20px;
        top: -20px;
    }
    
    .privacy-hero {
        padding: 60px 20px 50px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .privacy-hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .privacy-hero p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .privacy-container {
        padding: 40px 25px;
        margin: 0 15px;
        top: -15px;
        margin-bottom: -15px;
    }
    
    h2 {
        font-size: 1.5rem;
        margin-top: 35px;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .contact-box {
        padding: 30px 25px;
        margin-top: 30px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .privacy-hero {
        padding: 50px 15px 40px;
    }
    
    .privacy-hero h1 {
        font-size: 1.75rem;
    }
    
    .privacy-container {
        padding: 30px 20px;
        margin: 0 10px;
        top: -10px;
        margin-bottom: -10px;
    }
    
    h2 {
        font-size: 1.35rem;
    }
    
    h3 {
        font-size: 1.15rem;
    }
    
    .section {
        padding: 18px;
        border-left-width: 3px;
    }
    
    ul {
        margin-left: 15px;
    }
    
    ul li {
        margin-bottom: 8px;
    }
    
    .contact-box {
        padding: 25px 20px;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .privacy-hero h1 {
        font-size: 1.5rem;
    }
    
    .privacy-container {
        padding: 25px 15px;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    .section {
        padding: 15px;
    }
}

/* Print Styles */
@media print {
    body {
        padding-top: 0;
    }
    
    .privacy-hero {
        background: white !important;
        padding: 40px 0 20px;
    }
    
    .privacy-container {
        box-shadow: none;
        padding: 0;
        margin: 0;
        top: 0;
        max-width: 100%;
    }
    
    .contact-box {
        background: white !important;
        color: black !important;
        border: 2px solid #0066cc;
    }
    
    .contact-box h2,
    .contact-box p {
        color: black !important;
    }
    
    .contact-box a {
        color: #0066cc !important;
    }
    
    .back-to-top,
    .navbar,
    .footer {
        display: none !important;
    }
}