body {
    background-color: #f6f9f7;
    font-family: "Segoe UI", sans-serif;
    margin: 0;
    padding: 0;
}

/* Progress Bar */
.assessment-progress {
    height: 10px;
    border-radius: 20px;
    background-color: #dcebe3;
    /* Keeps the progress bar at the top but with some breathing room */
    margin: 10px auto; 
}

#progressBar {
    background-color: #1f7a4d;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Card - Desktop View */
.assessment-card {
    width: 100%;
    max-width: 600px; /* Reduced slightly for better focus */
    margin: 20px auto;
    border-radius: 14px;
    border: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    background-color: #ffffff;
}

/* Buttons */
.option-btn {
    border: 2px solid #1f7a4d;
    color: #1f7a4d;
    background-color: #fff;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.3s;
}

.option-btn:hover, .option-btn:active {
    background-color: #1f7a4d;
    color: #fff;
}

/* MOBILE ADJUSTMENTS (Phones) */
@media (max-width: 767px) {
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }

    .assessment-card {
        width: 100% !important;
        margin-top: 10px;
        border-radius: 12px;
    }

    .card-body {
        padding: 20px !important; /* Proper padding for thumbs */
    }

    #questionTitle {
        font-size: 1.25rem; /* Responsive sizing */
    }

    #questionText {
        /* FIXED: Changed from 196px to a normal size */
        font-size: 1rem; 
        line-height: 1.5;
        margin-bottom: 20px !important;
    }

    .option-btn {
        padding: 15px; /* Larger hit area for fingers */
        font-size: 16px;
    }
}



.result-card{
    max-width:650px;
    margin:auto;
    padding:40px;
    border-radius:20px;
    background:#ffffff;
    box-shadow:0 15px 40px rgba(0,0,0,0.1);
    text-align:center;
    animation:fadeIn 0.6s ease-in-out;
}

.result-title{
    font-weight:700;
    color:#1f7a4d;
    margin-bottom:20px;
}

.result-text{
    color:#555;
    font-size:16px;
    font-weight:600;
    line-height:1.7;
}

.score-box{
    margin-top:25px;
    padding:15px;
    border-radius:10px;
    background:#f3f7f5;
    font-size:20px;
    font-weight:600;
    color:#1f7a4d;
}

.consult-btn{
    background:#1f7a4d;
    color:#fff;
    padding:12px 40px;
    border:none;
    border-radius:30px;
    font-size:16px;
    font-weight:600;
    transition:0.3s;
}

.consult-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(0,0,0,0.15);
}

@keyframes fadeIn{
    from{opacity:0;transform:translateY(20px);}
    to{opacity:1;transform:translateY(0);}
}

.score-message {
    margin-top: 10px;
    font-size: 15px;
    color: #4a4a4a;
    line-height: 1.6;
    text-align: center;
}


/* Result themes 
.theme-success {
    border-top: 6px solid #28a745;
}
.theme-success .result-title,
.theme-success .score-box {
    color: #28a745;
    background: #eaf7ef;
}

.theme-warning {
    border-top: 6px solid #f0ad4e;
}
.theme-warning .result-title,
.theme-warning .score-box {
    color: #f0ad4e;
    background: #fff6e5;
}

.theme-danger {
    border-top: 6px solid #dc3545;
}
.theme-danger .result-title,
.theme-danger .score-box {
    color: #dc3545;
    background: #fdeaea;
}

*/