@import url('https://fonts.googleapis.com/css2?family=Darker+Grotesque:wght@300..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: "Darker Grotesque", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    background-size: cover;
    background-position: top;
}

.IntroPage .IntroPageImg {
    background-image: url('./tmp_imgs/intro.webp');
    background-size: cover;
    background-position: bottom;
    height: 100vh;
}

.IntroText .MainHeading {
    font-family: "Darker Grotesque", sans-serif;
    font-weight: 700;
    font-size: 55px;
    color: #001632;
    line-height: 0.9em;
    letter-spacing: 1.4px;
    margin: 0 0 50px 50px;
}

.IntroPage .IntroPageTxt {
    height: 100vh; 
}

.IntroPage .formFooter {
    margin: 50px 0 0 0;
}

.sectionCaption,
.IntroPage .col-md-9 {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.formWrapper {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3.5em;
    padding: 20px;
}

.row {
    margin: 0 !important;
}

.IntroText .subHeading {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    font-family: "Noto Sans", sans-serif;
    letter-spacing: normal;
    color: #32354F;
    text-align: center;
    margin: 0 40px 0 40px;
}

.btn-nxtprev-next {
    background-color: #2b3990 !important;
    color: white !important;
    border-color: transparent !important
}

.btn-nxtprev {
    display: initial !important;
    font-size: 13px !important;
    width: 150px;
    text-transform: uppercase;
    padding: 10px 8px !important;
    text-align: center;
    cursor: pointer;
    text-wrap: nowrap;
    border-color: transparent !important;
}

.btn {
    color: #FFF;
    transition: all 0.3s;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1.3px;
    background: #ffffff80;
}

.btn:hover {
    color: #ffffff !important;
    font-weight: 500;
}

.btn-nxtprev::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: all 0.3s;
    border-top-width: 2px;
    border-bottom-width: 2px;
    border-top-style: solid;
    border-bottom-style: solid;
    border-top-color: rgba(255, 255, 255, 0.8);
    border-bottom-color: rgba(255, 255, 255, 0.8);
    transform: scale(0.1, 1);
}

.btn-nxtprev:hover span {
    letter-spacing: 2px;
}

.btn-nxtprev:hover::before {
    opacity: 1;
    color: #df255d !important;

}

.btn-nxtprev::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: all 0.3s;
    background-color: rgba(8, 63, 20, 0.1);
}

.btn-primary,
.btn-default {
    color: #fff !important;
    background-color: #2b3990 !important;
    border-color: #2b3990 !important;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    font-size: 16px !important;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-default:hover,
.btn-default:active,
.btn-default:focus {
    color: #fff !important;
    background-color: #2033c5 !important;
    border-color: transparent !important;
    outline: none !important;
}

.btn-nxtprev-prev {
    background-color: #2b2b2b !important;
    border-color: transparent !important;
    color: white !important
}

.btn-nxtprev:focus {
    outline: none !important;
}

.FormIntroText .MainHeading {
    font-family: "Darker Grotesque", sans-serif;
    font-weight: 700;
    font-size: 60px;
    color: #32354F;
    margin-bottom: 20px;
    line-height: 0.9em;
}

.FormIntroText .subHeading {
    font-size: 20px;
    font-weight: 300;
    font-family: "Noto Sans", sans-serif;
    color: #32354F;
}

.FormIntroText {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content:center ;
    text-align: left;
    height: 100vh;
}

.required {
    color: red;
    font-size: 12px;
} 


.footer {
    position: absolute;
    left: 0;
    top: 15px;
    width: 100%;
    background-color: #2b39900c;
    color: white;
    text-align: center;
    padding: 10px;
}


.pinktext {
    color: #df255d;
}

.input-container,
.radio-container {
    margin-top: 60px;
}

.formFooter {
    display: flex;
    justify-content: flex-start !important;
    margin: 50px 0 0 0;
}

.form .formFooter .btn {
    margin: 0 10px 0 0;
}

.btn-one {
    padding: 15px 12px !important;
    line-height: 50px;
    font-weight: 800;
    height: 40px;
    text-align: center;
    width: 250px;
    cursor: default;
    text-transform: uppercase;
    text-wrap: nowrap;
    color: black !important;
}

.btn-one:hover {
    color: #df255d !important;
    font-weight: 800;
    background: transparent;
}

.btn-one.left {
    margin-right: auto;
}

.btn-one.right {
    margin-left: auto;
}

.btn-one span {
    transition: all 0.3s;
}

.btn-one::before {
    content: '';
    position: absolute;
    color: #df255d;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: all 0.3s;
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-top-style: solid;
    border-bottom-style: solid;
    border-top-color: #df255d;
    border-bottom-color: #df255d;
    transform: scale(0.1, 1);
}

.btn-one:hover span {
    letter-spacing: 2px;
}

.btn-one:hover::before {
    opacity: 1;
    transform: scale(1, 1);
    color: #df255d !important;
}

.btn-one::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: all 0.3s;
    background-color: rgba(255, 255, 255, 0.4);
}

