.btn-fixed {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: auto;
    margin: 0 auto;
    width: fit-content;
    padding: 10px 20px;
    border-radius: 5px;
    background: #0F3F41;
    background: linear-gradient(90deg, #0f3e3d 0%, #309c9e 100%);
    border: 2px solid #309c9e;
    color: #fff;
    z-index: 9999;
    height: 48px;
    font-size: 18px;
}
.btn-fixed:hover {
    background: #0F3F41;
    background: linear-gradient(90deg, #0f3e3d 0%, #309c9e 100%);
    border: 2px solid #309c9e;
    color: #fff;
}
.social-fab-fixed {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.social-fab-fixed__links {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.social-fab-fixed__link,
.social-fab-fixed__trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    background-color: #d4af5d;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.social-fab-fixed__link:hover,
.social-fab-fixed__trigger:hover {
    color: #fff;
    transform: scale(1.08);
}

.social-fab-fixed__link--instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-fab-fixed__link--instagram:hover {
    background: linear-gradient(45deg, #f5a84a, #eb7a52, #e33a58, #d42f75, #c41f96);
    color: #fff;
}

.social-fab-fixed__link--telegram {
    background-color: #26a5e4;
}

.social-fab-fixed__link--telegram:hover {
    background-color: #1d94d1;
    color: #fff;
}

.social-fab-fixed__link--email {
    background-color: #0f3d3e;
}

.social-fab-fixed__link--email:hover {
    background-color: #081629;
    color: #fff;
}

.social-fab-fixed__link i,
.social-fab-fixed__trigger i {
    font-size: 1.25rem;
    line-height: 1;
}

@media (min-width: 992px) {
    .social-fab-fixed:hover .social-fab-fixed__links,
    .social-fab-fixed:focus-within .social-fab-fixed__links {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .social-fab-fixed:hover .social-fab-fixed__link,
    .social-fab-fixed:focus-within .social-fab-fixed__link {
        animation: social-fab-rise 0.3s ease backwards;
    }

    .social-fab-fixed:hover .social-fab-fixed__link:nth-child(1),
    .social-fab-fixed:focus-within .social-fab-fixed__link:nth-child(1) {
        animation-delay: 0.05s;
    }

    .social-fab-fixed:hover .social-fab-fixed__link:nth-child(2),
    .social-fab-fixed:focus-within .social-fab-fixed__link:nth-child(2) {
        animation-delay: 0.1s;
    }

    .social-fab-fixed:hover .social-fab-fixed__link:nth-child(3),
    .social-fab-fixed:focus-within .social-fab-fixed__link:nth-child(3) {
        animation-delay: 0.15s;
    }

    .social-fab-fixed:hover .social-fab-fixed__link:nth-child(4),
    .social-fab-fixed:focus-within .social-fab-fixed__link:nth-child(4) {
        animation-delay: 0.2s;
    }

    .social-fab-fixed:hover .social-fab-fixed__link:nth-child(5),
    .social-fab-fixed:focus-within .social-fab-fixed__link:nth-child(5) {
        animation-delay: 0.25s;
    }
}

@media (max-width: 991.98px) {
    .social-fab-fixed.is-open .social-fab-fixed__links {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .social-fab-fixed.is-open .social-fab-fixed__link {
        animation: social-fab-rise 0.3s ease backwards;
    }

    .social-fab-fixed.is-open .social-fab-fixed__link:nth-child(1) {
        animation-delay: 0.05s;
    }

    .social-fab-fixed.is-open .social-fab-fixed__link:nth-child(2) {
        animation-delay: 0.1s;
    }

    .social-fab-fixed.is-open .social-fab-fixed__link:nth-child(3) {
        animation-delay: 0.15s;
    }

    .social-fab-fixed.is-open .social-fab-fixed__link:nth-child(4) {
        animation-delay: 0.2s;
    }

    .social-fab-fixed.is-open .social-fab-fixed__link:nth-child(5) {
        animation-delay: 0.25s;
    }
}

@keyframes social-fab-rise {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.85);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Navbar & Menu Styles */
.navbar .navbar-toggler {
    border: none;
}

.navbar .navbar-toggler:focus-visible {
    outline: none;
}

.navbar .navbar-toggler-icon:focus-visible {
    outline: none !important;
}

#offcanvasNavbar .btn-close:focus-visible {
    outline: none;
}

#offcanvasNavbar .btn-close:focus {
    box-shadow: none;
}

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

.navbar-toggler-icon {
    background-image: url("../src/images/toggler.svg");
}

.menu-desktop .custom-menu {
    display: block !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .35s ease-in-out;
    position: absolute;
    right: 0;
    top: 124%;
    background: #F5F5FF;
    border-radius: 20px;
    border-top-right-radius: 0px !important;
    border: 0;
    padding: 5px 0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
    z-index: 10;
    white-space: nowrap;
}

.menu-desktop .custom-hover:hover .custom-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(-6px);
}

.custom-menu .dropdown-item {
    color: #0f3d3e;
    transition: color 1s ease-in-out;
}

.menu-desktop .custom-menu .dropdown-item:hover {
    color: #d4af5d;
    transition: color .3s ease-in-out;
}

.menu-desktop .dropdown-item:focus,
.dropdown-item:hover {
    background-color: unset;
}

.dropdown-item .bi.bi-dot {
    color: #d4af5d;
    font-size: 22px;
}

.menu-desktop .nav-link {
    padding: 0.5rem 0.2rem !important;
    transition: all 0.3s ease;
}

.custom-hover-dropdown:hover .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
}

.main-navbar {
    transition: background-color .3s ease, padding .3s ease;
}

.main-navbar.scrolled {
    background-color: #1B1B1B !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    box-shadow: 2px -7px 14px #939393d6;
}

.navbar.detail-navbar {
    background-color: #1B1B1B !important;
}
.main-navbar {
    background-color: transparent;
    transition: background-color .3s ease;
}

html.dark-mode .main-navbar.scrolled {
    background-color: #000 !important;
    color: white !important;
}

html.light-mode .main-navbar.scrolled {
    background-color: #fff !important;
    color: black !important;
}

html.light-mode .detail-navbar {
    background-color: #fff !important;
    color: black !important;
}


html.light-mode .main-navbar.scrolled a {
    color: black !important;
}

html.light-mode .detail-navbar a {
    color: black !important;
}


html.light-mode .main-navbar.scrolled .border-white {
    border-bottom: 1px solid black !important;
}

html.light-mode .detail-navbar .border-white {
    border-bottom: 1px solid black !important;
}

html.light-mode .main-navbar.scrolled img {
    filter: invert(1);
}

html.light-mode .detail-navbar img {
    filter: invert(1);
}

.menu-mobile,
.main-navbar {
    background: transparent !important;
    transition: 0.3s ease;
}

html.dark-mode .menu-mobile.scrolled,
html.dark-mode .main-navbar.scrolled {
    background: #000 !important;
}

html.dark-mode .menu-mobile.scrolled,
html.dark-mode .detail-navbar.scrolled {
    background: #000 !important;
}

html.light-mode .menu-mobile.scrolled,
html.light-mode .main-navbar.scrolled {
    background: #fff !important;
}

html.light-mode .menu-mobile.scrolled,
html.light-mode .main-navbar.scrolled {
    background: #fff !important;
}

html.light-mode .menu-mobile.scrolled,
html.light-mode .main-navbar.scrolled {
    background: #fff !important;
}

.menu-mobile .navbar-toggler {
    filter: unset;
    transition: .3s;
}

html.light-mode .menu-mobile.scrolled .navbar-toggler {
    filter: invert(1) !important;
}

html.dark-mode .menu-mobile.scrolled .navbar-toggler {
    filter: invert(0) !important;
}



#offcanvasNavbar {
    background-color: black;
}

#offcanvasNavbar .offcanvas-body .nav-link {
    color: white;
}

#offcanvasNavbar #accordionMenu ul li a {
    color: white;
}

