/* =========================================
            Bootstrap 5 Media Queries
============================================ */


/* Extra Extra Large Devices (Desktops & Laptops) */
@media (min-width: 1400px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        position: relative;
    }

    .navbar-expand-lg .navbar-nav .nav-link::before {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 4px;
        content: "";
        z-index: 1;
        background-color: blue;
        transition: .5s;
    }

    .navbar-expand-lg .navbar-nav .nav-link:hover::before,
    .navbar-expand-lg .navbar-nav .nav-link.active::before {
        width: 100%;
    }
}

/* X-Large devices (large desktops, less than 1400px) */
@media (min-width: 1200px) and (max-width:1399.98px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        position: relative;
    }

    .navbar-expand-lg .navbar-nav .nav-link::before {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 4px;
        content: "";
        z-index: 1;
        background-color: blue;
        transition: .5s;
    }

    .navbar-expand-lg .navbar-nav .nav-link:hover::before {
        width: 100%;
    }
}


/*  Large devices (desktops, less than 1200px) */
@media (min-width:992px) and (max-width:1199.98px) {

    /* Generic */
    .vertical-heading h2 {
        font-size: 29px;
    }

    /* Services 02 */
    #services-tabs .tab-bg {
        padding: 16px 30px;
        min-height: 300px;
    }

    .service-tab p {
        line-height: 20px;
    }

    /* main menu */
    .navbar-expand-lg .navbar-nav .nav-link {
        position: relative;
    }

    .navbar-expand-lg .navbar-nav .nav-link::before {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 4px;
        content: "";
        z-index: 1;
        background-color: blue;
        transition: .5s;
    }

    .navbar-expand-lg .navbar-nav .nav-link:hover::before {
        width: 100%;
    }

}

/* Medium devices (tablets, less than 992px) */
@media (min-width:768px) and (max-width:991.98px) {

    /* Home */
    #home-heading h1 {
        font-size: 41px;
    }

    #home-text p {
        font-size: 13px;
    }

    /* Generic */
    .btn-general {
        padding: 8px 35px;
        font-size: 10px;
    }

    .vertical-heading h2 {
        font-size: 29px;
    }

    #statement h3 {
        font-size: 20px;
        line-height: 30px;
    }

    /* Service 02 */
    .r-tabs-accordion-title {
        text-align: center;
        margin-bottom: 10px;
    }

    .r-tabs-accordion-title a {
        font-family: var(--primary-font);
        text-decoration: none;
        font-size: 13px;
        color: var(--grey);
        text-transform: uppercase;
        font-weight: 400;
        padding: 0;
    }

    /* Tab active state */
    .r-tabs-accordion-title.r-tabs-state-active a {
        color: var(--moon-yellow);
        font-weight: 700;
        border-bottom: 3px solid var(--moon-yellow);
        padding-bottom: 5px;
        transition: all 300ms linear;
    }

    /* Pricing */
    .pricing-table .price h2 {
        margin: 0 0 0 6px;
        font-size: 35px;
    }

    /* Blog */
}

/* Small devices (landscape phones, less than 768px) */
@media (min-width:576px) and (max-width:767.98px) {
    #home-heading h1 {
        color: white;
    }
}

/* X-Small devices (portrait phones, less than 576px) */
@media (max-width:575.98px) {
    #home-heading h1 {
        color: orange;
    }
}