/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #ef4444;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --dark-color: #1f2937;
    --light-bg: #f3f4f6;
    --white: #ffffff;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--light-bg);
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

.translate-section {
    margin-top: 1.5rem;
}

.btn-translate {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--white);
}

.btn-translate:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

section {
    margin-bottom: 3rem;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--secondary-color);
}

h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 4rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

.hero-content h2 {
    color: var(--white);
    border-bottom: none;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Content Boxes */
.content-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.content-box p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-box ul {
    list-style-position: inside;
    margin-left: 1rem;
    margin-bottom: 1.5rem;
}

.content-box li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.content-box strong {
    color: var(--primary-color);
}

/* CTA Box */
.cta-box {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 2rem;
    border: 2px solid var(--secondary-color);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}

.btn-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Resource Grid */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.resource-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.resource-card.urgent {
    border-left-color: var(--accent-color);
    background: #fef2f2;
}

.resource-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.resource-card ul {
    list-style: none;
    margin-left: 0;
}

.resource-card li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.resource-card li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.resource-card a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.resource-card a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Support Grid */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.support-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--success-color);
}

.support-card h3 {
    color: var(--success-color);
    margin-top: 0;
}

.support-card ul {
    list-style: none;
    margin-left: 0;
}

.support-card li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.support-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Checklist */
.checklist {
    list-style: none;
    margin-left: 0;
}

.checklist li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.7;
}

.checklist li:before {
    content: "☑";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-size: 1.3rem;
}

.checklist a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.checklist a:hover {
    text-decoration: underline;
}

.resource-links {
    margin-top: 1.5rem;
    text-align: center;
}

.resource-links a {
    display: inline-block;
    background: var(--success-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.resource-links a:hover {
    background: #059669;
    transform: translateY(-2px);
}

/* Disclaimer */
.disclaimer {
    background: #fffbeb;
    border: 2px solid var(--warning-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.disclaimer h3 {
    color: var(--warning-color);
    margin-top: 0;
}

.disclaimer p {
    color: var(--dark-color);
    line-height: 1.7;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
}

.footer-content p {
    margin-bottom: 0.5rem;
}

.small-text {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Links */
a {
    color: var(--secondary-color);
}

a[href^="tel:"] {
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
}

a[href^="tel:"]:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 2rem 1rem;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .btn-translate {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .hero {
        padding: 2.5rem 1.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.6rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    main {
        padding: 1rem 0.75rem;
    }
    
    section {
        margin-bottom: 2rem;
    }
    
    .content-box {
        padding: 1.25rem;
    }
    
    .content-box ul {
        margin-left: 0.5rem;
    }
    
    .cta-box {
        padding: 1.5rem 1rem;
    }
    
    .resource-grid,
    .support-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .resource-card,
    .support-card {
        padding: 1.25rem;
    }
    
    .resource-card h3,
    .support-card h3 {
        font-size: 1.15rem;
    }
    
    .checklist li {
        padding-left: 1.5rem;
        font-size: 0.95rem;
    }
    
    .checklist li:before {
        font-size: 1.1rem;
    }
    
    .resource-links a {
        width: 100%;
        display: block;
        padding: 0.8rem 1rem;
    }
    
    .disclaimer {
        padding: 1.25rem;
    }
    
    footer {
        padding: 1.5rem 1rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    header h1 {
        font-size: 1.75rem;
    }
    
    .tagline {
        font-size: 0.9rem;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    h2 {
        font-size: 1.35rem;
    }
    
    .btn-primary {
        font-size: 0.95rem;
        padding: 0.75rem 1.25rem;
    }
    
    .content-box {
        padding: 1rem;
    }
    
    .resource-card,
    .support-card {
        padding: 1rem;
    }
    
    .resource-card li,
    .support-card li {
        font-size: 0.9rem;
        padding-left: 1.25rem;
    }
}

/* Print Styles */
@media print {
    header {
        background: none;
        color: black;
    }
    
    .hero {
        background: none;
        color: black;
    }
    
    .btn-primary {
        border: 2px solid black;
        background: none;
        color: black;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    .resource-card,
    .support-card,
    .content-box {
        box-shadow: none;
        border: 1px solid black;
    }
}
