/*==================================================
    ADI YOGPEETH
    ADMISSIONS WIZARD
==================================================*/




/*==================================================
    ROOT VARIABLES
==================================================*/

:root{

    --container-width:700px;
    /* Brand */

    --primary:#184C3A;

    --primary-light:#23634B;

    --gold:#C8A96A;

    --gold-light:#E6D3AE;

    /* Background */

    --white:#FFFFFF;

    --off-white:#FAFAF8;

    --light:#F6F7F9;

    --border:#E7E4DA;

    /* Text */

    --heading:#1F2B24;

    --text:#5F6663;

    --muted:#8D9592;

    /* Status */

    --success:#28A745;

    --danger:#DC3545;

    /* Radius */

    --radius-sm:10px;

    --radius:18px;

    --radius-lg:28px;

    /* Shadows */

    --shadow-sm:

        0 6px 18px rgba(0,0,0,.05);

    --shadow:

        0 15px 45px rgba(0,0,0,.08);

    --shadow-lg:

        0 30px 80px rgba(0,0,0,.12);

    /* Animation */

    --transition:.35s ease;

}





/*==================================================
    LIST
==================================================*/

ul,
ol{

    list-style:none;

}


/*==================================================
    UTILITIES
==================================================*/

.hidden{

    display:none !important;

}


.text-center{

    text-align:center;

}


.w-100{

    width:100%;

}


/*==================================================
    FORM ELEMENT RESET
==================================================*/

input,
select,
textarea{

    appearance:none;

    -webkit-appearance:none;

    outline:none;

    border:none;

    background:none;

}


button{

    border:none;

    outline:none;

    cursor:pointer;

    background:none;

}
/*==================================================
    WIZARD OVERLAY
==================================================*/

.wizard-overlay{

    position:fixed;

    inset:0;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:30px;

    background:rgba(18,24,21,.65);

    backdrop-filter:blur(8px);

    -webkit-backdrop-filter:blur(8px);

    opacity:0;

    visibility:hidden;

    transition:all .35s ease;

    z-index:99999;

    overflow-y:auto;

}


/* Active */

.wizard-overlay.active{

    opacity:1;

    visibility:visible;

}


/*==================================================
    WIZARD CONTAINER
==================================================*/

.wizard-container{

    width:90%;

    max-width:660px;

    background:var(--white);

    border-radius:22px;

    box-shadow:var(--shadow-lg);

    overflow:hidden;

    position:relative;

    transform:translateY(30px);

    opacity:0;

    transition:all .35s ease;

}


/* Popup Animation */

.wizard-overlay.active .wizard-container{

    transform:translateY(0);

    opacity:1;

}


/*==================================================
    BODY
==================================================*/

.wizard-body{

    padding:24px 28px;

    min-height:320px;

}


/*==================================================
    STEP
==================================================*/

.wizard-step{

    display:none;

    animation:fadeSlide .35s ease;

}


.wizard-step.active{

    display:block;

}


/*==================================================
    STEP CONTENT
==================================================*/

.step-content{

    width:100%;

}


/*==================================================
    ANIMATION
==================================================*/

