@media(max-width:991px){

    h2{
        font-size:34px;
    }

    .hero h1{
        font-size:48px;
    }

    .cards{
        grid-template-columns:1fr;
    }

    .slider{
        flex-direction:column;
    }

}


@media(max-width:768px){

    section{
        padding:70px 0;
    }

    header .container{
        height:65px;
    }

    .logo{
        font-size:18px;
    }

    .phone{
        font-size:16px;
    }

    .hero h1{
        font-size:34px;
    }

    .hero p{
        font-size:18px;
    }

    .hero button{
        width:100%;
    }

    h2{
        font-size:28px;
        margin-bottom:40px;
    }

    .question-box{
        padding:30px 20px;
    }

    .question-box h3{
        font-size:24px;
    }

    .card{
        padding:35px 25px;
    }

    .lawyer{
        width:100%;
    }

    #map{
        height:300px;
    }

    .floating a{
        width:70px;
        height:70px;
        font-size:14px;
    }

}


@media(max-width:768px){

    .counter-box{

        grid-template-columns:1fr 1fr;

        gap:30px;

    }

    .counter{

        font-size:40px;

    }

}