:root {
    --font-main: 'Inter', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-secondary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
}

.top-bar {
    background: var(--bs-primary);
    color: #fff;
    font-size: 13px;
    padding: 7px 0;
    position: relative;
    z-index: 1000;
}

.top-left span {
    color: #fff;
    font-size: 13px;
    font-weight: 400;
}

.top-left i {
    color: var(--bs-secondary);
    font-size: 14px;
}

.social-icons a {
    color: #fff;
    font-size: 15px;
    line-height: 1;
    transition: 0.25s ease;
}

.social-icons a:hover {
    color: var(--bs-secondary);
}

.top-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.4);
}

.btn-top {
    padding: 0;
    border: 0;
    font-size: 13px;
    color: #fff;
}

.btn-top:hover,
.btn-top:focus {
    color: #fff;
    box-shadow: none;
}

.dropdown-menu {
    z-index: 100000;
    border: 0;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.dropdown-item {
    border-radius: 8px;
    font-size: 14px;
}

.dropdown-item.active,
.dropdown-item:active {
    background: var(--bs-secondary);
    color: #fff;
}

.custom-navbar {
    background: #fff;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 999;
}

.navbar-logo {
    max-height: 58px;
    width: auto;
}

.custom-navbar .nav-link {
    color: #111;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: 0.25s ease;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
    color: var(--bs-secondary);
}

.custom-navbar .nav-link:not(.dropdown-toggle)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: var(--bs-secondary);
    border-radius: 20px;
    transition: 0.25s ease;
}

.custom-navbar .nav-link:not(.dropdown-toggle):hover::after,
.custom-navbar .nav-link:not(.dropdown-toggle).active::after {
    width: 100%;
}

.custom-navbar .nav-link.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.custom-navbar .nav-link.dropdown-toggle::after {
    content: "\f282";
    font-family: "bootstrap-icons";
    border: 0;
    margin-left: 4px;
    vertical-align: 0;
    font-size: 12px;
    line-height: 1;
    transition: 0.25s ease;
}

.custom-navbar .dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    margin-top: 14px;
    border-radius: 14px;
    padding: 10px;
    min-width: 230px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.nav-dropdown-menu .dropdown-item {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
}

.nav-dropdown-menu .dropdown-item:hover {
    background: rgba(var(--bs-secondary-rgb), 0.12);
    color: var(--bs-secondary);
}

.nav-btn {
    background: var(--bs-secondary);
    color: #fff;
    border-radius: 14px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border: 0;
}

.nav-btn:hover {
    background: var(--bs-primary);
    color: #fff;
}

.nav-search {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #111;
    background: rgba(0, 0, 0, 0.05) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.25s ease;
}

.nav-search:hover {
    background: var(--bs-secondary) !important;
    color: #fff;
}

.desktop-search-box {
    position: absolute;
    right: 12px;
    top: calc(100% + 14px);
    width: min(520px, calc(100vw - 24px));
    background: #fff;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.25s ease;
    z-index: 9999;
}

.desktop-search-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.desktop-search-box form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.desktop-search-box input {
    flex: 1;
    height: 48px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    padding: 0 18px;
    outline: none;
}

.desktop-search-box input:focus {
    border-color: var(--bs-secondary);
}

.desktop-search-box button {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--bs-secondary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.desktop-search-box .search-close {
    background: rgba(0, 0, 0, 0.08);
    color: #111;
}

.mobile-search-form {
    display: flex;
    align-items: center;
    background: #f6f6f6;
    border-radius: 999px;
    padding: 5px;
}

.mobile-search-form input {
    border: 0;
    background: transparent;
    box-shadow: none;
    padding-left: 14px;
}

.mobile-search-form input:focus {
    box-shadow: none;
    background: transparent;
}

.mobile-search-form button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--bs-secondary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler {
    border: 0;
    box-shadow: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

@media (max-width: 991px) {
    .nav-dropdown-menu {
        margin-top: 6px;
        box-shadow: none;
        border-radius: 12px;
        background: #f8f8f8;
    }

    .desktop-search-box {
        display: none;
    }
}