/* ===========================
   TOP HEADER
=========================== */

.top-header{
    background:#f8f9fa;
    border-bottom:1px solid #e5e5e5;
    padding:8px 0;
    font-size:14px;
}

.top-link{
    color:#555;
    text-decoration:none;
    margin-left:20px;
    transition:.3s;
}

.top-link:hover{
    color:#198754;
}

/* ===========================
   MAIN HEADER
=========================== */

.main-header{
    background:#ffffff;
    padding:15px 0;
    position:sticky;
    top:0;
    z-index:1050;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.logo{
    max-height:60px;
}

/* ===========================
   SEARCH BOX
=========================== */

.search-box{
    border:2px solid #198754;
    border-radius:50px;
    overflow:hidden;
}

.search-box .form-control{
    border:none;
    box-shadow:none;
    padding:12px 18px;
    font-size:15px;
}

.search-box .btn{
    border-radius:0;
    padding:10px 25px;
    font-weight:600;
}

/* ===========================
   HEADER RIGHT
=========================== */

.header-right{
    gap:15px;
}

.header-icon{
    position:relative;
    text-decoration:none;
    color:#333;
    font-size:26px;
    transition:.3s;
}

.header-icon:hover{
    color:#198754;
}

.header-icon .badge{
    position:absolute;
    top:-8px;
    right:-10px;
    min-width:20px;
    height:20px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:11px;
}

/* ===========================
   LOGIN BUTTON
=========================== */

.btn-success{
    border-radius:30px;
    padding:8px 22px;
    font-weight:600;
}
/* ===========================
   DESKTOP NAVBAR
=========================== */

.desktop-navbar{
    background:#198754 !important;
    padding:0;
}

.desktop-navbar .navbar-nav .nav-link{
    color:#fff;
    font-size:15px;
    font-weight:500;
    padding:16px 18px;
    transition:.3s;
}

.desktop-navbar .navbar-nav .nav-link:hover,
.desktop-navbar .navbar-nav .nav-link.active{
    background:rgba(255,255,255,.15);
    color:#fff;
}

.desktop-navbar .dropdown .btn{
    border-radius:0;
    padding:16px 20px;
    font-weight:600;
}

.desktop-navbar .dropdown-menu{
    border-radius:10px;
    border:none;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

.desktop-navbar .dropdown-item{
    padding:10px 18px;
}

.desktop-navbar .dropdown-item:hover{
    background:#198754;
    color:#fff;
}

/* ===========================
   MOBILE HEADER
=========================== */

.mobile-header{
    background:#fff;
    padding:15px 0;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
    position:sticky;
    top:0;
    z-index:1050;
}

.mobile-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:90px;
}

.mobile-logo{
    height:80px;
    width:auto;
}

.mobile-menu-btn{
    border:none;
    background:none;
    font-size:30px;
    color:#198754;
}

.mobile-icons a{
    color:#333;
    font-size:26px;
    text-decoration:none;
    gap:15px;
}

.mobile-icons a:hover{
    color:#198754;
}

/* ===========================
   MOBILE SEARCH
=========================== */

.mobile-header .input-group{
    margin-top:12px;
}

.mobile-header .form-control{
    border:2px solid #198754;
    border-right:none;
    border-radius:30px 0 0 30px;
    box-shadow:none;
}

.mobile-header .btn{
    border-radius:0 30px 30px 0;
}

/* ===========================
   OFFCANVAS
=========================== */

.offcanvas-title{
    color:#198754;
    font-weight:700;
}

.offcanvas .list-group-item{
    border:none;
    padding:14px 0;
}

.offcanvas .list-group-item a{
    text-decoration:none;
    color:#333;
    font-weight:500;
}

.offcanvas .list-group-item a:hover{
    color:#198754;
}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:991px){

    .top-header{
        display:none;
    }

    .main-header{
        display:none;
    }

    .desktop-navbar{
        display:none;
    }

}

@media(min-width:992px){

    .mobile-header{
        display:none;
    }

}
