.nav_bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav.nav-bar {
    padding: 21px 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 88;
    background: linear-gradient(179.5deg, rgba(0, 0, 0, 0.36) 0.43%, rgba(17, 13, 0, 0) 99.56%);
}

.btn_nav {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.nav-bar .ul a {
    transition: var(--transition);
    font-family: "font_reg", sans-serif !important;
}

.nav-bar .ul {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.nav-bar .ul li {
    font-size: 16px;
    color: var(--fff) !important;
    position: relative;
}

.nav-bar .ul li.active {
    color: var(--h2) !important;
    font-weight: bold;
    font-size: 18px;
}

.nav-bar .ul li:hover {
    color: var(--h2) !important;
    font-weight: bold;
}

.y {
    display: none;
}


/* 
.nav-bar .search-navbar i {
color: #fff;
margin-top: 5px;
font-size: 17px;
} */

h6.lang {
    font-size: 14px;
    color: #9197A1;
    display: flex;
    gap: 6px;
    align-items: center;
}

.load_logo img {
    width: 250px;
    height: auto;
}

.nav-bar ul .active a:before {
    right: 0;
}

img.menu {
    margin-right: 20px;
    width: 36px;
    height: auto;
}

.logo-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.border_nav::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #5D6267;
    z-index: -1;
}

.border_nav {
    position: relative;
    height: 80px;
    gap: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.fixed_navbar {
    width: 100%;
    position: fixed !important;
    transition: var(--transition);
    background: #29211F !important;
    opacity: 1;
    top: 0;
    -webkit-animation: slide-in-blurred-top 0.3s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
    animation: slide-in-blurred-top 0.6s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
    box-shadow: rgb(188 188 188 / 11%) 0px 2px 8px 0px;
}

.logo-main {
    max-width: 174px;
    height: auto;
    width: auto;
}

.buttom_fill {
    padding: 14px 43px;
    width: fit-content;
    -webkit-animation: jello-horizontal 0.9s both;
    animation: jello-horizontal 0.9s both;
    border: 1px solid transparent;
    outline: none;
    color: var(--fff) !important;
    background: var(--h2);
    border-radius: 9px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    /*font-weight: bold;*/
}

.buttom_fill i {
    font-size: 13px;
}

.buttom_fill:hover {
    background: transparent;
    color: var(--h2) !important;
    /* animation: squeeze3124 0.9s both; */
    border-color: var(--h2);
}

.nav_bar .buttom_fill:hover {
    color: var(--fff) !important;
    border-color: #f5fefdda;
}

.hero_title .buttom_fill:hover {
    color: var(--fff) !important;
    border-color: #f5fefdda;
}

.nav_bar .buttom_fill {
    padding: 8px 35px;
}

.left_nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
}

.search-navbar {
    color: var(--p);
    font-size: 14px;
}

.lang_l {
    color: var(--fff) !important;
    font-size: 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
}


/* @keyframes squeeze3124 {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }

  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }

  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1);
  }

  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1);
  }

  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1);
  }

  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
} */

.bars_menu .offcanvas_body_direction {
    display: flex;
}

.offcanvas_body_direction {
    margin-bottom: 35px;
    padding: 30px;
    max-height: 56vh;
    overflow-y: scroll;
    width: 97%;
    padding-bottom: 0;
    display: none;
    transition: all 500ms ease;
}


/* Mobile Full Screen Navigation */

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(-100%);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-content {
    position: relative;
    width: 100%;
    height: 100dvh;
    background: linear-gradient(135deg, #29211F 0%, #1A1612 50%, #0F0C08 100%);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.mobile-logo-img {
    max-width: 120px;
    height: auto;
    /* filter: brightness(0) invert(1); */
}

.mobile-close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.mobile-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.mobile-nav-body {
    flex: 1;
    display: flex
;
    flex-direction: column;
    padding: 40px 30px;
    margin-top: 10px;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
}

.mobile-nav-item {
    transform: translateX(50px);
    animation: slideInRight 0.6s ease forwards;
}

.mobile-nav-item:nth-child(1) {
    animation-delay: 0.1s;
}

.mobile-nav-item:nth-child(2) {
    animation-delay: 0.2s;
}

.mobile-nav-item:nth-child(3) {
    animation-delay: 0.3s;
}

.mobile-nav-item:nth-child(4) {
    animation-delay: 0.4s;
}

.mobile-nav-item:nth-child(5) {
    animation-delay: 0.5s;
}

.mobile-nav-item:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    color: var(--fff) !important;
    font-size: 20px;
    font-weight: 500;
    border-radius: 15px;
    transition: all 0.3s ease;
    /* background: rgba(255, 255, 255, 0.05); */
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
    position: relative;
    overflow: hidden;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.mobile-nav-link:hover::before {
    left: 100%;
}

.mobile-nav-link:hover {
    background: rgba(180, 138, 60, 0.2);
    border-color: var(--h2);
    transform: translateX(10px);
    color: var(--h2);
}

.mobile-nav-link.active {
    background: var(--h2);
    color: #fff;
    box-shadow: 0 8px 25px rgba(180, 138, 60, 0.3);
}

.mobile-nav-link i {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.mobile-nav-footer {
    margin-top: auto;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-lang-btn,
.mobile-cta-btn {
    flex: 1;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.mobile-lang-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.mobile-cta-btn {
    background: var(--h2);
    color: #fff;
    border: 1px solid var(--h2);
}

.mobile-cta-btn:hover {
    background: #8B6914;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(180, 138, 60, 0.3);
}

.mobile-nav-social h4 {
    color: #fff;
    text-align: center;
    font-size: 14px;
    padding-bottom: 12px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: var(--h2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(180, 138, 60, 0.3);
}


/* Legacy mobile nav styles - keeping for compatibility */

.navbar_mobile {
    display: none;
}

.bars_menu {
    display: none;
}

#checkbox {
    display: none;
}

.navbar_mobile ::-webkit-scrollbar {
    background-color: transparent;
}

.toggle {
    position: relative;
    width: 26px;
    height: 18px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition-duration: .5s;
}

.toggle .bars {
    width: 100%;
    height: 3px;
    background-color: var(--p);
    border-radius: 4px;
}

.toggle #bar2 {
    transition-duration: .8s;
}

.toggle #bar1,
#bar3 {
    width: 70%;
}

.offcanvas_body_direction li a {
    transition: var(--transition);
}

#checkbox:checked+.toggle .bars {
    position: absolute;
    transition-duration: .5s;
}

#checkbox:checked+.toggle #bar2 {
    transform: scaleX(0);
    transition-duration: .5s;
}

#checkbox:checked+.toggle #bar1 {
    width: 100%;
    transform: rotate(45deg);
    transition-duration: .5s;
}