.offcanvas .accordion-item {
    background-color: #000 !important;
    border: none !important;
}

.offcanvas .accordion-button {
    background-color: #000 !important;
    color: #fff !important;
    box-shadow: none !important;
    border: none !important;
}

.offcanvas .accordion-button:not(.collapsed) {
    background-color: #000 !important;
    color: #fff !important;
    box-shadow: none !important;
}

.offcanvas .accordion-button:focus {
    box-shadow: none !important;
    outline: none !important;
}

.offcanvas .accordion-body {
    background-color: #000 !important;
    color: #fff !important;
}

.offcanvas .accordion {
    --bs-accordion-border-color: transparent;
}

.offcanvas .accordion-button::after {
    filter: invert(1);
}

.offcanvas-header .btn-close {
    filter: invert(100%) !important;
}

html.dark-mode #offcanvasNavbar {
    background-color: black;
}

html.dark-mode #offcanvasNavbar .offcanvas-body .nav-link {
    color: white;
}

html.dark-mode #offcanvasNavbar #accordionMenu ul li a {
    color: white;
}

html.dark-mode .offcanvas .accordion-item {
    background-color: #000 !important;
    border: none !important;
}

html.dark-mode .offcanvas .accordion-button {
    background-color: #000 !important;
    color: #fff !important;
    box-shadow: none !important;
    border: none !important;
}

html.dark-mode .offcanvas-header .btn-close {
    filter: invert(100%) !important;
}

html.dark-mode .offcanvas .accordion-button:not(.collapsed) {
    background-color: #000 !important;
    color: #fff !important;
    box-shadow: none !important;
}

html.dark-mode .offcanvas .accordion-button:focus {
    box-shadow: none !important;
    outline: none !important;
}

html.dark-mode .offcanvas .accordion-body {
    background-color: #000 !important;
    color: #fff !important;
}

html.dark-mode .offcanvas .accordion {
    --bs-accordion-border-color: transparent;
}

html.dark-mode .offcanvas .accordion-button::after {
    filter: invert(1);
}




html.light-mode #offcanvasNavbar {
    background-color: rgb(255, 255, 255) !important;
}

html.light-mode #offcanvasNavbar .offcanvas-body {
    background-color: rgb(255, 255, 255) !important;
}

html.light-mode #offcanvasNavbar .accordionMenu {
    background-color: rgb(255, 255, 255) !important;
}

html.light-mode #offcanvasNavbar .offcanvas-body .nav-link {
    color: rgb(0, 0, 0);
}

html.light-mode #offcanvasNavbar #accordionMenu ul li a {
    color: rgb(0, 0, 0);
}

html.light-mode .offcanvas .accordion-item {
    background-color: #ffffff !important;
    border: none !important;
}

html.light-mode .offcanvas .accordion-button {
    background-color: #ffffff !important;
    color: #000000 !important;
    box-shadow: none !important;
    border: none !important;
}

html.light-mode .offcanvas .accordion-button:not(.collapsed) {
    background-color: #ffffff;
    color: #000000 !important;
    box-shadow: none !important;
}

html.light-mode .offcanvas .accordion-button:focus {
    box-shadow: none !important;
    outline: none !important;
}

html.light-mode .offcanvas .accordion-body {
    background-color: #ffffff !important;
    color: #000000 !important;
}

html.light-mode .offcanvas .accordion {
    --bs-accordion-border-color: transparent;
}

html.light-mode .offcanvas .accordion-button::after {
    filter: invert(1);
}

html.light-mode .offcanvas-header img {
    filter: invert(1);
}

html.light-mode .offcanvas-header .btn-close {
    filter: invert(12%) !important;
}



.main-navbar {
    background-color: transparent;
    transition: background-color .3s ease;
}

html.dark-mode .main-navbar.scrolled {
    background-color: #000 !important;
    color: white !important;
}

html.light-mode .main-navbar.scrolled {
    background-color: #fff !important;
    color: black !important;
    box-shadow: 2px -7px 14px #939393d6;
}

.detail-navbar.scrolled {
    border-bottom: 1px solid white;
    box-shadow: 2px -7px 14px #939393d6;
}

.detail-navbar .navbar-toggler-icon {
    filter: invert(0%);
}

html.light-mode .detail-navbar .navbar-toggler-icon {
    filter: invert(100%);
}