@keyframes fadeSlide{

    from{

        opacity:0;

        transform:translateX(20px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}


/*==================================================
    DESKTOP
==================================================*/

@media (min-width:1200px){

    .wizard-container{

        max-width:700px;

    }

}


/*==================================================
    LAPTOP
==================================================*/

@media (max-width:1199px){

    .wizard-container{

        max-width:650px;

    }

}


/*==================================================
    TABLET
==================================================*/

@media (max-width:991px){

    .wizard-overlay{

        padding:20px;

    }

    .wizard-container{

        max-width:90%;

        border-radius:22px;

    }

    .wizard-body{

        padding:30px;

    }

}


/*==================================================
    MOBILE
==================================================*/

@media (max-width:767px){

    .wizard-overlay{

        padding:0;

        align-items:flex-end;

    }

    .wizard-container{

        width:100%;

        max-width:100%;

        height:100dvh;

        border-radius:24px 24px 0 0;

        overflow-y:auto;

    }

    .wizard-body{

        padding:25px 20px 110px;

        min-height:auto;

    }

}

/*==================================================
    WIZARD HEADER
==================================================*/

.wizard-header{

    position:relative;

    padding:35px 45px 25px;

    border-bottom:1px solid var(--border);

    background:linear-gradient(
        180deg,
        #FFFFFF 0%,
        #FAFAF8 100%
    );

}


/* Close Button */

.wizard-close{

    position:absolute;

    top:22px;

    right:22px;

    width:42px;

    height:42px;

    border-radius:50%;

    background:#F4F4F4;

    color:var(--heading);

    font-size:28px;

    font-weight:300;

    transition:var(--transition);

}

.wizard-close:hover{

    background:var(--primary);

    color:#ffffff;

}


/* Main Heading */

.wizard-header h2{

    font-size:24px;

    font-weight:700;

    color:var(--heading);

    margin-bottom:10px;

}


/* Description */

.wizard-header p{

    font-size:13px;

    color:var(--text);

    max-width:520px;

}



/*==================================================
    PROGRESS
==================================================*/

.wizard-progress{

    padding:22px 45px 28px;

    background:#ffffff;

}


/* Top Row */

.progress-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:14px;

}


/* Step Counter */

#stepText{

    font-size:13px;

    font-weight:600;

    color:var(--primary);

}


/* Current Step */

#stepTitle{

    font-size:13px;

    color:var(--muted);

}


/* Progress Bar */

.progress-bar{

    width:100%;

    height:8px;

    background:#ECECEC;

    border-radius:50px;

    overflow:hidden;

}


/* Progress Fill */

.progress-fill{

    width:25%;

    height:100%;

    background:linear-gradient(
        90deg,
        var(--primary),
        var(--gold)
    );

    border-radius:50px;

    transition:width .35s ease;

}



/*==================================================
    STEP TITLES
==================================================*/

.step-content h3{

    font-size:20px;

    font-weight:700;

    color:var(--heading);

    margin-bottom:10px;

}


.step-content p{

    font-size:13px;

    color:var(--text);

    margin-bottom:30px;

}



/*==================================================
    RESPONSIVE
==================================================*/

@media(max-width:767px){

    .wizard-header{

        padding:25px 20px 18px;

    }

    .wizard-progress{

        padding:18px 20px 22px;

    }

    .wizard-header h2{

        font-size:20px;

        padding-right:40px;

    }

    .wizard-close{

        width:38px;

        height:38px;

        top:18px;

        right:18px;

        font-size:24px;

    }

    .progress-top{

        flex-direction:column;

        align-items:flex-start;

        gap:6px;

    }

}
/*==================================================
    FORM GROUP
==================================================*/

.form-group{

    margin-bottom:22px;

}


/*==================================================
    LABEL
==================================================*/

.form-group label{

    display:block;

    margin-bottom:8px;

    font-size:14px;

    font-weight:600;

    color:var(--heading);

}


.form-group label span{

    color:var(--danger);

}


/*==================================================
    INPUTS & SELECTS
==================================================*/

.form-group input,
.form-group select{

    width:100%;

    height:56px;

    padding:0 18px;

    border:1px solid var(--border);

    border-radius:14px;

    background:#ffffff;

    color:var(--heading);

    font-size:15px;

    transition:var(--transition);

}


/* Placeholder */

.form-group input::placeholder{

    color:#9AA2A0;

}


/* Focus */

.form-group input:focus,
.form-group select:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 4px rgba(24,76,58,.08);

}


/*==================================================
    SELECT
==================================================*/

.form-group select{

    cursor:pointer;

    padding-right:50px;

    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23666' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");

    background-repeat:no-repeat;

    background-position:right 18px center;

}


/*==================================================
    CHECKBOX
==================================================*/

.checkbox{

    display:flex;

    align-items:flex-start;

    gap:12px;

    margin-top:10px;

    cursor:pointer;

}


.checkbox input{

    appearance:auto;

    -webkit-appearance:checkbox;

    width:18px;

    height:18px;

    margin-top:2px;

    accent-color:var(--primary);

    cursor:pointer;

    flex-shrink:0;

}


.checkbox span{

    font-size:13px;

    line-height:22px;

    color:var(--text);

}


/*==================================================
    INPUT ERROR
==================================================*/

.input-error{

    border-color:var(--danger)!important;

}


