.maarga-outer-wrapper {
    padding-bottom: 0%;
}

.maarga-outer-wrapper ul {
    padding-top: 1%;
}

.maarga-outer-wrapper ul li {
    padding-left: 1.5%;
    margin-bottom: 1%;
}

.maarga-outer-wrapper ul li span {
    color: #3C4196;
    font-weight: 600;
}

.maarga-outer-wrapper ul li::after {
    background-color: #3C4196;
}

.body-nav-fixed-menu-top section.hp-sec5.footer-block-mmaarga-all {
    margin-top: 4% !important;
}

.maarga-outer-wrapper h1 {
    margin-left: 0%;
    font-size: 2.1vw;
    text-align: left;
}

.maarga-outer-wrapper h1::after {
    display: block !important;
}

section#bangalore-marga-faq {
    padding-top: 3%;
    margin-top: 3%;
}

.accordion-item.faq-item.mb-3 .accordion-header {
    top: 0.2vw;
}

span.faq-icon.ms-auto {
    position: absolute;
    top: -0.25vw;
    right: 3%;
    width: 1.6vw;
}

.calc-container {
    max-width: 80%;
    margin: 3% auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.calc-container h2 {
    margin: 0;
    font-size: 2.1vw;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calc-container p {
    margin: 10px 0 0;
    opacity: 0.9;
    font-size: 1.1vw;
}

.calc-container .header {
    margin-left: 0%;
    margin-top: 0%;
    margin-bottom: 0%;
}

.brand-accent {
    height: 8px;
    background-color: var(--maarga-yellow);
}

.form-content {
    padding: 30px;
}

.question-card {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.severity-tag {
    font-size: 1.2vw;
    font-weight: bold;
    margin-bottom: 1%;
    display: inline-block;
    padding: 1% 2%;
    border-radius: 50px;
    background-color: #fcda17 !important;
}

.question-title {
    font-weight: 700;
    color: #3C4196;
    margin-bottom: 12px;
    display: block;
    font-size: 1.3vw;
}

.option-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.option-item:hover {
    background-color: #f1f2f8;
    color: #3C4196;
}

input[type="radio"] {
    margin-right: 12px;
    accent-color: #3C4196;
    transform: scale(1.2);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ccc;
  border-top: 4px solid #F37021;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: auto;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}
.form-loader {
    position: fixed;
    top: -2%;
    left: 0%;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 101%;
    z-index: 11111;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.calculate-btn {
    background-color: #fcda17;
    color: #3C4196;
    border: none;
    width: 100%;
    padding: 20px;
    font-size: 1.2vw;
    font-weight: 800;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    transition: transform 0.2s, background-color 0.2s;
}

.calculate-btn:hover {
    background-color: #fcda17;
    transform: translateY(-2px);
}

/* Results Section */
#results-box {
    display: none;
    margin-top: 3%;
    padding: 3%;
    border-radius: 10px;
    text-align: center;
    animation: fadeIn 0.5s;
}

.score-val {
    font-size: 2.5vw;
    font-weight: 900;
    color: #3C4196;
    margin-bottom: 5px;
}

.severity-tag {
    font-size: 1.2vw;
    font-weight: bold;
    margin-bottom: 1%;
    display: inline-block;
    padding: 1% 2%;
    border-radius: 50px;
}

.calc-container .header {
    background-color: #3C4196;
    color: white;
    padding: 3% 2%;
    text-align: center;
    border-bottom: 9px solid #F4D711;
}

.calc-container .header h2::after {
    display: none;
}


.calc-container .header h2 {
    color: #fff;
}

.calc-container .header p {
    color: #fff;
    font-size: 1.2vw;
    text-align: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#mht-test-online footer {
    text-align: center;
    padding: 30px;
    font-size: 1.1vw;
    color: #777;
}



#mht-test-online .assessment-card {
    max-width: 80%;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(60, 65, 150, 0.1);
    border: 1px solid #e1e1e1;
}

#mht-test-online .header {
    background-color: #3C4196;
    color: white;
    padding: 5%;
    text-align: center;
}

#mht-test-online .header h2 {
    margin: 0;
    font-size: 2.1vw;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}

#mht-test-online .header h2::after {
    display: none;
}

#mht-test-online .brand-stripe {
    height: 8px;
    background-color: #F4D711;
}

#mht-test-online .content {
    padding: 3%;
}

#mht-test-online .instruction-text {
    background-color: #fcf8e3;
    border-left: 5px solid #F4D711;
    padding: 1.5%;
    margin-bottom: 3%;
    font-weight: 500;
}

#mht-test-online .question-row {
    margin-bottom: 3%;
    padding-bottom: 2%;
    border-bottom: 1px solid #eee;
}

#mht-test-online .question-text {
    font-weight: bold;
    display: block;
    margin-bottom: 2%;
    color: #3C4196;
}

#mht-test-online .options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}

#mht-test-online .option-label {
    display: flex;
    align-items: center;
    padding: 1.5%;
    background: #f9f9f9;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.2vw;
    font-weight: 500;
}

#mht-test-online .option-label:hover {
    background: #f0f1f8;
}

h2#severity-label::after {
    display: none;
}

#mht-test-online input[type="radio"] {
    margin-right: 2%;
    margin-top: 0%;
    margin-left: 1%;
    transform: scale(1.2);
    accent-color: #3C4196;
}

/* Highlight selected state via JS if needed, but CSS handles focus */
#mht-test-online input[type="radio"]:checked+span {
    font-weight: bold;
}

