:root {
    --primary: #4a6fa5;
    --secondary: #166088;
    --accent: #4fc3f7;
    --light: #f8f9fa;
    --dark: #343a40;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e1e4e8;
}

h1 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.intro-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.disorder-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.disorder-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    width: 100%;
    max-width: 240px;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.disorder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.disorder-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.disorder-card.depression {
    border-top: 4px solid #5e72e4;
}

.disorder-card.anxiety {
    border-top: 4px solid #f5365c;
}

.disorder-card.stress {
    border-top: 4px solid #2dce89;
}

.assessment-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.question-container {
    margin-bottom: 2rem;
}

.question {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.option {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border: 1px solid #e1e4e8;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.option:hover {
    background-color: #f8f9fa;
    border-color: var(--accent);
}

.option input {
    margin-right: 0.75rem;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.btn:hover {
    background-color: var(--secondary);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.result-container {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.result-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.result-score {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.severity {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 1rem;
}

.severity.normal {
    background-color: #d4edda;
    color: #155724;
}

.severity.mild {
    background-color: #fff3cd;
    color: #856404;
}

.severity.moderate {
    background-color: #ffe8cc;
    color: #cc5c00;
}

.severity.severe {
    background-color: #f8d7da;
    color: #721c24;
}

.severity.extreme {
    background-color: #dc3545;
    color: white;
}

.progress-container {
    width: 100%;
    background-color: #e9ecef;
    border-radius: 5px;
    margin: 1rem 0;
    height: 10px;
}

.progress-bar {
    height: 100%;
    border-radius: 5px;
    background-color: var(--primary);
}

.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid #e1e4e8;
    color: #6c757d;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .disorder-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .disorder-card {
        max-width: 100%;
    }
}