@media (min-width: 778px) {
   
    .main-nav{
        display: block;
        z-index: 999;
    }
    .small-nav {
        display: none;
    }
    #about-us .about-right div {
        margin: 5px 0;
        width: 80%;
    }
}


@media (max-width:570px) {
    #offer .bottom .bottom-row {
        display: grid;
    }
    #offer .bottom .bottom-left, .bottom-right {
        text-align: center;
    }

    #portfolio .details-list {

        display: none;
    }

}

@media (max-width: 778px) {
    .main-nav {
        display: none;
    }
    #nav .logo-body{
        width: 100%;
        display: flex;
        justify-content: center;
    }

    /* nav .nav-logo {
        display: flex;
        justify-content: center;
    } */

    .nav-container {
        z-index: 999;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        font-size: 20px;
        /* background-color: gray; */
        width: 100%;
        height: 100%;
        padding: 10px 25px;
    }
    .small-nav .content {
        /* border: 1px solid; */
        position: fixed;
        z-index: 999;
        left: -100%;
        top: 0;
        width: 50%;
        height: 90vh;
        text-align: left;
        padding: 10px;
        background-color: rgb(170, 169, 169);
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        transition: .5s;
        font-size: 15px;

    }
    .small-nav .nav-container:hover .content{
        cursor: pointer;
        left: 0;
    }
    .small-nav .content::before{
        position: absolute;
        top: 0;
        left: 50%;
        content: '';
        border-width: 50px;
        border: black transparent transparent transparent;
    }
    .small-nav .content li {
        padding: 5px 10px;
        /* border: 1px solid white; */
        transition: .5s;
    }

    #banner {
        height: 250px;
    }
    #banner .banner-text {
        width: 100%;
    }
    #banner .banner-body .banner-text h2 {
        font-size: 20px;
        line-height: normal;
    }
    #banner .banner-body .banner-text p {
        font-size: 13px;
    }
    #banner .banner-body .slider-control {
        display: none;
    }
    #banner button {
        bottom: 10px;
        width: 90%;
        border-radius: 8px;
        font-weight: 600;
    }


    #offer .top p {
        font-size: 10px;
    }


    #portfolio .accordion ul li{
        color: black;
        text-align: left;
        padding: 5px;
        transition: .5s;
        cursor: pointer;
    }
    #portfolio .accordion ul li:hover {
        color:#b4b632; 
        cursor: pointer;
        margin-left: 5px;
    }
    #portfolio .overlay div:nth-child(1) img:last-child {
        top: -70px;
    }
    .details-list ul li {
        font-size: 12px;
    }



    #about-us {
        background: linear-gradient(white, gray);
        border-radius: 5px;
    }
    #about-us .about-right {
        text-align: center;
    }
    #about-us .about-right div p{
        padding: 0 20px;
        text-align: justify;
    }
    #about-us .about-right button {
        width: 50%;
        box-shadow:none;
    }

    #testimonial .testimonial-row .testimonial-body {
        margin:0px;
        padding: 30px;
        text-align: justify;
    }

    #testimonial .testimonial-row .testimonial-body div {
        justify-content: center;
        align-items: center;
        width: 100%;
        background-color: rgba(189, 187, 187, 0.418);
        border-radius: 25px;
    }

    #testimonial .testimonial-row .testimonial-body i  {
        background-color: white;
        border: 1px solid rgba(189, 187, 187, 0.418);
        border-radius: 25px;
        font-size: 25px;
        width: 45px;
        height: 45px;
        padding: 5px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #testimonial .testimonial-row .testimonial-body p {
        font-style: normal;
        text-align: justify;
    }
    #testimonial .testimonial-row .testimonial-body div .user-heading{
        margin: 0;
        font-weight: 600;
    }
    #testimonial .testimonial-row .testimonial-body div sub {
        margin: 0;
        font-size: 10px;
    }


    footer {
        text-align: center;
    }

    footer .contact-info {
       display: flex;
       flex-direction: column;
       justify-content: center;
       align-content: center;
    }
    footer form button {
        width: 30%;
    }
    .footer-last {
        font-size: 10px;
    }
    .hide {
        display: none;
    }
}