  html{
    overflow-x: hidden;
  }

  header {
    padding: 0 4.8rem;
    height: 10rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #3b4747;
    
  }
  header.logo {
    height: 3rem;
    font-weight: bold;
  }
  .navbar-list{
    display: flex;
    gap:4.8rem;
    list-style:none;
  }
  .navbar-link:link,
  .navbar-link:visited{
    display: inline-block;
    text-transform: capitalize;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
    transition: all 0.3s;
  }
.navbar-link:hover,
.navbar-link:active{
    color: blue;
}
.mobile-navbar-btn{
    display: none;
    background: transparent;
    cursor: pointer;
}
.mobile-nav-icon{
    width: 4rem;
    height: 4rem;
    color: white;
}
.mobile-nav-icon[name="close"]{
    display: none;
}
/* Hero section*/
.section-hero,
.section-services{
    padding: 9.6rem 0;
    background-color: #a5d8ff;
    height: 60vh;

    display: flex;
    justify-content: center;
    align-items: center;
}
.section-services{
    background: #f3f0ff;
}
.section-hero p,
.section-services p{
    font-size: 3.2rem;
}
/*-----------------------------------------------*/
.search-menu {
    display: flex;
  }
  
  .search-button {
    padding: 3px 10px;
  }
  
  .menubar {
    font-size: 30px;
  }
  .menu li a{
    text-decoration: none;
  }

  
  /* search Bar*/
  .nav-search{
    display: flex;
    width: 200px;
    height: 40px;
    border-radius: 4px;
    justify-content: space-evenly;
  }
  .search-select{
    background-color:#f3f3f3;
    width: 40px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border: none;
  }
  .search-input{
    width:100%;
    font-size: 1rem;
    border: none;
    text-decoration: none;
    padding: 5px;
  }
  .search-icon{
    width: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    background-color: #febd68;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    color: #0f1111;
  }
  .nav-search:hover{
    border: 2px solid orange;
  }
  
  .search{
    display: flex;
    justify-content: right;
  }
  i{
    margin: 10px;
  }
  
/* responsive code Navbar1*/
@media(max-width:62em){
    .mobile-navbar-btn{
        display: block;
        z-index: 999;
        color:white
    }
    .mobile-navbar-btn:hover{
        color: blue;
    }
    .header.logo{
        width: 30%;
    }
    .header{
        position: relative;
    }
    .navbar{
        /*display: none;*/
        width: 100%;
        height: 100vh;
        background: #3b4747;
        position: absolute;
        top:0;
        left:0;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 3;

        /*To  get the transition*/
        transform: translateX(100%);
        transition: all 0.5 linear;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    .navbar-list{
        flex-direction: column;
        align-items:center;
    }
    .active .navbar{
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .active .mobile-navbar-btn .mobile-nav-icon[name="menu"]{
        display: none;
    }
    .active .mobile-navbar-btn .mobile-nav-icon[name="close"]{
        display:block;
        
    }

}

/*--Below 560px--*/
@media(max-width:35rem){
    .header{
        padding: 0 2.4rem;
    }
    .header .logo{
        width: 60%;
    }
}