/*=========================================================
    HP-EXAM-PRO
    RESPONSIVE.CSS
    Global Responsive Adjustments
==========================================================*/

/*==================================================
    EXTRA LARGE DEVICES (<1400px)
==================================================*/

@media (max-width: 1399.98px){

    .container{
        max-width: 1140px;
    }

    .hero-title{
        font-size: 3.4rem;
    }

}

/*==================================================
    LARGE DEVICES (<1200px)
==================================================*/

@media (max-width: 1199.98px){

    :root{
        --section-padding: 90px;
    }

    .hero-title{
        font-size: 3rem;
    }

    .section-header{
        margin-bottom: 3rem;
    }

    .dashboard-card{
        padding: 1.5rem;
    }

    .card-body{
        padding: 1.25rem;
    }

}

/*==================================================
    MEDIUM DEVICES (<992px)
==================================================*/

@media (max-width: 991.98px){

    .section{
        padding: 80px 0;
    }

    .hero-section{
        text-align: center;
    }

    .hero-content{
        margin-bottom: 3rem;
    }

    .hero-image img{
        max-width: 460px;
    }

    .section-header{
        max-width: 100%;
    }

    .stats-item{
        margin-bottom: 1.5rem;
    }

    .table-responsive{
        border-radius: var(--radius);
    }

}

/*==================================================
    SMALL DEVICES (<768px)
==================================================*/

@media (max-width: 767.98px){

    :root{
        --section-padding: 70px;
    }

    body{
        font-size: .95rem;
    }

    h1{
        font-size: 2.25rem;
    }

    h2{
        font-size: 1.9rem;
    }

    h3{
        font-size: 1.6rem;
    }

    .hero-title{
        font-size: 2.4rem;
    }

    .hero-text{
        font-size: 1rem;
    }

    .page-header{
        padding: 90px 0 60px;
    }

    .section-header{
        margin-bottom: 2.5rem;
    }

    .card{
        margin-bottom: 1.5rem;
    }

    .table{
        font-size: .9rem;
    }

    .btn{
        padding: .65rem 1.1rem;
    }

    .modal-dialog{
        margin: 1rem;
    }

}

/*==================================================
    EXTRA SMALL DEVICES (<576px)
==================================================*/

@media (max-width: 575.98px){

    :root{
        --section-padding: 60px;
    }

    body{
        font-size: .9rem;
    }

    h1{
        font-size: 2rem;
    }

    h2{
        font-size: 1.7rem;
    }

    h3{
        font-size: 1.45rem;
    }

    .hero-title{
        font-size: 2rem;
        line-height: 1.25;
    }

    .hero-buttons{
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn{
        width: 100%;
    }

    .hero-stats{
        gap: 1rem;
        justify-content: center;
    }

    .hero-stat{
        flex: 1 1 calc(50% - 1rem);
        text-align: center;
    }

    .section-header{
        margin-bottom: 2rem;
    }

    .page-header{
        padding: 80px 0 50px;
    }

    .feature-card,
    .stat-card,
    .pricing-card,
    .contact-card,
    .profile-card{
        padding: 1.5rem;
    }

    .dashboard-card{
        padding: 1.25rem;
    }

    .dashboard-card .icon{
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .footer-bottom-content{
        text-align: center;
    }

}

/*==================================================
    LANDSCAPE PHONES
==================================================*/

@media (max-height: 500px) and (orientation: landscape){

    .hero-section{
        min-height: auto;
        padding: 110px 0 60px;
    }

    .page-header{
        padding: 70px 0 40px;
    }

}

/*==================================================
    HIGH RESOLUTION DISPLAYS
==================================================*/

@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi){

    img{
        image-rendering: auto;
    }

}

/*==================================================
    PRINT
==================================================*/

@media print{

    .navbar,
    .site-footer,
    .back-to-top,
    .btn,
    .no-print{
        display: none !important;
    }

    body{
        background: #fff !important;
        color: #000 !important;
    }

    .card{
        box-shadow: none !important;
        border: 1px solid #ccc;
    }

    a{
        color: #000 !important;
        text-decoration: underline;
    }

}