* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .custom-navbar {
        position: relative; 
        top: auto;
        left: auto;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        z-index: 1000;
        transition: all 0.3s ease;
    }

    .navbar-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0.5rem 2rem; 
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    .navbar-brand {
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .logo-icon {
        display: inline-block;
        width: 28px;
        height: 28px; 
        background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
        border-radius: 8px;
        position: relative;
    }

    .logo-icon::after {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 16px; 
    }

    .brand-text {
        font-size: 1.3rem;
        font-weight: bold;
        color: #2c3e50;
        letter-spacing: -0.5px;
    }

    .nav-toggle {
        display: none;
        background: none;
        border: none;
        cursor: pointer;
        padding: 12px;
        z-index: 1001;
        border-radius: 50%;
        transition: background-color 0.2s ease;
    }

    .nav-toggle:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }

    .nav-toggle:active {
        background-color: rgba(0, 0, 0, 0.1);
    }

    .hamburger {
        display: block;
        width: 24px;
        height: 2px;
        background-color: #2c3e50;
        position: relative;
        transition: all 0.3s ease;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background-color: #2c3e50;
        transition: all 0.3s ease;
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        top: 8px;
    }

    .nav-toggle.active .hamburger {
        background-color: transparent;
    }

    .nav-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }

    .nav-menu {
        display: flex;
        align-items: center;
        list-style: none;
        gap: 0.3rem;
        margin-bottom: 0px !important;
    }

    .nav-item {
        margin: 0;
    }

    .nav-link {
        display: inline-block !important;
        padding: 0.5rem 1.2rem !important;
        text-decoration: none;
        color: #34495e !important;
        font-weight: 500 !important;
        border-radius: 40px !important;
        transition: all 0.25s ease !important;
        font-size: 0.95rem !important;
    }

    .nav-link span {
        position: relative !important;
    }

    .nav-link:hover {
        background-color: #f0f4f8 !important;
        color: #e67e22 !important;
        transform: translateY(-1px);
    }

    .nav-link:active {
        transform: translateY(0);
    }

    .nav-link.active {
        background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
        color: white;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .nav-link.active:hover {
        background: linear-gradient(135deg, #e55b5b, #3ebdb5);
        color: white;
    }

    @media (max-width: 768px) {
        .navbar-container {
            padding: 0.4rem 1rem;
        }

        .brand-text {
            font-size: 1.1rem;
        }

        .nav-toggle {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .nav-menu {
            position: fixed;
            left: -100%;
            top: 0;
            flex-direction: column;
            background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
            width: 70%;
            max-width: 300px;
            height: 100vh;
            box-shadow: 5px 0 25px rgba(0, 0, 0, 0.15);
            padding: 80px 20px 30px 20px;
            transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 999;
            overflow-y: auto;
            border-bottom-right-radius: 0;
            gap: 8px;
        }

        .nav-menu::-webkit-scrollbar {
            width: 3px;
        }

        .nav-menu::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        .nav-menu::-webkit-scrollbar-thumb {
            background: #4ecdc4;
            border-radius: 3px;
        }

        .nav-menu.active {
            left: 0;
        }

        .nav-item {
            margin: 0;
            width: 100%;
            border: none;
            border-radius: 0;
        }

        .nav-link {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 12px;
            width: 100%;
            text-align: left;
            padding: 14px 18px;
            font-size: 1.05rem;
            font-weight: 500;
            border-radius: 16px;
            transition: all 0.2s ease;
            position: relative;
        }

        .nav-link::before {
            font-family: "Font Awesome 6 Free";
            font-weight: 600;
            content: "•";
            color: #4ecdc4;
            font-size: 1.2rem;
            transition: transform 0.2s ease;
        }

        .nav-link:hover {
            background-color: #f0f4f8;
            transform: translateX(5px);
        }

        .nav-link:active {
            transform: translateX(2px);
            background-color: #e9ecef;
        }

        .nav-link.active {
            background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
            color: white;
            box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
        }

        .nav-link.active::before {
            color: white;
        }

        .nav-link.active:hover {
            transform: translateX(5px);
        }

        .menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(3px);
            z-index: 998;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .menu-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        body.menu-open {
            overflow: hidden;
        }
    }

    @media (min-width: 769px) and (max-width: 1024px) {
        .navbar-container {
            padding: 0.5rem 2rem;
        }
        
        .nav-link {
            padding: 0.5rem 1rem;
        }
    }

    .custom-navbar.scrolled {
        background-color: #ffffff; 
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }