/*=========================================================
    Uvwie Scholarship CBT Practice
    Responsive Stylesheet
=========================================================*/

:root{
    --primary:#0d6efd;
    --primary-dark:#0b5ed7;
    --success:#198754;
    --dark:#212529;
    --light:#f8f9fa;
    --gray:#6c757d;
    --shadow:0 10px 25px rgba(0,0,0,.08);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Montserrat',sans-serif;
    color:var(--dark);
    line-height:1.6;
    background:#ffffff;
}

body{

    user-select:none;

    -webkit-user-select:none;

}

/*---------------------------------------------------------
    Navbar
---------------------------------------------------------*/
.navbar{
    padding:.85rem 0;
}

.navbar-brand{
    font-size:1.1rem;
    font-weight:700;
}

/*---------------------------------------------------------
    Hero Section
---------------------------------------------------------*/
.hero{
    background:linear-gradient(135deg,#f8fbff 0%,#ffffff 100%);
    min-height:80vh;
    display:flex;
    align-items:center;
}

.hero h1{
    line-height:1.15;
    color:#0a2540;
}

.hero .lead{
    color:#4b5563;
    font-size:1.05rem;
}

.hero img{
    max-width:100%;
    height:auto;
    border-radius:1rem;
}

/*---------------------------------------------------------
    Buttons
---------------------------------------------------------*/
.btn-primary{
    background:var(--primary);
    border-color:var(--primary);
    border-radius:50px;
    font-weight:600;
    transition:all .25s ease;
}

.btn-primary:hover{
    background:var(--primary-dark);
    border-color:var(--primary-dark);
    transform:translateY(-2px);
}

/*---------------------------------------------------------
    Cards
---------------------------------------------------------*/
.card{
    border-radius:1rem;
    transition:all .3s ease;
}

.card:hover{
    transform:translateY(-6px);
    box-shadow:var(--shadow);
}

.card h5{
    font-weight:700;
    margin-bottom:.75rem;
}

.card p{
    color:#6b7280;
    font-size:.95rem;
}

/*---------------------------------------------------------
    Section Titles
---------------------------------------------------------*/
section h2{
    color:#0a2540;
    position:relative;
}

section h2::after{
    content:"";
    width:60px;
    height:4px;
    background:var(--primary);
    display:block;
    margin:.75rem auto 0;
    border-radius:999px;
}

/*---------------------------------------------------------
    Instructions List
---------------------------------------------------------*/
.list-group-item{
    padding:1rem 1.25rem;
    border:none;
    border-bottom:1px solid #e9ecef;
    font-weight:500;
}

.list-group-item:last-child{
    border-bottom:none;
}

/*---------------------------------------------------------
    Statistics
---------------------------------------------------------*/
.bg-primary h1{
    font-size:2.2rem;
    font-weight:800;
    margin-bottom:.25rem;
}

.bg-primary p{
    margin:0;
    opacity:.9;
}

/*---------------------------------------------------------
    Footer
---------------------------------------------------------*/
footer{
    font-size:.95rem;
}

footer p{
    opacity:.9;
}

/*---------------------------------------------------------
    Utility
---------------------------------------------------------*/
.shadow-sm{
    box-shadow:var(--shadow)!important;
}

.alert{
    border-radius:.85rem;
}

/*---------------------------------------------------------
    Tablet
---------------------------------------------------------*/
@media (max-width:991.98px){

    .hero{
        min-height:auto;
        text-align:center;
        padding-top:3rem;
        padding-bottom:3rem;
    }

    .hero h1{
        font-size:2.4rem;
    }

    .hero .lead{
        font-size:1rem;
    }

    .hero .btn{
        width:100%;
        max-width:320px;
    }

    section{
        padding-top:4rem!important;
        padding-bottom:4rem!important;
    }
}

/*---------------------------------------------------------
    Mobile
---------------------------------------------------------*/
@media (max-width:575.98px){

    .navbar-brand{
        font-size:1rem;
    }

    .hero h1{
        font-size:2rem;
    }

    .hero .lead{
        font-size:.95rem;
    }

    .display-5{
        font-size:2rem;
    }

    section h2{
        font-size:1.5rem;
    }

    .card-body{
        padding:1.5rem 1rem;
    }

    .bg-primary h1{
        font-size:1.8rem;
    }

    .list-group-item{
        padding:.9rem 1rem;
        font-size:.95rem;
    }

    footer{
        font-size:.85rem;
    }
}

/*---------------------------------------------------------
    Extra Small Devices
---------------------------------------------------------*/
@media (max-width:360px){

    .hero h1{
        font-size:1.75rem;
    }

    .btn-lg{
        font-size:1rem;
        padding:.75rem 1.5rem;
    }
}