@media (max-width:1200px) {
    #practice-section .practice-card h4 {
        font-size: 20px;
    }

    #practice-section .practice-card i {
        font-size: 38px;
    }

}


@media (max-width:991px) {

    .carousel-caption {
        left: 2% !important;
        right: 2% !important;
    }

    .mobile-slide-nav {
        position: absolute;
        top: 100%;
        left: -12px !important;
        width: 280px;
        height: calc(100vh - 70px);
        background: white;
        /* black theme */
        padding: 20px;

        transform: translateX(-100%);
        transition: transform 0.4s ease-in-out;
        z-index: 9999;
    }

    /* When navbar is OPEN */
    .mobile-slide-nav.show {
        transform: translateX(0);
    }

    .mobile-slide-nav .nav-link {
        color: #fff;
        padding: 12px 0;
        font-size: 16px !important;
    }
    .home-banner .left h1 {
    font-size: 50px;}

}


@media (max-width:767px) {

    #why-choose .right .icon-box {
        padding: 0px;
    }

    #top-header .left p a {
        font-size: 14px;
    }

    #top-header .left i {
        font-size: 12px;
    }

    .about-sec .left {
        margin-bottom: 40px;
    }

    .home-banner .left h1 {
        text-align: center;
    }

    .home-banner .left .sub-head {
        text-align: center;
    }

    .home-banner .left p {
        text-align: center;
    }

    .home-banner .ban-box {
        margin: auto;
    }

    #about-sec .right .icon-box .img-box {
        height: 40px;
        width: 40px;
    }

    #about-sec .right .num {
        font-size: 30px;
    }

    #about-sec .right .second {
        font-size: 16px;
    }

    .heading {
        font-size: 34px;
    }

    #header .nav-link {
        font-size: 16px;
    }

    #home-banner.home-banner-1 {
        display: none;
    }

    #home-banner.home-banner-2 {
        display: block;
    }

    .home-banner .left h1 {
        font-size: 30px;
    }

    .home-banner .left .sub-head {
        font-size: 16px;
    }

    .home-banner .left p {
        font-size: 16px;
    }

    .home-banner .left {
        top: 30%;
    margin-top: 10%;;
        height: fit-content;
    }

    
    .home-banner{
        height: 100vh;
    }
}

@media (max-width:575px) {
    .home-banner{
        height: 95vh;
    }
    #why-choose .right h4 {
        font-size: 20px;
        font-weight: 600;
    }


    .heading {
        font-size: 26px;
    }

    #practice-section .practice-card {
        padding: 10px;
    }

    .hero-section .hero-content p {
        font-size: 16px;
    }



}

@media (max-width:500px) {
    #testimonial .card-custom {
        flex-direction: column;
        text-align: center;

    }

    #testimonial .profile-img {
        height: 70px;
        width: 70px;
        margin: auto;

    }
        .home-banner .left h1 {
        font-size: 26px;
        margin-bottom: 10px;
    
    }
    .btn-main{
        font-size: 14px;
    }

}