/* Policy Pages Styles */
.policy-navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.policy-navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.policy-navbar .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.policy-navbar .logo i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-links .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all var(--transition-speed) ease;
}

.nav-links .nav-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Policy Main Content */
.policy-main {
    min-height: calc(100vh - 200px);
    padding: 3rem 0;
    background: var(--bg-color);
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.policy-content h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    text-align: center;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 1rem;
    line-height: 1.2;
}

.policy-date {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-color);
}

.policy-section h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.policy-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: left;
}

.policy-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-section li {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.policy-section strong {
    color: var(--text-color);
    font-weight: 600;
}

.policy-section a {
    color: var(--primary-color);
    text-decoration: underline;
}

.policy-section a:hover {
    color: var(--secondary-color);
}

/* Policy Footer */
.policy-footer {
    background: var(--text-color);
    color: var(--white);
    padding: 2rem 0;
    margin-top: 3rem;
}

.policy-footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.policy-footer .footer-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.policy-footer .footer-links {
    display: flex;
    gap: 1rem;
}

.policy-footer .footer-links a {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
}

.policy-footer .footer-links a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Table of Contents (if needed) */
.toc {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.toc h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.toc ul {
    list-style: none;
    margin-left: 0;
}

.toc li {
    margin-bottom: 0.5rem;
}

.toc a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
    transition: color var(--transition-speed) ease;
}

.toc a:hover {
    color: var(--primary-color);
}

/* Highlight important sections */
.highlight-box {
    background: var(--warning);
    color: var(--text-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
    border-left: 4px solid var(--accent-color);
}

.highlight-box p {
    margin-bottom: 0;
    font-weight: 500;
}

/* Contact information styling */
.contact-info-box {
    background: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.contact-info-box h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-info-box ul {
    list-style: none;
    margin-left: 0;
}

.contact-info-box li {
    margin-bottom: 0.5rem;
    color: var(--white);
}

.contact-info-box a {
    color: var(--white);
    text-decoration: underline;
}

.contact-info-box a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .policy-container {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .policy-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .policy-section h2 {
        font-size: 1.3rem;
        text-align: left;
    }
    
    .policy-section h3 {
        text-align: left;
    }
    
    .policy-section p {
        text-align: left;
        hyphens: auto;
        word-wrap: break-word;
    }
    
    .policy-footer .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .policy-footer .footer-links {
        justify-content: center;
    }
    
    .nav-links .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .policy-navbar .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .policy-container {
        padding: 1.5rem 1rem;
    }
    
    .policy-content h1 {
        font-size: 1.75rem;
    }
    
    .policy-section h2 {
        font-size: 1.2rem;
    }
    
    .policy-section h3 {
        font-size: 1.1rem;
    }
}

/* Print styles for policies */
@media print {
    .policy-navbar,
    .policy-footer {
        display: none;
    }
    
    .policy-main {
        padding: 0;
        background: white;
    }
    
    .policy-container {
        box-shadow: none;
        padding: 1rem;
        margin: 0;
    }
    
    .policy-content h1 {
        border-bottom: 2px solid black;
        color: black;
    }
    
    .policy-section h2 {
        color: black;
        border-bottom: 1px solid black;
    }
    
    .policy-section p,
    .policy-section li {
        color: black;
    }
    
    .policy-section a {
        color: black;
        text-decoration: underline;
    }
    
    .highlight-box {
        background: #f0f0f0;
        border: 1px solid black;
        color: black;
    }
    
    .contact-info-box {
        background: #f0f0f0;
        border: 1px solid black;
        color: black;
    }
    
    .contact-info-box h4 {
        color: black;
    }
    
    .contact-info-box li {
        color: black;
    }
}

/* Accessibility improvements */
.policy-content {
    line-height: 1.6;
}

.policy-section h2:focus,
.policy-section h3:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    border-radius: var(--border-radius);
    z-index: 1000;
    transition: top var(--transition-speed) ease;
}

.skip-to-content:focus {
    top: 6px;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Section anchors */
.policy-section {
    scroll-margin-top: 2rem;
}

/* Back to top for long policy pages */
.policy-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-speed) ease;
    z-index: 1000;
}

.policy-back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.policy-back-to-top.show {
    display: flex;
}

/* Last updated indicator */
.last-updated {
    background: var(--bg-color);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.last-updated strong {
    color: var(--primary-color);
}

/* Important notice styling */
.important-notice {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin: 1rem 0;
}

.important-notice h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.important-notice p {
    color: var(--text-color);
    margin-bottom: 0;
    font-weight: 500;
} 