.lang-switch button {
    color: white !important;
    min-width: 2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.menu-desktop .social-links-header {
    align-items: center;
}

.menu-desktop .social-links-header .lang-switch .btn {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    padding-top: 0;
    padding-bottom: 0;
}

.menu-desktop .lang-switch .lang-switch__link {
    font-weight: 500;
    opacity: 0.5;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.menu-desktop .lang-switch .lang-switch__link.is-active {
    font-weight: 800;
    opacity: 1;
    border-bottom-color: #d4af5d;
    border-radius: 0px;
}

.menu-desktop .lang-switch .lang-switch__link:not(.is-active):hover {
    opacity: 0.8;
}

/* .menu-desktop .social-links-header .theme-toggle-btn {
    margin-top: 2px;
} */

.menu-desktop .social-links-header > a:not(.theme-toggle-btn) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

html.light-mode .main-navbar.scrolled .lang-switch button {
    color: rgb(0, 0, 0) !important;
}

html.light-mode .main-navbar.scrolled .lang-switch i {
    color: rgb(0, 0, 0) !important;
}

html.light-mode .detail-navbar .lang-switch .btn,
html.light-mode .detail-navbar .lang-switch i {
    color: black !important;
}


#offcanvasNavbar .accordion-button::after {
    filter: invert(100%);
}

.navbar .accordion-button {
    box-shadow: none;
}

.navbar .accordion-button:not(.collapsed) {
    box-shadow: none;
    background-color: white;
}

#accordionMenu .accordion-item {
    border: none !important;
    outline: none;
}

html.light-mode .main-navbar.scrolled .bg-green.text-white {
    color: #fff !important;
    border-color: #fff !important;
}

html.light-mode .main-navbar.scrolled .bg-green img {
    filter: none !important;
}

/* Language picker offcanvas */
.lang-offcanvas {
    --bs-offcanvas-height: auto;
    --lang-offcanvas-bg: #ffffff;
    --lang-offcanvas-text: #0f3d3e;
    --lang-offcanvas-muted: rgba(15, 61, 62, 0.55);
    --lang-offcanvas-border: rgba(15, 61, 62, 0.1);
    --lang-option-bg: #f7f8f8;
    --lang-option-active-bg: linear-gradient(135deg, rgba(15, 61, 62, 0.08), rgba(212, 175, 93, 0.16));
    --lang-option-active-border: rgba(212, 175, 93, 0.75);
    --lang-option-shadow: 0 10px 24px rgba(15, 61, 62, 0.08);
    top: 0;
    bottom: auto !important;
    height: auto !important;
    max-height: none;
    border: 0;
    border-radius: 0 0 24px 24px;
    background: var(--lang-offcanvas-bg);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

html.dark-mode .lang-offcanvas {
    --lang-offcanvas-bg: #121212;
    --lang-offcanvas-text: #f5f5f5;
    --lang-offcanvas-muted: rgba(255, 255, 255, 0.55);
    --lang-offcanvas-border: rgba(255, 255, 255, 0.08);
    --lang-option-bg: rgba(255, 255, 255, 0.04);
    --lang-option-active-bg: linear-gradient(135deg, rgba(15, 61, 62, 0.55), rgba(212, 175, 93, 0.18));
    --lang-option-active-border: rgba(212, 175, 93, 0.85);
    --lang-option-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.lang-offcanvas__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.25rem 0.75rem;
    border-bottom: 1px solid var(--lang-offcanvas-border);
}

.lang-offcanvas__title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.lang-offcanvas__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0f3d3e, #1a5c5d);
    color: #d4af5d;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(15, 61, 62, 0.22);
}

.lang-offcanvas__icon i {
    font-size: 1.2rem;
    line-height: 1;
}

.lang-offcanvas__heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--lang-offcanvas-text);
    line-height: 1.3;
}

.lang-offcanvas__close {
    margin: 0;
    opacity: 0.65;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.lang-offcanvas__close:hover {
    opacity: 1;
    transform: scale(1.05);
}

.lang-offcanvas__body {
    flex-grow: 0;
    overflow-y: visible;
    padding: 1rem 1.25rem 1.5rem;
}

.lang-choosing {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--lang-offcanvas-border);
    background: var(--lang-option-bg);
    color: var(--lang-offcanvas-text);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lang-option:hover {
    color: var(--lang-offcanvas-text);
    transform: translateY(-1px);
    border-color: rgba(212, 175, 93, 0.45);
    box-shadow: var(--lang-option-shadow);
}

.lang-option__code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 0.5rem;
    border-radius: 12px;
    background: #0f3d3e;
    color: #d4af5d;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.lang-option__label {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.lang-option__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: transparent;
    color: transparent;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lang-option__check i {
    font-size: 1.1rem;
    line-height: 1;
}

.lang-option.is-active {
    border-color: var(--lang-option-active-border);
    background: var(--lang-option-active-bg);
    box-shadow: var(--lang-option-shadow);
}

.lang-option.is-active .lang-option__check {
    background: #d4af5d;
    color: #0f3d3e;
    transform: scale(1.02);
}