.btn-one:hover::after {
    opacity: 0;
    transform: scale(0.1, 1);
}

.sectionCaption {
    height: 100vh !important;
}

.input-container {
    position: relative;
}

.progressbar {
    height: 6px;
    background-color: #df255d;
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    transition: width 0.3s ease;
    display: flex;
    justify-content: center;
}

.progress-label {
    color:#fff;
    position: relative;
    font-size: 0.75em;
    font-weight: 700;
}

.progressbar {
    height: 15px;
    background-color: #ddd;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 0;
    transition: width 0.3s ease;
    z-index: 999;
  }
  
  .progressbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   background-color: #df255d;
    background-size: 30px 100%;
    animation: progress 2s linear infinite;
  }
  
  @keyframes progress {
    0% {
      background-position: 0 0;
    }
    100% {
      background-position: 40px 0;
    }
  }

  .input-field {
    width: 500px;
    padding: 10px;
    box-sizing: border-box;
    background: none;
    outline: none;
    resize: none;
    border: 0;
    transition: border-bottom .3s;
    border-bottom: 2px solid #32354F;
    color: #32354F;
    font-size: 16px;
}

.input-placeholder {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-70%);
    transition: top 0.3s ease-in-out, opacity 0.3s ease-in-out;
    pointer-events: none;
    opacity: 0.6;
    font-weight: 600;
    color: #32354F;
    font-family: "Noto Sans", sans-serif;
    font-size: 24px;
}

.input-field:focus+.input-placeholder,
.input-field:not(:placeholder-shown)+.input-placeholder {
    top: 0;
    opacity: 0.8;
}

.formContainer .body {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start; 
    flex-direction: column;
}


.radio-option label {
    font-weight: 300;
    font-size: 16px;
}


.radioLabel {
    font-weight: 300;
    color: #32354F;
    text-align: center;
    margin: 0 auto;
    font-size: 28px;
    font-weight: 600;
    font-family: "Noto Sans", sans-serif;
}

.radio-option label {
    font-weight: 600;
    font-size: 18px;
}

.multiForm .row {
    margin-top: 5px;
}

.multiForm label {
    width: auto;
    display: inline-block;
    text-wrap: nowrap;
}

.multiForm p {
    font-size: 16px;
    color: #32354F;
    font-weight: 300;
    text-align: left;
}

.multiForm .radio-options {
    display: flex;
    align-items: center;
}

.multiForm .radio-option {
    margin-right: 10px;
}

.multiForm .radio-option:last-child {
    margin-right: 0;
}

.multiForm input.radio:empty~label {
    line-height: 0.9;
    padding: 0.5em 1em 0.5em 2.5em;
}

.multiForm input.radio:empty~label:before {
    width: 1.7em;
}

.multiForm input.radio:hover:not(:checked)~label:before {
    padding-top: 0.5em;
}

.multiForm input.radio:hover:not(:checked)~label {
    padding-top: 0.5em;
}

.multiForm input.radio:checked~label:before {
    text-indent: .3em;
    padding-top: 0.5em;
}

