body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align at the top */
    min-height: 100vh;
    padding-top: 20px;
    padding-bottom: 20px;
    box-sizing: border-box;
}

.container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 800px;
    width: 90%;
    text-align: center;
    box-sizing: border-box;
    margin-bottom: 20px; /* Space before footer */
}

header h1 {
    color: #007bff;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 2.5em;
}

.subtitle {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 30px;
}

section {
    margin-bottom: 30px;
}

.hidden {
    display: none;
}

.btn-primary {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
    margin-top: 20px;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
}

.btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

h2 {
    color: #333;
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 2em;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.question-group {
    text-align: left;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: inset 0 1px 5px rgba(0,0,0,0.05);
}

.question-group p {
    font-weight: 600;
    margin-bottom: 15px;
    color: #444;
    font-size: 1.1em;
}

.question-group label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 0.95em;
    color: #555;
    transition: color 0.2s ease;
}

.question-group label:hover {
    color: #007bff;
}

.question-group input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.1);
}

input[type="number"] {
    width: calc(100% - 22px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    margin-top: 10px;
}

.result-box {
    background-color: #e9f7ff;
    border: 1px solid #cceeff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    color: #0056b3;
    font-weight: 600;
}

.reflection-box {
    background-color: #fff8e1;
    border: 1px solid #ffe082;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 1.05em;
    color: #e65100;
}

.disclaimer {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    text-align: left;
    color: #555;
}

.disclaimer h3 {
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.disclaimer ul {
    list-style: disc;
    margin-left: 20px;
    padding-left: 0;
}

.disclaimer ul li {
    margin-bottom: 8px;
}

.footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #777;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
        width: 95%;
    }
    header h1 {
        font-size: 1.8em;
    }
    .btn-primary {
        padding: 10px 20px;
        font-size: 1em;
    }
}
