/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    border-radius: 0 0 20px 20px;
    margin-bottom: 2rem;
    position: relative;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

.last-updated {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 1rem;
}

/* Navigation */
nav {
    position: absolute;
    top: 20px;
    left: 20px;
}

.back-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-block;
}

.back-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Main Content */
main {
    flex: 1;
    padding: 2rem 0;
}

.welcome-section {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.welcome-section h2 {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.welcome-section p {
    font-size: 1.1rem;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto;
}

/* Policy Grid */
.policies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.policy-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.policy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.policy-card h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.policy-card p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Policy Content */
.policy-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.policy-content section {
    margin-bottom: 2.5rem;
}

.policy-content h2 {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.policy-content h3 {
    font-size: 1.3rem;
    color: #4a5568;
    margin: 1.5rem 0 1rem 0;
}

.policy-content p {
    margin-bottom: 1rem;
    color: #4a5568;
    line-height: 1.7;
}

.policy-content ul, .policy-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
    color: #4a5568;
    line-height: 1.6;
}

.policy-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.policy-content a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Footer */
footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 2rem 0;
    border-radius: 20px 20px 0 0;
    margin-top: 2rem;
}

footer p {
    margin-bottom: 0.5rem;
}

footer a {
    color: #81e6d9;
    text-decoration: none;
}

footer a:hover {
    color: #4fd1c7;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    header {
        padding: 2rem 0;
        margin: 0 -15px 2rem -15px;
        border-radius: 0;
    }
    
    header h1 {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    nav {
        position: static;
        text-align: left;
        margin-bottom: 1rem;
    }
    
    .welcome-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .welcome-section h2 {
        font-size: 2rem;
    }
    
    .policies-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .policy-card {
        padding: 1.5rem;
    }
    
    .policy-content {
        padding: 2rem 1.5rem;
    }
    
    .policy-content h2 {
        font-size: 1.5rem;
    }
    
    footer {
        margin: 2rem -15px 0 -15px;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    .welcome-section h2 {
        font-size: 1.6rem;
    }
    
    .policy-content {
        padding: 1.5rem 1rem;
    }
    
    .policy-content ul, .policy-content ol {
        margin-left: 1.5rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.policy-card, .welcome-section, .policy-content {
    animation: fadeInUp 0.6s ease-out;
}

/* Print Styles */
@media print {
    body {
        background: white;
    }
    
    header {
        background: #333 !important;
        -webkit-print-color-adjust: exact;
    }
    
    .back-link {
        display: none;
    }
    
    .policy-card:hover, .btn:hover {
        transform: none;
        box-shadow: none;
    }
}