.multiForm input.radio:hover:not(:checked)~label:before {
    text-indent: .3em;
}

label {
    width: 640px;
    border-radius: 3px;
    border: 1px solid #9c9b9bcb;
    background: #9c9b9bcb;
    background: -webkit-linear-gradient(left, #706f6fcb, #9c9b9bcb);
    background: -o-linear-gradient(right, #9c9b9bcb, #9c9b9bcb);
    background: -moz-linear-gradient(right, #9c9b9bcb, #9c9b9bcb);
    background: linear-gradient(to right, #9c9b9bcb, #9c9b9bcb);
}


input.radio:empty {
    margin-left: -1920px;
}


input.radio:empty~label {
    position: relative;
    line-height: 1.2;
    padding: 0.5em 3.25em;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #ffffff;
    font-weight: 600;
}

input.radio:empty~label:before {
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    content: '';
    width: 2.5em;
    background: #929191cb;;
    border-radius: 3px 0 0 3px;
}

input.radio:hover:not(:checked)~label:before {
    content: '\2714';
    text-indent: .1em;
    color: #fff;
    padding-top: 0.5em;
}

input.radio:hover:not(:checked)~label {
    color: #FFF !important;
    background-color: #65b7cc;
    padding-top: 0.5em;
}

input.radio:checked~label:before {
    content: '\2714';
    text-indent: .1em;
    color: #FFF;
    font-weight: 700;
    background-color: #65b7cc !important;
    padding-top: 0.5em;
    border: transparent;
}

input.radio:checked~label {
    color: #FFF;
    background: #65b7cc;;
    border-color: #65b7cc; 
}

.error-message {
    color: red;
    margin-top: 10px;
    /* position: absolute */
}

textarea.input-field {
    padding: 0 30px 50px 0 !important;
    margin-top: 21px !important;
    width: 600px;
    box-sizing: border-box;
    background: none;
    outline: none;
    resize: none;
    border: 0;
    transition: border-bottom .3s;
    border-bottom: 2px solid #32354F;
    color: #32354F;
    font-size: 16px;
}

hr {
    border: none;
    height: 1.2px;
    background: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
    margin: 20px 0;
    width: 150px;
    text-align: center;
    margin: 20px auto 20px;
}

.radio-container hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
    width: 35px;
    text-align: center;
    margin: 5px auto;
}

.btn,
label {
    font-family: "Noto Sans", sans-serif;
}

.multiForm p {
    font-family: "Noto Sans", sans-serif;
    font-weight: 600;
}



  

/* Responsive designs */
@media (max-width:920px) {
    .IntroPage .IntroPageImg {
        background-image: url('./tmp_imgs/intro.webp');
        background-size: cover;
        background-position: top;
        height: 35vh;
    }
}


@media (max-width:600px) {
    .IntroText .MainHeading {
        font-size: 45px;
        font-family: "Darker Grotesque", sans-serif;
        font-weight: 700;
        color: #001632;
        line-height: 40px;
        letter-spacing: 1.2px;
        margin: 0 0 50px 0;
    }

    .FormIntroText .MainHeading {
        font-family: "Darker Grotesque", sans-serif;
        font-weight: 700;
        line-height: 40px;
        font-size: 40px;
        color: #32354F;
        margin-bottom: 20px;
    }

    .sectionCaption,
    .IntroPage .IntroPageTxt {
        text-align: center;
        display: flex;
        justify-content: center;
        flex-direction: column;
        padding: 20px;
        height: 80vh;
    }

    .IntroText .subHeading {
        font-size: 18px;
        font-weight: 400;
        line-height: 1.5;
        font-family: "Noto Sans", sans-serif;
        letter-spacing: normal;
        color: #32354F;
        text-align: center;
        margin: 0 20px 0 20px;
    }

    .FormIntroText {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: auto;
    }
}


@media (max-width:1030px) {
    .IntroText .MainHeading {
        font-size: 40px;
        line-height: 0.9em;
    }

    .FormIntroText .MainHeading {
        font-family: "Darker Grotesque", sans-serif;
        font-weight: 700;
        font-size: 50px;
        color: #32354F;
        margin-bottom: 40px;
        line-height: 0.9em;
    }
}


@media (max-width:300px) {
    .IntroText .MainHeading {
        font-size: 40px;
        font-family: "Darker Grotesque", sans-serif;
        font-weight: 700;
        color: #001632;
        line-height: 35px;
        letter-spacing: 1.2px;
        margin: 0 0 50px 0;
    }

    .IntroPageTxt {
        text-align: center;
        display: flex;
        justify-content: center;
        flex-direction: column;
        padding: 20px;
        height: 80vh !important;
    }

}


@media (min-width:601px) and (max-width:920px) {
    .IntroPage .IntroPageTxt {
        text-align: center;
        display: flex;
        justify-content: flex-start;
        flex-direction: column;
        padding: 20px;
        height: 60vh;
    }

    .FormIntroText .MainHeading {
        font-size: 45px;
        font-family: "Darker Grotesque", sans-serif;
        font-weight: 700;
        color: #001632;
        line-height: 40px;
        letter-spacing: 1.2px;
        margin: 0 0 50px 0;
    }

    
    .FormIntroText {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 40px;
        height: auto;
    }

}


@media (max-width:400px) {

    .sectionCaption,
    .IntroPage .IntroPageTxt {
        text-align: center;
        display: flex;
        justify-content: center;
        flex-direction: column;
        padding: 20px;
        height: 120vh !important;
    }

    .FormIntroText .MainHeading {
        font-size: 40px;
        margin-top: 50% !important;
    }

    .FormIntroText .MainHeading.DemographicsHeading {
        font-size: 40px;
        margin-top: 100% !important;
    }

}



@media (max-width:600px) {
   
    .footer {
        display: none !important;
    }

     .sectionCaption {
        text-align: center;
        display: flex;
        justify-content: center;
        flex-direction: column;
        padding: 20px;
        min-height: 100vh;
        max-height: 150vh;
    }


    .input-field {
        width: 250px !important;
    }

    label {
        width: 250px;
    }

    input.radio:empty~label {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .radioLabel {
        width: 300px;
        word-wrap: break-word;
        text-align: center;
        margin: 0 auto;
        font-size: 20px;
    }

    .radio-options {
        display: flex;
        flex-direction: row;
        justify-content: center
    }

    .multiForm .row .col-md-4 {
        text-align: center;
    }

    .radio-option label {
        font-size: 13px;
    }

    /* .input-placeholder {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-100%);
        transition: top 0.3s ease-in-out, opacity 0.3s ease-in-out;
        pointer-events: none;
        opacity: 0.6;
        font-weight: 600;
        color: #32354F;
        font-family: "Noto Sans", sans-serif;
        font-size: 24px;
    } */

    .input-container {
        margin-top: 30px;
    }

}


@media (min-width:601px) and (max-width:899px) {

    .input-field {
        width: 400px !important;
    }

    label {
        width: 500px;
    }

    .radioLabel {
        width: 200px;
        word-wrap: break-word;
        text-align: center;
        margin: 0 auto;
    }

    .radio-options {
        display: flex;
        flex-direction: row;
        justify-content: center
    }

    .row .col-md-4 {
        text-align: center;
    }
}


.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.loader-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensures it appears above other content */
}

.loader-container {
    background: #fff;
    border: 2px solid #007bff; /* Add border with your theme color */
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add subtle shadow */
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1); /* Light grey border */
    border-left: 4px solid #007bff; /* Theme color for animation */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto; /* Center within container */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

input[type="radio"]:disabled {
    cursor: not-allowed; /* Set cursor style */
  }
  

  .saving-overlay {
    position: fixed; 
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark transparent overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* Ensure it's on top of everything */
  }
  
  .savingMessage {
    background: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: fadeIn 0.3s ease-in-out;
  }
  
  /* Optional: Fade-in effect */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: scale(0.9);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
  