/* Custom CSS for Privacy Policy Page */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #0dcaf0;
    --light-bg: #f8f9fa;
    --dark-bg: #212529;
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Header Gradient */
.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
}

/* Section Titles */
.section-title {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 30px;
    font-weight: 600;
}

/* Information Cards */
.info-card {
    background: white;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
}

.info-card h4 {
    margin-bottom: 15px;
    font-weight: 600;
}

.info-card ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.info-card li {
    margin-bottom: 8px;
}

/* Usage Items */
.usage-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.usage-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.usage-item i {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.usage-item span {
    font-weight: 500;
}

/* Sharing Grid */
.sharing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.sharing-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.sharing-item:hover {
    transform: translateY(-3px);
}

.sharing-item h5 {
    margin-bottom: 10px;
    font-weight: 600;
}

.sharing-item p {
    margin-bottom: 0;
    color: var(--secondary-color);
}

/* Security Features */
.security-feature {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.security-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.security-feature i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.security-feature h5 {
    margin-bottom: 10px;
    font-weight: 600;
}

.security-feature p {
    margin-bottom: 0;
    color: var(--secondary-color);
}

/* Rights List */
.rights-list {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.right-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.right-item:last-child {
    border-bottom: none;
}

.right-item:hover {
    background: var(--light-bg);
    padding-left: 10px;
    border-radius: 8px;
}

.right-item i {
    font-size: 1.3rem;
    margin-right: 15px;
    width: 25px;
    text-align: center;
}

.right-item span {
    font-weight: 500;
}

/* Deletion Policy */
.deletion-section {
    background: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.deletion-steps {
    padding-left: 20px;
}

.deletion-steps li {
    margin-bottom: 10px;
    font-weight: 500;
}

/* Additional Info */
.additional-info {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.additional-info h3 {
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.additional-info h3:first-child {
    margin-top: 0;
}

/* Contact Info */
.contact-info {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 20px;
    width: 30px;
    text-align: center;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.back-to-top.show {
    display: block;
    animation: fadeInUp 0.3s ease;
}

/* Navbar Enhancements */
.navbar-brand {
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
}

/* Alert Enhancements */
.alert {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .usage-item {
        flex-direction: column;
        text-align: center;
    }
    
    .usage-item i {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item i {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .sharing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .info-card,
    .security-feature,
    .rights-list,
    .deletion-section,
    .additional-info,
    .contact-info {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .back-to-top,
    .btn {
        display: none !important;
    }
    
    .container {
        max-width: none !important;
    }
    
    .bg-gradient {
        background: #333 !important;
        color: white !important;
    }
}