#checkbox:checked+.toggle #bar3 {
    width: 100%;
    transform: rotate(-45deg);
    transition-duration: .5s;
}

#checkbox:checked+.toggle {
    transition-duration: .5s;
    transform: rotate(180deg);
}

.slide-in-fwd-right {
    -webkit-animation: slide-in-fwd-right 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-in-fwd-right 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes slide-in-fwd-right {
    0% {
        -webkit-transform: translateZ(-1400px) translateX(1000px);
        transform: translateZ(-1400px) translateX(1000px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateZ(0) translateX(0);
        transform: translateZ(0) translateX(0);
        opacity: 1;
    }
}

@keyframes slide-in-fwd-right {
    0% {
        -webkit-transform: translateZ(-1400px) translateX(1000px);
        transform: translateZ(-1400px) translateX(1000px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateZ(0) translateX(0);
        transform: translateZ(0) translateX(0);
        opacity: 1;
    }
}


/* Mobile Navigation Responsive Styles */

@media (max-width: 768px) {
    .mobile-nav-header {
        padding: 15px 20px;
    }
    .mobile-logo-img {
        max-width: 100px;
    }
    .mobile-close-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    .mobile-nav-body {
        padding: 30px 20px;
    }
    .mobile-nav-link {
        padding: 18px 20px;
        font-size: 20px;
        gap: 15px;
    }
    .mobile-nav-link i {
        font-size: 18px;
        width: 20px;
    }
    .mobile-lang-btn,
    .mobile-cta-btn {
        min-width: auto;
        padding: 12px 16px;
        font-size: 14px;
    }
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .mobile-nav-header {
        padding: 12px 15px;
    }
    .mobile-logo-img {
        max-width: 80px;
    }
    .mobile-close-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .mobile-nav-body {
        padding: 1px 0px;
    }
    .mobile-nav-menu {
        gap: 8px;
        margin-bottom: 40px;
    }
    .mobile-nav-link {
        padding: 15px 18px;
        font-size: 16px;
        gap: 12px;
    }
    .mobile-nav-link i {
        font-size: 16px;
        width: 18px;
    }
    .mobile-nav-footer {
        padding: 20px 0;
    }
    .mobile-lang-btn,
    .mobile-cta-btn {
        padding: 10px 14px;
        font-size: 13px;
    }
    .social-links {
        gap: 15px;
    }
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}


/* Prevent body scroll when mobile nav is open */

body.mobile-nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}


/* Smooth transitions for mobile nav */

.mobile-nav-overlay {
    will-change: opacity, transform, visibility;
}

.mobile-nav-item {
    will-change: opacity, transform;
}

.mobile-nav-link {
    will-change: background-color, transform, color;
}