@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap');

@font-face {
    font-family: "bahej";
    src: url("../fonts/Bahij_Badr_Bold.ttf");
}

:root{
    --green:#2d6c48;
    --dark-color:#219150;
    --black:#444;
    --light-color:#666;
    --border:.1rem solid rgba(0,0,0,.1);
    --border-hover:.1rem solid var(--black);
    --box-shadow:0 .5rem 1rem rgba(0,0,0,.1);
}

*{
    margin:0;
    padding:0;
    box-sizing: border-box; 
    outline: none; border:none;
    text-decoration: none;
    text-transform: capitalize;
    font-family: "bahej";
    
}
 

.H-heading{
    text-align: center;
    margin-bottom: .5rem;
    position: relative;
}

.H-heading::before{
    content: '';
    position: absolute;
    top:50%; left:0;
    transform: translateY(-50%);
    width: 100%;
    height:.01rem;
    background: rgba(0,0,0,.1);
    z-index: -1;
}

.H-heading span{
    font-size: 1rem;
    padding:.5rem 0.4rem;
    color:var(--black);
    background: #fff;
    border:var(--border);
}


.H-header .H-header-1{
    background:#fff;
    padding:1rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#T-logo{
    display:flex ;

    justify-content: space-around;
    align-items: center;
}
                                        /* logo */
.H-header .H-header-1 .H-logo{
    font-size: 1.2rem;
    font-weight: bolder;
    color:var(--black);
}

.H-header .H-header-1 .H-search-form{
    width:48rem;
    height:3rem;
    border:var(--border);
    overflow: hidden;
    background:#fff;
    display:flex;
    align-items: center;
    border-radius: .5rem;
}

.H-header .H-header-1 .H-search-form input{
    font-size: 1rem;
    padding:0 .5rem;
    height:100%;
    width:100%;
    text-transform: none;
    color:var(--black);
}

.H-header .H-header-1 .H-search-form button{
    font-size: 1.5rem;
    padding: 0 1.5rem;
    color:var(--black);
    cursor: pointer;
    background: none;
}

.H-header .H-header-1 .H-search-form button:hover{
    color:var(--green);
}

.H-header .H-header-1 .H-icons div,
.H-header .H-header-1 .H-icons a{
    font-size: 1.5rem;
    margin-left: .5rem;
    color:var(--black);
    cursor: pointer;
}

.H-header .H-header-1 .H-icons div:hover,
.H-header .H-header-1 .H-icons a:hover{
    color:rgb(199, 83, 83);
}

#search-btn{
    display: none;
}
                               /* headar nav bar 2 */

.H-header .H-header-2{
    background:var(--green);
}

.H-header .H-header-2 .H-navbar{
    text-align: center;
}

.H-header .H-header-2 .H-navbar a{
    color:#fff;
    display: inline-block;
    padding:.5rem;
    font-size: 1rem;
}

.H-header .H-header-2 .H-navbar a:hover{
    background:var(--dark-color);
}

.H-header .H-header-2.active{
    position:fixed;
    top:0; left:0; right:0;
    z-index: 1000;

}
                     /*  bottom navbar */
.H-bottom-navbar{
    text-align: center;
    background:var(--green);
    position: fixed;
    bottom:0; left:0; right:0;
    z-index: 1000;
    display: none;
}
a{
    text-decoration: none !important;
    font-family: none !important;
}
.H-bottom-navbar a{
    font-size: 1rem;
    padding:2rem;
    color:#fff;
}

.H-asid-bar-content{
    display: none;
}

.H-bottom-navbar a:hover{
    background:var(--dark-color);
}



                                      /* deal section starts */


                                               /* media queries  */

@media (max-width:991px){

  

    .H-header .H-header-1{
        padding:1rem;
    }

    

}

@media (max-width:768px){

 

    .H-asid-bar-content{
        display: block;
    }
    .H-header .H-header-2{
        display:none;
    }
    .H-header .H-header-2 .H-navbar{
        display: flex;
        flex-direction: column;
    }
   .H-header .H-activ-navbar{
        display: block;
    }

    #search-btn{
        display: inline-block;
    }

    .H-header .H-header-1{
        box-shadow: var(--box-shadow);
        position: relative;
    }

    .H-header .H-header-1 .H-search-form{
        position:absolute;
        top:-115%; right:1rem;
        width: 95%;
        box-shadow: var(--box-shadow);
    }

    .H-header .H-header-1 .H-search-form.active{
        /* top:115%; */
        position: absolute;
        top: 8vh;
        background-color: red;
        padding: 0.2rem;
    }

  

}


