@charset "UTF-8";

/* =========================================================
   Lingo Education
   Study Abroad Eligibility Assessment
========================================================= */

:root{

    --primary:#0d6efd;
    --primary-dark:#0b5ed7;
    --success:#198754;
    --danger:#dc3545;
    --warning:#ffc107;

    --background:#f5f7fb;
    --card:#ffffff;

    --border:#dee2e6;

    --text:#212529;
    --muted:#6c757d;

    --radius:16px;

    --shadow:
        0 10px 35px rgba(0,0,0,.08);

    --transition:.25s ease;

}

body{

    background:var(--background);

    color:var(--text);

    font-family:
        Inter,
        "Segoe UI",
        sans-serif;

}

.container{

    max-width:1200px;

}

/* =========================================================
   HERO
========================================================= */

.hero-section{

    background:
        linear-gradient(
            135deg,
            #0d6efd,
            #4f8df7);

    color:#fff;

    padding:70px 0;

}

.hero-image{

    max-height:260px;

}

/* =========================================================
   CARD
========================================================= */

.card{

    border:none;

    border-radius:18px;

    box-shadow:var(--shadow);

    overflow:hidden;

}

.card-header{

    padding:18px 24px;

    font-weight:700;

}

.card-body{

    padding:32px;

}

/* =========================================================
   FORM
========================================================= */

.form-label{

    font-weight:600;

    margin-bottom:8px;

}

.form-control,
.form-select{

    min-height:48px;

    border-radius:12px;

    border:1px solid var(--border);

    transition:.25s;

}

.form-control:focus,
.form-select:focus{

    border-color:var(--primary);

    box-shadow:
        0 0 0 .18rem rgba(13,110,253,.15);

}

textarea.form-control{

    min-height:120px;

}

/* =========================================================
   BUTTONS
========================================================= */

.btn{

    min-width:150px;

    border-radius:10px;

    font-weight:600;

}

.btn-primary:hover,
.btn-success:hover{

    transform:translateY(-2px);

}

/* =========================================================
   PROGRESS
========================================================= */

.progress{

    height:10px;

    border-radius:100px;

    overflow:hidden;

    background:#e9ecef;

}

.progress-bar{

    transition:width .35s ease;

}

/* =========================================================
   WIZARD
========================================================= */

.wizard-container{

    position:relative;

}

.wizard-page{

    display:none;

    animation:fadeIn .35s ease;

}

.wizard-page.active{

    display:block;

}

/* =========================================================
   STEPPER
========================================================= */

.wizard-stepper{

    display:flex;

    justify-content:space-between;

    gap:12px;

    margin-top:25px;

}

.wizard-step{

    flex:1;

    display:flex;

    flex-direction:column;

    align-items:center;

    text-align:center;

}

.wizard-step span{

    width:44px;

    height:44px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    border:2px solid #ced4da;

    background:#fff;

    color:#6c757d;

    font-weight:700;

    transition:.3s;

}

.wizard-step small{

    margin-top:10px;

    font-size:.80rem;

    color:#6c757d;

}

.wizard-step.active span{

    background:var(--primary);

    color:#fff;

    border-color:var(--primary);

}

.wizard-step.completed span{

    background:var(--success);

    color:#fff;

    border-color:var(--success);

}

.wizard-step.active small{

    color:var(--primary);

    font-weight:700;

}

/* =========================================================
   FOOTER
========================================================= */

.wizard-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:30px;

}

/* =========================================================
   TABLE
========================================================= */

.table{

    margin-bottom:0;

}

.table th{

    width:35%;

    background:#f8f9fa;

    font-weight:600;

}

/* =========================================================
   ACCORDION
========================================================= */

.accordion-button{

    font-weight:600;

}

.accordion-button:not(.collapsed){

    background:#eef4ff;

    color:var(--primary);

}

/* =========================================================
   ALERT
========================================================= */

.alert{

    border-radius:12px;

}

/* =========================================================
   BADGE
========================================================= */

.summary-badge{

    display:inline-block;

    padding:8px 16px;

    border-radius:50px;

    background:#eef4ff;

    color:var(--primary);

    font-weight:600;

}

/* =========================================================
   CONDITIONAL SECTIONS
========================================================= */

.travel-section,
.refusal-section,
.loan-section,
.scholarship-section,
.work-section,
.english-section,
.passport-field{

    display:none;

}

/* =========================================================
   REVIEW
========================================================= */

.review-value{

    font-weight:600;

    color:#0d6efd;

}

/* =========================================================
   LOADING
========================================================= */

.spinner-border{

    width:3rem;

    height:3rem;

}

/* =========================================================
   ANIMATION
========================================================= */

@keyframes fadeIn{

    from{

        opacity:0;

        transform:translateY(12px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:992px){

    .card-body{

        padding:24px;

    }

}

@media(max-width:768px){

    .hero-section{

        text-align:center;

    }

    .wizard-stepper{

        flex-wrap:wrap;

        gap:20px;

    }

    .wizard-step{

        width:22%;

        flex:none;

    }

    .wizard-step span{

        width:38px;

        height:38px;

    }

    .wizard-step small{

        font-size:.72rem;

    }

    .wizard-footer{

        flex-direction:column;

        gap:10px;

    }

    .btn{

        width:100%;

    }

    .card-body{

        padding:18px;

    }

}

@media print{

    .wizard-footer,
    .hero-section,
    .progress,
    .btn{

        display:none !important;

    }

    body{

        background:#fff;

    }

    .card{

        box-shadow:none;

        border:1px solid #ccc;

    }

}