#mht-test-online .submit-btn {
    background-color: #F4D711;
    color: #3C4196;
    border: none;
    padding: 20px;
    width: 100%;
    font-size: 1.2vw;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.2s, background-color 0.2s;
    margin-top: 2%;
}

#mht-test-online .submit-btn:hover {
    background-color: #e5c515;
    transform: translateY(-2px);
}

#mht-test-online #result-area {
    display: none;
    margin-top: 3%;
    padding: 2.5%;
    border-radius: 10px;
    text-align: center;
}

#mht-test-online .score-circle {
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: #3C4196;
    color: white;
    font-size: 2vw;
    font-weight: bold;
    margin-bottom: 15px;
}

#mht-test-online .urgent-alert {
    background: #F4D711;
    color: white;
    padding: 2%;
    border-radius: 5px;
    margin-top: 2%;
    font-weight: bold;
    display: none;
}

div#test-book-popup {
    position: fixed;
    top: 0px;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1111;
    height: 100vh;
    overflow: auto;
    display: none;
}

div#test-book-popup .banner-appointment-form-wrapper label {
    font-size: 1.2vw;
    margin-bottom: 3px;
    margin-top: 3%;
    padding-left: 0px;
}

div#test-book-popup .container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

div#test-book-popup .austim-prf-wrapper {
    margin-top: auto;
    width: 50%;
}

.banner-appointment-form-wrapper label {
    font-size: 1.2vw;
}

@media(max-width: 992px) and (min-width: 767px) {
    div#header a.book-btn {
        font-size: 1.4vw !important;
    }

    .banner-appointment-form-wrapper label {
        font-size: 1.2vw;
    }

    .maarga-outer-wrapper h1 {
        font-size: 2.7vw;
    }

    .maarga-outer-wrapper h2 {
        font-size: 2.7vw;
    }

    .maarga-outer-wrapper ul li {
        padding-left: 2.5%;
    }

    .footer-slogan {
        font-size: 1.6vw !important;
        padding: 10px 20px;
    }

    #bangalore-marga-faq .accordion-button {
        padding-bottom: 1.5%;
        font-family: 'Lato';
        width: 90%;
        text-align: left;
        font-size: 1.6vw;
        padding-top: 1%;
    }

    span.faq-icon.ms-auto {
        position: absolute;
        top: 0.3vw;
        right: 3%;
        width: 2.2vw;
    }

    .hp-sec5 .our-commitments1 .row .col-12.col-lg-6:last-child {
        width: 40% !important;
    }

    #bangalore-marga-faq .accordion-body {
        padding: 3% 4%;
        padding-top: 2%;
        min-height: auto;
        line-height: 1.2;
    }

    #bangalore-marga-faq .accordion-item.faq-item.mb-3 {
        border-radius: 20px !important;
    }

    .calc-container .header p {
        font-size: 1.6vw;
    }

    .calc-container .header h2 {
        color: #fff;
        font-size: 2.5vw;
    }

    .question-title {
        font-size: 2vw;
    }

    .option-item {
        font-size: 1.6vw;
    }

    #mht-test-online .option-label {
        font-size: 2vw;
    }

    #mht-test-online .submit-btn {
        font-size: 2vw;
    }
}


@media (max-width: 767px) {
    .maarga-outer-wrapper h1 {
        margin-left: 0%;
        font-size: 6vw;
        text-align: center;
        padding-top: 0%;
    }

    .maarga-outer-wrapper ul li {
        padding-left: 5.5%;
        margin-bottom: 1%;
    }

    span.faq-icon.ms-auto {
        position: absolute;
        top: 2vw;
        right: 5%;
        width: 5.2vw;
    }


    .calc-container .header p {
        font-size: 4vw;
    }

    .calc-container .header h2 {
        color: #fff;
        font-size: 6vw;
    }

    .question-title {
        font-size: 4vw;
    }

    .option-item {
        font-size: 4vw;
    }

    .calc-container {
        max-width: 100%;
        margin: 8% auto;
    }

    #mht-test-online .header h2 {
        font-size: 5vw;
    }

    #mht-test-online .assessment-card {
        max-width: 100%;
        margin: 7% auto;
    }

    #mht-test-online .option-label {
        font-size: 4vw;
    }

    #mht-test-online .submit-btn {
        padding: 5%;
        width: 100%;
        font-size: 4vw;
    }

    #mht-test-online .content {
        padding: 5%;
    }

    #mht-test-online .instruction-text {
        border-left: 5px solid #F4D711;
        padding: 3.5%;
        margin-bottom: 8%;
    }

    #mht-test-online input[type="radio"] {
        margin-right: 3%;
    }

    div#test-book-popup .austim-prf-wrapper {
        margin-top: auto;
        width: 100%;
    }

    div#test-book-popup .banner-appointment-form-wrapper label {
        font-size: 4.5vw;
    }

    .banner-appointment-form-wrapper label {
        font-size: 4.5vw;
    }
}

@media (min-width: 767px) {
    #bangalore-marga-faq span.fw-bold {
        padding-right: 0%;
    }
}


@media (max-width: 992px) and (min-width: 767px) {
    #bangalore-marga-faq .accordion-button {
        top: 0.3vw !important;
    }
    span.faq-icon.ms-auto {
        top: -0.3vw !important;
    }
}




@media (max-width: 767px) {
    #mht-banner {
        position: relative;
    }
section#mht-banner::after {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    left: 0pc;
    top: 0px;
    background-color: rgba(0, 0, 0, 0.5);
    background-position: center;
    background-size: 100% 100%;
    display: block !important;
}
    .maarga-outer-wrapper h1 {
        text-align: left ! IMPORTANT;
    }
.calculate-btn {
    font-size: 4vw;
}
}