/**
 * ======================================================
 * Header Top Bar
 * ======================================================
 */
.top-bar {
    background: #2b2b2b;
    font-size: 14px;
}

.top-bar a {
    color: #fff;
}

.top-bar a:hover {
    color: #ddd;
}

.top-bar img {
    margin-right: 4px;
}

/**
 * ======================================================
 * Header Logo
 * ======================================================
 */
.header-logo img {
    width: 240px;
    height: auto;
}

@media screen and (max-width: 991px) {
    .header-logo img {
        width: 193px;
    }
}

/**
 * ======================================================
 * Header
 * ======================================================
 */
.site-header {
    margin-bottom: 160px;
}

@media (max-width: 768px) {
    .site-header {
        margin-bottom: 200px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .site-header {
        margin-bottom: 220px;
    }
}

.header-main {
    position: fixed;
    top: 35px;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 9999;
    transition: all 0.3s ease;
}

/* Add shadow on scroll */
.header-main.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    top: 0;
}

@media screen and (max-width: 991px) {
    .header-main {
        top: 0;
    }
}

/**
 * ======================================================
 * Header Search
 * ======================================================
 */
.header-search {
    width: 100%;
}

.header-search .search-wrapper {
    background: var(--bs-white);
    border: 1px solid var(--bs-primary);
    border-radius: 40px;
    padding: 5px 10px;
    max-width: 100%;
}

.header-search .search-input {
    flex: 1;
    background: transparent;
    font-size: 12px;
}

.header-search .search-input:focus {
    box-shadow: none;
}

.header-search .search-category-wrapper {
    position: relative;
    min-width: 190px;
    border-left: 1px solid #dbeafe;
    margin-left: 10px;
}

.header-search .search-category-select {
    width: 100%;
    padding: 0px 20px 0px 10px;
    background: transparent;
    cursor: pointer;
    appearance: none;
    outline: none;
}

.header-search .search-category-wrapper::after {
    content: "▼";
    position: absolute;
    right: 15px;
    top: 40%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 25px;
    color: var(--bs-blue-1000);
}

.header-search .search-btn {
    font-size: 14px;
    color: var(--bs-white);
    background-color: var(--bs-blue-1000);
    border-radius: 20px;
    height: 30px;
    width: 50px;
    padding-top: 0px;
}

.header-search .search-btn:hover {
    background: #084298;
}

.header-search .search-btn svg {
    color: #fff;
}

@media (max-width: 991px) {
    .header-search .search-wrapper {
        flex-wrap: wrap;
        border-radius: 25px;
    }

    .header-search .search-category-wrapper {
        width: 30%;
    }

    .header-search .search-btn {
        height: 30px;
        width: 50px;
        border-radius: 38px;
    }
}

@media (max-width: 572px) {
    .search-category-wrapper {
        display: none;
    }

    .header-search .search-btn {
        height: 30px;
        width: 50px;
        border-radius: 38px;
    }
}

/**
 * ======================================================
 * Navigation Menu
 * ======================================================
 */
.custom-nav-wrapper {
    display: inline-block;
    margin: 20px;
}

.custom-dropdown-btn {
    background-color: var(--bs-blue-1000);
    color: var(--bs-white);
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.custom-dropdown-btn:hover,
.custom-dropdown-btn:focus {
    background-color: var(--bs-blue-1000);
    color: var(--bs-white);
}

.dropdown-menu.custom-dropdown-content {
    background-color: var(--bs-white);
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    padding: 12px;
    margin-top: 10px !important;
}

.custom-dropdown-content li {
    list-style: none;
    margin-bottom: 5px;
}

.custom-dropdown-content li:last-child {
    margin-bottom: 0;
}

.custom-dropdown-content li a {
    color: #2d3436;
    text-decoration: none;
    display: block;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.custom-dropdown-content li a:hover {
    background-color: #f1f2f6;
    color: var(--bs-primary);
    padding-left: 20px;
}

.dropdown-toggle::after {
    vertical-align: middle;
    margin-left: 10px;
}