.form-error{

    display:block;

    margin-top:6px;

    color:var(--danger);

    font-size:12px;

}


/*==================================================
    INPUT SUCCESS
==================================================*/

.input-success{

    border-color:var(--success)!important;

}


/*==================================================
    DISABLED
==================================================*/

input:disabled,
select:disabled{

    background:#F5F5F5;

    cursor:not-allowed;

}


/*==================================================
    MOBILE
==================================================*/

@media(max-width:767px){

    .form-group{

        margin-bottom:18px;

    }

    .form-group input,
    .form-group select{

        height:52px;

        font-size:15px;

        border-radius:12px;

    }

}
/*==================================================
    WIZARD FOOTER
==================================================*/

.wizard-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:15px;

    padding:22px 45px;

    border-top:1px solid var(--border);

    background:#ffffff;

}


/*==================================================
    BUTTONS
==================================================*/

.btn-primary,
.btn-secondary{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    min-width:150px;

    height:52px;

    padding:0 28px;

    border-radius:14px;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    transition:all .30s ease;

}


/* Primary */

.btn-primary{

    background:var(--primary);

    color:#ffffff;

    box-shadow:0 12px 25px rgba(24,76,58,.18);

}

.btn-primary:hover{

    background:var(--primary-light);

    transform:translateY(-2px);

}


/* Secondary */

.btn-secondary{

    background:#ffffff;

    color:var(--heading);

    border:1px solid var(--border);

}

.btn-secondary:hover{

    border-color:var(--primary);

    color:var(--primary);

}


/*==================================================
    WHATSAPP BUTTON
==================================================*/

.btn-whatsapp{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    min-width:180px;

    height:52px;

    padding:0 28px;

    border-radius:14px;

    background:#25D366;

    color:#ffffff;

    font-size:15px;

    font-weight:600;

    transition:.3s;

}

.btn-whatsapp:hover{

    transform:translateY(-2px);

}


/*==================================================
    DISABLED
==================================================*/

button:disabled{

    opacity:.55;

    cursor:not-allowed;

    transform:none;

}


/*==================================================
    LOADING STATE
==================================================*/

.btn-loading{

    pointer-events:none;

    opacity:.8;

}


/*==================================================
    MOBILE
==================================================*/

@media(max-width:767px){

    .wizard-footer{

        position:sticky;

        bottom:0;

        left:0;

        width:100%;

        padding:18px 20px;

        background:#ffffff;

        box-shadow:0 -8px 25px rgba(0,0,0,.08);

        z-index:10;

    }

    .btn-primary,
    .btn-secondary{

        flex:1;

        min-width:unset;

        height:50px;

        font-size:14px;

    }

}
/*==================================================
    SUCCESS SCREEN
==================================================*/

.success-content{

    text-align:center;

    padding:20px 10px;

}


/*=============================================
    SUCCESS ICON
=============================================*/

.success-icon{

    width:90px;

    height:90px;

    margin:0 auto 25px;

    border-radius:50%;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--gold)
    );

    color:#ffffff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:42px;

    font-weight:700;

    box-shadow:0 20px 45px rgba(24,76,58,.18);

}


/*=============================================
    SUCCESS TITLE
=============================================*/

.success-content h2{

    font-size:24px;

    color:var(--heading);

    margin-bottom:12px;

}


.success-message{

    font-size:15px;

    color:var(--primary);

    font-weight:600;

    margin-bottom:14px;

}


.success-content p{

    max-width:520px;

    margin:0 auto;

}


/*=============================================
    SUMMARY CARD
=============================================*/

.success-summary{

    margin:35px auto;

    padding:28px;

    border-radius:18px;

    background:#FAFAF8;

    border:1px solid var(--border);

    text-align:left;

}


.success-summary h4{

    font-size:18px;

    margin-bottom:20px;

    color:var(--heading);

}


.summary-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:14px 0;

    border-bottom:1px solid #ECECEC;

}


.summary-item:last-child{

    border-bottom:none;

}


.summary-item span{

    color:var(--muted);

    font-size:13px;

}


.summary-item strong{

    color:var(--primary);

    font-size:14px;

    font-weight:600;

}


/*=============================================
    BUTTONS
=============================================*/

