@media screen and (max-width: 991px) {
    .nav-con{
        padding: 30px 40px;
    }
    .search h1{
        font-size: 2.3rem;
    }
    .search .content{
        padding: 30px;
    }
    .search .p-01, .search .p-02{
        font-size: 1.1rem;
    }
    .search .search-box{
        height: 50px;
        /* width: 90vh; */
        margin: 40px 0px 3px;
    }
}

@media screen and (max-width: 767px) {
    .search{
        height: 35vh;
    }
    .search h1{
        font-size: 2.5rem;
        margin: 0 15px;
    }
    .search .p-01, .search .p-02{
        font-size: 1.2rem;
        margin: 0 15px;
    }
    .search .search-box{
        display: none;
    }
    .search .p-03{
        display: none;
    }
    .nav-con{
        justify-content: center;
        gap: 20px;
    }
    .search-box1{
        display: block;
    }
}

@media screen and (max-width: 675px) {
    .main{
        top: 80px;
    }
    .nav-bar{
        height: 80px;
    }
    .nav-con{
        justify-content: space-between;
    }
    .mob{
        display: flex;
        flex-direction: row;
    }
    .search-box1{
        display: none;
    }
    .search-btn{
        display: block;
        color: #000;
    }
    .search-btn i{
        padding: 0 30px;
        font-size: 1.5rem;
    }
    .search-btn .uil-search{
        display: block;
    }
    .search-btn .uil-times{
        display: none;
    }
    .search-btn form{
        position: absolute;
        top: 88px;
        right: 104px;
        opacity: 0;
        pointer-events: none;
        transition: top 0.3s ease, opacity 0.1s ease;
    }
    .search-btn form.active{
        opacity: 1;
        top: 95px;
        pointer-events: auto;
    }
    .search-btn form::before{
        position: absolute;
        content: "";
        top: -13px;
        right: 0;
        width: 0;
        height: 0;
        z-index: -1;
        margin: -20px 0 0;
        border: 10px solid transparent;
        border-bottom-color: #000;
    }
    .search-btn form::after{
        position: absolute;
        content: "";
        width: calc(100% + 20px);
        height: 60px;
        padding: 2px;
        background: #ebebeb;
        border-radius: 2px;
        top: 50%;
        left: 50%;
        z-index: -2;
        transform: translate(-50%, -50%);
    }
    .search-btn .search-icon.hide{
        display: none;
    }
    .search-btn .cancel-icon.show1{
        display: block;
    }

}

@media screen and (max-width: 479px) {
    .main{
        top: 80px;
    }
    .search{
        height: 26vh;
    }
    .search h1{
        font-size: 2rem;
        margin: 0 15px;
    }
    .search .p-01, .search .p-02{
        font-size: 0.9rem;
        margin: 0 15px;
    }
    .search .search-box{
        display: none;
    }
    .search .p-03{
        display: none;
    }
    .nav-bar{
        height: 80px;
    }
    .nav-con{
        padding: 0 30px;

    }
    .search-box1{
        display: none;
    }
}