
    /* Restore original logo and header styles */
    .logoleft {
        min-height: 80px;
        display: inline-block;
        padding-left: 50px !important;
        position: relative;
        left: -15px;
    }

    .logoleft img {
        max-width: auto;
        height: auto;
    }

    .logoright {
        text-align: right;
    }

    .header-wrapper {
        margin-top: 10px;
        clear: both;
    }

    .navbar {
        margin-bottom: 0;
    }

    .language-flag {
        display: inline-block;
        margin: 0 5px;
    }

    /* Word-by-Word Text Effect */
    .navbar-nav>li>a {
        font-family: 'Poppins', sans-serif;
        font-weight: 500;
        color: #2c3e50;
        display: inline-block;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 1.2px;
    }

    /* Split words and apply individual effects */
    .navbar-nav>li>a .word {
        display: inline-block;
        transition: all 0.3s ease;
        perspective: 400px;
    }

    .navbar-nav>li>a .word:hover {
        transform: scale(1.1) rotateX(10deg);
        color: #1a5f7a;
        text-shadow: 0 2px 4px rgba(26, 95, 122, 0.3);
    }

    .navbar-nav>li>a:hover {
        color: #2c3e50;
    }

    /* Active page highlighting */
    .navbar-nav>li.active>a,
    .navbar-nav>li.active>a:hover {
        color: #1a5f7a;
        background-color: transparent;
    }

    /* Language flags hover effect */
    .language-flag {
        opacity: 0.7;
        transition: all 0.3s ease;
        border-radius: 4px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .language-flag:hover {
        opacity: 1;
        transform: translateY(-3px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    /* Fixed icon positioning */
    .login-links {
        margin-top: 0px;
        display: inline-block;
        margin-right: -18px;
    }

    .login-links .btn {
        margin-left: 0px;
    }

    .login-links .btn i {
        margin-right: 0px;
    }

    /* Responsive adjustments - UPDATED FOR HORIZONTAL MOBILE MENU */
    @media (max-width: 1023px) {
        .logoleft {
            padding-left: 10px !important;
            left: -5px;
        }

        .logoleft img {
            max-width: 180px;
        }

        /* Fix for mobile menu display - Make it horizontal */
        .navbar-collapse {
            width: 100%;
            border-top: none !important;
            box-shadow: none !important;
            overflow-x: auto;
            /* Allow horizontal scrolling if needed */
            white-space: nowrap;
            /* Keep items on single line */
            overflow-y: hidden;
            display: block;
            text-align: center;
            /* Center the menu items */
            padding: 0;
        }

        /* Mobile menu styling - Make items display inline */
        .navbar-nav {
            margin: 0;
            width: 100%;
            padding: 0;
            display: flex;
            /* Use flexbox for horizontal layout */
            justify-content: left;
            /* Center items */
        }

        .navbar-nav>li {
            display: inline-block;
            /* Make items inline */
            width: auto;
            border-bottom: none !important;
            float: none;
            /* Override Bootstrap's float */
            margin: 0 5px;
            /* Add some spacing between items */
        }

        .navbar-nav>li>a {
            padding: 0px 15px;
            display: block;
            background-color: transparent;
            white-space: nowrap;
            /* Prevent text wrapping */
        }

        /* Toggle button styling */
        .navbar-toggle {
            display: none !important;
            /* Hide toggle button since we're showing menu always */
        }

        /* Always show navbar collapse on mobile */
        .navbar-collapse {
            display: block !important;
        }
    }

    /* Fix for larger screens */
    @media (min-width: 1024px) {
        .navbar-toggle {
            display: none !important;
        }

        .navbar-collapse {
            display: block !important;
        }

        .navbar-nav>li {
            float: left;
        }
    }

    /* Fix white line issue */
    #header {
        font-size: initial;
        line-height: initial;
    }

    /* Ensure Poppins is used correctly with fallback and swap */
    .navbar-nav>li>a,
    .word {
        font-family: 'Poppins', Arial, sans-serif !important;
        font-display: swap;
    }
