/* nav */
body {
    padding-top: 100px;
}

body>.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* flex-wrap: wrap; */
    gap: 5px;
    padding: 10px 40px;
    min-height: 100px;
    background-color: var(--background-color);
    color: var(--text-color);
    box-shadow: 0px 4px 15px -5px rgba(0, 0, 0, 0.25);

    position: fixed;
    top: 0;
    width: 100%;
    transition: top 0.5s;
    z-index: 1000;
}

.nav-menu .btn-secondary.dropdown-toggle {
    transition: 0s color ease-in-out;
}

nav .head {
    display: flex;
    flex-direction: column;
    gap: 0px;
    justify-content: center;
    align-items: center;
    width: fit-content;
    text-align: center;
}

.slogan {
    margin-top: -20px;
    font-size: small;
}

body>.navbar-hidden {
    top: -110px;
}

@media screen and (max-width: 501px) {
    body>.navbar {
        padding: 10px;
    }
}

body>nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
    /* justify-content: flex-end; */
    gap: 30px;
    color: var(--text-color);
    transition: 0.5s color ease-in-out;
    margin: 0;
    /* margin-left: auto; */
    padding: 0;
    font-size: 18px;
    font-weight: 500;

    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    /* 27px */
    letter-spacing: -0.54px;

    flex: 1;
    justify-content: center;
    gap: 15px;
    /* margin-right: 20px; */
}

body>nav ul .active,
.mobile-list .active,
body>nav ul li:hover {
    color: var(--primary-color);
}

body>nav a {
    text-decoration: none;
    color: inherit;
    margin: 0 0px;
}

body>nav>div {
    /* margin: 0 20px; */
    /* margin-left: 20px; */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

body>nav>div .dropdown-menu[data-bs-popper] {
    left: unset;
    right: unset;
    inset-inline-end: 0;
}

body>nav img {
    /* width: 60px; */
    /* height: 60px; */
    max-width: 185px;
}

body>nav .btn {
    margin: 0 auto;
    background-color: var(--background-color);
    border-color: var(--background-color);
    color: var(--text-color);
    font-size: 16px;
    font-weight: 700;
}

body>nav .link {
    text-decoration: underline;
    color: var(--primary-color);
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    width: fit-content;
}

.mobile-menu>div {
    height: 4px;
    width: 20px;
    background-color: #1F2339;
    border-radius: 3px;
}

.mobile-menu {
    display: none;
}

.offcanvas {
    max-width: 80%;
}

.offcanvas-backdrop {
    height: 100%;
}

.mobile-list {
    list-style: none;
    padding-left: 0;
    width: 100%;
}

.dropdowns {
    display: flex;
    justify-content: space-between;
    padding: 0 30px 10px;
}

#offcanvasRight .offcanvas-body {
    justify-content: flex-start;
    align-items: flex-start;
}

.mobile-list li {
    padding-left: 0;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.mobile-list a {
    color: #333;
    text-decoration: none;
    padding: 20px 30px;
}

nav .btn-secondary.dropdown-toggle {
    border: 1px solid #1e1e1e;
}

.dropdown-item {
    padding: 0 var(--bs-dropdown-item-padding-x);
}

.dropdown-item li {
    padding: var(--bs-dropdown-item-padding-y);
}

.nav-menu .btn-secondary.dropdown-toggle {
    border: none;
}

.nav-menu .btn-secondary.dropdown-toggle:hover,
.nav-menu .btn.show {
    background-color: inherit;
    color: var(--primary-color);
}

#offcanvasRight {
    border-radius: 10px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.avatar svg,
.avatar img {
    width: 33px;
    height: 33px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    object-fit: cover;
    object-position: center;
    cursor: pointer;
}

.avatar svg {
    padding-top: 10px;
    fill: var(--primary-color);
    position: relative;
}

.side {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bell {
    cursor: pointer;
}

.name {
    padding: 16px 20px;
    border-bottom: 3px solid #eee;
}

.notify .dropdown-menu {
    width: 340px;
    max-width: 70vw;
}

.notify .icon img {
    width: 40px;
    height: 40px;
}

.notify .icon {
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* background-color: var(--primary-color); */
    position: relative;
    padding: 10px;
}

.notify .icon i {
    /* position: absolute;
    bottom: -7px;
    right: -8px; */
    width: 25px;
    height: 25px;
    background-color: white;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border-radius: 50%;
    font-size: x-large;
}

.notify .content {
    flex: 1;
    white-space: normal;
}

.notify .content p {
    margin: 0;
    color: black;
}

.notify .dropdown-menu a {
    gap: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.notify .dropdown-item {
    padding: 8px;
}

.notify .dropdown-item.new {
    background: rgba(201, 146, 70, 0.10);
}

.bell.unread {
    transform: rotate(30deg);
}

.notify {
    position: relative;
}

.notify .counter {
    position: absolute;
    width: 18px;
    height: 18px;
    background-color: var(--comp1-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    bottom: 0;
    inset-inline-end: 0;
}

.content span {
    color: rgba(82, 74, 62, 0.82);
    font-size: 12px;
    font-weight: 400;
}

.avatar .dropdown-item li {
    padding: 5px;
}

.no-notifications {
    text-align: center;
    margin: 15px auto;
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.language-switcher .btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
    border: none;
    border-radius: 8px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.language-switcher .btn-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: rgba(201, 146, 70, 0.05);
}

.language-switcher .btn-link:focus {
    box-shadow: none;
}

.language-switcher .flag-icon {
    width: 25px;
    object-fit: cover;
    border-radius: 2px;
}

.language-switcher .dropdown-menu {
    min-width: 140px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 4px 0;
}

.language-switcher .dropdown-item {
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
}

.language-switcher .dropdown-item:hover {
    background-color: rgba(201, 146, 70, 0.1);
    color: var(--primary-color);
}

.mobile-controls {
    display: none;
    align-items: center;
    gap: 15px;
}

@media screen and (max-width: 1260px) {
    .mobile-controls {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    body>nav>ul,
    body>nav>div:not(.mobile-controls),
    .side {
        display: none;
    }
}