/* model */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

.alt-font-fam {
    font-family: 'Roboto', sans-serif;
}

.modal-container {
    position: fixed;
    height: 100%;
    width: 100%;
    display: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-container.active {
    display: block;
    opacity: 1;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-container.active .overlay {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 440px;
    width: 100%;
    padding: 30px 20px;
    border-radius: 5px;
    background-color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translate(-50%, -50%) scale(1.2);
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 9999;
    overflow: hidden;
}

.modal-container.active .modal-box {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
    animation: modal-in 0.3s ease-out;
}

@keyframes modal-in {
    from {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.modal-box svg {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
    position: relative;
}

.tick {
    fill: none;
    stroke: #28A745;
    stroke-width: 25;
    stroke-linecap: round;
    stroke-linejoin: round;
    position: absolute;
    bottom: 20px;
    right: 20px;
    animation: drawTick 2s ease infinite;
}

@keyframes drawTick {
    from {
        stroke-dasharray: 100;
        stroke-dashoffset: 100;
    }
    to {
        stroke-dashoffset: 0;
    }
}

.modal-box h2 {
    /* margin-top: 20px; */
    margin-top: 0px;
    font-size: 25px;
    /* font-weight: 500; */
    font-weight: bold;
   }


.color-primary {
    color: #2b5996 !important;
}

.danger {
    color: #c5214c !important;
}

.modal-box h3 {
    font-size: 16px;
    font-weight: 400;
    color: #333;
    text-align: center;
}

.modal-box .buttons {
    margin-top: 15px;
}

.modal-box button {
font-size: 14px;
    padding: 6px 20px;
    margin: 0px 10px;
    background: #4070f4;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.modal-box button:hover {
    background-color: #265df2;
}

.error-cross {
    fill: none;
    stroke: #c62828;
    stroke-width: 20;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawCross 2s ease infinite;
}

@keyframes drawCross {
    from {
        stroke-dashoffset: 400;
    }
    to {
        stroke-dashoffset: 0;
    }
}


/* spinner */
.backdroploder {
    background-color: rgba(255, 255, 255, 0.8);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinnerloader {
    width: 50px;
    height: 50px;
    border-top: 10px solid aliceblue;
    border-right: 10px solid aliceblue;
    border-bottom: 10px solid aliceblue;
    border-left: 10px solid #8c618d;
    border-radius: 50%;
    animation: spinloader 3s linear infinite;
}

@keyframes spinloader {
    0% {
        transform: rotate(0deg);
        border-left: 10px solid deeppink;
    }
    25% {
        transform: rotate(360deg);
        border-left: 10px solid gold;
    }
    50% {
        transform: rotate(720deg);
        border-left: 10px solid palegreen;
    }
    75% {
        transform: rotate(1080deg);
        border-left: 10px solid aqua;
    }
    100% {
        transform: rotate(1440deg);
        border-left: 10px solid deeppink;
    }
}

.loaderlogo {
    color: #333131;
    letter-spacing: 0.1em;
    margin-top: 10px;
    text-align: center;
    font-size: 18px;
}

.dot {
    display: inline-block;
    font-size: 24px;
    animation: bounce-dot 1.5s infinite;
}

@keyframes bounce-dot {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}


.loaderlogo .dot:nth-of-type(1) {
    animation-delay: 0s;
}
.loaderlogo .dot:nth-of-type(2) {
    animation-delay: 0.2s;
}
.loaderlogo .dot:nth-of-type(3) {
    animation-delay: 0.4s;
}

.mtminus-3 {
    /* margin-top: -31px; */
    margin-top: -12px;
      margin-top: 0px;
}

/* Contact Us Form Labels & Error Messages */
.contact-form2 label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--title-color, #0f1c3f);
    margin-bottom: 8px;
    line-height: 1.3;
}

.contact-form2 label .text-danger,
.form-label .text-danger,
.contact-form label .text-danger {
    color: #ff0000 !important;
    font-weight: 700;
}


.error-msg {
    display: block;
    font-size: 13px;
    color: #ff0000;
    margin-top: 5px;
    line-height: 1.3;
}

/* Google reCAPTCHA Widget */
#recaptcha-contact {
    margin-bottom: 5px;
       overflow: hidden;
}

#recaptcha-contact > div {
    max-width: 100%;
}

.form-control[readonly],
.form-group.style-border input[readonly] {
    background-color: #f7f9fb !important;
    cursor: not-allowed;
    color: #495057;
}

.form-btn.text-center {
    text-align: center !important;
    display: flex;
    justify-content: center;
}

.form-btn.text-center .th-btn {
    margin-left: auto;
    margin-right: auto;
}

/* Fix browser autofill text visibility: ensure autofilled text is visible (dark) on light inputs */
.applynowform-wrap input:-webkit-autofill,
.applynowform-wrap input:-webkit-autofill:hover,
.applynowform-wrap input:-webkit-autofill:focus,
.applynowform-wrap textarea:-webkit-autofill,
.applynowform-wrap textarea:-webkit-autofill:hover,
.applynowform-wrap textarea:-webkit-autofill:focus,
.applynowform-wrap select:-webkit-autofill,
.applynowform-wrap select:-webkit-autofill:hover,
.applynowform-wrap select:-webkit-autofill:focus,
.addmisson-forum input:-webkit-autofill,
.addmisson-forum input:-webkit-autofill:hover,
.addmisson-forum input:-webkit-autofill:focus,
.addmisson-forum textarea:-webkit-autofill,
.addmisson-forum textarea:-webkit-autofill:hover,
.addmisson-forum textarea:-webkit-autofill:focus,
.addmisson-forum select:-webkit-autofill,
.addmisson-forum select:-webkit-autofill:hover,
.addmisson-forum select:-webkit-autofill:focus,
.contact-form-v1 input:-webkit-autofill,
.contact-form-v1 input:-webkit-autofill:hover,
.contact-form-v1 input:-webkit-autofill:focus {
    -webkit-text-fill-color: #423b3b !important;
    color: #423b3b !important;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    transition: background-color 9999s ease-in-out 0s !important;
}

.applynowform-wrap input[readonly]:-webkit-autofill,
.applynowform-wrap input[readonly]:-webkit-autofill:hover,
.applynowform-wrap input[readonly]:-webkit-autofill:focus,
.addmisson-forum input[readonly]:-webkit-autofill,
.addmisson-forum input[readonly]:-webkit-autofill:hover,
.addmisson-forum input[readonly]:-webkit-autofill:focus {
    -webkit-text-fill-color: #495057 !important;
    color: #495057 !important;
    box-shadow: 0 0 0 1000px #f7f9fb inset !important;
    -webkit-box-shadow: 0 0 0 1000px #f7f9fb inset !important;
}



