* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

nav {
    background: #ffffff;
    padding: 1.8rem 10rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    color: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    font-size: 1.5rem;
    font-weight: 700;
}

.back-btn {
    color: #ffffff;
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-3px);
}

.back-btn i {
    font-size: 0.9rem;
}

.policy-container {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
    flex: 1;
}

.policy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid #1e293b;
}

.policy-header h1 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.last-updated {
    color: #64748b;
    font-size: 0.95rem;
    font-style: italic;
}

.policy-content {
    background: rgb(248, 249, 250);
    padding: 2rem;
    
    
}

.policy-content section {
    margin-bottom: 2.5rem;
    animation: fadeIn 0.6s ease-in;
}

.policy-content section:last-child {
    margin-bottom: 0;
}

.policy-content h2 {
    color: #1e293b;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    padding-left: 1rem;
    border-left: 4px solid;
}

.policy-content p {
    color: #475569;
    margin-bottom: 1rem;
    text-align: justify;
}

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

.policy-content li {
    color: #475569;
    margin-bottom: 0.7rem;
    padding-left: 0.5rem;
}

.policy-content li strong {
    color: #1e293b;
    font-weight: 600;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

footer {
    background: #1e293b;
    color: #ffffff;
    padding: 2rem 5rem;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #60a5fa;
}

.footer-links span {
    color: #64748b;
}

/* Tablet Responsive */
@media (max-width: 768px) {
    nav {
        padding: 1rem 2rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .back-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .policy-container {
        margin: 2rem auto;
        padding: 0 1.5rem;
    }

    .policy-header h1 {
        font-size: 2rem;
    }

    .policy-content {
        padding: 2rem;
    }

    .policy-content h2 {
        font-size: 1.3rem;
    }

    footer {
        padding: 1.5rem 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    nav {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .logo {
        font-size: 1.1rem;
    }

    .back-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        width: 100%;
        justify-content: center;
    }

    .policy-container {
        margin: 1.5rem auto;
        padding: 0 1rem;
    }

    .policy-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .policy-header h1 {
        font-size: 1.6rem;
    }

    .last-updated {
        font-size: 0.85rem;
    }

    .policy-content {
        padding: 1.5rem;
    }

    .policy-content h2 {
        font-size: 1.1rem;
        padding-left: 0.7rem;
    }

    .policy-content p,
    .policy-content li {
        font-size: 0.9rem;
        text-align: left;
    }

    .policy-content ul {
        margin-left: 1.5rem;
    }

    footer {
        padding: 1.5rem 1rem;
    }

    .footer-content p,
    .footer-links a {
        font-size: 0.8rem;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Scroll to top button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    z-index: 1000;
}

.scroll-top-btn.show {
    opacity: 1;
    transform: translateY(-100px);
}

.scroll-top-btn:hover {
    background: #2563eb;
    transform: translateY(-110px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.scroll-top-btn:active {
    transform: translateY(-90px);
}

/* Print styles */
@media print {
    nav,
    footer,
    .scroll-top-btn,
    .back-btn {
        display: none;
    }

    body {
        background: white;
    }

    .policy-content {
        box-shadow: none;
        padding: 0;
    }

    .policy-header h1 {
        color: black;
    }
}