*, *:after, *::before { box-sizing: border-box; }

body {
    margin: 0; padding: 0;
    background: #999 !important;
    font-family: 'roboto', sans-serif;
}

#wrapper {
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
    width: 100%;
}

#login-bg-2 { display: none; } /* Default Hidden */

.center-fit { width: 100%; height: auto; display: block; }

.login-bg-img{
    background-image: url('bg-1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 100vh;
}

.zydus-logo{
    width: 16%;
    position: relative;
    margin: 0 auto;
    padding-top: 5%;
}
#cong-area {
    width: 100%;
    position: absolute;
    top: 0%;
    left: 0%;
}
#win{
    display: none;
}
#lost{
    display: none;
}
.cong-1{
    width: 100%;
    position: relative;
    margin: 0 auto;
    padding-top: 0;
}
.cong-2{
    width: 45%;
    position: relative;
    margin: 0 auto;
    padding-top: 0;
}
.cong-3{
    width: 45%;
    position: relative;
    margin: 0 auto;
    padding-top: 15%;
}
.fluti-logo{
    width: 60%;
    position: relative;
    margin: 0 auto;
    padding-top: 7%;
}
.meta-logo{
    width: 80%;
    position: relative;
    margin: 0 auto;
    padding-top: 3%;
}
/* Form Area Styles */
.form-area {
    position: absolute;
    top: 33%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.drname {
    width: 85%;
    max-width: 650px;
    height: 50px;
    border-radius: 25px;
    font-size: 25px;
    padding: 0 20px;
    margin-bottom: 10px;
    border: solid 1px #B2B3B3;
    background: none;
}

.sub {
    width: 85%;
    max-width: 300px;
    height: 50px;
    border-radius: 25px;
    background-color: #962825;
    color: white;
    border: none;
    font-size: 25px;
    letter-spacing: 5px;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'roboto', sans-serif;
}

.sub:active { background-color: #7f4296; }

/* Question Area Styles */
.q1 {
    width: 80%;
    position: absolute;
    top: 5%;
    left: 10%;
}

.q1-check { width: 100%; display: none; }
#q1 { display: block; }

.q1-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

/* Label & Options */
label {
    position: relative;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s;
}

label img { width: 100%; height: auto; filter: grayscale(100%); }

input[type="radio"] { display: none; }

input:checked + label { opacity: 1; }
input:checked + label img { filter: none; }

/* Text on Buttons */
.q1a1 {
    position: absolute;
    width: 90%;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4vw;
    color: white;
    text-align: center;
    pointer-events: none;
}

.multi-line { line-height: 1.2; }

.btn-next {
    grid-column: span 2;
    margin: 50px auto;
}
.q1-text{
    font-size: 28px;
    text-align: center;
    width: 100%;
    font-family: 'roboto';
    margin: auto 0;
}
.line{
    padding: 50px 0 40px 0;
}
/* --- Responsive Media Queries --- */

.checked-look img{
    filter: grayscale(0%) !important;
  -webkit-filter: grayscale(0%) !important;
  filter: none !important;
  -webkit-filter: none !important;
  }

  .label-1 {
    opacity: 1;
  }

  .blink-img {
    animation: blinker 0.2s linear 4; 
  }

  @keyframes blinker {
    50% { opacity: 0; border-color: red; }
  }

@media (max-width: 768px) {
    .form-area { top: 25%; }
    
    .q1 { width: 95%; left: 2.5%; }
    
    .q1-area {
        grid-template-columns: 1fr; /* Single Column on Mobile */
        gap: 10px;
    }

    .q1a1 {
        font-size: 14px;
    }

    .btn-next {
        grid-column: span 1;
    }
}

/* Custom Offsets from original inline styles moved to classes */

.left-offset { margin-left: 0; }
  @media (max-width: 768px) {
    /* बैकग्राउंड इमेज को मोबाइल पर सही फिट करने के लिए */
    .login-bg-img {
        background-attachment: scroll;
        background-size: cover !important;
        background-position: center top !important;
    }

    /* लोगो साइज मोबाइल के लिए */
    .zydus-logo {
        width: 40% !important;
        padding: 10% 0 !important;
    }

    /* फॉर्म एरिया का स्थान */
    .form-area {
        top: 25% !important;
        position: relative !important;
    }

    /* इनपुट बॉक्स साइज */
    .drname {
        width: 90% !important;
        font-size: 18px !important;
        height: 45px !important;
    }

    /* लॉगिन और नेक्स्ट बटन */
    .sub {
        width: 90% !important;
        font-size: 20px !important;
        letter-spacing: 2px !important;
        margin: 0 auto;
        margin-left: 8%;
    }

    /* सवाल वाला एरिया (Q1) */
    .q1 {
        width: 95% !important;
        left: 2.5% !important;
        position: relative !important;
        top: 0 !important;
        padding-top: 5% !important;
    }

    /* सवाल का टेक्स्ट */
    .q1-text {
        font-size: 16px !important;
        line-height: 1.3 !important;
        padding: 0 10px !important;
    }

    /* डिवाइडर लाइन */
    .line {
        padding: 20px 0 !important;
    }

    /* रेडियो बटन्स को मोबाइल पर एक के नीचे एक करना */
    .q1-area {
        display: block !important;
        margin-top: 0px;
    }

    label {
        width: 100% !important;
        display: block !important;
        margin-bottom: 10px !important;
        left: 0 !important; /* इनलाइन स्टाइल ओवरराइड */
    }

    /* बटन के ऊपर का टेक्स्ट */
    .q1a1 {
        font-size: 13px !important;
        width: 80% !important;
        left: 10% !important;
    }

    /* लोगो और फुटर */
    .fluti-logo, .meta-logo {
        width: 95% !important;
        padding-top: 10% !important;
    }

    /* रिजल्ट पेज */
    .cong-2, .cong-3 {
        width: 80% !important;
    }
}

/* बहुत छोटी स्क्रीन (iPhone SE आदि) के लिए अतिरिक्त सुधार */
@media (max-width: 480px) {
    .q1-text {
        font-size: 14px !important;
    }
    .q1a1 {
        font-size: 15px !important;
        padding-bottom: 8px;
    }
}