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

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f4f6f8;
    color: #333;
    line-height: 1.6;
}

/* Container */
.container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 40px;
}

/* Header */
header {
    background: linear-gradient(90deg, #4a90e2, #357ABD);
    color: white;
    text-align: center;
    padding: 30px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2rem;
    letter-spacing: 1px;
}

/* Category headings */
.category-heading {
    margin-top: 50px;
    margin-bottom: 20px;
    border-bottom: 3px solid #357ABD;
    padding-bottom: 8px;
    font-size: 1.5rem;
    color: #357ABD;
}

/* Questions */
.question {
    background: white;
    padding: 20px 25px;
    margin-bottom: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.question:hover {
    transform: translateY(-2px);
}

.question h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Options */
label {
    display: block;
    margin-bottom: 12px;
    font-size: 1rem;
    cursor: pointer;
}

input[type="radio"] {
    margin-right: 10px;
    accent-color: #357ABD;
}

/* Buttons */
.btn {
    background: #357ABD;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s, transform 0.2s;
}

.btn:hover {
    background: #4a90e2;
    transform: translateY(-2px);
}

/* Results */
.results {
    margin-top: 25px;
    padding: 20px;
    background: #e8f0fe;
    border-left: 5px solid #357ABD;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #222;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

/* Scrollable main */
main {
    flex: 1;
    padding: 40px 0;
}