/* BSL Bank Header Styles */

/* Header Container */
.header {
    position: relative;
    z-index: 999;
}

.navbar-default {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: none;
    margin-bottom: 0;
}

.container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.navbar-header {
    display: flex;
    align-items: center;
}

/* Logo */
.navbar-brand {
    padding: 15px 0;
    height: auto;
    display: inline-block;
}

.navbar-brand img {
    max-height: 50px;
    width: auto;
}

/* Search */
.search-open-wr {
    flex: 1;
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

.search-open {
    display: flex;
    align-items: center;
    color: #666;
    cursor: pointer;
}

.search-open i {
    margin-right: 10px;
    color: #02aedf; /* BSL Bank blue */
}

/* Navigation and Buttons */
#navbar {
    display: flex;
    align-items: center;
}

.nav.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav.navbar-nav li {
    margin-left: 10px;
}

.noborderall {
    border: none;
}

/* Buttons */
.btn-bluegreen {
    background-color: #02aedf; /* BSL Bank blue */
    color: white !important;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 8px 15px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-bluegreen:hover {
    background-color: #0299c4;
    color: white !important;
    text-decoration: none;
}

.navbar-btn {
    margin-top: 8px;
    margin-bottom: 8px;
}

.navbar-call-btn {
    padding: 10px 15px;
}

.btn-svg-icon-wr {
    margin-right: 8px;
}

/* Menu Toggle */
.menu-open {
    background: transparent;
    border: none;
    color: #02aedf;
    padding: 10px;
    cursor: pointer;
    display: none;
}

/* Sticky Header */
.breadcrumb-wr {
    background-color: #f5f5f5;
    padding: 10px 0;
    display: none;
}

.breadcrumb-wr.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 998;
    display: block;
}

.sticky-logo {
    display: inline-block;
}

.sticky-logo img {
    max-height: 40px;
    width: auto;
}

/* Breadcrumb Navigation Styles */
.bsl-breadcrumb-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    vertical-align: middle;
}

.breadcrumb-link {
    color: #494949;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.breadcrumb-link:hover {
    color: #494949;
    text-decoration: none;
    background-color: #e8e8e8;
}

.breadcrumb-arrow {
    color: #494949;
    margin: 0 5px;
    user-select: none;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.breadcrumb-current {
    color: #494949;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

/* Breadcrumb Dropdown Container */
.breadcrumb-dropdown-container {
    position: relative;
    display: inline-block;
}

.breadcrumb-current-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 15px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.breadcrumb-current-wrapper:hover {
    background-color: #e8e8e8;
}

.breadcrumb-dropdown-arrow {
    color: #494949;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.breadcrumb-dropdown-container:hover .breadcrumb-dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu - Attached to Header */
.breadcrumb-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 100%;
    background-color: #ffffff;
    box-shadow: none;
    border: none;
    margin-top: 0;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
}

.breadcrumb-dropdown-container:hover .breadcrumb-dropdown-menu {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: #494949;
    text-decoration: none;
    background-color: #ffffff;
    transition: background-color 0.2s ease;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.dropdown-link:hover {
    background-color: #e8e8e8;
    text-decoration: none;
}

.dropdown-link.active {
    background-color: transparent;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 992px) {
    .search-open-wr {
        display: none;
    }
    
    .menu-open {
        display: block;
    }
    
    .navbar-header {
        float: none;
        display: flex;
        justify-content: space-between;
    }
    
    /* Breadcrumb responsive adjustments */
    .bsl-breadcrumb-wrapper {
        font-size: 13px;
    }
    
    .breadcrumb-dropdown-menu {
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .btn-text {
        display: none !important;
    }
    
    .btn-bluegreen {
        padding: 10px;
    }
    
    .btn-svg-icon-wr {
        margin-right: 0;
    }
    
    /* Breadcrumb mobile adjustments */
    .bsl-breadcrumb-wrapper {
        font-size: 12px;
        gap: 5px;
    }
    
    .breadcrumb-arrow {
        margin: 0 3px;
    }
    
    .breadcrumb-current-wrapper {
        padding: 3px 8px;
    }
    
    .dropdown-link {
        padding: 10px 15px;
        font-size: 13px;
    }
}