.success-buttons{

    display:flex;

    justify-content:center;

    gap:15px;

    flex-wrap:wrap;

    margin-top:35px;

}


/*=============================================
    NOTE
=============================================*/

.success-note{

    margin-top:28px;

    font-size:12px;

    color:var(--muted);

}


/*=============================================
    MOBILE
=============================================*/

@media(max-width:767px){

    .success-icon{

        width:72px;

        height:72px;

        font-size:34px;

    }

    .success-content h2{

        font-size:20px;

    }

    .success-summary{

        padding:22px;

    }

    .success-buttons{

        flex-direction:column;

    }

    .success-buttons a{

        width:100%;

    }

}
/*==================================================
    SMOOTH TRANSITIONS
==================================================*/

.wizard-container,
.wizard-header,
.wizard-footer,
.wizard-step,
.progress-fill,
button,
input,
select,
.success-summary{

    transition:all .30s ease;

}


/*==================================================
    INPUT HOVER
==================================================*/

.form-group input:hover,
.form-group select:hover{

    border-color:#D6D6D6;

}


/*==================================================
    BUTTON ACTIVE
==================================================*/

.btn-primary:active,
.btn-secondary:active,
.btn-whatsapp:active{

    transform:scale(.98);

}


/*==================================================
    STEP ANIMATION
==================================================*/

.wizard-step{

    animation:stepFade .35s ease;

}

@keyframes stepFade{

    from{

        opacity:0;

        transform:translateX(18px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}


/*==================================================
    SUCCESS ICON
==================================================*/

.success-icon{

    animation:successPop .5s ease;

}

@keyframes successPop{

    0%{

        transform:scale(.6);

        opacity:0;

    }

    70%{

        transform:scale(1.08);

    }

    100%{

        transform:scale(1);

        opacity:1;

    }

}


/*==================================================
    PROGRESS ANIMATION
==================================================*/

.progress-fill{

    transition:width .45s ease;

}


/*==================================================
    SCROLLBAR
==================================================*/

.wizard-container::-webkit-scrollbar{

    width:8px;

}

.wizard-container::-webkit-scrollbar-track{

    background:#F5F5F5;

}

.wizard-container::-webkit-scrollbar-thumb{

    background:#CFCFCF;

    border-radius:20px;

}

.wizard-container::-webkit-scrollbar-thumb:hover{

    background:#B5B5B5;

}


/*==================================================
    DESKTOP
==================================================*/

@media(min-width:1200px){

    .wizard-container{

        animation:popupScale .35s ease;

    }

    @keyframes popupScale{

        from{

            opacity:0;

            transform:translateY(30px) scale(.97);

        }

        to{

            opacity:1;

            transform:translateY(0) scale(1);

        }

    }

}


/*==================================================
    TABLET
==================================================*/

@media(max-width:991px){

    .wizard-header{

        padding:28px;

    }

    .wizard-progress{

        padding:20px 28px;

    }

    .wizard-footer{

        padding:18px 28px;

    }

}


/*==================================================
    MOBILE
==================================================*/

@media(max-width:767px){

    html{

        font-size:15px;

    }

    body{

        overflow-x:hidden;

    }

    .wizard-container{

        animation:mobileUp .35s ease;

    }

    @keyframes mobileUp{

        from{

            transform:translateY(100%);

        }

        to{

            transform:translateY(0);

        }

    }

    .wizard-body{

        padding-bottom:110px;

    }

    .wizard-step{

        animation:mobileFade .30s ease;

    }

    @keyframes mobileFade{

        from{

            opacity:0;

            transform:translateY(10px);

        }

        to{

            opacity:1;

            transform:translateY(0);

        }

    }

}


/*==================================================
    LARGE MOBILE
==================================================*/

@media(max-width:480px){

    .wizard-header h2{

        font-size:18px;

    }

    .step-content h3{

        font-size:18px;

    }

    .form-group input,
    .form-group select{

        height:50px;

        font-size:14px;

    }

    .btn-primary,
    .btn-secondary{

        height:48px;

        font-size:14px;

    }

}


/*==================================================
    REDUCE MOTION
==================================================*/

@media(prefers-reduced-motion:reduce){

    *{

        animation:none!important;

        transition:none!important;

        scroll-behavior:auto!important;

    }

}